Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models
<|reference_start|>Let Me Speak Freely? A Study on the Impact of Format Restrictions on Performance of Large Language Models: Structured generation, the process of producing content in standardized formats like JSON and XML, is widely utilized in real-world applications to extract key output information from large language models (LLMs). This study investigates whether such constraints on generation space impact LLMs abilities, including reasoning and domain knowledge comprehension. Specifically, we evaluate LLMs performance when restricted to adhere to structured formats versus generating free-form responses across various common tasks. Surprisingly, we observe a significant decline in LLMs reasoning abilities under format restrictions. Furthermore, we find that stricter format constraints generally lead to greater performance degradation in reasoning tasks.<|reference_end|>
@article{tam2024let,
    title={Let Me Speak Freely? A Study on the Impact of Format Restrictions on
  Performance of Large Language Models},
    author={Zhi Rui Tam, Cheng-Kuang Wu, Yi-Lin Tsai, Chieh-Yen Lin, Hung-yi Lee,
  Yun-Nung Chen},
    journal={arXiv preprint arXiv:2408.02442},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.02442},
    primaryClass={cs.CL}
}