DSpace Repository

Multi-agent code generation approach for competitive problem solving

Show simple item record

dc.contributor.advisor Ali, Dr. Mohammed Eunus
dc.contributor.author Ashraful Islam, Md.
dc.date.accessioned 2025-11-24T09:31:28Z
dc.date.available 2025-11-24T09:31:28Z
dc.date.issued 2025-01-19
dc.identifier.uri http://lib.buet.ac.bd:8080/xmlui/handle/123456789/7185
dc.description.abstract Code synthesis, which requires a deep understanding of complex natural language (NL) problem descriptions, generation of code instructions for complex algorithms and data structures, and the successful execution of comprehensive unit tests, presents a significant challenge. Thus, while large language models (LLMs) demonstrate impressive proficiency in natural language processing (NLP), their performance in code generation tasks remains limited. In this thesis, we introduce a new approach to code generation tasks leveraging the multi- agent prompting that uniquely replicates the full cycle of program synthesis as observed in human developers. Our framework, MapCoder, consists of four LLM agents specifically designed to emulate the stages of this cycle: recalling relevant examples, planning, code generation, and debugging. After conducting thorough experiments, with multiple LLMs ablations and analyses across eight challenging competitive problem-solving and program synthesis benchmarks—MapCoder showcases remarkable code generation capabilities, achieving their new state-of-the-art (pass@1) results—(HumanEval 93.9%, MBPP 83.1%, APPS 22.0%, CodeContests 28.5%, and xCodeEval 45.3%). Moreover, our method consistently delivers superior performance across various programming languages and varying problem difficulties. We open-source our framework at https://github.com/Md-Ashraful-Pramanik/MapCoder. en_US
dc.language.iso en en_US
dc.publisher Department of Civil Engineering (CE), BUET en_US
dc.subject Compiling (Electronic computers) en_US
dc.title Multi-agent code generation approach for competitive problem solving en_US
dc.type Thesis-MSc en_US
dc.contributor.id 0422052007 en_US
dc.identifier.accessionNumber 120062
dc.contributor.callno 005.453/ASH/2025 en_US


Files in this item

Files Size Format View

There are no files associated with this item.

This item appears in the following Collection(s)

Show simple item record

Search BUET IR


Advanced Search

Browse

My Account