Padding to k: A Minimum Count in the Schema Makes Open-Weight Models Pad Their Extraction Lists
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
Create a lesson
Metadata
- Comments
- 26 pages, 4 figures. Preregistered at https://osf.io/e4r9f. Code and data: https://github.com/AbhishekBarali/padding-to-k
Related papers
Can Open LLMs Clear Sanctions-Screening Alerts? A Pre-registered Test on Public Sanctions Lists with Turkish Name Variants
Shared title terminologycs.CLMehmet Murat Huyut
Tablassert: Declarative Extraction of Knowledge Graphs from Biomedical Tables
Shared title terminologycs.CLSkye L. Goetz, Jared C. Roach, Gwênlyn Glusman
Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity
Shared title terminologycs.CLYuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis et al.
What Makes Good Data for Training Coding Agents? A Systematic Study on SWE-Gym
Shared title terminologycs.CLYikai Zhang, Mai Xu, Yunbei Zhang et al.
LM2 Compiling a Language Model into Another Model Weights
Shared title terminologycs.CLNaman Chawla, Chhavi Dhiman
Meddies-PII: A Multilingual Framework for Personally Identifiable Information Extraction in Clinical De-identification
Shared title terminologycs.CLLe Linh Uyen, Christian Hoang, Ho Dinh Tri et al.