{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,3]],"date-time":"2026-06-03T15:52:52Z","timestamp":1780501972321,"version":"3.54.1"},"reference-count":55,"publisher":"IEEE","license":[{"start":{"date-parts":[[2025,12,8]],"date-time":"2025-12-08T00:00:00Z","timestamp":1765152000000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-029"},{"start":{"date-parts":[[2025,12,8]],"date-time":"2025-12-08T00:00:00Z","timestamp":1765152000000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-037"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2025,12,8]]},"DOI":"10.1109\/bigdata66926.2025.11402199","type":"proceedings-article","created":{"date-parts":[[2026,3,6]],"date-time":"2026-03-06T20:57:57Z","timestamp":1772830677000},"page":"4663-4672","source":"Crossref","is-referenced-by-count":1,"title":["Two Shots are Enough: Reliable Constrained Generation with LLMs"],"prefix":"10.1109","author":[{"given":"Manuel","family":"Mondal","sequence":"first","affiliation":[{"name":"University of Fribourg,Fribourg,Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ljiljana","family":"Dolamic","sequence":"additional","affiliation":[{"name":"armasuisse W+T,Thun,Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Philippe","family":"Cudr\u00e9-Mauroux","sequence":"additional","affiliation":[{"name":"University of Fribourg,Fribourg,Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Julien","family":"Audiffren","sequence":"additional","affiliation":[{"name":"University of Fribourg,Fribourg,Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"263","reference":[{"key":"ref1","first-page":"23","article-title":"Prompting large language model for machine translation: A case study","volume-title":"Proceedings of the 40th International Conference on Machine Learning","volume":"202","author":"Zhang","year":"2023"},{"key":"ref2","article-title":"Gpt-ner: Named entity recognition via large language models","author":"Wang","year":"2023","journal-title":"arXiv preprint"},{"key":"ref3","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.findings-emnlp.603"},{"key":"ref4","article-title":"Measuring massive multitask language understanding","volume-title":"International Conference on Learning Representations","author":"Hendrycks","year":"2021"},{"key":"ref5","article-title":"Mmlu-pro: A more robust and challenging multi-task language understanding benchmark","author":"Wang","year":"2024","journal-title":"arXiv preprint"},{"key":"ref6","author":"White","year":"2024","journal-title":"Livebench: A challenging, contamination-free llm benchmark"},{"key":"ref7","article-title":"Evaluating large language models trained on code","author":"Chen","year":"2021","journal-title":"arXiv preprint"},{"key":"ref8","article-title":"Large language model based multi-agents: A survey of progress and challenges","volume-title":"33rd International Joint Conference on Artificial Intelligence (IJCAI 2024)","author":"Guo","year":"2024"},{"key":"ref9","article-title":"Taskgen: A task-based, memory-infused agentic framework using strictjson","author":"Tan","year":"2024","journal-title":"arXiv preprint"},{"key":"ref10","article-title":"Megaagent: A practical framework for autonomous cooperation in large-scale llm agent systems","author":"Wang","year":"2024","journal-title":"arXiv preprint"},{"key":"ref11","doi-asserted-by":"publisher","DOI":"10.14778\/3626292.3626294"},{"key":"ref12","doi-asserted-by":"publisher","DOI":"10.14778\/3685800.3685835"},{"key":"ref13","doi-asserted-by":"publisher","DOI":"10.1109\/SDS60720.2024.00047"},{"key":"ref14","doi-asserted-by":"publisher","DOI":"10.52202\/075280-2997"},{"key":"ref15","doi-asserted-by":"publisher","DOI":"10.1145\/3704435"},{"key":"ref16","article-title":"What\u2019s going on with the open llm leaderboard","volume-title":"Hugging Face Blog","author":"Fourrier","year":"2023"},{"key":"ref17","author":"Zhou","year":"2023","journal-title":"Instruction-Following Evaluation for Large Language Models"},{"key":"ref18","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.findings-acl.772"},{"key":"ref19","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.acl-long.754"},{"key":"ref20","doi-asserted-by":"publisher","DOI":"10.1145\/3777411"},{"key":"ref21","article-title":"Many-shot in-context learning","author":"Agarwal","year":"2024","journal-title":"ICML 2024 Workshop on In-Context Learning"},{"key":"ref22","article-title":"Probing the decision boundaries of in-context learning in large language models","author":"Zhao","year":"2024","journal-title":"arXiv preprint"},{"key":"ref23","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.emnlp-main.64"},{"key":"ref24","first-page":"1877","article-title":"Language models are few-shot learners","volume-title":"Proceedings of the 34th International Conference on Neural Information Processing Systems","author":"Brown","year":"2020"},{"key":"ref25","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.findings-acl.824"},{"key":"ref26","article-title":"Efficient guided generation for 11 ms","author":"Willard","year":"2023","journal-title":"arXiv preprint"},{"key":"ref27","article-title":"Guiding LLMs the right way: Fast, non-invasive constrained generation","volume-title":"Forty-first International Conference on Machine Learning","author":"Beurer-Kellner","year":"2024"},{"key":"ref28","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.emnlp-main.674"},{"key":"ref29","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.emnlp-industry.91"},{"key":"ref30","article-title":"Phi-3 technical report: A highly capable language model locally on your phone","author":"Abdin","year":"2024","journal-title":"arXiv preprint"},{"key":"ref31","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.acl-long.818"},{"key":"ref32","first-page":"31210","article-title":"Large language models can be easily distracted by irrelevant context","volume-title":"International Conference on Machine Learning","author":"Shi","year":"2023"},{"key":"ref33","article-title":"Making retrievalaugmented language models robust to irrelevant context","volume-title":"The Twelfth International Conference on Learning Representations","author":"Yoran","year":"2024"},{"key":"ref34","first-page":"597","article-title":"On the computational complexity of self-attention","volume-title":"International conference on algorithmic learning theory","author":"Keles","year":"2023"},{"key":"ref35","doi-asserted-by":"publisher","DOI":"10.1145\/3530811"},{"key":"ref36","first-page":"19 274","article-title":"Fast inference from transformers via speculative decoding","volume-title":"International Conference on Machine Learning","author":"Leviathan","year":"2023"},{"key":"ref37","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.acl-long.511"},{"key":"ref38","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.findings-emnlp.278"},{"key":"ref39","article-title":"Justice or prejudice? quantifying biases in 11m-as-a-judge","author":"Ye","year":"2024","journal-title":"arXiv preprint"},{"key":"ref40","article-title":"Fofo: A benchmark to evaluate 11 ms \u2019 format-following capability","author":"Xia","year":"2024","journal-title":"arXiv preprint"},{"key":"ref41","author":"Wen","year":"2024","journal-title":"Benchmarking Complex Instruction-Following with Multiple Constraints Composition"},{"key":"ref42","article-title":"Self-generated in-context learning: Leveraging auto-regressive language models as a demonstration generator","author":"Kim","year":"2022","journal-title":"arXiv preprint"},{"key":"ref43","doi-asserted-by":"publisher","DOI":"10.1162\/tacl_a_00605"},{"key":"ref44","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2021.emnlp-main.522"},{"key":"ref45","doi-asserted-by":"publisher","DOI":"10.52202\/079017-1053"},{"key":"ref46","doi-asserted-by":"publisher","DOI":"10.52202\/068431-1800"},{"key":"ref47","doi-asserted-by":"publisher","DOI":"10.52202\/075280-0517"},{"key":"ref48","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.emnlp-main.306"},{"key":"ref49","article-title":"Do large language models exhibit cognitive dissonance? studying the difference between revealed beliefs and stated answers","author":"Mondal","year":"2024","journal-title":"arXiv preprint"},{"key":"ref50","doi-asserted-by":"publisher","DOI":"10.3115\/1119176.1119195"},{"key":"ref51","article-title":"Instruction-following evaluation for large language models","author":"Zhou","year":"2023","journal-title":"arXiv preprint"},{"key":"ref52","article-title":"The llama 3 herd of models","author":"Dubey","year":"2024","journal-title":"arXiv preprint"},{"key":"ref53","article-title":"Qwen2 technical report","author":"Yang","year":"2024","journal-title":"arXiv preprint"},{"key":"ref54","article-title":"Mixtral of experts","author":"Jiang","year":"2024","journal-title":"arXiv preprint"},{"key":"ref55","article-title":"Fine-tuning aligned language models compromises safety, even when users do not intend to!","author":"Qi","year":"2023","journal-title":"arXiv preprint"}],"event":{"name":"2025 IEEE International Conference on Big Data (BigData)","location":"Macau, China","start":{"date-parts":[[2025,12,8]]},"end":{"date-parts":[[2025,12,11]]}},"container-title":["2025 IEEE International Conference on Big Data (BigData)"],"original-title":[],"link":[{"URL":"http:\/\/xplorestaging.ieee.org\/ielx8\/11400704\/11400712\/11402199.pdf?arnumber=11402199","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,3,7]],"date-time":"2026-03-07T06:55:55Z","timestamp":1772866555000},"score":1,"resource":{"primary":{"URL":"https:\/\/ieeexplore.ieee.org\/document\/11402199\/"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,8]]},"references-count":55,"URL":"https:\/\/doi.org\/10.1109\/bigdata66926.2025.11402199","relation":{},"subject":[],"published":{"date-parts":[[2025,12,8]]}}}