INQUIRING LINE

Could an AI learn to translate your questions into database code just by checking if the code runs correctly — no human teacher needed?

Can execution-verified interpretations replace manual annotation for training semantic parsers?

This explores whether a semantic parser (a system that turns natural-language questions into executable code or queries) can be trained on whether its output runs and returns the right answer, instead of on human-written gold translations, and what that substitution might lose.


This explores whether a semantic parser, a system that turns plain-language requests into code or database queries, can learn from whether its output actually runs and gives the right result, instead of from human-written correct translations. The library has no papers on semantic parsing itself. It does have a good deal on the two halves of the question: what execution signals can and can't teach, and what human annotation was capturing in the first place. Together they suggest the answer is "mostly, but you lose something you might not notice losing."

The hopeful case first. Several lines of work show models learning well from automatic checks with no human labels. Self-play setups in which one model challenges, another answers and a third judges can build up language skills with no human supervision at all Can language models learn skills without human supervision?. Other work goes further and has an LLM write the checker itself, turning prose policy documents into formal verifiers Can we automatically generate formal verifiers from policy text?. That is close to semantic parsing in reverse: if a model can turn language into a working verifier, the boundary between "annotation" and "execution" starts to blur. There is also a deeper argument for execution. Bender and Koller hold that models trained only on text can't learn meaning, because meaning is the link between words and what a speaker intends Can language models learn meaning from text patterns alone?. Running a query against a real database is one of the few ways a model's words reach outside the text, so execution feedback may give a parser some grounding that text-only annotation never could.

Now the catch. A correct result doesn't prove the program behind it was correct. Research on reasoning traces found that models trained on deliberately corrupted, irrelevant steps reach the right answers about as often as models trained on correct steps Do reasoning traces need to be semantically correct?. A parser rewarded only for getting the right result could learn "spurious" programs in the same way: queries that happen to return the right rows for the wrong reason, then break on the next database. The process-reward literature tackles a similar problem by pulling signals from intermediate steps rather than only final answers, and by refusing to reward reasoning that led to a wrong answer Can search agent behavior yield reliable process rewards for reasoning?. There is a training risk too. If most questions are always solved or never solved, a pass/fail signal varies too little to teach anything, and models drift into generic, one-size-fits-all outputs Why do language models collapse into generic templates?.

The less obvious loss is ambiguity. Execution checking assumes each question has one right answer. Research on interpretation argues that people genuinely read the same sentence differently, and that annotator disagreement is information rather than noise Why do readers interpret the same sentence so differently?. Models are already weak here: GPT-4 correctly sorted out the meanings of deliberately ambiguous sentences only 32% of the time, against 90% for humans Can language models recognize when text is deliberately ambiguous?. Take a request like "show me last year's top customers." It could mean the calendar year or the past twelve months, and top by revenue or by number of orders. An execution signal quietly rewards whichever reading the test author picked. Human annotators, especially when they disagree, can reveal that the question had more than one valid reading.

So execution-verified training can replace much of the labor of manual annotation, and it may even ground meaning better. But it swaps the question "what did the person mean?" for "what produces this output?" A realistic setup keeps a small amount of human annotation aimed at ambiguous and high-stakes questions, and uses execution for the rest.


Sources 8 notes

Can language models learn skills without human supervision?

Ctx2Skill's three-role self-play manufactures internal feedback to evolve natural-language skills without human labels or external rewards. The system works only when adversarial pressure is balanced against a replay-based generalization safeguard to prevent adversarial collapse.

Can we automatically generate formal verifiers from policy text?

interwhen automatically generates code-based verifiers—including provably correct Lean and z3 checkers—from prose policy documents. This inverts the usual neuro-symbolic division: the LLM both translates policy to formal logic and extracts verifier inputs from reasoning traces.

Can language models learn meaning from text patterns alone?

Bender & Koller argue that meaning requires the relation between expressions and communicative intents. Form-to-form prediction provides no access to intent, making meaning acquisition structurally impossible without the intersubjective mechanism present in human language learning.

Do reasoning traces need to be semantically correct?

Models trained on systematically irrelevant traces maintain solution accuracy and sometimes improve out-of-distribution generalization, suggesting traces function as computational scaffolding rather than meaningful reasoning steps.

Can search agent behavior yield reliable process rewards for reasoning?

LongTraceRL mines entity-level reasoning signals from what search agents read but don't cite—the hardest distractors—and applies rubric rewards only to correct answers, structurally blocking reward fabrication while capturing intermediate reasoning quality.

Show all 8 sources
Why do language models collapse into generic templates?

When within-prompt reward variance is low, task gradients weaken and regularization dominates, pushing policies toward generic outputs. SNR-Aware Filtering—selecting high-variance prompts before updates—recovers performance across tasks and scales.

Why do readers interpret the same sentence so differently?

Interpretation Modeling research shows that disagreement on socially embedded sentences reflects valid differences in reader perspective, not annotation failure. Structured human disagreement in NLI benchmarks confirms that interpretation distributions carry meaningful information.

Can language models recognize when text is deliberately ambiguous?

AMBIENT benchmark shows GPT-4 correctly disambiguates only 32% of cases versus 90% for humans. This failure spans lexical, structural, and scope ambiguity—revealing that LLMs cannot hold multiple interpretations simultaneously, a fundamental gap hidden by standard benchmarks.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.