Padding to k: A Minimum Count in the Schema Makes Open-Weight Models Pad Their Extraction Lists
Abhishek Barali, Aayush Paudel
Key points
From the paper's conclusion- We release the code, answer lists and run records at https://github.com/AbhishekBarali/padding-to-k
Abstract
Extraction pipelines ask language models for JSON that follows a schema, and the schema can set a minimum number of list entries. We ask what models do when the document holds fewer items than that minimum. Under a preregistered plan, we test eight open-weight models on 558 real documents from nine annotated datasets, with six more models on hosted services as a reference. Three findings stand out. First, models treat the count as a target: a minimum shown in the schema, but not enforced, raises the share of lists longer than the true count from 34.5% to 55.4%. Second, the padding is hard to catch, because most added entries are real text taken from the document; about half of them pass a check that each entry occurs in the source. Third, common fixes help only partly: a line saying fewer items are fine removes the effect on average but misses more true items, a count in prose ("up to k") also raises over-counting, an "N/A" option under an enforced minimum still leaves half the lists padded, and re-asking with the validation error makes padding far more common. We release the code, answer lists and run records at https://github.com/AbhishekBarali/padding-to-k
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Structure Tax: How Structured Output affects LLMs PerformancearXiv · 2026
- Why Does Structured Output Fail? An Empirical Study of Prompt-Enforced Pydantic Schemas Across Nine LLMsarXiv · 2026
- LLM Validation Makes Minimal-Pair Benchmarks Easier for Language ModelsarXiv · 2026
- Text-to-SQL Models Make Choices Without Saying SoarXiv · 2026
- Beyond the Editing Canvas: Evidence Divergence in OOXML-to-LLM IngestionarXiv · 2026
- Record Grouping Controls Evidence Weight in Language ModelsarXiv · 2026