Schema Key Wording as an Instruction Channel in Structured Generation (April 2026)
FreeDiscovers that schema key wording itself acts as an implicit instruction signal under constrained decoding — changing JSON key names alters model behavior even when semantic content is identical
About Schema Key Wording as an Instruction Channel in Structured Generation (April 2026)
This research paper presents the first systematic study of schema key wording as an implicit instruction channel in structured generation under constrained decoding. It demonstrates that changing JSON key names can significantly alter model behavior and accuracy even when the prompt, model, output structure, and decoding setup are fixed. The paper introduces a projection-aware analysis explaining when instruction-bearing keys help (semantic gain > distortion from grammar projection) and shows that schema-level instructions affect models differently (e.g., Qwen benefits more than LLaMA). The findings reframe schema design as part of instruction specification, not mere output formatting.
Key Features
Pros & Cons
- Reveals a previously overlooked channel of instruction—schema key wording—that can be leveraged without extra tokens
- Provides a theoretical framework (projection-aware analysis) to predict when key wording helps
- Empirically demonstrates substantial accuracy changes from only renaming schema keys, holding all else fixed
- Results are reproducible using open-source models and standard constrained decoding libraries
- Offers practical guidance for practitioners designing JSON schemas for LLM applications
- Experiments limited to mathematical reasoning benchmarks; generalizability to other domains not shown
- Effect magnitude varies significantly across models (Qwen vs LLaMA) and may not transfer to other architectures
- Requires use of constrained decoding (grammar-based projection), not applicable to free-form generation
- Theoretical analysis assumes specific constraints; practical heuristic for key wording not yet provided
- Only studied single key changes; effects of multiple key interactions not explored