Schema Lineage Extraction at Scale: Multilingual Pipelines, Composite Evaluation, and Language-Model Benchmarks
Jiaqi YinYi-Wei ChenMENG-LUNG LEEXiya Liu
Jiaqi Yin
Yi-Wei Chen
MENG-LUNG LEE
Xiya Liu
+4
Enterprise data pipelines often mix programming languages, causing semantic drift between original metadata and transformed data, which harms governance and AI systems like RAG and text-to-SQL. The paper proposes a framework for automated schema lineage extraction from such scripts, capturing source schemas, tables, transformation logic, and aggregation operations. It introduces SLiCE, a composite metric for structural and semantic fidelity, and a benchmark of 1,700 annotated lineages. Evaluating 12 language models, they show performance scales with size and prompting, with a 32B open-source model plus chain-of-thought matching GPT-series.

OpenReview ·
· August 13, 2025