百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

self-reflection

> 编程语言
开源

LLM 代理程序中的自我反思:对问题解决性能的影响

99 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

LLM 代理程序中的自我反思:对问题解决性能的影响

Self-Reflection in LLM Agents: Effects on Problem-Solving Performance

Abstract

In this study, we investigated the effects of self-reflection in large language models (LLMs) on problem-solving performance. We instructed nine popular LLMs to answer a series of multiple-choice questions to provide a performance baseline. Then, for each incorrectly answered question, we instructed eight types of self-reflecting LLM agents to reflect on their mistakes and provide themselves with guidance to improve problem-solving. Then, using this guidance, each self-reflecting agent attempted to re-answer the same questions again. Our results indicate that LLM agents are able to significantly improve their problem-solving performance through self-reflection. In addition, we compared the various types of self-reflection to determine their individual contribution to performance.

Documents

  • Research paper
  • Presentation video
  • Presentation slides
  • Research homepage

Code

  1. Solve with Baseline - answers all questions using the baseline agent
  2. Reflect on Solution - self-reflects on incorrectly answered problems given the correct answer
  3. Save Reflections - separates reflections by type, redacts answers, and saves reflection text
  4. Solve with Reflection - re-answers all incorrectly answered questions using the reflections
  5. Plot Accuracy - plots the accuracy for each agent
  6. Plot Accuracy by Model and Agent - plots the accuracy by model and agent
  7. Plot Accuracy by Exam and Agent - plots the accuracy for each model by exam and agent
  8. Analyze Details - performs the McNemar test and creates a table of the results
  9. Analyze Keywords - analyzes the error keywords produced by the self-reflections

Data

  • Details - the low-level level details for each question answered in CSV format
  • Dialogs - the dialog for each question answered in JSON format
  • Exams - the exams containing MCQA problems in JSONL format
  • Logs - the log files for each question answered and self-reflection in plain-text format
  • Plots - the data visualizations of the results in PDF format
  • Reflections - the text generated during the self-reflections process stored as plain text files
  • Results - the results from the experiment in CSV format
  • Tables - the tabular results of the analysis stored as CSV files

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言