Word formats cut silent errors in small semantic parsers
Original title: Parsed, Plausible, Wrong: Output Format Controls Silent Errors in Small-Model Semantic Parsing
On PIZZA, ordinary-word targets beat native s-expressions and emitted 4.1 times fewer tokens.
The authors fine-tune Qwen3.5-0.8B and LFM2.5-350M with LoRA on six lossless encodings of the same PIZZA order tree. Across 300 runs, shortening the target never helped by itself, but writing the tree in ordinary words did. The word encoding was the most accurate format on both models and lowered the silent error rate, with much of the gain in negation. Models also learned to refuse off-menu input, at the cost of refusing some real orders.
Unconfirmed: The format comparison is the authors’ pre-registered study; it has not been independently replicated here.
- Word encoding reached 87.5% exact match on Qwen versus 85.8% for native s-expressions.
- Silent errors fell 2.3 times on Qwen and 1.8 times on LFM2.
- Encodings ranged from 44.3 down to 10.9 tokens per order.
- Held-out off-menu input was handled in 95.9–99.0% of cases.
- Strict refusal rejected 2.1–10.1% of real, mostly polite, orders.
From the original article
1 min read at huggingface.coA small fine-tuned parser that emits a well-formed but wrong tree fails silently: nothing downstream can tell. We ask whether the output format, a free design choice, controls how often this happens. On the PIZZA ordering benchmark we fine-tune two sub-billion models (Qwen3.
By Umar Ahmed, Maxim Dunaev, Mohammad Nour Al Awad · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.