Files
myWiki/concepts/forward-repair-ladder.md

48 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Forward-Repair Ladder"
created: 2026-06-20
updated: 2026-06-20
type: concept
tags: ["repair", "streaming", "degradation", "drift", "agent"]
sources: ["https://arxiv.org/abs/2606.17800"]
---
# Forward-Repair Ladder (前向修复阶梯)
**Forward-Repair Ladder** 是 [[maineCoon|MaineCoon]] [[agentic-streaming-inference|流式推理]] 中的**分级退化修复策略**:所有修复都是**前向**施加的——通过修改未来的 prompt 引导生成回到正轨,而非重置或回滚。
## 为什么不能 Hard Reset
重置流(清空 cache、重新开始是观众能感知到的**最可见的不连续性**。前向修复的目标是**在观众看到缺陷之前修复它**,使修复无缝。
## 四级修复阶梯
ObserverGemma 4 26B agent检测到退化后按严重程度逐步升级
| 级别 | 操作 | 效果 |
|------|------|------|
| **1. Refresh Anchor** | 刷新 subject anchor缓存中的身份参考 | 纠正轻微外观漂移 |
| **2. Restate** | 在下一条 prompt 中重申角色的规范外观描述 | 通过语言引导恢复 |
| **3. Re-shoot** | 重写当前 beat 的 prompt重新生成 | 内容级修复 |
| **4. Narrative Change** | 改变叙事方向,走出退化状态 | 用新鲜内容稀释退化上下文,最重量级 |
## 关键原则
1. **仅升级到所需程度**:如果 Refresh Anchor 解决问题,不上升到 Restate
2. **无硬重置**:阶梯末尾是叙事变化,不是缓存清零
3. **前向性**:所有修复作用于未来帧,已发布的像素永不修改
## 修复发生在「看不见的地方」
因为 Observer 在 generation head 上运行(领先 playback修复在观众看到之前已完成
```
Generation: [修复→] [正在生成] [未来]
Playback: [已播放] [正在播放] [未到达]
↑ 观众还没看到缺陷
```
## 参考
- [[maineCoon|MaineCoon 论文]] Section 4.1
- [[agentic-streaming-inference|Agentic Streaming Inference]]
- [[agentic-cache-manager|Agentic Cache Manager]]drift control 配合)