MASc, Software Engineering · Ontario Tech University

Dvip Patel

AI engineer & researcher working on trustworthy NLP for Requirements Engineering — LLM governance, knowledge discovery, and empirical software engineering.

Abstract depth

MASc graduate (Ontario Tech, 2026) working at the intersection of NLP and Requirements Engineering (RE). My thesis presents TRAC-RE — a Traceable, Reliable, Auditable, and Contextual framework for automated requirements engineering, structured as four interconnected phases that take raw stakeholder prose to structured, audit-grade knowledge artifacts: context-aware requirement identification, audit-grade keyword extraction, governed LLM parsing, and implicit keyword discovery. The framework is grounded in an industrial FinTech/SaaS corpus of 110 requirements and 1,997 High-Level JSON (HLJ) artifacts. The thesis, defended in May 2026, argues that governance and distributional alignment — not raw model scale — are the primary levers for trustworthy RE automation; its governed-parsing phase is published at CASCON 2025 (IEEE).

dvippatel.math@gmail.com·GitHubLinkedIn· Oshawa, Ontario, Canada

Thesis

1Research

MASc thesis · Defended (May 2026)

Toward Automated Requirements Engineering: Empirical and Architectural Foundations for Structured Parsing and Knowledge Discovery

MASc, Software Engineering · Ontario Tech University
Supervisor: Prof. Sanaa Alwidian

TRAC-RE is a framework for automated requirements engineering (RE) built from four interconnected phases. Together they take raw stakeholder prose to implicit domain-knowledge discovery — spanning context-aware requirement identification, audit-grade keyword extraction, governed LLM parsing into structured JSON, and multi-signal implicit keyword discovery, all grounded in an industrial FinTech and SaaS corpus.

TRAC-RE— Traceable, Reliable, Auditable, and Contextual
Traceable
Every keyword, tag, and classification carries per-decision provenance back to its source artifact.
Reliable
Versioned governance and confidence scoring make pipeline outputs reproducible and defensible.
Auditable
A bounded LLM-as-judge design and SME-audited samples keep human verification in the loop.
Contextual
Local-context modeling, not raw model scale, drives requirement identification accuracy.
Pages
179
Phases
4
Papers
1
HLJ artifacts
1,997
Requirements
110

The four phases

Phase 1Thesis

Context-aware requirement identification

Sentence-level classification with structured local-context features. F1 improved from 0.664 to 0.894 on 110 real-world FinTech and SaaS documents; 4K domain-aligned samples (F1=0.894) beat 15K mixed (F1=0.883) with 73% fewer samples.

Phase 2Thesis

Audit-grade keyword extraction

Perfect-precision extraction that also surfaced a structural coverage ceiling of 1.5 canonical keywords per artifact, motivating the implicit-discovery phase.

Phase 3CASCON 2025 (published) [1]Improving Reliability of LLMs in RE with Structured Confidence & Tag GovernanceDvip Patel, Sanaa AlwidianCASCON 2025, 2025Open Research Object · Research Object Reviewed

Governed LLM parsing (HLJ)

Multi-model parsing into confidence-scored High-Level JSON with a versioned tag-governance stack. Tag precision improved from 0.657 to 0.897 (v2); +0.31 F1 over GPT-4.1.

Phase 4Thesis

Implicit keyword discovery

A multi-signal engine — neighbor transfer, graph walks over an enriched 275,164-edge co-occurrence graph, and UMAP+HDBSCAN cluster-gap detection — grounded in a 13,725-entry domain dictionary, with full per-keyword provenance.

The throughline across all four phases: governance and distributional alignment, not raw model scale, are the primary levers for trustworthy RE automation. LLMs are powerful but don't belong in every role — in TRAC-RE they parse and they tiebreak, but they never generate ground-truth knowledge without a traceable, auditable trail.A bounded LLM-as-judge design: LLMs never generate keywords, only tiebreak the borderline band, preserving auditability.

What the thesis asks

2Research questions

Table 1. Research questions, the phase that answers each, and the headline finding.
RQQuestionPhaseFinding
RQ1Does pipeline governance improve tag reliability?Phase 3 — Governed LLM Parsingv2 reaches 0.95 precision vs 0.77 at v1; +0.31 F1 over GPT-4.1. [1]Improving Reliability of LLMs in RE with Structured Confidence & Tag GovernanceDvip Patel, Sanaa AlwidianCASCON 2025, 2025Open Research Object · Research Object Reviewed
RQ2Does local context improve requirement identification?Phase 1 — Requirement Identification+16 F1 points at k=1; context-awareness is necessary, not optional.
RQ3Does feature structure matter beyond raw context?Phase 1 — Requirement IdentificationNaive concat drops F1 to 0.509; cosine divergence is the critical signal.
RQ4Does domain alignment beat scale?Phase 1 — Requirement Identification4K domain instances (F1=0.894) beat 15K mixed (F1=0.883).
RQ5What is the explicit-keyword coverage ceiling?Phase 2 — Audit-Grade Keyword Extraction1.5 kw/HLJ after normalization; Jaccard < 0.11 across extractors.
RQ6Can implicit keywords be discovered with traceability?Phase 4 — Implicit Keyword DiscoveryAll 3 signals produce candidates at scale with per-signal provenance.
RQ7What is each signal's contribution?Phase 4 — Implicit Keyword DiscoverySignal A dominates volume; graph enrichment is essential for Signal B.

Selected figures

3Results

Four results carry the argument. Each figure is drawn from numbers reported in the thesis and the CASCON paper — no rescaled axes, every bar starts at zero, and the result each figure is about is set in colour.

ConfigurationF1
Baseline0.664
Naive context concatenation0.509
Final configuration0.894
Figure 1. Context-aware requirement identification. Phase 1 F1 on 110 real-world FinTech and SaaS documents. Structured local-context features contribute +16 F1 points — about 70% of all gains across configurations — while naively concatenating context drops F1 to 0.509.
ConfigurationTraining samplesF1
Domain-aligned4K0.894
Mixed15K0.883
Figure 2. Distributional alignment beats scale. 4K domain-aligned training samples outperform 15K mixed samples while using 73% fewer samples. Same rows, two panels: data volume on the left, resulting F1 on the right.
ConfigurationTag precision
v00.657
v20.897
Figure 3. Governed LLM parsing: tag precision. Tag precision of the multi-model parsing phase under versioned tag governance (v0 → v2; v3 in progress).
ConfigurationF1 (v2)
Opus 40.85
Meta-70B0.85
GPT-4.10.53
Figure 4. Governed parsing across models (v2). F1 of the v2 governed pipeline per model, as reported in the CASCON 2025 paper. Models fail in non-overlapping ways, which is why the pipeline is multi-model. [1]Improving Reliability of LLMs in RE with Structured Confidence & Tag GovernanceDvip Patel, Sanaa AlwidianCASCON 2025, 2025Open Research Object · Research Object Reviewed

What is claimed — and what is not

4Contributions & limitations

  1. Contribution 1: TRAC-RE: a four-phase framework that establishes empirical and architectural foundations for reliable, structured, and auditable automated requirements engineering.

  2. Contribution 2: A modular multi-model LLM parsing phase producing confidence-scored High-Level JSON (HLJ) artifacts with versioned tag governance (v0 → v2 → v3 in progress); tag precision 0.657 → 0.897.Threat to validity. Circular ground truth in the parsing and extraction phases: v2 pipeline output acts as its own reference with a 5% SME-audited sample.

  3. Contribution 3: A context-aware requirement identification phase showing structured local-context features contribute +16 F1 points — ~70% of all gains across configurations.Threat to validity. Corpus is FinTech/SaaS only; generalization to safety-critical, healthcare, and automotive domains is untested.

  4. Contribution 4: A multi-signal implicit keyword discovery phase combining neighbor transfer, graph walks over an enriched 275,164-edge co-occurrence graph, and UMAP+HDBSCAN cluster-gap detection, all with full provenance.Threat to validity. The implicit-discovery phase evaluation is a research preview — ablations across hop depth, signal composition, context window, and dictionary impact are specified and in progress.

  5. Contribution 5: A bounded LLM-as-judge design: LLMs never generate keywords, only tiebreak the borderline band, preserving auditability.Threat to validity. No gold standard for implicit keywords; LLM-as-judge with 5% human calibration (Cohen's κ) is the planned proxy.

  6. Contribution 6: Evidence that distributional alignment beats scale: 4K domain-only instances (F1=0.894) outperform 15K mixed (F1=0.883) using 73% fewer samples.Threat to validity. All experiments used a single random seed (42); relative comparisons remain valid.

Future work

  1. Complete the implicit-discovery ablation table: hop depth (0–3), 7 signal-composition combinations, LLM baseline, and dictionary impact.
  2. Build an LLM-assisted gold standard for implicit keywords with domain-expert verification.
  3. Fine-tune a domain-adapted SBERT on corpus-positive/hard-negative pairs; compare against generic MPNet retrieval.
  4. Move from statistical association to logical entailment via ontologies or lightweight reasoning engines.
  5. Scale to DeBERTa-v3-large / Instructor-XL and test cross-domain generalization on safety-critical and healthcare requirements.

The Research, Interactive

5Don't just read the thesis — operate it

Most research lives in a PDF. Mine runs. Below is a short, guided walkthrough of the actual pipeline behind the thesis and its CASCON paper — in 2 steps. You'll see how the pieces connect, tune the knobs that drive the results, and watch the core finding play out on real requirement text. No prior context needed — each step explains itself.

1. The research map2. Tune the pipeline
1

Step 1 of 2 · What am I looking at?

The research map

A live map of how my work fits together — each circle is the thesis, the published paper, a research question, a finding, a dataset, or a future direction, and the lines show how they connect. The thesis anchors RQ2–RQ7; the CASCON paper answers RQ1. Click (or Tab to) any node to read what it is. Drag to rearrange, scroll to zoom.

2

Step 2 of 2 · Now make it yours

Tune the pipeline

These are the real knobs from my experiments — thresholds, models, training modes. Move a slider and the metrics (F1, precision, recall) update instantly from pre-computed results of actual runs. This is the ablation study, made playable.

Parameters

Adjust parameters to explore pre-computed results

Clustering
0.80
0.60.9
Deduplication
0.83
0.750.92
NLU Validation
0.68
0.550.78
Scoring
9
312
Model
Token Filter
0.40
0.30.6

Results

F1

84.7%

Precision

94.9%

Recall

79.9%

Confusion Matrix

72
4
16
68

Want the full control room?

Open the Research Lab

Everything above — the map, the knobs, the pipeline stages, and a simulated peer-reviewer that critiques the methodology — in one full-screen workspace. This is the closest thing to sitting next to me while I run experiments.

Selected work

6Publications

  1. [1]Published★ Open Research Object

    Improving Reliability of LLMs in RE with Structured Confidence & Tag Governance

    Dvip Patel, Sanaa Alwidian · CASCON 2025, 2025

    Read →

    A modular multi-model LLM pipeline that converts raw stakeholder requirements into High-Level JSON (HLJ) artifacts with confidence-scored fields, paired with a versioned tag-governance system that catches prompt-leak exploitation, hallucinated tags, and low-agreement outputs before they reach downstream stages.

    LLM governanceRequirements EngineeringTag validationHLJ artifactsMulti-model benchmarking

Where I've worked

7Experience

  1. Founding Engineer · Mediabridge

    Apr 2025 – Present

    Remote · Part-time

    • Co-built and launched a multi-tenant SaaS platform from scratch, owning architecture decisions across frontend, backend, and AWS deployment.
    • Personally built the core systems — a custom role-based access control (RBAC) layer, a dynamic form builder, and an event-driven notification system.
    • Owned the full lifecycle from requirements through production launch and served as primary technical contact for the client.
  2. Graduate Research Assistant (Responsible AI & Evals) · Ontario Tech University

    Sep 2024 – May 2026

    Oshawa, ON · Supervisor: Prof. Sanaa Alwidian

    • Designed TRAC-RE — a Traceable, Reliable, Auditable, and Contextual framework for automated Requirements Engineering, built from four interconnected phases that take raw stakeholder prose to implicit domain-knowledge discovery, grounded in an industrial FinTech/SaaS corpus of 110 requirements and 1,997 High-Level JSON (HLJ) artifacts.
    • Phase 1 — Context-aware requirement identification: empirical study of sentence-level classification (all-mpnet-base-v2, DeBERTa-v3-base) across frozen / LoRA / full fine-tuning and context windows k=0–3, showing structured local context adds +16 F1 points (0.664 → 0.894) and that 4K domain-aligned samples (F1=0.894) beat 15K mixed (F1=0.883).
    • Phase 3 — Governed LLM parsing: built and benchmarked a multi-model parsing pipeline (GPT-4.1, Claude Opus 4, Meta-70B) producing confidence-scored HLJ artifacts with a versioned tag-governance stack (Harvest → Filter → Cluster → Validate → Whitelist → Audit → Drift); tag precision improved 0.657 → 0.897 at the strictest v2 stage. Published at CASCON 2025 (IEEE), first author.
    • Phases 2 & 4 — Audit-grade extraction and implicit discovery: surfaced a structural coverage ceiling of 1.5 canonical keywords per artifact, then architected a multi-signal discovery engine combining neighbor transfer, graph walks over a 275,164-edge enriched co-occurrence graph, and UMAP+HDBSCAN cluster-gap detection, with a bounded LLM-as-judge tiebreaker and full per-keyword provenance.
    • Co-designed a domain dictionary of 13,725 entries / 35,799 lookup keys / 108 detected abbreviations used as synonym normalizer, confidence booster, stoplist, and novelty flagger across the framework.
    • Wrote and defended the 179-page MASc thesis as sole author (May 2026); conducted literature reviews, experimental design, ablation planning (hop depth, signal composition, dictionary impact), and supervisory reporting.
  3. AI Engineer · Palomino Systems

    Nov 2025 – Jun 2026

    Remote · Part-time

    • Designed and shipped Laravel Upgrader, a fully autonomous CLI-driven AI agent that migrates legacy Laravel codebases end-to-end — a 10-step pipeline (analysis → planning → transformation → validation → self-healing) processing ~10k LOC/run at under $80/run, with 85–90% automated issue resolution via detect → fix → retry loops.
    • Measured two full migrations by hand first, then automated those exact steps — cutting manual migration effort by ~80% (a baseline-grounded number, not an estimate).
    • Owned the codebase end-to-end and was the primary technical contact with Palomino stakeholders, presenting the agent architecture and translating tradeoffs into prioritized recommendations.
  4. Full-Stack Developer · Finserve Infotech

    Jan 2024 – Dec 2024

    Remote

    • Delivered 4 production systems for clients across three industries (manufacturing, retail distribution, travel), building each full stack in Laravel and MySQL, from UI and application logic to the transactional schemas underneath.
    • Built a manufacturing execution system tracking garment production end to end, from raw cotton to finished product, including routing work out to external processors and back, with bidirectional invoicing covering both standard and reverse invoice flows for subcontracted stages.
    • Built a supply chain and distribution platform moving finished goods from factory through warehouse to retail stores, with multi-location inventory tracking and an integrated point-of-sale module.
    • Built a fully dynamic content platform for a travel company where every page element is configurable at runtime, removing developer involvement from routine content changes.
    • Architected optimized MySQL schemas and transactional backends enforcing strict ACID guarantees and durable state across all four systems.

Built & shipped

8Projects

Inbox Intelligence Platform

Gmail-native communication intelligence layer — one ingestion pipeline, six analysis modules.

Built at a 48-hour hackathon. Turns unstructured email into structured, actionable intelligence: a single ingestion + parsing core (Claude classifier, entity extractor, temporal indexer) feeds six independent modules — financial waste detection, relationship decay signals, contract/obligation tracking, follow-up commitments, a RAG-based institutional memory, and health-admin tracking. One parse, many consumers — no redundant API calls, and an entity graph that compounds over time. Currently being taken from hackathon build to a live product.

Claude SonnetGmail MCPGoogle Calendar MCPRAG / pgvectorPostgreSQLReactTailwindNode.js

Laravel Upgrader

Autonomous 10-step AI migration agent for legacy Laravel codebases.

CLI-driven migration agent that ingests legacy Laravel code and runs analysis → planning → transformation → validation → self-healing loops. Processes ~10k LOC per run at under $80 cost, with 85–90% automated issue resolution.

PythonClaude / LLM OrchestrationLaravelCLISelf-healing retry loops

TRAC-RE — Automated Requirements Engineering Framework

Research

A Traceable, Reliable, Auditable, and Contextual framework for automated Requirements Engineering — structured parsing, context-aware classification, and implicit keyword discovery.

The research framework behind my MSc thesis at Ontario Tech University. **TRAC-RE** — Traceable, Reliable, Auditable, and Contextual — converts raw stakeholder prose into audit-grade knowledge artifacts across four interconnected phases: 1. **Phase 1 — Context-aware requirement identification** — Sentence-level classification with structured local-context features. F1 improved 0.664 → 0.894 on 110 FinTech/SaaS documents; 4K domain-aligned samples (F1=0.894) beat 15K mixed (F1=0.883). 2. **Phase 2 — Audit-grade keyword extraction** — Perfect-precision extraction that surfaced a structural coverage ceiling of 1.5 canonical keywords per artifact, motivating the implicit-discovery phase. 3. **Phase 3 — Governed LLM parsing (HLJ)** — Multi-model parsing (GPT-4.1, Claude Opus 4, Meta-70B) into confidence-scored High-Level JSON with versioned tag governance (v0 → v2); tag precision 0.657 → 0.897. Supporting paper published at CASCON 2025. 4. **Phase 4 — Implicit keyword discovery** — A 5-stage engine over a 275,164-edge enriched co-occurrence graph, with UMAP+HDBSCAN cluster-gap detection and a bounded LLM-as-judge tiebreaker. **Cross-cutting infrastructure** — 1,997 HLJ artifacts, a 13,725-entry domain dictionary, a FAISS index over 768-dim SBERT vectors, full per-decision audit logging, and drift monitoring across pipeline runs. The framework's central argument: governance and distributional alignment, not raw model scale, are the primary levers for trustworthy RE automation.

PythonPyTorchHuggingFaceSBERT / MPNetDeBERTa-v3FAISSUMAPHDBSCANLoRA

For the full engineering breakdown — story, stack, and impact — see the corporate view →

The toolkit

9Skills & Education

Technical competencies

Research Areas

Requirements Engineering, NLP for Software Engineering, LLM Governance, Knowledge Discovery, Empirical SE

Languages

Python, TypeScript / JavaScript, PHP (Laravel), SQL, Bash

AI / ML

PyTorch, HuggingFace Transformers, sentence-transformers, SBERT / MPNet, MiniLM, DeBERTa-v3, KeyBERT, RAKE, FAISS, UMAP + HDBSCAN, LoRA Fine-tuning, RAG Pipelines, Anthropic / Claude API, MCP, Aider

Frontend

React, Next.js, Tailwind CSS, Zustand

Backend / Cloud

Laravel, Flask, REST APIs, Microservices, RBAC, Docker, AWS, CI/CD, GitHub Actions

Testing

Vitest, fast-check (property-based), Testing Library

Education

  • MASc, Software Engineering (Thesis)
    Ontario Tech University
    2024 – 2026 · Oshawa, ON, Canada

    Thesis: “Toward Automated Requirements Engineering: Empirical and Architectural Foundations for Structured Parsing and Knowledge Discovery”

Certifications

  • AWS Certified Cloud Practitioner — Amazon Web Services (2024)

Teaching & Authored

  • OVIN EV Micro-Credential Course — Ontario Vehicle Innovation Network (2024)

Let's talk

10Get in touch

I'm open to research collaboration, AI engineering work, and good conversations about NLP for software engineering. The fastest way to reach me is email.

Supplementary material

Appendices

© 2026 Dvip PatelAcademic view · serif & slow · prints as a paper