Search arXiv⌕ Search

arXiv subjects

Ha Jeong Kim

Publications and source records attributed to Ha Jeong Kim.

2 recordsLinked to original sources

What Does Tool Ablation Measure? A Text-to-SQL Agent Study

Tool ablation (removing a tool and measuring the drop in task success) is a common approach to evaluating an LLM agent's dependence on a tool. However, many tools also serve as the agent's view of its environment, so the ablation effect conflates what the tool does with what it allows the agent to observe. We investigate this distinction through three contributions. First, we introduce a read-only substitute that removes the tool's operation while restoring access to the information it exposes, decomposing the ablation effect into operational and perceptual contributions. Second, we construct an experimental testbed for a semantic-layer text-to-SQL agent whose SQL translator is its only direct source of physical schema names, comprising six automatically generated conditions on 332 Spider 2.0-Lite tasks across SQLite and BigQuery, three LLM backbones, and a renamed-schema control, with every condition run three times. Third, we demonstrate that conventional ablation can obscure the sources of tool dependence. On BigQuery with Gemini 3.1 Pro, a small, statistically non-significant ablation effect (+6.6 percentage points, p=0.07) masks two significant opposing effects: a negative translator contribution (-18.3 points) and a positive schema-access contribution (+24.9 points). When schemas are renamed, the success rate of Gemini without the translator falls from 76.8% to 22.2%, suggesting substantial translator dependence. Yet a read-only lookup returning semantic-to-physical mappings outperforms the translator across all eight experimental settings, significantly in six. These findings reveal that tool dependence does not necessarily imply operational usefulness and suggest that semantic-layer agents benefit from exposing physical schema mappings independently of query compilation.

cs.AI↗

A Semantic-Layer-Mediated Agent for Natural Language to SQL over Heterogeneous Enterprise Databases

Natural language-to-SQL (NL2SQL) over real-world enterprise databases remains significantly more challenging than on academic benchmarks. Enterprise schemas often contain hundreds of physical tables with cryptic column names, heterogeneous SQL dialects, and complex analytical workloads requiring nested aggregations, temporal reasoning, and multi-table joins. We present a semantic-layer-mediated NL2SQL agent that decouples semantic intent from physical SQL execution. Rather than generating SQL directly over raw schemas, the agent reasons over a curated semantic layer through a compact intermediate representation called the Semantic Model Query (SMQ). A deterministic compiler translates each SMQ into dialect-specific SQL, providing verified building blocks that the agent composes into the final query. The system employs a constrained think-act loop, supports SQLite, BigQuery, and Snowflake backends, and is integrated into an end-to-end evaluation framework. Using Gemini 3 Pro, the system achieves 94.15% execution accuracy on the 547-task Spider2-snow benchmark, ranking third on the official leaderboard and substantially outperforming schema-only approaches. We describe the system architecture, SMQ representation, agent workflow, evaluation results, and discuss semantic-layer quality and the trade-off between improved grounding and overfitting.

cs.CL↗