Content area

Abstract

Conference Title: 2025 International Joint Conference on Neural Networks (IJCNN)

Conference Start Date: 2025 June 30

Conference End Date: 2025 July 5

Conference Location: Rome, Italy

With the rapid development of code intelligence, the application of multiple programming languages is becoming increasingly widespread. However, most existing code generation models mainly focus on a single or a few programming languages, resulting in unsatisfactory performance in a multilingual environment. Chain-of-Thought (CoT) reasoning can significantly improve the performance of the model without the need for retraining or fine-tuning the code generation model by reasonably decomposing complex code generation tasks into multiple subtasks and gradually deriving solutions for each subtask. Nevertheless, the existing CoT generation methods mainly concentrate on Python code, and the performance on other programming languages remains unclear.To fill this gap, we first constructed a CoT generation dataset for 12 programming languages through multi-agent technology. On this basis, we proposed a CoT generation method MSCoT applicable to multiple programming languages. By introducing CoT into the code generation large model, the performance of the code generation large model in a multilingual environment can be improved. Through large-scale empirical research, we compared the generalization abilities of MSCoT and the existing CoT generation methods on multiple programming languages and proved the effectiveness of MSCoT for multiple programming languages. In addition, we also designed a human study to prove the quality of the CoT generated by MSCoT. Finally, we open-sourced the model and dataset of MSCoT to promote the research on CoT generation for multiple programming languages.

Details

Title
MSCoT: Structured Chain-of-Thought Generation for Multiple Programming Languages
Author
Jin, Naizhu 1 ; Li, Zhong 1 ; Zhang, Tian 1 ; Zeng, Qingkai 1 

 Nanjing University,State Key Laboratory for Novel Software Technology,China 
Pages
1-8
Number of pages
8
Publication year
2025
Publication date
2025
Publisher
The Institute of Electrical and Electronics Engineers, Inc. (IEEE)
Place of publication
Piscataway
Country of publication
United States
Source type
Conference Paper
Language of publication
English
Document type
Conference Proceedings
Publication history
 
 
Online publication date
2025-11-14
Publication history
 
 
   First posting date
14 Nov 2025
ProQuest document ID
3271965835
Document URL
https://www.proquest.com/conference-papers-proceedings/mscot-structured-chain-thought-generation/docview/3271965835/se-2?accountid=208611
Copyright
Copyright The Institute of Electrical and Electronics Engineers, Inc. (IEEE) 2025
Last updated
2025-11-15
Database
ProQuest One Academic