知识卡片
上下文与模型权重分工
模型权重保存训练中形成的统计模式;推理时提供的上下文则可加入本次任务的事实、示例和约束,使行为随当前材料调整。上下文不等于已验证知识,检索材料也可能残缺或误导。设计检索时既要提供相关信息,也要让模型辨别来源可信度,不能把召回成功当作答案正确。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 智能体为何需要记忆 · 查看原书依据
Research further shows that in-context information, supplied through prompts, is treated differently by LLMs than knowledge embedded in their weights. For example, transformers often use context to generalize by analogy or example, while their internal parameters encode more abstract, rule-like patterns. This distinction uncovers the power of external context provided at inference time. It can shape reasoning and guide behavior in ways static weights cannot.3
参考来源
- 位置:《Agentic AI Data Architectures》第1章《智能体为何需要记忆》,来源项目book-sources,extracted/Agentic AI Data Architectures/_epub-src/OEBPS/ch01.html。
- 结论依据:原文在相应小节说明上述概念及用途;正文区分书中主张与推论,不将基础设施选择写成无条件保证。
- 原始内容:Research further shows that in-context information, supplied through prompts, is treated differently by LLMs than knowledge embedded in their weights. For example, transformers often use context to generalize by analogy or example, while their internal parameters encode more abstract, rule-like patterns. This distinction uncovers the power of external context provided at inference time. It can shape reasoning and guide behavior in ways static weights cannot.3