Search arXiv⌕ Search

arXiv subjects

Xiya Liu

Publications and source records attributed to Xiya Liu.

3 recordsLinked to original sources

From Enterprise Pipelines to Agent Context: Distilling Compact Models for Schema Lineage

Enterprise data pipelines encode operational knowledge in multilingual scripts, yet coding and data agents struggle to recover the long-range dependencies, transformations, and aggregations needed to interpret derived columns. We present a compact-model framework that converts production pipeline code into target-specific schema lineage for downstream agents. GPT-4.1 transforms expert annotations into reasoning traces and structured answers. Traces whose final answers score above 0.95 under the Schema Lineage Composite Evaluation (SLiCE) are used for supervised fine-tuning of Qwen2.5-Coder-7B, followed by group relative policy optimization with Graded SLiCE, a reward that retains hard validity constraints while providing component-level partial credit. The resulting 7B model reaches GPT-4o-level pipeline-macro SLiCE (0.5843 vs. 0.5764) under the same evaluator. Supplying its lineage to a text-to-SQL agent increases execution accuracy on lineage-dependent questions from 27.4% with matched metadata but no lineage to 75.0%. These results show that a compact, locally deployable task-specialized model can recover structured knowledge from enterprise code and make it useful to downstream agents. The project is available at https://github.com/YIWEI-CHEN/lineage-lm.

cs.CL↗

DA-RAC: Distance-Aware Calibration of LLM Judges for Trustworthy AI Auditing

Generative AI systems are increasingly producing real-world artifacts, however their efficacy and validity are often evaluated via context-free LLM-scoring. These judges can be miscalibrated by irrelevant in-context reference examples, creating false confidence and allowing low-quality or harmful outputs to pass evaluation. We study this failure mode as context-induced miscalibration and introduce DA-RAC, a distance-aware reference-anchored calibration method for LLM judges. DA-RAC retrieves semantically and structurally similar labeled anchors for each judgement scenario, weights them by distance, and exposes neighborhood difficulty as a calibration and triage signal. On multi-run LLM-judge evaluation benchmarks, it improves calibration and reduces false-pass risk relative to zero-shot, chain-of-thought evaluation, and static-anchor baselines. Mechanistic analysis shows that judge scores vary systematically with anchor distance, while static references can induce misleading decision boundaries. Thus LLM-judgement requires not only better models, but also calibrated, auditable reference selection, especially when automated evaluation is used to support high-impact AI generated artifacts. Judgments should be grounded in relevant, inspectable, and contestable interpretive artifacts.

cs.CL↗

Schema Lineage Extraction at Scale: Multilingual Pipelines, Composite Evaluation, and Language-Model Benchmarks

Enterprise data pipelines, characterized by complex transformations across multiple programming languages, often cause a semantic disconnect between original metadata and downstream data. This "semantic drift" compromises data reproducibility and governance, and impairs the utility of services like retrieval-augmented generation (RAG) and text-to-SQL systems. To address this, a novel framework is proposed for the automated extraction of fine-grained schema lineage from multilingual enterprise pipeline scripts. This method identifies four key components: source schemas, source tables, transformation logic, and aggregation operations, creating a standardized representation of data transformations. For the rigorous evaluation of lineage quality, this paper introduces the Schema Lineage Composite Evaluation (SLiCE), a metric that assesses both structural correctness and semantic fidelity. A new benchmark is also presented, comprising 1,700 manually annotated lineages from real-world industrial scripts. Experiments were conducted with 12 language models, from 1.3B to 32B small language models (SLMs) to large language models (LLMs) like GPT-4o and GPT-4.1. The results demonstrate that the performance of schema lineage extraction scales with model size and the sophistication of prompting techniques. Specially, a 32B open-source model, using a single reasoning trace, can achieve performance comparable to the GPT series under standard prompting. This finding suggests a scalable and economical approach for deploying schema-aware agents in practical applications.

cs.CL↗