Parsed, Plausible, Wrong: Output Format Controls Silent Errors in Small-Model Semantic Parsing
Abstract
A 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.5-0.8B and LFM2.5-350M) with LoRA on six lossless encodings of the same target tree, from 44.3 down to 10.9 tokens per order, including two matched-length pairs that vary surface form at fixed length. Across 300 runs (5 training pool sizes, 5 seeds) with a hierarchical bootstrap and Holm correction fixed before the results were read, shortening alone never helps, but writing the target in ordinary words does. The word encoding is the most accurate format on both models (87.5% vs. 85.8% exact match for the native s-expression on Qwen) while emitting 4.1x fewer tokens, and it cuts the silent error rate by 2.3x on Qwen and 1.8x on LFM2, separating at every pool size. Error analysis locates much of the gain in negation. All runs also learn to refuse off-menu input (held out: 95.9-99.0% handled) and to apply in-utterance self-corrections. Strict refusal has a measured price: 2.1-10.1% of real, mostly polite, orders are refused.
Community
Writing a small parser's target in plain words instead of symbols matches the native format's accuracy with 4x fewer tokens and cuts silent errors (parsed but wrong) by 2.3x. Models, code and an in-browser demo are linked.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Verdict: Encode Once, Decide Many (2026)
- Constrained Tagging for Span Labeling (2026)
- Grammar Concept Annotation at Scale: Deployed Fine-Tuned Small Language Models Outperform Prompted Frontier Models (2026)
- A helps B while B hurts A: directed transfer in instruction-tuning mixture (2026)
- Where in the Input Does a One-Pass Decision Encoder Look? (2026)
- Label-Wording Augmentation in a Typed-Decision Encoder: Gains on Unfamiliar Words, Not on Abbreviations or Codes (2026)
- Rewrite, Then Veto: Rewriter-Agnostic Edit Gating for LLM-Based Post-OCR Correction (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
the word encoding beating the native s-expression on qwen (87.5% vs 85.8% exact match) while emitting 4.1x fewer tokens matters a lot for cpu inference, where every output token costs. did u try grammar constrained decoding per encoding? im curious if it closes part of the silent error gap or only kills malformed trees. and the 2.1-10.1% of real polite orders refused, is that range across models or across encodings?
@guicybercode Thanks! Yes, the token savings were a big motivation for us, on CPU and especially in the browser, where latency grows almost linearly with output length.
On grammar-constrained decoding: we haven't measured silent errors per encoding under constraints yet, and it's a great question. Our expectation is that a grammar only removes malformed trees and can't fix a well-formed wrong one. It might even convert some detectable failures into silent ones, since a broken output gets forced into a valid shape. So it could narrow the validity gap while widening the silent one. We'd like to test that directly next.
On refusals: it's both. Within each model it's the range across the six encodings: 2.1–5.4% on Qwen3.5-0.8B and 6.3–10.1% on LFM2.5-350M (full training pool). The abstract pools the two models.
Get this paper in your agent:
hf papers read 2611.17169 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 2
umarsheikh303/pizza-lfm2-words-gguf
Datasets citing this paper 0
No dataset linking this paper