StructureBench: A Unified Benchmark Suite for Multi-Scenario Structured Generation Tasks with On-Device Models
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 2400-2408.
https://doi.org/10.24963/ijcai.2026/267
Keywords
- Natural Language Processing: Tools
- Natural Language Processing: Language generation
- Constraint Satisfaction and Optimization: Constraint satisfaction
- Natural Language Processing: Applications
- Natural Language Processing: Information extraction
Abstract
Structured output generation is increasingly critical for real-world AI systems, particularly in on-device settings where small language models (0.5B–8B parameters) must produce machine-executable outputs under strict latency and privacy constraints. Although constrained decoding provides formal guarantees of structural validity without retraining, its effectiveness across different tasks, models, and constraint formalisms remains insufficiently understood. We introduce StructureBench, a comprehensive benchmark for structured generation on edge devices, covering JSON and tool-call generation, code synthesis, mathematics, science, and domain-specific languages, and evaluating over 11 on-device language and vision–language models spanning 0.5B–8B parameters. StructureBench systematically compares prompt-based generation with three widely used constrained decoding frameworks—Outlines, XGrammar, and Guidance—and adopts decoupled metrics to separately assess structural validity and semantic correctness. Our experiments show that constrained decoding consistently enforces syntactic validity, but does not reliably improve semantic accuracy and may even degrade performance for smaller models or complex grammars. These findings reveal clear task- and model-dependent boundaries for effective constrained decoding and highlight the need for scenario-aware adaptation in on-device structured generation. We release StructureBench at https://github.com/Str-Ben/StructureBench.
@inproceedings{ijcai2026p267,
title = {StructureBench: A Unified Benchmark Suite for Multi-Scenario Structured Generation Tasks with On-Device Models},
author = {Xiong, Xiaokun and Xu, Zhengjie and Chen, Junyi and Bai, Shihao and Gong, Ruihao and Liu, Xianglong},
booktitle = {Proceedings of the Thirty-Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-26}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Diego Calvanese},
pages = {2400--2408},
year = {2026},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2026/267},
url = {https://doi.org/10.24963/ijcai.2026/267},
}
TY - CPAPER TI - StructureBench: A Unified Benchmark Suite for Multi-Scenario Structured Generation Tasks with On-Device Models AU - Xiong, Xiaokun AU - Xu, Zhengjie AU - Chen, Junyi AU - Bai, Shihao AU - Gong, Ruihao AU - Liu, Xianglong T2 - Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, IJCAI-26 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2026 SP - 2400 EP - 2408 DO - 10.24963/ijcai.2026/267 UR - https://doi.org/10.24963/ijcai.2026/267 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: