{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,10]],"date-time":"2026-08-10T11:29:19Z","timestamp":1786361359935,"version":"build-2736575974"},"reference-count":44,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2026,8,10]],"date-time":"2026-08-10T00:00:00Z","timestamp":1786320000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/www.springernature.com\/gp\/researchers\/text-and-data-mining"},{"start":{"date-parts":[[2026,8,10]],"date-time":"2026-08-10T00:00:00Z","timestamp":1786320000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.springernature.com\/gp\/researchers\/text-and-data-mining"}],"funder":[{"DOI":"10.13039\/501100004608","name":"Natural Science Foundation of Jiangsu Province","doi-asserted-by":"publisher","award":["No. BK20241194"],"award-info":[{"award-number":["No. BK20241194"]}],"id":[{"id":"10.13039\/501100004608","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Empir Software Eng"],"published-print":{"date-parts":[[2027,2]]},"DOI":"10.1007\/s10664-026-10947-8","type":"journal-article","created":{"date-parts":[[2026,8,10]],"date-time":"2026-08-10T10:44:46Z","timestamp":1786358686000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Understanding Chain-of-Thought effectiveness in code generation: an empirical and information-theoretic analysis"],"prefix":"10.1007","volume":"32","author":[{"ORCID":"https:\/\/orcid.org\/0009-0001-9842-5749","authenticated-orcid":false,"given":"Naizhu","family":"Jin","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhong","family":"Li","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Guang","family":"Yang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tian","family":"Zhang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Qingkai","family":"Zeng","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,8,10]]},"reference":[{"key":"10947_CR1","unstructured":"Austin J, Odena A, Nye M, Bosma M, Michalewski H, Dohan D, Jiang E, Cai C, Terry M, Le Q (2021) Program synthesis with large language models. arXiv preprint arXiv:2108.07732"},{"key":"10947_CR2","doi-asserted-by":"crossref","unstructured":"Besta M, Blach N, Kubicek A, Gerstenberger R, Podstawski M, Gianinazzi L, Gajda J, Lehmann T, Niewiadomski H, Nyczyk P et al (2024) Graph of thoughts: Solving elaborate problems with large language models. In: Proceedings of the AAAI conference on artificial intelligence 38:17682\u201317690","DOI":"10.1609\/aaai.v38i16.29720"},{"key":"10947_CR3","doi-asserted-by":"crossref","unstructured":"Bi Z, Zhang N, Jiang Y, Deng S, Zheng G, Chen H (2024) When do program-of-thought works for reasoning?. In: Proceedings of the AAAI conference on artificial intelligence 38:17691\u201317699","DOI":"10.1609\/aaai.v38i16.29721"},{"key":"10947_CR4","unstructured":"Chen M (2021) Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374"},{"key":"10947_CR5","unstructured":"Dai J, Lu J, Feng Y, Zeng G, Ruan R, Cheng M, Huang D, Tan H, Guo Z (2024) Mhpp: Exploring the capabilities and limitations of language models beyond basic code generation. arXiv preprint arXiv:2405.11430"},{"key":"10947_CR6","doi-asserted-by":"crossref","unstructured":"Diao S, Wang P, Lin Y, Pan R, Liu X, Zhang T (2024) Active prompting with chain-of-thought for large language models. In: Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp 1330\u20131350","DOI":"10.18653\/v1\/2024.acl-long.73"},{"key":"10947_CR7","doi-asserted-by":"crossref","unstructured":"Du X, Liu M, Wang K, Wang H, Liu J, Chen Y, Feng J, Sha C, Peng X, Lou Y (2024) Evaluating large language models in class-level code generation. In: Proceedings of the IEEE\/ACM 46th international conference on software engineering, pp 1\u201313","DOI":"10.1145\/3597503.3639219"},{"key":"10947_CR8","doi-asserted-by":"publisher","first-page":"1536","DOI":"10.18653\/v1\/2020.findings-emnlp.139","volume":"2020","author":"Z Feng","year":"2020","unstructured":"Feng Z, Guo D, Tang D, Duan N, Feng X, Gong M, Shou L, Qin B, Liu T, Jiang D et al (2020) Codebert: A pre-trained model for programming and natural languages. Findings of the Association for Computational Linguistics EMNLP 2020:1536\u20131547","journal-title":"Findings of the Association for Computational Linguistics EMNLP"},{"key":"10947_CR9","unstructured":"Fried D, Aghajanyan A, Lin J, Wang S, Wallace E, Shi F, Zhong R, Wt Y, Zettlemoyer L, Lewis M (2022) Incoder: A generative model for code infilling and synthesis. arXiv preprint arXiv:2204.05999"},{"key":"10947_CR10","unstructured":"Fu Y, Ou L, Chen M, Wan Y, Peng H, Khot T (2023) Chain-of-thought hub: A continuous effort to measure large language models\u2019 reasoning performance. arXiv preprint arXiv:2305.17306"},{"key":"10947_CR11","doi-asserted-by":"crossref","unstructured":"Iyer S, Konstas I, Cheung A, Zettlemoyer L (2016) Summarizing source code using a neural attention model. In: 54th Annual Meeting of the Association for Computational Linguistics 2016, Association for Computational Linguistics, pp 2073\u20132083","DOI":"10.18653\/v1\/P16-1195"},{"issue":"7","key":"10947_CR12","first-page":"1","volume":"33","author":"X Jiang","year":"2024","unstructured":"Jiang X, Dong Y, Wang L, Fang Z, Shang Q, Li G, Jin Z, Jiao W (2024a) Self-planning code generation with large language models. ACM Trans Softw Eng Methodol 33(7):1\u201330","journal-title":"ACM Trans Softw Eng Methodol"},{"key":"10947_CR13","unstructured":"Jiang J, Wang F, Shen J, Kim S, Kim S (2024b) A survey on large language models for code generation. arXiv preprint arXiv:2406.00515"},{"key":"10947_CR14","doi-asserted-by":"publisher","first-page":"2148","DOI":"10.18653\/v1\/2024.findings-naacl.138","volume":"2024","author":"YW Jie","year":"2024","unstructured":"Jie YW, Satapathy R, Goh R, Cambria E (2024) How interpretable are reasoning explanations from prompting large language models? Findings of the Association for Computational Linguistics NAACL 2024:2148\u20132164","journal-title":"Findings of the Association for Computational Linguistics NAACL"},{"key":"10947_CR15","doi-asserted-by":"crossref","unstructured":"Jin N, Li Z, Zhang T, Zeng Q (2025) Mscot: Structured chain-of-thought generation for multiple programming languages. arXiv preprint arXiv:2504.10178","DOI":"10.1109\/IJCNN64981.2025.11228673"},{"key":"10947_CR16","doi-asserted-by":"publisher","first-page":"22199","DOI":"10.52202\/068431-1613","volume":"35","author":"T Kojima","year":"2022","unstructured":"Kojima T, Gu SS, Reid M, Matsuo Y, Iwasawa Y (2022) Large language models are zero-shot reasoners. Adv Neural Inf Process Syst 35:22199\u201322213","journal-title":"Adv Neural Inf Process Syst"},{"issue":"6624","key":"10947_CR17","doi-asserted-by":"publisher","first-page":"1092","DOI":"10.1126\/science.abq1158","volume":"378","author":"Y Li","year":"2022","unstructured":"Li Y, Choi D, Chung J, Kushman N, Schrittwieser J, Leblond R, Eccles T, Keeling J, Gimeno F, Dal Lago A et al (2022) Competition-level code generation with alphacode. Science 378(6624):1092\u20131097","journal-title":"Science"},{"issue":"2","key":"10947_CR18","first-page":"1","volume":"34","author":"J Li","year":"2025","unstructured":"Li J, Li G, Li Y, Jin Z (2025) Structured chain-of-thought prompting for code generation. ACM Trans Softw Eng Methodol 34(2):1\u201323","journal-title":"ACM Trans Softw Eng Methodol"},{"key":"10947_CR19","unstructured":"Liu RB, Li A, Yang C, Sun H, Li M (2025) Revisiting chain-of-thought in code generation: Do language models need to learn reasoning before coding? In: 42nd international conference on machine learning"},{"key":"10947_CR20","unstructured":"Lozhkov A, Li R, Allal LB, Cassano F, Lamy-Poirier J, Tazi N, Tang A, Pykhtar D, Liu J, Wei Y et\u00a0al (2024) Starcoder 2 and the stack v2: The next generation. arXiv preprint arXiv:2402.19173"},{"key":"10947_CR21","doi-asserted-by":"crossref","unstructured":"Lyu Q, Havaldar S, Stein A, Zhang L, Rao D, Wong E, Apidianaki M, Callison-Burch C (2023) Faithful chain-of-thought reasoning. In: The 13th International Joint Conference on Natural Language Processing and the 3rd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics (IJCNLP-AACL 2023)","DOI":"10.18653\/v1\/2023.ijcnlp-main.20"},{"key":"10947_CR22","unstructured":"Ma Y, Yu Y, Li S, Jiang Y, Guo Y, Zhang Y, Xie Y, Liao X (2023) Bridging code semantic and llms: Semantic chain-of-thought prompting for code generation. arXiv preprint arXiv:2310.10698"},{"issue":"1","key":"10947_CR23","doi-asserted-by":"publisher","first-page":"148","DOI":"10.3390\/medicina60010148","volume":"60","author":"J Miao","year":"2024","unstructured":"Miao J, Thongprayoon C, Suppadungsuk S, Krisanapan P, Radhakrishnan Y, Cheungpasitporn W (2024) Chain of thought utilization in large language models and application in nephrology. Medicina 60(1):148","journal-title":"Medicina"},{"key":"10947_CR24","unstructured":"Nijkamp E, Pang B, Hayashi H, Tu L, Wang H, Zhou Y, Savarese S, Xiong C (2022) Codegen: An open large language model for code with multi-turn program synthesis. arXiv preprint arXiv:2203.13474"},{"key":"10947_CR25","doi-asserted-by":"crossref","unstructured":"Peng Q, Chai Y, Li X (2024) Humaneval-xl: A multilingual code generation benchmark for cross-lingual natural language generalization. In: Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pp 8383\u20138394","DOI":"10.63317\/2zjsm6sdd5yo"},{"key":"10947_CR26","unstructured":"Poole B, Ozair S, Van Den Oord A, Alemi A, Tucker G (2019) On variational bounds of mutual information. In: International conference on machine learning, pp 5171\u20135180. PMLR"},{"key":"10947_CR27","unstructured":"Roh J, Gandhi V, Anilkumar S, Garg A (2025) Break-the-chain: Reasoning failures in llms via adversarial prompting in code generation. arXiv e-prints pp arXiv\u20132506"},{"key":"10947_CR28","unstructured":"Roziere B, Li R, Allal LB (2023) Code llama: Open foundation models for code. arXiv preprint arXiv:2308.12950"},{"key":"10947_CR29","doi-asserted-by":"publisher","first-page":"29106","DOI":"10.52202\/079017-0917","volume":"37","author":"K Stechly","year":"2024","unstructured":"Stechly K, Valmeekam K, Kambhampati S (2024) Chain of thoughtlessness? an analysis of cot in planning. Adv Neural Inf Process Syst 37:29106\u201329141","journal-title":"Adv Neural Inf Process Syst"},{"key":"10947_CR30","doi-asserted-by":"publisher","first-page":"74952","DOI":"10.52202\/075280-3275","volume":"36","author":"M Turpin","year":"2023","unstructured":"Turpin M, Michael J, Perez E, Bowman S (2023) Language models don\u2019t always say what they think: Unfaithful explanations in chain-of-thought prompting. Adv Neural Inf Process Syst 36:74952\u201374965","journal-title":"Adv Neural Inf Process Syst"},{"key":"10947_CR31","doi-asserted-by":"crossref","unstructured":"Vaithilingam P, Zhang T, Glassman EL (2022) Expectation vs. experience: Evaluating the usability of code generation tools powered by large language models. In: Chi conference on human factors in computing systems extended abstracts, pp 1\u20137","DOI":"10.1145\/3491101.3519665"},{"key":"10947_CR32","doi-asserted-by":"crossref","unstructured":"Wang Y, Wang W, Joty S, Hoi SC (2021) Codet5: Identifier-aware unified pre-trained encoder-decoder models for code understanding and generation. In: EMNLP 2021-2021 Conference on Empirical Methods in Natural Language Processing, Proceedings, Association for Computational Linguistics (ACL), pp 8696\u20138708","DOI":"10.18653\/v1\/2021.emnlp-main.685"},{"key":"10947_CR33","doi-asserted-by":"crossref","unstructured":"Wang S, Geng M, Lin B, Sun Z, Wen M, Liu Y, Li L, Bissyand\u00e9 TF, Mao X (2023) Natural language to code: How far are we?. In: Proceedings of the 31st ACM joint European software engineering conference and symposium on the foundations of software engineering, pp 375\u2013387","DOI":"10.1145\/3611643.3616323"},{"key":"10947_CR34","doi-asserted-by":"publisher","first-page":"24824","DOI":"10.52202\/068431-1800","volume":"35","author":"J Wei","year":"2022","unstructured":"Wei J, Wang X, Schuurmans D, Bosma M, Xia F, Chi E, Le QV, Zhou D et al (2022) Chain-of-thought prompting elicits reasoning in large language models. Adv Neural Inf Process Syst 35:24824\u201324837","journal-title":"Adv Neural Inf Process Syst"},{"key":"10947_CR35","doi-asserted-by":"crossref","unstructured":"Wei X, Gonugondla SK, Wang S, Ahmad W, Ray B, Qian H, Li X, Kumar V, Wang Z, Tian Y et\u00a0al (2023) Towards greener yet powerful code generation via quantization: An empirical study. In: Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp 224\u2013236","DOI":"10.1145\/3611643.3616302"},{"key":"10947_CR36","doi-asserted-by":"crossref","unstructured":"Yang G, Zhou Y, Chen X, Zhang X, Zhuo TY, Chen T (2024a) Chain-of-thought in neural code generation: From and for lightweight language models. IEEE Transactions on Software Engineering","DOI":"10.1109\/TSE.2024.3440503"},{"issue":"3","key":"10947_CR37","first-page":"1","volume":"33","author":"G Yang","year":"2024","unstructured":"Yang G, Zhou Y, Yang W, Yue T, Chen X, Chen T (2024b) How important are good method names in neural code generation? a model robustness perspective. ACM Trans Softw Eng Methodol 33(3):1\u201335","journal-title":"ACM Trans Softw Eng Methodol"},{"key":"10947_CR38","doi-asserted-by":"publisher","first-page":"11809","DOI":"10.52202\/075280-0517","volume":"36","author":"S Yao","year":"2023","unstructured":"Yao S, Yu D, Zhao J, Shafran I, Griffiths T, Cao Y, Narasimhan K (2023) Tree of thoughts: Deliberate problem solving with large language models. Adv Neural Inf Process Syst 36:11809\u201311822","journal-title":"Adv Neural Inf Process Syst"},{"key":"10947_CR39","doi-asserted-by":"crossref","unstructured":"Yin P, Neubig G (2017) A syntactic neural model for general-purpose code generation. In: Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Association for Computational Linguistics","DOI":"10.18653\/v1\/P17-1041"},{"key":"10947_CR40","doi-asserted-by":"crossref","unstructured":"Zhao W, Sui X, Guo J, Hu Y, Deng Y, Zhao Y, Qin B, Che W, Chua TS, Liu T (2025a) Trade-offs in large reasoning models: An empirical analysis of deliberative and adaptive reasoning over foundational capabilities. arXiv preprint arXiv:2503.17979","DOI":"10.1609\/aaai.v40i41.40802"},{"key":"10947_CR41","doi-asserted-by":"crossref","unstructured":"Zhao C, Tan Z, Ma P, Li D, Jiang B, Wang Y, Yang Y, Liu H (2025b) Is chain-of-thought reasoning of llms a mirage? a data distribution lens. arXiv preprint arXiv:2508.01191","DOI":"10.18653\/v1\/2026.findings-acl.749"},{"key":"10947_CR42","unstructured":"Zhu Y, Li G, Jiang X, Li J, Mei H, Jin Z, Dong Y (2025) Uncertainty-guided chain-of-thought for code generation with llms. arXiv preprint arXiv:2503.15341"},{"key":"10947_CR43","unstructured":"Zhuo TY, Vu MC, Chim J, Hu H, Yu W, Widyasari R, Yusuf INB, Zhan H, He J, Paul I et\u00a0al (2024) Bigcodebench: Benchmarking code generation with diverse function calls and complex instructions. arXiv preprint arXiv:2406.15877"},{"key":"10947_CR44","doi-asserted-by":"crossref","unstructured":"Zi Y, Menon H, Guha A (2025) More than a score: Probing the impact of prompt specificity on llm code generation. In: Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics, pp 2380\u20132402","DOI":"10.18653\/v1\/2025.ijcnlp-long.128"}],"container-title":["Empirical Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10664-026-10947-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10664-026-10947-8","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10664-026-10947-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,10]],"date-time":"2026-08-10T10:44:54Z","timestamp":1786358694000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10664-026-10947-8"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,10]]},"references-count":44,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2027,2]]}},"alternative-id":["10947"],"URL":"https:\/\/doi.org\/10.1007\/s10664-026-10947-8","relation":{},"ISSN":["1382-3256","1573-7616"],"issn-type":[{"value":"1382-3256","type":"print"},{"value":"1573-7616","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,10]]},"assertion":[{"value":"10 December 2025","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"31 July 2026","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"10 August 2026","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"Ethical approval was not required for this study.","order":1,"name":"Ethics","label":"Ethical Approval","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"Informed consent was not applicable for this study.","order":2,"name":"Ethics","label":"Informed Consent","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare that they have no conflict of interest.","order":3,"name":"Ethics","label":"Conflict of Interest","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"Not Applicable.","order":4,"name":"Ethics","label":"Clinical Trial Number","group":{"name":"EthicsHeading","label":"Declarations"}}],"article-number":"22"}}