arXiv Computation and Language

Know Your Context Bank: Repairing Inconsistency and Measuring Generalization in Context-Aware Text-to-SQL

The paper introduces methods to detect and fix inconsistencies in context banks used by text‑to‑SQL systems, a problem the authors term "context bank rot." By comparing queries decision‑by‑decision with a fast scorer derived from human‑calibrated LLM judges, the authors can diagnose and repair banks, achieving higher accuracy after cleaning. They also propose a Context‑Aware Testing (CAT) pipeline that generates test questions at controlled distances from a bank, showing that the benefit of a bank diminishes as questions become more novel.

arXiv Machine Learning
Oct 22

When Thoughts Become Memory: Unifying In-Context Learning and Fine-Tuning

The paper presents a certified rule that determines whether unseen data should be incorporated into a pretrained model’s context or its weights, based on an exact law for their information value. This law quantifies the code length saved on held‑out queries as the expected bits stored about the query, adjusted by a prior repair and decoding loss, and applies to any model, architecture, dataset, or task. The authors demonstrate that the rule’s ceilings correctly certify choices across diverse models—including transformers, TabPFN, occupancy networks, and stereo networks—and that an anytime‑valid test can reliably select the better approach (e.g., TabPFN over XGBoost or GPT‑2’s cache over fine‑tuning) with controlled error rates.

By Leon Chlon, Julie Huang
arXiv AI
Oct 2

BudgetSchemaBench: A Budget-Swept Diagnostic for Schema Context in Text-to-SQL

BudgetSchemaBench is a diagnostic tool for evaluating how different schema‑context budgets affect text‑to‑SQL systems. It automatically derives relevance labels from gold SQL, tests four budgets across 80 databases, and compares three schema representations while keeping table rankings fixed. The study shows that increasing the budget improves execution accuracy, especially for lexical retrieval, and that dense retrieval already captures most needed tables at low budgets.

By Chen Shen
arXiv Computation and Language
Nov 2

Better Retrievers, Worse Labels: How Incomplete Relevance Judgments Distort Abstention Evaluation in Conversational RAG

The paper investigates how conversational Retrieval-Augmented Generation (RAG) benchmarks that rely on relevance judgments to determine context sufficiency can be misleading. By re‑running official baselines on the RETECO track and evaluating with both large‑language‑model judges and a blind audit, the authors show that stronger retrievers produce a higher proportion of contexts lacking gold documents yet still containing the answer, leading to a sharp drop in shortcut precision from 0.68 to 0.10. The study demonstrates that many false misses arise from hard negatives, gold content from other turns, or neighboring chunks, and that using retrieval scores alone as a sufficiency detector can underestimate answerability by up to 0.19 in AUROC.

By Ivan Kochergin, Vasily Konovalov
arXiv AI
Aug 28

Why RAGs Hallucinate: Penalty-Aware Evaluation of Retrieval-Augmented Generation Systems with Knowledge-Gap Canaries

The paper introduces a penalty‑aware evaluation framework for Retrieval‑Augmented Generation (RAG) systems that uses asymmetric scoring, knowledge‑gap canaries, and a failure‑attribution pipeline. Applying this framework to three commercial RAG products and a baseline on SimpleQA‑Verified, the authors find that while overall accuracy is similar across systems, canary violation rates vary dramatically, showing that systems differ more in when they answer than in what they answer. The study demonstrates that penalty‑aware scoring can reorder system rankings and is robust across different penalty settings.

By Alden Do Rosario, Hussein Younes, Felipe Pires
arXiv AI
Oct 21

Evaluating Context Compaction on the Questions That Come Later

The study examines how language‑model agents compact context for a current question and whether that compacted context remains useful for subsequent questions. Using four corpora that annotate evidence for multiple questions per text, the authors compare various compaction methods against random deletion at the same token budget. While sentence‑level compaction improves accuracy on the current question (e.g., gpt‑6‑luna boosts MultiRC accuracy by 11.4 points at 25% tokens), it does not outperform random deletion on later questions; word‑level deletion (LLMLingua‑2) shows better performance on later MultiRC questions and retains more evidence content words, though its advantage varies across datasets and evaluation settings.

By Junwei Yao, Yongxi Zhou, Zike Yang, Zhijun Wang, Jianan Liu, Yanxian Chen, Wenbo Ye
arXiv AI
Oct 28

Don't Pick a Winner: Knowledge Conflicts Need a Prior, Not a Rule

The paper introduces a retrieval‑augmented language model that resolves disagreements between retrieved context and the model’s own knowledge by incorporating a prior over the reliability of the context rather than a fixed rule. Experiments on the GRACE benchmark show that this prior‑based approach outperforms existing baselines by up to 26 points, achieving higher overall scores on both Qwen3.5‑35B‑A3B and Llama‑3.1‑8B. The method also demonstrates superior performance on the ClashEval benchmark, confirming the theoretical advantage of evidence‑based conflict resolution.

By Minh Pham Van, Cong Tran