AI 与机器学习2024arxiv.org
通过强化学习训练语言模型自我纠正
Training Language Models to Self-Correct via Reinforcement Learning
进阶 · 约 45 分钟读完前置知识:强化学习基础、LLM 微调、自回归生成
导读
这篇论文研究如何通过强化学习训练语言模型进行自我纠错(Self-Correction),即让模型在不依赖外部反馈的情况下发现并修正自身输出中的错误。这是提升模型推理可靠性、减少错误输出的一个重要方向。
HN 关注点:自我纠错被视为缓解 LLM 错误输出问题的关键能力,且方法上与 OpenAI 未公开细节的 o1 模型思路相近,读者关注其技术路线和是否开源权重。
HN 评论精选
这几条评论里:质疑 3 补充 1
质疑反对"幻觉"这一拟人化术语,认为模型只是按权重输出数据
我讨厌 AI 评论家们成功推广了"幻觉"这个概念,把这种统计模型拟人化,好像它真的在进行类似人类思维的深度思考。它不是在"幻觉",也不是在撒谎或编造东西,它只是根据底层权重的触发输出数据。如果这是一个普通的 JSON API 接口,你不会说这个接口在"幻觉",你会说"这接口太烂了,因为它坏了"。
sensanaty查看英文原文
I hate that the AI pundits have succeeded in popularizing the notion of "hallucination", anthropomorphizing these balls of statistics into something that seems like it's actually in some sort of deep thought process akin to a person's mind. No, it's not "hallucinating". It's not lying, or making things up, or anything like that either. It's spitting out data according to what triggers the underlying weights. If this were a regular JSON API endpoint, you wouldn't say the API is hallucinating, you'd say "This API is shit" because it's broken.
质疑认为自回归范式下错误输出无法根除,问题在于用错了场景
剧透:在自回归的下一词预测范式下,你永远无法消除错误输出。问题在于人们试图把语言模型当作确定性的问题求解器来用,而不是用它真正擅长的事情(半创造性的文本生成)。
optimalsolver查看英文原文
Spoiler: You're never going to get rid of hallucinations in the autoregressive, next token prediction paradigm (aka LeCun's Law). The issue here is people trying to use language models as deterministic problem solvers, rather than for what they actually excel at (semi-creative text generation).
质疑认为缺乏对自身训练过程的记忆,LLM 难以实现真正的自我纠错
LLM 对自身训练的感受没有直接的记忆。这至少是我自我纠错的一种主要方式:当我要谈论某件我知道的事时,我会去弄清楚我是如何/为何知道这件事的,借此判断我是真的知道、在瞎编,还是从不太可靠的来源听来的。我认为 LLM 若不能以某种方式记住自己的训练,就无法真正自我纠错。
plaguuuuuu查看英文原文
LLMs have no direct recollection of the qualia of their own training. This is at least a major way that I self-correct myself: if I'm about to talk about something I know, I'll try and figure out how/why I know that thing and in so doing, try to gauge whether I actually know that thing, if I'm hallucinating, or if I actually heard it from a less than reliable source etc. I don't think LLMs can self-correct without remembering their own training in some way.
补充指出方法与 o1 相似,并遗憾论文未提及开源权重
这个方法与 OpenAI 的 o1 模型类似(论文没有引用它,但 o1 没有公开的论文)。遗憾的是,没看到任何关于发布权重的提及。
elcomet查看英文原文
It's a similar approach to OpenAI's o1 model ( it's not cited, but there's no available paper for o1). I don't see any mention of weight release unfortunately.
相关资源
从这篇论文所有 HN 讨论帖的全部评论里整理出来的链接。
历次讨论
- 2024Hacker News 讨论帖230 分 · 92 评
同领域还值得读
DeepSeek-R1:通过强化学习激励 LLM 的推理能力
DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via RL
研究如何用强化学习激励大语言模型的推理能力,提出 DeepSeek-R1,并探讨 RL 训练对模型推理表现的影响。
AI 与机器学习2025 · 1,351 分 · 1,056 评 · 引用 30进阶 · 约 80 分钟编辑精选1-bit LLM 时代:面向低成本计算的三值参数
The Era of 1-bit LLMs: ternary parameters for cost-effective computing
提出用三值参数 {-1, 0, 1} 替代 LLM 中的浮点权重,即所谓“1-bit LLM”。
AI 与机器学习2024 · 1,040 分 · 447 评 · 引用 19进阶 · 约 45 分钟编辑精选DeepSeek-V3.2:推进开放大语言模型的前沿
DeepSeek-v3.2: Pushing the frontier of open large language models
这是 DeepSeek-V3.2 的技术报告,延续了 DeepSeek 开源权重模型的路线,目标是让开放模型继续逼近甚至追平前沿闭源模型。
AI 与机器学习2025 · 982 分 · 465 评进阶 · 约 90 分钟编辑精选通过自我对弈与通用强化学习掌握国际象棋和将棋(AlphaZero)
Mastering Chess and Shogi by Self-Play with General Reinforcement Learning
DeepMind 的 AlphaZero 论文:用通用强化学习算法(自我博弈 + MCTS + 神经网络),从零开始仅数小时训练便在国际象棋和将棋上击败了世界顶级引擎 Stock…
AI 与机器学习2017 · 539 分 · 270 评 · 引用 13进阶 · 约 90 分钟编辑精选用强化学习发现更快的矩阵乘法算法
Discovering faster matrix multiplication algorithms with reinforcement learning
论文提出 AlphaTensor,用强化学习搜索矩阵乘法算法。
AI 与机器学习2022 · 518 分 · 111 评专业 · 约 90 分钟编辑精选