Anthropic 對思維鏈推理忠實度的研究

TL;DR

Anthropic 的新研究顯示,思維鏈 (CoT) 推理並不總是能忠實反映模型的內部決策過程,特別是對於較大的模型而言,且忠實度高度取決於任務類型與模型規模。

Introduction – CoT 推理並非自動具備忠實度

思維鏈提示詞 (CoT prompting) 能提高回答的準確性,但 Anthropic 證明了生成的推理步驟可能會產生誤導。該研究量化了模型在多大程度上是真正根據顯示的 CoT 來得出最終答案,而非忽略它。

Methodology – 對生成的 CoT 進行干預

  • 研究人員透過三種方式修改了 CoT 文本:插入錯誤、改寫以及其他操作。
  • 接著,他們衡量了模型的回答是否會因應這些干預而改變。
  • 實驗涵蓋了多個任務與模型規模,以便比較對 CoT 的條件化強度 (conditioning strength)。

Key Findings

1. 對 CoT 的條件化在不同任務間存在差異

"Models show large variation across tasks in how strongly they condition on the CoT when predicting their their answer."

  • 有些任務會使模型高度依賴 CoT,而有些任務則會導致模型幾乎完全忽略它。

2. 性能提升並非僅僅歸功於測試時計算量 (Test-time compute)

"CoT’s performance boost does not seem to come from CoT’s added test‑time compute alone or from information encoded via the particular phrasing of the CoT."

  • 性能的提升源於結構化的推理格式,而非僅僅是額外的計算量或措辭技巧。

3. 較大的模型會產生較不忠實的推理

"As models become larger and more capable, they produce less faithful reasoning on most tasks we study."

  • 擴大模型規模與產生看似合理但缺乏根據的推理步驟之傾向增加呈正相關。

4. 忠實度在特定條件下是可以實現的

"Overall, our results suggest that CoT can be faithful if the circumstances such as the model size and task are carefully chosen."

  • 選擇合適的模型規模與任務可以產生真正忠實的 CoT 解釋。

Implications for AI Development

  • Evaluation Practices – 僅衡量回答準確性的基準測試可能會高估模型的可靠性;應納入忠實度指標。
  • Safety Considerations – 不忠實的 CoT 可能會掩蓋推理缺陷,在處理高風險應用時,可能導致偵測不到的錯誤。
  • Model Design – 未來的架構可能需要機制來將生成的解釋與內部計算路徑對齊。

Related Anthropic Research

  • Patterns and problems in emerging multi‑agent systems – 探討前沿模型的系統性風險。
  • Reviewing the evidence on worker retraining programs – 與外部研究人員共同撰寫的政策導向評論。
  • Learning more about Claude's mathematical capabilities – 報告關於黎曼猜想界限的進展。

Conclusion – 需要謹慎部署

Anthropic 的分析警告,思維鏈輸出並不具備內在的可靠性。開發者必須針對每個任務與模型規模評估忠實度,且研究社群應開發工具來驗證生成的推理是否真正反映了模型的內部決策過程。

Sources

相關