Back to projects
03 · Deep LearningSYNTH · NLP
2026
Evol-Instruct→MiniLM QC→LegalBERT
Cross-Market TaxonomyDrift Checked ✓

Cross-Market Intent Classification & Controlled Synthetic Data Pipeline

Controlled synthetic dataset pipeline (Evol-Instruct & zero-shot), semantic drift/outlier auditing via MiniLM embeddings & autoencoders, and LegalBERT vs. LLM routing benchmarks.

Impact:Unified cross-market evaluation baseline · Semantic & LLM-Judge data QC

01 · Context & Problem

Two regional legal markets had divergent intent taxonomies and label distributions, making direct accuracy comparisons misleading without harmonized evaluation data.

02 · Technical Approach

Combined seed-guided Evol-Instruct rewriting with zero-shot class synthesis. Validated label balance, MiniLM cosine overlap, autoencoder reconstruction outliers, and LLM-Judge realism before benchmarking LegalBERT against LLM routers.

03 · Measurable Outcomes

Merged synthetic data pipeline, exposed exact taxonomy boundary ambiguities, and established a clean benchmark feeding downstream DSPy/TextGrad optimization.

Tech Stack

LegalBERTTransformersMiniLMEvol-InstructAutoencoderPython