Compact 7B model distills schema lineage from enterprise pipeline code
Researchers report a task-specialized Qwen2.5-Coder-7B model that matches GPT-4o-level lineage extraction and sharply lifts a downstream text-to-SQL agent's accuracy.
In plain words
Data pipelines are scripts that turn raw data into derived tables, and AI agents often cannot tell which inputs produced a given column. The authors used a large model to turn expert annotations into training examples, then fine-tuned a small 7B-parameter model to extract this lineage automatically. They report the small model performs on par with GPT-4o on their metric and makes a SQL-generating agent far more accurate.
What was announced
In an arXiv paper, the authors describe a framework in which GPT-4.1 converts expert annotations into reasoning traces and structured answers. Traces whose final answers score above 0.95 under their Schema Lineage Composite Evaluation (SLiCE) are used for supervised fine-tuning of Qwen2.5-Coder-7B, followed by group relative policy optimization with a graded reward that keeps hard validity constraints while giving component-level partial credit.
The resulting 7B model reportedly reaches GPT-4o-level pipeline-macro SLiCE, 0.5843 versus 0.5764, under the same evaluator. When its lineage output is supplied to a text-to-SQL agent, execution accuracy on lineage-dependent questions rises from 27.4% with matched metadata but no lineage to 75.0%. The authors say this shows a compact, locally deployable model can recover structured knowledge from enterprise code for downstream agents, and the project is available on GitHub.
What it does not show
- All figures come from the paper's abstract and its own SLiCE evaluator; no independent evaluation is reported.
- The abstract does not state which enterprise pipelines or languages were evaluated, so generalization beyond the tested setting is unclear.
- The 27.4% to 75.0% gain applies to lineage-dependent questions in their text-to-SQL setup, not to agent accuracy generally.
For security and IT teams
- Scope
- The reported gains concern schema lineage extraction and lineage-dependent text-to-SQL questions, not general coding or agent tasks.
Sources
Source-support review completed 2 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 2 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.