arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.00985cs.SEcs.AIcs.CL

Co-Learning:面向具有对话式自然语言接口的多智能体强化协作框架的代码学习

Co-Learning: Code Learning for Multi-Agent Reinforcement Collaborative Framework with Conversational Natural Language Interfaces

Beijing Normal University-Hong Kong Baptist University United International College(北京师范大学-香港浸会大学联合国际学院)

Jiapeng Yu, Yuqian Wu, Yajing Zhan, Wenhao Guo, Zhou Xu, Raymond Lee

AI总结:

本文提出 Co-Learning 多智能体框架,结合环境强化学习与多个大语言模型,在 702 个错误代码数据集上实现代码纠错,使 Precision 提高 3%、时间成本改善 15%。

摘要:

基于大语言模型(LLM)的在线问答(Q&A)系统已逐渐从娱乐用途转向专业用途。本文提出了一个带有环境强化学习(E-RL)的多智能体框架,用于代码纠错,称为 Code Learning(Co-Learning)社区,帮助初学者独立纠正代码错误。该框架在包含 702 个错误代码的原始数据集上评估多个 LLM 的性能,并将其作为 E-RL 的奖励或惩罚标准;由当前智能体分析输入的错误代码;选择合适的基于 LLM 的智能体,以实现最优的纠错准确率并减少纠错时间。实验结果表明,与不使用 E-RL 的方法相比,Precision 分数提高了 3%,时间成本改善了 15%。我们的源代码可在以下地址获取:https://github.com/yuqian2003/Co_Learning

英文摘要:

Online question-and-answer (Q\&A) systems based on the Large Language Model (LLM) have progressively diverged from recreational to professional use. This paper proposed a Multi-Agent framework with environmentally reinforcement learning (E-RL) for code correction called Code Learning (Co-Learning) community, assisting beginners to correct code errors independently. It evaluates the performance of multiple LLMs from an original dataset with 702 error codes, uses it as a reward or punishment criterion for E-RL; Analyzes input error codes by the current agent; selects the appropriate LLM-based agent to achieve optimal error correction accuracy and reduce correction time. Experiment results showed that 3\% improvement in Precision score and 15\% improvement in time cost as compared with no E-RL method respectively. Our source code is available at: https://github.com/yuqian2003/Co_Learning

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑