arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.27540cs.AI
收藏

上下文示例抑制大语言模型中的科学知识回忆

In-Context Examples Suppress Scientific Knowledge Recall in LLMs

Korea Advanced Institute of Science and Technology(韩国科学技术院);Shanghai Jiao Tong University(上海交通大学)

Chaemin Jang, Woojin Park, Hyeok Yun, Dongman Lee, Jihee Kim

AI总结:

研究发现上下文示例会削弱大语言模型对科学知识的回忆能力,使模型更依赖经验模式匹配而非预训练知识。

摘要:

科学推理往往需要从数据中揭示隐藏结构,而非仅限于直接观察。大语言模型(LLMs)通常能回忆并应用相关科学公式,但本研究显示这种能力容易被上下文示例抑制。添加上下文示例会使模型减少对预训练领域知识的依赖,即使这些示例由相同公式生成。示例使计算偏向于经验模式匹配而非知识驱动推导。在六个科学领域、6000次试验和四个模型上,这种知识位移现象一致存在,但其准确性影响取决于被替代策略的比较结果:位移可能降低准确性、保持不变或看似提升。无论如何,模型均远离知识驱动推理。对部署LLM进行科学任务的实践者而言,此现象具有警示意义:上下文示例可能取代而非强化其支持的知识。

英文摘要:

Scientific reasoning rarely stops at what is directly observable; it often requires uncovering hidden structure from data. From estimating reaction constants in chemistry to inferring demand elasticities in economics, this latent structure recovery is what distinguishes scientific reasoning from curve fitting. Large language models (LLMs) can often recall and apply relevant scientific formulas, but we show that this ability is surprisingly easy to suppress. We show that adding in-context examples makes models rely less on pretrained domain knowledge, even when those examples are generated by the very same formula. Rather than reinforcing knowledge-driven derivation, examples shift computation toward empirical pattern fitting. We document this knowledge displacement on 60 latent structure recovery tasks across five scientific domains, 6,000 trials, and four models. This displacement is consistent across domains, but its accuracy consequences depend on how the displaced strategy compares to the one that replaces it: the same shift can lower accuracy, leave it unchanged, or appear to improve it. In all cases, however, the model shifts away from knowledge-driven reasoning. For practitioners deploying LLMs on scientific tasks, the message is cautionary: in-context examples may displace, rather than reinforce, the knowledge they are intended to support.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑