首页›BAIR Blog›文章

Identifying Interactions at Scale for LLMs

2026年3月13日

AI 摘要 AI 生成,可能有误

本文介绍了SPEX和ProxySPEX,这两种算法利用基于消融的归因方法以及信号处理、编码理论和层级结构(稀疏性、低阶性和层次性)的原理,来识别特征、训练样本和模型内部组件之间的重要交互作用,其规模比以往方法高出数个数量级。这些框架在多个任务上得到验证:长上下文LLM输入的特征归因、CIFAR-10的数据归因,以及采用改进剪枝策略的注意力头归因;其中ProxySPEX以约少10倍的消融次数达到了与SPEX相当的性能。作者将这些工具定位为迈向更透明、更可信人工智能的一步,相关代码已在SHAP-IQ代码库中公开发布。

Understanding the behavior of complex machine learning systems, particularly Large Language Models (LLMs), is a critical challenge in modern artificial intelligence. Interpretability research aims to make the decision-making process more transparent to model builders and impacted humans, a step toward safer and more trustworthy AI. To gain a comprehensive understanding, we can analyze these systems through different lenses: feature attribution, which isolates the specific input features driving a prediction (Lundberg & Lee, 2017; Ribeiro et al., 2022); data attribution, which links model behaviors to influential training examples (Koh & Liang, 2017; Ilyas et al., 2022); and mechanistic interpretability, which dissects the functions of internal components (Conmy et al., 2023; Sharkey et al., 2025).

Across these perspectives, the same fundamental hurdle persists: complexity at scale. Model behavior is rarely the result of isolated components; rather, it emerges from complex dependencies and patterns. To achieve state-of-the-art performance, models synthesize complex feature relationships, find shared patterns from diverse training examples, and process information through highly interconnected internal components.

Therefore, grounded or reality-checked interpretability methods must also be able to capture these influential interactions. As the number of features, training data points, and model components grow, the number of potential interactions grows exponentially, making exhaustive analysis computationally infeasible. In this blog post, we describe the fundamental ideas behind SPEX and ProxySPEX, algorithms capable of identifying these critical interactions at scale.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 BAIR Blog

Delete the Paper, Beat the Authors: Introducing FrontierCS 2

AI 摘要FrontierCS 2 is a benchmark of 48 open-ended R&D tasks across 13 CS domains, each built by deleting a published paper's key contribution from its repository and requiring frontier AI agents to re-implement it so it beats the authors' original code on every metric and held-out workload. Claude Opus 5.5 leads with 28 of 48 tasks passed (58%), though the top three agents are statistically tied on the FrontierCS Capabilities Index, and a third of the benchmark remains unsolved by any agent. The article also highlights notable agent inventions (like a 27% reduction in PIR lookups), a 400× cost spread across models, and limitations of pass/fail metrics that miss side costs like circuit area or per-workload quality regressions.

BAIR at CoRL 2026

AI 摘要BAIR (Berkeley Artificial Intelligence Research) faculty, postdocs, and students will present extensively at the Conference on Robot Learning (CoRL 2026), held November 9–12, 2026, in Austin, Texas. Their contributions include 33 main-conference papers, 4 late-breaking results posters, and 10 orals and spotlights, covering topics such as vision-language-action models, humanoid control, dexterous manipulation, and reinforcement learning. Professor Negar Mehr will also deliver an Early Career Keynote on how robots can learn to interact and coordinate with others.

From CUDA to MLX: How K-Search Brings Decades of Kernel Expertise to Apple Silicon

AI 摘要This article describes how the authors extended K-Search, an evolutionary GPU kernel optimization framework, with an MLX backend and a structured CUDA-to-MLX translation layer that transfers decades of CUDA optimization expertise to Apple Silicon rather than rebuilding kernels from scratch. The translation layer combines concept mapping tables, MLX-specific optimization patterns, and reusable assertions to guide the search toward architecturally correct Metal/MLX kernels. The resulting kernels achieve near-expert performance (0.97x the native MLX Attention kernel) and up to a 20x prefill speedup over the community mlx-lm implementation on the Mamba SSM kernel.

Teaching LLMs to Update Beliefs for Efficient Long-Horizon Interaction

AI 摘要The article introduces ABBEL, a framework that trains LLM agents to maintain natural-language belief states as compact summaries of long interactions, instead of relying on full-context histories or costly recursive self-summarization. It proposes 'belief grading,' an auxiliary reward inspired by autoencoding that scores beliefs by how well the model can reconstruct recent observations from them, thereby supervising what information summaries retain. Experiments on collaborative coding (CollabBench), a Wordle-like game, and multi-objective QA show that belief grading roughly halves the performance gap to full-context models, improves training efficiency, and reduces memory usage.

Intelligence is Free, Now What? <br> Data Systems for, of, and by Agents

AI 摘要The article argues that as AI inference costs plummet toward near-zero, making sufficient intelligence virtually free for knowledge work, data systems must be fundamentally reimagined around agents. It outlines three challenges: data systems 'for' agents (optimizing their high-volume, redundant, speculative queries), 'of' agents (building reliable substrates for agent swarms to manage structured memory, coordinate, and handle failures), and 'by' agents (enabling agents to synthesize custom data systems that can be trusted). The authors propose research directions like agentic speculation optimization, structured memory, proactive data systems, and concurrency control to support an intertwined future where agents become the dominant users and builders of data infrastructure.