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

从残差到原因:基于LLM的表格数据机制推断

From Residuals to Reasons: LLM-Guided Mechanism Inference from Tabular Data

Department of Computer Science(计算机科学系);University of Toronto(多伦多大学);Vector Institute(向量研究所)

Mohammad R. Rezaei, Rahul G. Krishnan

AI总结:

提出多智能体残差上下文学习框架(MARICL),通过让LLM分析基础模型残差并迭代生成修正项,在多个科学基准上提升预测性能并实现机制泛化。

摘要:

机器学习在科学应用中的一个持续挑战是同时实现预测和理解。统计模型在结构化数据上表现出色,但作为黑箱运行,而现有的可解释性方法主要是审视性的:它们回答“哪些特征重要?”,但不阐明特征如何交互或随着人类理解迭代地细化解释。要求LLM直接预测目标会迫使其搜索整个输出空间;我们转而用基础模型锚定预测,并让LLM回答该模型遗漏了什么这一更窄的问题。我们引入了多智能体残差上下文学习(MARICL),这是一个智能体框架,其中LLM智能体分析基础模型失败的地方,从上下文中提供的高残差示例中假设缺失的结构,并产生通过多轮文本梯度优化精炼的显式修正项。在涵盖科学、生物医学、社会经济和合成设置的九个基准测试中,MARICL在所有数据集上一致优于其基础模型。为了测试这些修正是反映真实结构还是批次特定噪声,我们冻结了在无细胞蛋白质数据集的一个实验批次上学习的公式,并将其应用于(无需重新训练且无需进一步LLM调用)保留批次。在同一试剂协议内,冻结公式在超过92%的情况下改善了预测;在不同协议下,它们系统性地失败。成功边界与生物化学一致,而非批次数量;这是机制泛化的直接证据。

英文摘要:

When software fails, we read the error, form a hypothesis, write a patch, and test it. LLMs now do this for neural networks by editing weights; when a tabular model fails, we usually retune it. Most interpretability methods report which features matter rather than how they combine. Rather than asking an LLM to predict the target over the whole output space, we anchor the prediction with a base model and ask the LLM to debug it. We introduce Multi-Agent Residual In-Context Learning (MARICL), in which LLM agents read high-residual examples, hypothesize the missing structure, and write executable correction terms that are then refined by multi-turn textual gradient optimization. The resulting corrections are readable, executable hypotheses about what the base model misses, rather than validated mechanisms. Across nine benchmarks covering scientific, biomedical, socioeconomic, and synthetic data, MARICL reliably repairs its base model's structured residuals, improving it on every dataset, and on synthetic data absent from pretraining it recovers the hidden structure (two seeds). Against the strongest competing baseline it leads on five of the eight real benchmarks and trails TabPFN on the other three, while adding an inspectable correction that black-box baselines do not provide. Code is available at https://github.com/MrRezaeiUofT/Multi_Agent_Residual_In_Context_Learning.

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

↑