arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.25998cs.LG
收藏

因果方法在LLM开发与评估中的应用

Causal methods for LLM development and evaluation

Imperial College London(帝国理工学院伦敦分校);University of Toronto(多伦多大学)
Dennis Frauen, Marie Brockschmidt, Konstantin Hess, Haorui Ma, Yuchen Ma, Abdurahman Maarouf, Maresa Schröder, Jonas Schweisthal, Yuxin Wang, Athiya Deviyani, S… 展开作者

Dennis Frauen, Marie Brockschmidt, Konstantin Hess, Haorui Ma, Yuchen Ma, Abdurahman Maarouf, Maresa Schröder, Jonas Schweisthal, Yuxin Wang, Athiya Deviyani, Sonali Parbhoo, Rahul G. Krishnan, Stefan Feuerriegel

AI总结:

本文提出因果方法可解决LLM开发与评估中的关键因果问题,并系统梳理其在预训练、对齐、路由等环节的应用机会。

摘要:

大型语言模型(LLM)的开发目前由数据混合、奖励模型、路由策略和评估流程的大规模经验迭代驱动。本文认为,LLM开发和评估中的许多核心问题本质上是因果性的:在预训练中添加数据域会产生什么影响?当LLM以不同风格生成文本时,注释者的偏好如何变化?在推理成本约束下,提示应路由到更大还是更小的模型?通常,因果方法非常适合这种干预改变结果的情景,但令人惊讶的是,它们在LLM开发中代表性不足。我们的贡献有三方面:(1)我们解释了因果方法如何帮助现代LLM开发和评估:LLM开发严重依赖日志数据,这些数据通常受混杂和分布偏移影响;评估使用学习到的但可能有偏见的评判者;部署环境是非平稳的。这些条件使得纯预测方法变得脆弱,并为因果推断中的原则性识别和估计方法创造了机会。(2)我们进一步映射了因果方法在整个LLM开发流程中的机会,包括预训练、对齐、路由、智能体工作流和评估。(3)我们讨论了利用因果方法进行LLM开发和评估的新研究机会。总体而言,我们认为因果方法在LLM开发和评估流程中可能未被充分利用,尽管这些方法可以确保可靠且科学合理的设计。

英文摘要:

Large language model (LLM) development is currently driven by large-scale empirical iteration over data mixtures, reward models, routing strategies, and evaluation pipelines. Here, we argue that many central questions in LLM development and evaluation are inherently causal: What is the effect of adding a data domain during pretraining? How do annotator preferences change when LLMs generate text in a different style? Should a prompt be routed to a larger or smaller model given inference cost constraints? In general, causal methods are well-suited to such settings where interventions change outcomes but, surprisingly, are underrepresented in LLM development. Our contribution is threefold: (1) We explain how causal methods can help develop modern LLM development and evaluation: LLM development relies heavily on logged data, which are often subject to confounding and distribution shifts; evaluation uses learned but potentially biased judges; and deployment environments are non-stationary. These conditions make purely predictive approaches fragile and create opportunities for principled identification and estimation methods from causal inference. (2) We further map opportunities for causal methods in the entire LLM development pipeline, including pretraining, alignment, routing, agentic workflows, and evaluation. (3) We discuss new research opportunities around leveraging causal methods for LLM development and evaluation. Overall, we argue that causal methods are potentially underutilized for the LLM development and evaluation pipeline, despite the fact that such methods can ensure a reliable and scientifically grounded design.

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

↑