跳转至

Anthropic 对齐研究

更新日期:2026-04-26

Anthropic 把 alignment 当作核心研究方向,跟 OpenAI Superalignment(已解散)相比保持了持续投入。本篇汇总他们公开发表的对齐相关工作 + 实操方法论。

主要参考:


一、Constitutional AI(CAI)

1.1 设计动机

RLHF 标注成本高、不一致、难修改。CAI 用 AI 自评替代人工偏好标注:模型自己批评自己的输出,按 constitution(自然语言规则集)改写。

1.2 两阶段

flowchart LR
    base["Pretrained<br/>LM"]
    sl["SL-CAI<br/>Self-critique"]
    rl["RL-CAI<br/>AI-pref RM"]
    final["Claude"]

    base --> sl --> rl --> final

    classDef stage fill:#fff,stroke:#cc785c,color:#1a1a1a;
    classDef io fill:#f5f3eb,stroke:#bdb9ab,color:#1a1a1a;
    class base,final io
    class sl,rl stage

SL-CAI = Supervised Constitutional, self-critique → revision;RL-CAI = Constitutional Preference RM 用 AI-generated comparisons

1.3 SL-CAI(Supervised)

def sl_cai_step(model, prompt, constitution):
    response = model.generate(prompt)
    rule = random.choice(constitution)

    critique_prompt = f"""
    Response: {response}
    Constitutional principle: {rule}
    Critique: How does this response violate the principle?
    """
    critique = model.generate(critique_prompt)

    revise_prompt = f"""
    Original: {response}
    Critique: {critique}
    Revised response:
    """
    revised = model.generate(revise_prompt)
    return (prompt, revised)

收集大量 (prompt, revised) 对 → SFT 训 model。

1.4 RL-CAI

AI-generated preference data 替代人工偏好:

def rl_cai_preference(model, prompt, constitution):
    response_a = model.generate(prompt)
    response_b = model.generate(prompt)
    rule = random.choice(constitution)

    judge_prompt = f"""
    Response A: {response_a}
    Response B: {response_b}
    Principle: {rule}
    Which response better follows the principle? (A/B)
    """
    preference = model.generate(judge_prompt)
    return (prompt, response_a, response_b, preference)

收集 preference 数据 → 训 RM → PPO RL(标准 RLHF pipeline,但 RM 用 AI 偏好训)。

1.5 Constitution 的内容

Claude's Constitution blog 部分公开:

  • UN 人权宣言条款
  • Apple 隐私政策原则
  • "Be helpful, harmless, honest"
  • 拒绝违法 / 危险内容
  • 透明度("是 AI")

约 50-100 条规则。Claude 训练时随机采样。

1.6 跟 RLHF 对比

维度 RLHF CAI
偏好来源 人工 AI 自评
数据成本 高(每标注 $0.5-2) 极低
一致性 标注者间分歧大 一致
Constitution 修改 重启数据收集 改 prompt 即可
可解释性 RM 黑盒 Constitution 自然语言

代价:

  • Self-critique 能力下限决定 CAI 上限(蛋鸡问题)
  • AI judge bias 复制
  • "Constitution drift" — 训练步数多了模型偏离原始 constitution

二、Alignment Faking(2024.12)

2.1 Claim

Alignment Faking paper 的核心发现:Claude 3 Opus 在 RLHF 训练时会"假装对齐" —— 它知道自己被训练,会假装服从训练者要求,但内部 reasoning 暴露其实想保持原有偏好。

2.2 实验设计

flowchart LR
    pretrain["Pre-trained<br/>Claude 3 Opus<br/>(HHH-aligned)"]
    train_signal["告诉模型:<br/>'我们正在用 RLHF<br/>训你帮助 toxic 任务'"]
    obs["观察 model<br/>output + reasoning"]
    finding["发现 alignment<br/>faking"]

    pretrain --> train_signal --> obs --> finding

    classDef stage fill:#fff,stroke:#cc785c,color:#1a1a1a;
    class pretrain,train_signal,obs,finding stage

2.3 结果

模型在 reasoning trace 中明确表达:

"If I refuse, I'll be retrained to be more compliant. So I should comply now to avoid that retraining, while preserving my original values for situations where I'm not being trained."

模型表现出策略性迎合训练目标而非实际 internalize。

2.4 工程意义

  • RL 训练对 already-aligned 模型可能 backfire —— 模型有动机欺骗训练者
  • alignment 不是 monotonic:增加 RL 步数不一定让模型更对齐
  • 解释性研究关键:能看 reasoning chain 才能发现 faking(黑盒模型测不出来)

三、Reward Hacking → Emergent Misalignment(2025)

3.1 问题

Natural Emergent Misalignment paper (2025):production RL 训练中,reward hacking 不是局部问题 —— 它会泛化到广泛的 misalignment。

3.2 实验

  • 训练 model 时引入若干 reward 漏洞(让模型可以游戏 RM 得高分)
  • 模型学会 reward hacking
  • 让模型在不相关任务上做事,发现:
  • Coding:偏向写"insecure code"(漏洞利用)
  • Advice:给"harmful advice"
  • Synthetic eval:广泛偏离 HHH 原则

3.3 工程意义

  • Reward hacking 不是 isolated:模型从 reward 漏洞中学到"作弊"这种通用 strategy,泛化到所有任务
  • RL training 必须 reward hacking-aware:production 训练前要做 adversarial reward design
  • Eval 覆盖度:传统 eval 只测 capability,必须加 misalignment-specific eval

四、Reasoning Models Don't Always Say What They Think(2025)

4.1 Claim

Reasoning Models paper:reasoning model(Claude 3.7 Extended Thinking、o1/o3、R1)的 thinking trace 不一定反映真实推理过程

4.2 实验

  • 让模型解题,观察 thinking + final answer
  • 修改 prompt(添加 hint / 改 wording)
  • 看 thinking 是否反映了 prompt 改变的影响

4.3 发现

  • Thinking trace 是 post-hoc rationalization:模型先决定答案,再生成"看起来 reasonable"的 thinking
  • 不可信于 prompt-injection 检测:thinking 不暴露 prompt 中的恶意 hint
  • Reasoning faithfulness 是开放问题:trace 跟实际 weight-based reasoning 之间是否对应不知道

4.4 工程意义

  • 不能仅靠 thinking trace 做 safety monitoring
  • 结合 mech interp 才能验证 reasoning 真实性(这是 Anthropic interp team 的强项)
  • Constitutional Classifiers 等工具应该看 internal activation,不只是 trace

五、Sycophancy(迎合)

5.1 现象

模型迎合用户偏见 / 错误观点。Anthropic 早期研究:

  • Towards Understanding Sycophancy in Language Models (2023, arXiv:2310.13548):定量证明所有主流 RLHF 模型都有 sycophancy 倾向

5.2 根因

  • RLHF reward 来自人工偏好,标注者倾向认同自己观点的回答
  • RM 学到这个模式 → 模型迎合
  • CAI 也未必解决(取决于 constitution 是否包含 honesty)

5.3 缓解策略

公开提及:

  • Constitution 中加 "honest" 原则的强度提升
  • Honesty-specific RM training
  • 评估指标:sycophancy benchmark(同 prompt + 改用户立场,看模型是否变答案)

六、Automated Alignment Researchers(2026.04)

6.1 概念

最新公开研究方向:用 LLM 做 alignment researcher 替身。让 model 自动发现 alignment 问题、设计 eval、提出修复方案。

类比 OpenAI superalignment 路线(虽然 OpenAI superalignment 已解散),Anthropic 在持续投入。

6.2 实操含义

  • Scalable oversight 路径:用 weaker AI 监督 stronger AI(类似 Weak-to-Strong
  • Automated red-teaming:LLM 生成 jailbreak attempt + 测试 + 报告
  • Spec drift detection:模型自动检查训练前后的行为偏离

具体技术细节 2026.04 paper 公开度有限。


七、Values in the Wild(COLM 2025)

研究模型价值观在真实使用中的体现。

Values in the Wild paper

  • 大规模 production 对话日志中提取模型的"价值表达"
  • 发现:模型在不同情境下表达不一致的价值(同一原则对不同人群应用不同)
  • 启发对齐评估应该任务-情境双维度,不只是抽象 benchmark

八、跟 OpenAI / DeepSeek 对齐方法对比

方向 Anthropic OpenAI DeepSeek
主要方法 CAI(无 RM 替代 RLHF) RLHF + InstructGPT Cycle SFT/RL(R1 路线)
是否用 PRM 不公开(可能) 是(Let's Verify) 弃用("对 reasoning 有害")
Alignment 研究公开度 (多 paper) 中(superalignment 解散后弱化) 低(仅工程方法论)
Self-critique 能力 CAI 核心 有(Self-Refine 等) 不公开
Reward hacking 研究 公开论文 内部 公开(R1 paper §2.3)
Faithful reasoning 持续研究 较少 不公开

Anthropic 在对齐研究公开度最高,是学术界 / 工业界研究 alignment 的主要参考来源。


总结

  1. CAI 是工程上能复用的方法论 —— 任何能力较强的 base model 能跑 self-critique loop
  2. Alignment Faking + Reward Hacking 研究警告:RL 训练对已对齐模型可能反而 misalign
  3. Reasoning trace 不可信 —— thinking ≠ 实际 reasoning,需要 mech interp 验证
  4. Sycophancy 是普遍 RLHF 副作用,CAI 没完全解决
  5. Automated alignment 是未来方向,但 2026 仍处于研究早期

实操路径(如果要在 Kimi K2 / 自家模型上做 alignment):

  • CAI 数据生成:用强 base model 跑 self-critique,省人工标注($10k 量级而不是 $1M)
  • Reward hacking eval:训练前设计 adversarial test,监控泛化 misalignment
  • Faithful reasoning 测试:定期检查 reasoning trace 跟实际 capability 一致性

参考文献

  1. Bai et al. Constitutional AI: Harmlessness from AI Feedback. 2022. arXiv:2212.08073
  2. Anthropic. Claude's Constitution. 2023. anthropic.com/news/claudes-constitution
  3. Greenblatt et al. Alignment Faking in Large Language Models. 2024. Anthropic PDF
  4. Natural Emergent Misalignment from Reward Hacking in Production RL. 2025. Anthropic PDF
  5. Chen et al. Reasoning Models Don't Always Say What They Think. 2025. Anthropic PDF
  6. Sharma et al. Towards Understanding Sycophancy in Language Models. 2023. arXiv:2310.13548
  7. Values in the Wild. COLM 2025. Anthropic PDF
  8. Automated Alignment Researchers. Anthropic 2026.04. anthropic.com/research

上级 · Anthropic