Molly: Making Large Language Model Agents Solve Python Problem More Logically
Rui Xiao, Jiong Wang, Lu Han, Na Zong, Han Wu

TL;DR
The Molly agent enhances large language models' ability to solve Python problems more logically by integrating intent parsing, precise retrieval, and response reflection, thereby improving educational assistance in programming.
Contribution
Introducing the Molly agent that combines intent parsing, knowledge retrieval, and response reflection to improve LLM-based Python problem solving in educational contexts.
Findings
Improved response accuracy on Chinese Python QA dataset
Enhanced logical reasoning in LLM responses
Effective handling of factual correctness in generated answers
Abstract
Applying large language models (LLMs) as teaching assists has attracted much attention as an integral part of intelligent education, particularly in computing courses. To reduce the gap between the LLMs and the computer programming education expert, fine-tuning and retrieval augmented generation (RAG) are the two mainstream methods in existing researches. However, fine-tuning for specific tasks is resource-intensive and may diminish the model`s generalization capabilities. RAG can perform well on reducing the illusion of LLMs, but the generation of irrelevant factual content during reasoning can cause significant confusion for learners. To address these problems, we introduce the Molly agent, focusing on solving the proposed problem encountered by learners when learning Python programming language. Our agent automatically parse the learners' questioning intent through a scenario-based…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Physics and Python Applications · Scientific Computing and Data Management · Distributed and Parallel Computing Systems
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Byte Pair Encoding · Linear Layer · Softmax · Dense Connections · Residual Connection · Adam · Weight Decay · BART
