2025-02-20 · 专家 · 自然语言处理 · 机器学习

From Tools to Teammates: Evaluating LLMs in Multi-Session Coding Interactions

该论文通过设计MEMORYCODE数据集,评估了大型语言模型在多会话编码交互中的协作能力,揭示了当前LLMs在长期交互中存在的信息追踪和整合的局限性。

更新于 2025-02-20。作者:Nathanaël Carraz Rakotonirina、Mohammed Hamdy、Jon Ander Campos、Lucas Weber、Alberto Testoni、Marzieh Fadaee、Sandro Pezzelle、Marco Del Tredici。

中文摘要

大型语言模型(LLMs)在职场环境中被广泛应用于各种任务,擅长解决孤立的问题。然而,它们是否也能够在长期交互中有效地协作呢?为了探究这一点,我们引入了MemoryCode,这是一个合成多会话数据集,旨在测试LLMs在无关信息中跟踪和执行简单编码指令的能力,模拟了现实场景。尽管我们测试的所有模型都能很好地处理孤立指令,即使是像GPT-4o这样的最先进模型,在指令分布在多个会话中时,其性能也会下降。我们的分析表明,这是由于它们无法检索和整合长指令链中的信息。我们的结果突显了当前LLMs的一个基本局限性,限制了它们在长期交互中有效协作的能力。

英文摘要

Large Language Models (LLMs) are increasingly used in working environments for a wide range of tasks, excelling at solving individual problems in isolation. However, are they also able to effectively collaborate over long-term interactions? To investigate this, we introduce MemoryCode, a synthetic multi-session dataset designed to test LLMs' ability to track and execute simple coding instructions amid irrelevant information, simulating a realistic setting. While all the models we tested handle isolated instructions well, even the performance of state-of-the-art models like GPT-4o deteriorates when instructions are spread across sessions. Our analysis suggests this is due to their failure to retrieve and integrate information over long instruction chains. Our results highlight a fundamental limitation of current LLMs, restricting their ability to collaborate effectively in long interactions.

解读

一句话总结

该论文通过设计MEMORYCODE数据集,评估了大型语言模型在多会话编码交互中的协作能力,揭示了当前LLMs在长期交互中存在的信息追踪和整合的局限性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源