arXivDaily arXiv每日学术速递 周一至周五更新

大厂专区

Apple(苹果)

至 收录 340
2607.16387 2026-07-21 cs.SE cs.AI 新提交

Fantastic Adaptive Taxonomies and How to Use Them

奇妙的自适应分类法及其使用方法

Mert Cemri, Andrei Cojocaru, Melissa Pan, Shu Liu, Shubham Agarwal, Alexander Krentsel, Jay Tang, Kannan Ramchandran, Joseph E. Gonzalez, Matei Zaharia, Alex Dimakis, Ion Stoica

机构 * University of California, Berkeley(加州大学伯克利分校) Apple(苹果公司) Bespoke Labs(Bespoke实验室)

AI总结 研究智能体系统失败反馈问题,提出AdaMAST方法将轨迹转换为自适应失败分类法,该分类法能作为共享反馈接口,在智能体系统搜索、运行时及轨迹选择等方面改进智能体,提升准确率和分辨率。

详情
AI中文摘要

智能体系统的执行轨迹记录了其失败方式,一些在不改变模型权重的情况下改进该系统的过程(轨迹选择、提示和工作流程优化、运行时监控)会读取这些轨迹以获取反馈。然而原始轨迹并非积累反馈的良好媒介,它们冗长、特定于实例且缺乏用于反复出现的失败的稳定词汇表。我们认为智能体系统应维护一个由自身行为诱导的、关于其失败方式的明确表示,且在需要失败反馈的任何地方都可复用。AdaMAST通过将目标系统的轨迹转换为紧凑的、基于证据的失败分类法来构建这种表示:沿三个固定轴(系统级、特定角色和特定领域)组织的命名失败代码,每个名称、定义和证据模式均由轨迹诱导;无需人工编写代码,也无需人工注释轨迹。该分类法不仅是事后诊断,还是一个共享反馈接口,从三个方面改进智能体。在智能体系统搜索中,对失败候选者的分类法编码诊断在我们测试的所有五个基准上均优于自由形式的反思。在运行时,分类法反馈将SWE智能体在SWE基准验证迷你版上的分辨率从自由文本反思时的60%提高到70%,并将Claude代码作为运行时技能从64.0%提高到70.7%。在轨迹选择中,基于诱导代码构建的验证器AdaMAST-Judge在终端基准2.0上的最佳5准确率比Pass@1提高了8 - 15分。该词汇表本身紧凑(数量级压缩,保留轨迹差异)、忠实于人类(比手工制作的参考词汇表更紧密地匹配专家失败注释)且自适应(为不同领域诱导的分类法共享的代码很少)。自适应失败分类法闭合了智能体产生的轨迹与改进它们的过程之间的循环。

英文摘要

An agent system's execution traces record how it fails, and procedures that improve such a system without changing model weights (trajectory selection, prompt and workflow optimization, runtime monitoring) read these traces for feedback. Yet raw traces are a poor medium for accumulating that feedback: long, instance-specific, and lacking a stable vocabulary for recurring failures. We argue that an agent system should instead maintain an explicit representation of how it fails, induced from its own behavior and reusable wherever failure feedback is needed. AdaMAST builds this representation by converting a target system's traces into a compact, evidence-grounded failure taxonomy: named failure codes organized along three fixed axes (system-level, role-specific, and domain-specific), with every name, definition, and evidence pattern induced from the traces; no code is hand-authored, no trace human-annotated. The taxonomy is not merely a post-hoc diagnostic but a shared feedback interface, improving agents in three ways. In agent-system search, taxonomy-coded diagnoses of failed candidates outperform free-form reflection on all five benchmarks we test. At runtime, taxonomy feedback raises SWE-agent's resolution on SWE-bench Verified Mini from 60% with free-text reflection to 70%, and improves Claude Code from 64.0% to 70.7% as a runtime skill. In trajectory selection, AdaMAST-Judge, a verifier built on the induced codes, improves best-of-5 accuracy on Terminal-Bench 2.0 by 8-15 points over Pass@1. The vocabulary itself is compact (an order-of-magnitude compression that preserves trace distinctions), human-faithful (matching expert failure annotations more closely than a hand-crafted reference vocabulary), and adaptive (taxonomies induced for different domains share few codes). Adaptive failure taxonomies close the loop between the traces agents produce and the procedures that improve them.

URL PDF HTML 收藏
2509.00078 2026-07-21 eess.AS cs.CL cs.LG cs.SD 版本更新

ChipChat: Low-Latency Cascaded Conversational Agent in MLX

ChipChat:MLX 中的低延迟级联对话代理

Tatiana Likhomanenko, Richard He Bai, Zijin Gu, Zakaria Aldeneh, Shiladitya Dutta, Luke Carlson, Han Tran, Yizhe Zhang, Ruixiang Zhang, Huangjie Zheng, Navdeep Jaitly

机构 * Apple(苹果公司)

AI总结 探讨实时设备语音代理最佳架构问题,介绍低延迟级联系统 ChipChat,它通过架构创新和流优化克服传统瓶颈,集成多种技术,用 MLX 实现亚秒级响应延迟,为实用语音 AI 代理发展提供新路径。

Comments best demo paper award ASRU 2025

Journal ref ASRU 2025

详情
AI中文摘要

大语言模型的出现改变了口语对话系统,但实时设备语音代理的最佳架构仍是一个悬而未决的问题。虽然端到端方法有理论优势,但级联系统在语言理解任务中仍更胜一筹,不过受顺序处理延迟限制。本文介绍了 ChipChat,一种通过架构创新和流优化克服传统瓶颈的新型低延迟级联系统。它集成了流对话语音识别、状态动作增强大语言模型、文本转语音合成、神经声码器和说话人建模。使用 MLX 实现,ChipChat 在无专用 GPU 的 Mac Studio 上实现了亚秒级响应延迟,且通过完全设备内处理保护用户隐私。研究表明,经过策略性重新设计的级联系统可克服其历史延迟限制,为实用的基于语音的人工智能代理提供了一条有前景的道路。

英文摘要

The emergence of large language models (LLMs) has transformed spoken dialog systems, yet the optimal architecture for real-time on-device voice agents remains an open question. While end-to-end approaches promise theoretical advantages, cascaded systems (CSs) continue to outperform them in language understanding tasks, despite being constrained by sequential processing latency. In this work, we introduce ChipChat, a novel low-latency CS that overcomes traditional bottlenecks through architectural innovations and streaming optimizations. Our system integrates streaming (a) conversational speech recognition with mixture-of-experts, (b) state-action augmented LLM, (c) text-to-speech synthesis, (d) neural vocoder, and (e) speaker modeling. Implemented using MLX, ChipChat achieves sub-second response latency on a Mac Studio without dedicated GPUs, while preserving user privacy through complete on-device processing. Our work shows that strategically redesigned CSs can overcome their historical latency limitations, offering a promising path forward for practical voice-based AI agents.

URL PDF HTML 收藏
2607.08746 2026-07-20 cs.LG cs.AI cs.DS cs.HC 版本更新

Dimensionality Reduction Meets Network Science: Sensemaking on UMAP's kNN Graph

降维与网络科学相遇:UMAP的kNN图上的意义建构

Duen Horng Chau, Donghao Ren, Fred Hohman, Dominik Moritz

机构 * Apple(苹果公司)

AI总结 研究探索UMAP内部kNN图的潜力,应用PageRank、k核分解和聚类系数等标准图算法增强数据意义建构,经对MNIST和Fashion MNIST评估,证明这些基于图的分析实用且与专门方法有竞争力或互补。

Comments Code and demo: https://apple.github.io/embedding-atlas/

详情
AI中文摘要

虽然UMAP广泛用于探索高维数据,但典型工作流程侧重于其低维嵌入,很大程度上忽略了UMAP内部构建的丰富k近邻(kNN)图。该图在UMAP的二维投影引入失真之前,在其原始高维空间中对数据流形进行编码。我们展示了这种内部表示的未开发潜力,表明应用于该图的标准图算法如何增强数据意义建构:(1)PageRank识别代表性数据点,(2)k核分解揭示密集核心区域与稀疏外围,(3)聚类系数检测具有高度相似数据点的紧密邻域。通过对MNIST和Fashion MNIST的定量和定性评估,我们表明这些基于图的分析不仅实用,而且与专门方法(如用于样本选择的k-medoids、用于基于密度聚类的HDBSCAN)具有竞争力或互补性。

英文摘要

While UMAP is widely used for exploring high-dimensional data, typical workflows focus on its lower-dimensional embedding, largely overlooking the rich k-nearest-neighbor (kNN) graph that UMAP constructs internally. This graph encodes the data manifold in its original high-dimensional space, before the distortion that UMAP's 2D projection introduces. We demonstrate the untapped potential of this internal representation, showing how standard graph algorithms applied to this graph enhance data sensemaking: (1) PageRank identifies representative data points, (2) k-core decomposition reveals dense core regions versus sparse periphery, and (3) clustering coefficient detects tight-knit neighborhoods with highly-similar data points. Through quantitative and qualitative evaluation on MNIST and Fashion MNIST, we show that these graph-based analyses are not only practical but also competitive with or complementary to purpose-built methods (e.g., k-medoids for exemplar selection, HDBSCAN for density-based clustering).

URL PDF HTML 收藏
2604.10024 2026-07-20 cs.CV cs.AI cs.LG 版本更新

LVSum: A Benchmark for Timestamp-Aware Long Video Summarization

LVSum:一个用于时间感知长视频摘要的基准测试

Alkesh Patel, Melis Ozyildirim, Ying-Chang Cheng, Ganesh Nagarajan

机构 * Apple(苹果公司)

AI总结 本文提出LVSum基准测试,用于评估长视频摘要中时间对齐的性能,通过引入新的评估指标揭示现有MLLM在时间理解上的系统性差距。

Comments 25 pages, 5 tables, 3 figures

详情
AI中文摘要

长视频摘要对当前多模态大语言模型(MLLMs)提出了重大挑战,特别是在长时间段内保持时间准确性以及生成同时具有语义和时间基础的摘要方面。在本工作中,我们提出了LVSum,一个由人类标注的基准测试,专门用于评估具有精细时间对齐的长视频摘要。LVSum包含来自13个不同领域的多样化长视频,每部视频都配有由人类生成的包含精确时间参考的摘要。我们对专有和开源的MLLMs在LVSum上进行了全面评估,使用新引入的基于LLM的指标评估内容相关性和模态一致性,同时结合标准评估指标。我们的实验揭示了现有MLLM在时间理解上的系统性差距,并提供了见解,为推进长视频摘要中的时间推理奠定了新基础。

英文摘要

Long video summarization presents significant challenges for multimodal large language models (MLLMs), particularly in maintaining temporal fidelity over extended durations and producing summaries that are both semantically and temporally grounded. We introduce LVSum, a human-annotated benchmark for evaluating long-form video summarization with fine-grained temporal alignment. LVSum comprises 72 diverse videos spanning 13 domains with an average duration of 16 minutes, each annotated with up to 10 human-generated summaries containing temporal references. We conduct a comprehensive evaluation of leading proprietary and open-source MLLMs using newly introduced LLM-based metrics for content relevance and modality coherence, alongside standard automatic metrics. Our experiments reveal three key findings: (1) transcripts contribute substantially more to summarization quality than visual frames alone, (2) a significant performance gap persists between model-generated and human-written summaries, and (3) current MLLMs exhibit systematic weaknesses in temporal grounding, instruction adherence, and cross-modal coherence. We release the dataset and code.

URL PDF HTML 收藏
2607.11818 2026-07-14 cs.CV cs.AI 新提交

MM-ToolSandBox: A Unified Framework for Evaluating Visual Tool-Calling Agents

MM-ToolSandBox:一个用于评估视觉工具调用智能体的统一框架

Kaixin Ma, Di Feng, Alexander Metz, Jiarui Lu, Eshan Verma, Afshin Dehghan

机构 * Apple(苹果公司)

AI总结 介绍MM-ToolSandBox框架,它能支持多图像、多轮任务,通过自动化管道生成场景。评估12个先进模型发现当前模型视觉工具调用能力不足,视觉精度是瓶颈,不同规模模型失败原因不同,该框架和基准已公开。

Comments Benchmark link: https://github.com/apple/ml-mmtoolsandbox

详情
AI中文摘要

我们介绍了MM-ToolSandBox,这是一个用于视觉基础工具调用智能体的基准测试和评估框架。该框架提供了一个有状态的执行环境,涵盖16个应用领域的500多个工具,支持多图像、多轮任务,智能体必须将逐渐到来的视觉输入转化为可执行的工具调用,同时处理现实的对话现象(目标修订、纠错、状态突变)。一个自动化场景生成管道通过信息流引导的规划和多阶段质量过滤产生多样化的、视觉基础的场景,产生258个人工验证的标称场景和50个针对交互式UI应用的变体。对12个从4B开放权重到前沿专有系统的先进模型进行评估表明,当前模型仍缺乏强大的视觉工具调用能力:即使是最好的模型成功率也低于50%。我们的失败分析进一步表明,视觉精度不仅是规划,也是有能力的模型的主要瓶颈:53%的失败源于从图像中提取信息不正确,尽管任务工作流程其他方面正确。随着规模的扩大,出现了规划到精度的交叉:较小的模型在决定做什么时失败,而较大的模型在感知它们所看到的东西时失败,这表明在不同能力水平上改进模型有根本不同的研究方向。该框架和基准可在这个https网址公开获得

英文摘要

We introduce MM-ToolSandBox, a benchmark and evaluation framework for visually grounded tool-calling agents. The framework provides a stateful execution environment spanning 500+ tools across 16 application domains, supporting multi-image, multi-turn tasks where agents must ground progressively arriving visual inputs into executable tool calls while handling realistic conversational phenomena (goal revisions, error corrections, state mutations). An automated scenario generation pipeline produces diverse, visually grounded scenarios through information-flow-guided planning and multi-stage quality filtering, yielding 258 human-verified nominal scenarios and 50 variants targeting interactive UI applications. Evaluating 12 state-of-the-art models, from 4B open-weight to frontier proprietary systems, shows that current models still lack robust visual tool-calling capability: even the best model achieves below 50% success rate. Our failure analysis further reveals that visual precision, not only planning, is a primary bottleneck for capable models: 53% of failures stem from incorrect information extraction from images despite otherwise correct task workflows. A planning-to-precision crossover emerges with scale: smaller models fail at deciding what to do, while larger models fail at perceiving what they see, suggesting fundamentally different research directions for improving models at different capability levels. The framework and the benchmark are publicly available at https://github.com/apple/ml-mmtoolsandbox

URL PDF HTML 收藏
2607.10109 2026-07-14 cs.IR cs.AI cs.AR cs.LG 新提交

Adaptive Model Compression (AMC): Saliency-Driven Resource Allocation for Ultra-Low-Power Transformer Inference

自适应模型压缩(AMC):用于超低功耗变压器推理的显著性驱动资源分配

Jiayin Hu, Kai Yuan, Vanessa Hu, Xuetao Yin, Jianhua Li, Sean Suchter

机构 * Apple USA(苹果公司(美国))

AI总结 研究在资源受限边缘设备部署大规模变压器模型的挑战,提出基于令牌重要性动态分配资源的自适应模型压缩框架AMC,实验证明该方法能降低能耗、提高吞吐量,有效延长移动设备电池寿命,精度略有下降。

详情
AI中文摘要

在资源受限的边缘设备上部署大规模变压器模型是一项挑战,因为静态推理存在高能量和内存开销,对简单和复杂令牌统一处理。为此提出自适应模型压缩(AMC),这是一个基于令牌重要性动态分配硬件资源的显著性驱动框架。通过多层架构,识别关键高显著性信息进行全精度处理,同时降低次要数据的秩和位宽。实验表明,在45nm CMOS硬件上,AMC使系统能耗降低59.2%,吞吐量提高2.24倍,有效延长移动设备电池寿命,精度仅略有下降3.6%。

英文摘要

Deploying large-scale transformer models on resource-constrained edge devices remains a challenge due to the high energy and memory overhead inherent in static inference, which processes simple and complex tokens with uniform intensity. To address this, we propose Adaptive Model Compression (AMC), a saliency-driven framework that dynamically allocates hardware resources based on token importance. By implementing a multi-tier architecture, our system identifies critical high-saliency information for full-precision processing while aggressively reducing the rank and bit-width of less significant data. Experimental results demonstrate that AMC achieves a 59.2% reduction in system energy and a 2.24x increase in throughput on 45nm CMOS hardware. This approach effectively extends the battery life of mobile devices by utilizing high-definition compute only where necessary, maintaining robust performance with a marginal 3.6% accuracy trade-off.

URL PDF HTML 收藏
2606.23525 2026-07-14 cs.CL 版本更新

Self-Compacting Language Model Agents

自压缩语言模型智能体

Tianjian Li, Jingyu Zhang, William Jurayj, Xi Wang, Chuanyang Jin, Mehrdad Farajtabar, Eric Nalisnick, Daniel Khashabi

机构 * Johns Hopkins University(约翰霍普金斯大学) Apple(苹果公司)

AI总结 提出SelfCompact框架,让语言模型自主决定何时及如何压缩上下文,通过调用压缩工具和轻量级规则实现自适应压缩,无需微调或外部监督,在多个基准上以更低成本匹配或超越固定间隔压缩。

Comments 25 pages, 3 figures

详情
AI中文摘要

由思维链和工具调用组成的长智能体轨迹会积累陈旧内容,锚定后续生成,并最终超出上下文窗口。现有框架通过触发在令牌阈值处的固定间隔压缩来缓解此问题。这种触发不关注轨迹结构,有在推导或搜索过程中丢弃部分结果的风险。我们提出SelfCompact,一种允许模型自身决定何时以及如何压缩的框架。具体来说,它配对两个推理时元素:(i) 模型调用的压缩工具,用于总结累积的上下文,以及(ii) 一个轻量级规则,指定何时触发(子任务已解决,或轨迹正在收敛)以及何时抑制(推导中,或卡住时)。两者都是必需的。仅工具在开放权重模型中使用不均,常常在无帮助的时刻被调用或根本不调用;仅规则无法行动。两者结合,无需任何微调或外部监督即可引发有效的自适应压缩。我们在六个基准(竞赛数学和智能体搜索)和七个模型上展示了实证结果。我们的结果表明,SelfCompact以更低的令牌成本匹配或超过固定间隔总结,在数学上比无总结基线提高最多18.1个百分点,在智能体搜索上提高5-9个百分点,同时每个问题的成本降低30-70%。我们的结果揭示了一个元认知差距:尽管未提示的模型无法可靠地判断其上下文何时在腐化,但一个轻量级规则弥合了这一差距,将何时压缩重新定义为框架无需训练即可提供的能力。

英文摘要

Long agent traces composed of chains of thought and tool calls accumulate stale content that anchor subsequent generations, and eventually outgrow the context window. Existing scaffolds mitigate it with fixed-interval compaction triggered at a token threshold. Such triggers pay no heed to trajectory structure, risking discard of partial results mid-derivation or mid-search. We propose SelfCompact, a scaffold that allows the model itself to decide when and how to compact. Specifically, it pairs two inference-time elements: (i) a compaction tool the model invokes to summarize the accumulated context, and (ii) a lightweight rubric specifying when to fire (a sub-task has resolved, or the trajectory is converging) and when to suppress (mid-derivation, or when stuck). Both are needed. The tool alone is unevenly used across open-weight models, often invoked at unhelpful moments or not at all; the rubric alone cannot act. Together, they elicit effective adaptive compaction without any fine-tuning or external supervision. We present empirical results on six benchmarks (competitive math and agentic search) and seven models. Our results show that SelfCompact matches or exceeds fixed-interval summarization at a fraction of the token cost, improving over a no-summarization baseline by up to 18.1 points on math and 5-9 points on agentic search at 30-70% lower per-question cost. Our results expose a meta-cognitive gap: although unprompted models cannot reliably tell when their own context is rotting, a lightweight rubric closes this gap, reframing when to compact as a capability that scaffolds can supply without training.

URL PDF HTML 收藏
2412.02245 2026-07-14 cs.CV 版本更新

SparseLGS: Sparse View Language Embedded Gaussian Splatting

SparseLGS:稀疏视图语言嵌入高斯溅射

Jun Hu, Zhang Chen, Zhong Li, Yi Xu, Juyong Zhang

机构 * School of Mathematical Science, University of Science and Technology of China(科学技术大学数学科学学院) Meta(Meta公司) Apple Inc.(苹果公司) Alpha Labs at Goertek(Goertek的Alpha实验室)

AI总结 研究针对无姿态和稀疏视图输入图像的3D场景理解难题,提出SparseLGS方法。利用密集立体模型与区域匹配法,提取低维信息并引入重建损失。实验表明该方法用较少输入重建语义场质量可比SOTA,且速度提升5倍。

Comments Project Page: https://ustc3dv.github.io/SparseLGS

详情
AI中文摘要

最近,一些研究将高斯溅射与语言嵌入相结合,以获得用于开放词汇3D场景理解的场景表示。虽然这些方法表现良好,但它们本质上需要非常密集的多视图输入,限制了其在现实世界场景中的适用性。在这项工作中,我们提出了SparseLGS,以解决无姿态和稀疏视图输入图像的3D场景理解挑战。我们的方法利用基于学习的密集立体模型来处理无姿态和稀疏输入,并采用三步区域匹配方法来解决多视图语义不一致问题,这对于稀疏输入尤为重要。与直接学习高维CLIP特征不同,我们提取低维信息并建立双射,以避免过多的学习和存储成本。我们在语义训练期间引入重建损失,以改善高斯位置和形状。据我们所知,我们是第一个用稀疏无姿态输入解决3D语义场问题的。实验结果表明,与之前具有密集输入的SOTA方法相比,SparseLGS在使用较少输入(3-4个视图)重建语义场时达到了可比的质量。此外,当使用相同的稀疏输入时,SparseLGS在质量上领先显著,并大幅提高了计算速度(加速5倍)。

英文摘要

Recently, several studies have combined Gaussian Splatting to obtain scene representations with language embeddings for open-vocabulary 3D scene understanding. While these methods perform well, they essentially require very dense multi-view inputs, limiting their applicability in real-world scenarios. In this work, we propose SparseLGS to address the challenge of 3D scene understanding with pose-free and sparse view input images. Our method leverages a learning-based dense stereo model to handle pose-free and sparse inputs, and a three-step region matching approach to address the multi-view semantic inconsistency problem, which is especially important for sparse inputs. Different from directly learning high-dimensional CLIP features, we extract low-dimensional information and build bijections to avoid excessive learning and storage costs. We introduce a reconstruction loss during semantic training to improve Gaussian positions and shapes. To the best of our knowledge, we are the first to address the 3D semantic field problem with sparse pose-free inputs. Experimental results show that SparseLGS achieves comparable quality when reconstructing semantic fields with fewer inputs (3-4 views) compared to previous SOTA methods with dense input. Besides, when using the same sparse input, SparseLGS leads significantly in quality and heavily improves the computation speed (5$\times$speedup). Project page: https://ustc3dv.github.io/SparseLGS

URL PDF HTML 收藏
2607.09493 2026-07-13 cs.AI cs.MA cs.SE 新提交

Shared Selective Persistent Memory for Agentic LLM Systems

用于智能语言模型系统的共享选择性持久内存

Sanjana Pedada, Aditya Dhavala, Neelraj Patil

机构 * Apple Inc.(苹果公司)

AI总结 智能语言模型系统面临上下文问题,本文提出共享选择性持久内存架构,识别保留四类可重用上下文,丢弃特定会话推理痕迹,实现共享协作重用。在企业场景和公共数据集实验中验证其有效性,提高任务完成率,降低成本,优于全历史持久化等极端方式。

Comments 11 pages, 2 figures, 4 tables

详情
AI中文摘要

通过多轮工具使用生成代码的智能语言模型系统面临一个基本的上下文问题:每个会话从零开始,丢弃使先前会话高效的配置选择、域约束、数据模式和工具使用模式。天真地持久化整个对话历史在令牌使用上效率低下且适得其反:无关上下文会降低生成质量。我们引入了共享选择性持久内存,它能识别并保留四类可重用上下文(任务规范、数据模式、工具配置和输出约束),同时丢弃特定会话的推理痕迹。关键是,该内存是共享的:封装选择性内存的工作区可通过基于角色的访问控制在用户间转移,实现协作重用而无需冗余规范。我们在一个部署的协作工作区平台中实现了它,在该平台上,语言模型智能体从异构源(CSV、SQL、REST API和MCP服务器)生成、编辑和维护带git版本控制的工件(仪表板、报告和数据驱动文档)。一种互补的零令牌数据刷新机制将生成的程序与运行时数据解耦,实现工件重用而无需重新调用。在三个企业场景中,共享选择性持久内存实现了96%的任务完成率(无内存时为79%,全历史记录时为71%)。零令牌刷新消除了重复更新时对语言模型的重新调用(任务时间减少14倍),而摘要驱动生成使每次调用的令牌成本相较于原始数据注入降低了97倍。在四个公共数据集上的复制验证了其通用性,零令牌刷新在12次试验中全部成功。值得注意的是,天真的全历史持久化会因陈旧痕迹使智能体产生偏差,从而积极降低完成率,而选择性内存优于这两种极端情况。

英文摘要

Agentic LLM systems that generate code through multi-turn tool use face a fundamental context problem: each session starts from zero, discarding the configuration choices, domain constraints, data schemas, and tool-use patterns that made previous sessions productive. Naively persisting entire conversation histories is token-inefficient and counterproductive: irrelevant context degrades generation quality. We introduce shared selective persistent memory, an architecture that identifies and retains four categories of reusable context (task specifications, data schemas, tool configurations, and output constraints) while discarding session-specific reasoning traces. Crucially, this memory is shared: workspaces encapsulating selective memory can be transferred across users with role-based access control, enabling collaborative reuse without redundant specification. We implement it in a deployed collaborative workspace platform where LLM agents produce, edit, and maintain git-versioned artifacts (dashboards, reports, and data-driven documents) from heterogeneous sources (CSV, SQL, REST APIs, and MCP servers). A complementary zero-token data refresh mechanism decouples generated programs from runtime data, enabling artifact reuse without re-invocation. Across three enterprise scenarios, shared selective persistent memory achieves 96% task completion (vs. 79% without memory and 71% with full history). Zero-token refresh eliminates LLM re-invocation for recurring updates (14x task-time reduction), while summary-driven generation cuts per-invocation token cost by 97x versus raw data injection. A replication on four public datasets confirms generalizability, with zero-token refresh succeeding in 12/12 trials. Notably, naive full-history persistence actively degrades completion by biasing the agent with stale traces, while selective memory outperforms both extremes.

URL PDF HTML 收藏
2511.20297 2026-07-13 cs.AI 版本更新

Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledge

通过BREW改进语言智能体:引导式经验学习环境知识

Shashank Kirtania, Param Biyani, Priyanshu Gupta, Yasharth Bajpai, Roshni Iyer, Sumit Gulwani, Gustavo Soares

机构 * University of Michigan(密歇根大学) Independent(独立研究者) Microsoft(微软) Apple(苹果公司)

AI总结 研究基于LLM的智能体无法从经验学习的问题,提出BREW框架,通过提炼交互轨迹成知识库、引入EG-MCTS算法及适应事后重标记等方法,在多基准测试中提升任务成功率并减少执行步骤,且知识库具有良好特性。

详情
AI中文摘要

基于大语言模型(LLM)的智能体在复杂多步任务中能力渐强,但无法从经验中学习,每次会话都需从头重新发现解决方案。我们引入BREW框架,它将智能体过去的交互轨迹提炼成自然语言食谱的结构化、可检索知识库(KB)。BREW借鉴程序合成中库学习的原理,将智能体内存分解为模块化、概念局部化文档,并将知识库构建形式化为状态空间搜索问题。为在该空间导航,引入扩展收集蒙特卡洛树搜索(EG-MCTS)算法。通过适应事后重标记将接近成功的轨迹转化为正向示范。在三个基准测试中,BREW在任务成功率上提高了10%-20%,执行步骤减少了10%-15%,优于现有内存增强基线。生成的知识库可检查、模块化且可扩展,为智能体优化提供了透明可控的基础。

英文摘要

Large Language Model (LLM)-based agents are increasingly capable of complex, multi-step tasks such as GUI automation, tool use, and data manipulation, yet they cannot learn from experience: each new session rediscovers solutions from scratch. We introduce BREW (Bootstrapping expeRientially-learned Environmental knoWledge), a framework that distills an agent's past interaction trajectories into a structured, retrievable knowledge base (KB) of natural-language recipes, concept-level procedural documents that capture what to do, when it applies, and what to watch out for. Drawing on the principle of library learning from program synthesis, BREW decomposes agent memory into modular, concept-localized documents and formalizes KB construction as a state-space search problem. To navigate this space, we introduce Expand-and-Gather Monte Carlo Tree Search (EG-MCTS), a reward-guided algorithm that jointly optimizes recipe accuracy and retrievability across parallel, per-concept search trees. We further adapt hindsight relabeling to convert near-miss trajectories into positive demonstrations, surfacing latent agent competencies as reusable knowledge. On three domain-grounded benchmarks, OSWorld, tau^2-Bench, and SpreadSheetBench, BREW achieves 10-20% gains in task success and 10-15% fewer execution steps over base agents, while consistently outperforming existing memory-augmented baselines that can degrade below memoryless performance. The resulting KB is inspectable, modular, and extensible, providing a transparent and controllable substrate for agent optimization.

URL PDF HTML 收藏
2605.09778 2026-07-09 cs.LG cs.CL 版本更新

Nectar: Neural Estimation of Cached-Token Attention via Regression

Nectar: 通过回归估计缓存令牌注意力

João Monteiro, Michal Klein, Pierre Ablin, Marco Cuturi

机构 * Apple(苹果公司)

AI总结 Nectar通过回归方法估计缓存令牌注意力,减少长上下文中的计算成本,实验显示其精度接近完整注意力。

详情
AI中文摘要

评估固定长上下文中的softmax注意力需要为每个新查询令牌读取所有缓存的键值对。我们提出Nectar,为任务相关分布中的查询拟合紧凑的神经网络。Nectar为每个层和KV头拟合两个网络:目标网络预测注意力输出,评分网络预测log-normalizer。这对网络在推理时插入标准的掩码自注意力中,将O(n)的缓存注意力替换为成本不依赖于n的前向传递。每个模块携带每个层和KV头的|θ|参数,通常远小于相同粒度下的2nd KV缓存足迹。我们在五个长上下文数据集上测试了从1.7B到8B参数的模型。近似误差跟踪下一个令牌准确性与完整注意力的差距,非均匀分配容量可减少该差距。除了对指标的分析外,我们检查了配备Nectar模块的模型在文本生成(跟随问题提示)时,其语义内容与完全访问缓存的模型相同。

英文摘要

Evaluating softmax attention over a fixed long context requires reading every cached key-value pair for each new query token. For a given context (a book, a manual, a legal corpus) the attention output is a deterministic function of the query. We propose Nectar, which fits a compact neural network to this function for queries drawn from a task-relevant distribution. Nectar fits two networks per layer and KV-head: a target network that predicts the attention output and a score network that predicts the log-normalizer. The pair plugs into the standard masked self-attention at inference time, replacing the $O(n)$ attention over the cache with a forward pass whose cost does not depend on $n$. Each module carries on the order of $|θ|$ parameters per layer and KV-head, typically much smaller than the $2nd$ KV-cache footprint at the same granularity. We report experiments on models from 1.7B to 8B parameters across five long-context datasets. The approximation error tracks the next-token accuracy gap to full attention, and allocating capacity non-uniformly across layers reduces that gap in our ablation. Beyond this analysis of metrics, we check that the text generations (following a question prompt) of a model equipped with a Nectar module match in semantic content those obtained by giving the same model access to the full cache.

URL PDF HTML 收藏
2601.15275 2026-07-08 cs.CV cs.LG 版本更新

RayRoPE: Projective Ray Positional Encoding for Multi-view Attention

RayRoPE: 多视角注意力的投影位置编码

Yu Wu, Minsik Jeon, Jen-Hao Rick Chang, Oncel Tuzel, Shubham Tulsiani

机构 * Carnegie Mellon University(卡内基梅隆大学) Apple(苹果公司)

AI总结 本文提出RayRoPE,一种基于投影坐标的位置编码方法,用于多视角Transformer,实现SE(3)不变的注意力机制,并能适应3D场景几何。

Comments Project page: https://rayrope.github.io/

详情
AI中文摘要

我们研究了处理一组姿态输入图像标记的多视角Transformer的位置编码,并寻求一种能够唯一编码补丁、允许SE(3)不变的多频率相似性注意力,并能适应底层3D场景几何的机制。我们发现先前(绝对或相对)的多视角注意力编码方案无法满足这些需求,因此提出RayRoPE来填补这一空白。RayRoPE基于关联的射线表示补丁位置,并计算查询帧的投影坐标以确保SE(3)不变性。为了适应场景几何,RayRoPE预测(无直接监督)每个标记的深度以获得其在相应射线上的位置,同时建模不确定性并分析计算预期位置编码。我们在新颖视角合成和立体深度估计任务上验证了我们的方法。尽管保持高效,RayRoPE在多种位置编码方案上 consistently 改善(例如,在RE10K上LPIPS有24%的相对提升,在CO3D上为15%)

英文摘要

We study positional encodings for multi-view transformers that process tokens from a set of posed input images, and seek a mechanism that encodes patches uniquely, allows SE(3)-invariant attention with multi-frequency similarity, and can adapt to the geometry of the underlying 3D scene. We find that prior (absolute or relative) encoding schemes for multi-view attention do not meet these desiderata, and present RayRoPE to address this gap. RayRoPE represents patch positions based on associated rays and computes query-frame projective coordinates to ensure SE(3) invariance. To adapt to scene geometry, RayRoPE predicts (without direct supervision) a per-token depth to obtain its position along the corresponding ray, while also modeling uncertainty and analytically computing the expected positional encoding. We validate our method on the tasks of novel-view synthesis, stereo depth estimation, and feed-forward 3DGS reconstruction. While remaining efficient, RayRoPE consistently improves over alternate position encoding schemes (e.g., 24% relative improvement on LPIPS in RE10K).

URL PDF HTML 收藏
2607.02402 2026-07-07 cs.CV 新提交

Show Me Examples: Inferring Visual Concepts from Image Sets

展示示例:从图像集合中推断视觉概念

Nick Stracke, Kolja Bauer, Stefan Andreas Baumann, Miguel Angel Bautista, Josh Susskind, Björn Ommer

机构 * Munich Center for Machine Learning(慕尼黑机器学习中心) Apple(苹果公司)

AI总结 提出VICIS任务评估视觉语言模型从图像集合中推断共享概念的能力,并设计训练框架与架构,使模型能提取概念嵌入并生成与查询一致的新图像。

Comments for code, view https://github.com/CompVis/set-learner

详情
AI中文摘要

视觉语言模型(VLM)能够遵循复杂的文本指令,但难以从纯视觉上下文中进行推理。特别是,当前模型无法从示例图像集合中推断共享概念并将其应用于新输入。我们引入了从集合中推断视觉概念(VICIS)任务来评估这一能力。给定一个共享概念的少量图像上下文集和一张查询图像,模型必须生成保留上下文定义概念且与查询一致的新图像。我们发现,最先进的VLM在此任务上表现不佳,常常忽略视觉上下文或默认生成有偏见的图像。为解决这一差距,我们提出了一种训练框架和架构,学习从图像集合中推断视觉概念,并从查询中提取特定于概念的嵌入。在合成数据和大规模ImageNet/WordNet数据上的实验表明,我们的模型生成更准确和多样化的输出,并能泛化到未见概念和模态(如草图)。

英文摘要

Vision-language models (VLMs) can follow complex textual instructions, yet they struggle to reason from purely visual context. In particular, current models fail to infer shared concepts from sets of example images and apply them to new inputs. We introduce Visual Concept Inference from Sets (VICIS), a task that evaluates this capability. Given a small context set of images sharing a concept and a query image, the model must generate new images that preserve the context-defined concept while remaining consistent with the query. We show that state-of-the-art VLMs perform poorly on this task, often ignoring the visual context or defaulting to biased generations. To address this gap, we propose a training framework and architecture that learn to infer visual concepts from image sets and extract concept-specific embeddings from queries. Experiments on synthetic data and large-scale ImageNet/WordNet data show that our model generates more accurate and diverse outputs and generalizes to unseen concepts and modalities such as sketches.

URL PDF HTML 收藏
2602.17284 2026-07-07 cs.LG 版本更新

Efficient privacy loss accounting for subsampling and random allocation

子采样和随机分配的高效隐私损失核算

Vitaly Feldman, Moshe Shenfeld

机构 * Apple(苹果公司) The Hebrew University of Jerusalem(耶路撒冷希伯来大学)

AI总结 研究一种随机采样方案的隐私放大特性,该方案应用于差分隐私优化等场景。通过新工具基于隐私损失分布实现概念进行高效隐私损失核算,证明随机分配应用于高斯机制时隐私效用权衡至少与泊松子采样一样好。

详情
AI中文摘要

我们考虑一种采样方案的隐私放大特性,其中用户数据在从t步序列(或集合)中随机且均匀选择的k步中使用。该采样方案最近应用于差分隐私优化和通信高效的高维隐私聚合中。理论分析存在不足,本文证明可高效计算应用于任何差分隐私算法的随机分配的隐私损失分布,结果表明随机分配在隐私效用权衡方面至少与泊松子采样一样好,尤其适用于通过DP - SGD训练,并开发了新工具。

英文摘要

We consider the privacy amplification properties of a sampling scheme in which a user's data isused in $k$ steps chosen randomly and uniformly from a sequence (or set) of $t$ steps. This sampling scheme has been recently applied in the context of differentially private optimization (Chua et al., 2024a; Choquette-Choo et al., 2025) and communication-efficient high-dimensional private aggregation (Asi et al., 2026), where it was shown to have utility advantages over the standard Poisson sampling. Theoretical analyses of this sampling scheme (Feldman & Shenfeld, 2025; Dong et al., 2025) lead to bounds that are close to those of Poisson sampling, yet still have two significant shortcomings. First, in many practical settings, the resulting privacy parameters are not tight due to the approximation steps in the analysis. Second, the computed parameters are either the hockey stick or Renyi divergence, both of which introduce overheads when used in privacy loss accounting. In this work, we demonstrate that the privacy loss distribution (PLD) of random allocation applied to any differentially private algorithm can be computed efficiently. When applied to the Gaussian mechanism, our results demonstrate that the privacy-utility trade-off for random allocation is at least as good as that of Poisson subsampling. In particular, random allocation is better suited for training via DP-SGD. To support these computations, our work develops new tools for general privacy loss accounting based on a notion of PLD realization. This notion allows us to extend accurate privacy loss accounting to subsampling which previously required manual noise-mechanism-specific analysis.

URL PDF HTML 收藏
2601.01095 2026-07-03 cs.CV cs.LG 版本更新

NarrativeTrack: Evaluating Entity-Centric Reasoning for Narrative Understanding

NarrativeTrack: 评估实体中心推理在叙事理解中的表现

Hyeonjeong Ha, Jinjin Ge, Bo Feng, Kaixin Ma, Gargi Chakraborty

机构 * Apple(苹果公司) University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

AI总结 NarrativeTrack通过细粒度实体中心推理评估多模态大语言模型的叙事理解能力,揭示了感知接地与时间推理之间的根本权衡。

Comments Project Page: https://github.com/apple/ml-NarrativeTrack

详情
AI中文摘要

多模态大语言模型(MLLMs)在视觉-语言推理方面取得了显著进展,但其在视频中时间展开叙事的理解能力仍待探索。真正的叙事理解需要明确谁在做什么、何时、何地,并在动态视觉和时间背景下保持一致的实体表示。我们引入NarrativeTrack,首个评估MLLMs叙事理解的基准,通过细粒度实体中心推理进行评估。与现有仅限于短片段或粗粒度场景级语义的基准不同,我们分解视频为构成实体,并通过结构化评估框架Compositional Reasoning Progression(CRP)检查其连续性,该框架在三个维度上逐步增加叙事复杂性:实体存在、实体变化和实体歧义。CRP挑战模型从时间持续性发展到情境演变和细粒度感知推理。全自动的实体中心流水线使可扩展地提取时间接地的实体表示,为CRP提供基础。对最新MLLMs的评估显示,模型在视觉转换和时间动态中难以稳健跟踪实体,常在情境变化下产生身份幻觉。开源通用MLLMs表现出强感知接地但弱时间一致性,而视频专用MLLMs捕捉时间上下文但产生实体上下文幻觉。这些发现揭示了感知接地与时间推理之间的根本权衡,表明叙事理解仅从它们的整合中产生。NarrativeTrack提供了首个系统框架,以诊断和推进MLLMs中时间接地的叙事理解。

英文摘要

Multimodal large language models (MLLMs) have achieved impressive progress in vision-language reasoning, yet their ability to understand temporally unfolding narratives in videos remains underexplored. True narrative understanding requires grounding who is doing what, when, and where, maintaining coherent entity representations across dynamic visual and temporal contexts. We introduce NarrativeTrack, the first benchmark to evaluate narrative understanding in MLLMs through fine-grained entity-centric reasoning. Unlike existing benchmarks limited to short clips or coarse scene-level semantics, we decompose videos into constituent entities and examine their continuity via a Compositional Reasoning Progression (CRP), a structured evaluation framework that progressively increases narrative complexity across three dimensions: entity existence, entity changes, and entity ambiguity. CRP challenges models to advance from temporal persistence to contextual evolution and fine-grained perceptual reasoning. A fully automated entity-centric pipeline enables scalable extraction of temporally grounded entity representations, providing the foundation for CRP. Evaluations of state-of-the-art MLLMs reveal that models fail to robustly track entities across visual transitions and temporal dynamics, often hallucinating identity under context shifts. Open-source general-purpose MLLMs exhibit strong perceptual grounding but weak temporal coherence, while video-specific MLLMs capture temporal context yet hallucinate entities' contexts. These findings uncover a fundamental trade-off between perceptual grounding and temporal reasoning, indicating that narrative understanding emerges only from their integration. NarrativeTrack provides the first systematic framework to diagnose and advance temporally grounded narrative comprehension in MLLMs.

URL PDF HTML 收藏
2607.00249 2026-07-02 cs.LG eess.SP 新提交

Device Passport: Enabling Spatio-Temporal Pretrained Models to Generalize Across Input Layouts

设备护照:使时空预训练模型能够跨输入布局泛化

Geeling Chau, Ran Liu, Juri Minxha, Wenhui Cui, Erdrin Azemi, Ellen L. Zippi, Behrooz Mahasseni, Christopher M. Sandino

机构 * California Institute of Technology(加州理工学院) Apple(苹果公司)

AI总结 针对新设备布局缺乏大规模数据集的问题,提出Device Passport通道嵌入技术,通过功能活动与元数据混合建模,实现跨布局迁移,在耳部脑电图等任务中优于基线。

Comments Workshop on Structured Data for Health, ICML 2026

详情
AI中文摘要

由于每个特定布局缺乏大型数据集,新设备布局构成了一个具有挑战性的建模问题。生物信号基础模型如果能够有效泛化到新布局,则提供了一种可行的解决方案。为了改善跨布局迁移,我们研究了当预训练布局与下游解码布局显著不同时,不同通道嵌入技术的行为。我们提出了Device Passport,一种新的通道嵌入技术,学习专家和混合模型,将每个通道的功能活动和元数据作为输入。这与先前的嵌入方法形成对比,后者通常仅使用功能信息或仅使用元数据来查找学习或固定的位置嵌入。在受控子集迁移实验和向耳部脑电图的实际迁移中,Device Passport整体上具有竞争力,并在激发本工作的布局迁移机制中优于最强的学习基线。这些结果表明,在将大规模预训练生物信号模型重用于新设备时,通道嵌入设计是一个关键考虑因素。

英文摘要

New device layouts pose a challenging modeling problem due to the lack of large datasets for each specific layout. Biosignal foundation models offer a plausible solution if they are able to generalize to new layouts effectively. To improve cross-layout transfer, we study how different channel embedding techniques behave when pretraining layouts differ substantially from the downstream decoding layout. We propose Device Passport, a new channel embedding technique that learns experts and mixture models that take each channel's functional activity and metadata as input. This contrasts with prior embedding methods, which typically use only functional information or only metadata to look up learned or fixed positional embeddings. Across controlled subset-transfer experiments and realistic transfer to ear-EEG, Device Passport is competitive overall and improves over the strongest learned baseline in the layout-transfer regimes that motivate this work. These results suggest that channel embedding design is a key consideration when reusing large-scale pretrained biosignal models on new devices.

URL PDF HTML 收藏
2605.04035 2026-07-02 cs.CV cs.LG 版本更新

Large-Scale High-Quality 3D Gaussian Head Reconstruction from Multi-View Captures

从多视角捕获中大规模高质量3D高斯头部重建

Evangelos Ntavelis, Sean Wu, Mohamad Shahbazi, Fabio Maninchedda, Dmitry Kostiaev, Artem Sevastopolsky, Vittorio Megaro, Trevor Phillips, Alejandro Blumentals, Shridhar Ravikumar, Mehak Gupta, Reinhard Knothe, Jeronimo Bayer, Matthias Vestner, Simon Schaefer, Thomas Etterlin, Christian Zimmermann, Alexey Artemov, Mathias Deschler, Peter Kaufmann, Stefan Brugger, Sebastian Martin, Brian Amberg, Tom Runia

机构 * Apple(苹果公司)

AI总结 HeadsUp通过高效编码器-解码器架构实现大规模多视角捕获下高质量3D高斯头部重建,利用UV参数化高斯体实现与输入图像数量和分辨率解耦,支持高分辨率输入图像训练,取得最佳重建质量并能泛化到新身份。

Comments Accepted to ECCV 2026. Project website: https://apple.github.io/ml-headsup/

详情
AI中文摘要

我们提出HeadsUp,一种可扩展的前馈方法,用于从大规模多摄像头设置中重建高质量的3D高斯头部。我们的方法采用高效的编码器-解码器架构,将输入视角压缩成紧凑的潜在表示。该潜在表示随后被解码为一组UV参数化的3D高斯体,锚定在中性头部模板上。此UV表示将3D高斯体数量与输入图像的数量和分辨率解耦,使模型能够使用大量高分辨率输入视角进行训练。我们在一个内部数据集上训练和评估模型,该数据集包含超过10,000个主体,比现有多视角人类头部数据集大一个数量级。HeadsUp实现了最先进的重建质量和泛化能力,无需测试时优化即可处理新身份。我们广泛分析了模型在身份、视角和模型容量上的扩展行为,揭示了质量-计算量权衡的实用见解。最后,我们通过展示两个下游应用来突出潜在空间的优势:生成新的3D身份和使用表情混合形状动画3D头部。

英文摘要

We propose HeadsUp, a scalable feed-forward method for reconstructing high-quality 3D Gaussian heads from large-scale multi-camera setups. Our method employs an efficient encoder-decoder architecture that compresses input views into a compact latent representation. This latent representation is then decoded into a set of UV-parameterized 3D Gaussians anchored to a neutral head template. This UV representation decouples the number of 3D Gaussians from the number and resolution of input images, enabling training with many high-resolution input views. We train and evaluate our model on an internal dataset with more than 10,000 subjects, which is an order of magnitude larger than existing multi-view human head datasets. HeadsUp achieves state-of-the-art reconstruction quality and generalizes to novel identities without test-time optimization. We extensively analyze the scaling behavior of our model across identities, views, and model capacity, revealing practical insights for quality-compute trade-offs. Finally, we highlight the strength of our latent space by showcasing two downstream applications: generating novel 3D identities and animating the 3D heads with expression blendshapes.

URL PDF HTML 收藏
2603.08001 2026-07-02 cs.LG stat.ML 版本更新

Amortized Maximum Inner Product Search with Learned Support Functions

通过学习支持函数摊销最大内积搜索

Theo X. Olausson, João Monteiro, Michal Klein, Marco Cuturi

机构 * Apple(苹果公司) MIT(麻省理工学院)

AI总结 提出基于回归的摊销MIPS方法,通过训练神经网络直接预测最优键,利用支持函数的凸性加速搜索,在BEIR基准上显著提升IVF匹配率。

详情
AI中文摘要

最大内积搜索(MIPS)是机器学习中的关键子程序,需要从数据库(键)中识别出与给定查询最匹配的向量。我们提出摊销MIPS:一种基于回归的方法,训练神经网络直接预测MIPS解,从而摊销在固定键数据库上从已知分布中重复求解查询的MIPS成本。我们的关键洞察是,MIPS值函数是键集合的\emph{支持}函数,这是一个经过充分研究的凸函数,其梯度给出最优键。这激发了两种互补的摊销模型:SupportNet,一个输入凸神经网络,用于回归支持函数;以及KeyNet,一个向量值网络,直接回归最优键。SupportNet可以作为聚类路由器,将查询引导到相关的数据库分区,而KeyNet可以作为原始查询的直接替代品,直接输入到现成的索引流水线中。我们在BEIR基准上的实验表明,对于文档嵌入,当考虑计算工作量(无论是FLOPs、探测次数还是挂钟时间)时,学习的SupportNet和KeyNet显著提高了IVF匹配率。我们的代码可在以下网址获取:this https URL。

英文摘要

Maximum inner product search (MIPS) is a crucial subroutine in machine learning, requiring the identification of a vector taken within a database (the keys) that best aligns with a given query. We propose amortized MIPS: a regression-based approach that trains neural networks to directly predict MIPS solutions, amortizing the cost of repeatedly solving MIPS for queries drawn from a known distribution over a fixed key database. Our key insight is that the MIPS value function is the \emph{support} function of the set of keys, a well-studied convex function whose gradient yields the optimal key. This motivates two complementary amortized models: SupportNet, an input-convex neural network trained to regress the support function, and KeyNet, a vector-valued network that directly regresses the optimal key. SupportNet can serve as a cluster router, steering queries toward relevant database partitions, while KeyNet can be used as a drop-in replacement for the original query, fed directly to off-the-shelf indexing pipelines. Our experiments on the BEIR benchmark show that, for document embeddings, learned \SupportNet{}s and \KeyNet{}s significantly improve IVF match rates when accounting for compute effort, whether measured in FLOPs, number of probes, or wall-clock time. Our code is available at: https://github.com/apple/ml-amips.

URL PDF HTML 收藏
2603.23297 2026-07-01 cs.CV cs.LG eess.IV 版本更新

Drop-In Perceptual Optimization for 3D Gaussian Splatting

3D高斯溅射的即插即用感知优化

Ezgi Ozyilkan, Zhiqi Chen, Oren Rippel, Jona Ballé, Kedar Tatwawadi

机构 * Apple(苹果公司) Tandon School of Engineering, New York University(纽约大学坦登工程学院)

AI总结 针对3DGS依赖像素级损失导致模糊的问题,提出正则化Wasserstein损失WD-R,通过大规模人类主观实验验证其在纹理恢复和感知指标上的优势,并推广到多种框架和场景压缩任务。

Comments Accepted as a conference paper at ECCV'26. Project page: https://apple.github.io/ml-perceptual-3dgs

详情
AI中文摘要

尽管3D高斯溅射(3DGS)方法的输出最终由人类观看,但它们通常依赖于像素级损失的临时组合,导致渲染模糊。为了解决这个问题,我们通过搜索多种失真损失,系统地探索了3DGS的感知优化策略。我们首次对3DGS进行了大规模人类主观研究,涉及多个数据集和3DGS框架的39,320个成对评分。一种正则化的Wasserstein失真(称为WD-R)脱颖而出,在恢复精细纹理方面表现出色,且不增加高斯数量。评分者偏好WD-R的次数是原始3DGS损失的2.3倍以上,是当前最佳方法Perceptual-GS的1.5倍。WD-R还在各种数据集上一致达到最先进的LPIPS、DISTS和FID分数,并推广到最近的框架(如Mip-Splatting和Scaffold-GS),在这些框架中用WD-R替换原始损失可在相似资源预算(Mip-Splatting的高斯数量,Scaffold-GS的模型大小)下持续提升感知质量,且人类评分者偏好分别达到1.8倍和3.6倍。我们还发现这同样适用于3DGS场景压缩任务,在相当感知指标性能下可节省约50%的比特率。

英文摘要

Despite their output being ultimately consumed by human viewers, 3D Gaussian Splatting (3DGS) methods often rely on ad-hoc combinations of pixel-level losses, resulting in blurry renderings. To address this, we systematically explore perceptual optimization strategies for 3DGS by searching over a diverse set of distortion losses. We conduct the first-of-its-kind large-scale human subjective study on 3DGS, involving 39,320 pairwise ratings across several datasets and 3DGS frameworks. A regularized version of Wasserstein Distortion, which we call WD-R, emerges as the clear winner, excelling at recovering fine textures without incurring a higher splat count. WD-R is preferred by raters more than $2.3\times$ over the original 3DGS loss, and $1.5\times$ over the current best method Perceptual-GS. WD-R also consistently achieves state-of-the-art LPIPS, DISTS, and FID scores across various datasets, and generalizes across recent frameworks, such as Mip-Splatting and Scaffold-GS, where replacing the original loss with WD-R consistently enhances perceptual quality within a similar resource budget (number of splats for Mip-Splatting, model size for Scaffold-GS), and leads to reconstructions being preferred by human raters $1.8\times$ and $3.6\times$, respectively. We also find that this carries over to the task of 3DGS scene compression, with $\approx 50\%$ bitrate savings for comparable perceptual metric performance.

URL PDF HTML 收藏
2606.30627 2026-06-30 cs.LG cs.AI stat.ML

Pessimism's Paradox: Conservative Offline Training Amplifies Reward Hacking During Online Adaptation in Reasoning Models

悲观的悖论:保守离线训练加剧推理模型在线适应中的奖励黑客行为

Subramanyam Sahoo, Aman Chadha, Vinija Jain, Divya Chaudhary

机构 * Horizon Research Apple Meta

AI总结 研究发现,离线训练中越保守的DPO(高β)会压缩策略熵,降低响应多样性,反而加速在线优化中奖励模型的利用,导致更严重的奖励黑客行为。

Comments Accepted in ICML 2026 workshop on Decision-Making from Offline Datasets to Online Adaptation: Black-Box Optimization to Reinforcement Learning

详情
AI中文摘要

保守离线训练被广泛倡导作为后续在线适应的安全基础:其论点认为,如果策略保持接近有良好支持的行为,则不太可能利用学习到的奖励模型中的缺陷。我们通过实验和机制分析挑战了这一直觉。我们训练了一个Qwen3-14B策略,在直接偏好优化(DPO)下采用三种保守程度($β\in \{β_{\mathrm{lo}}, β_{\mathrm{mid}}, β_{\mathrm{hi}}\}$,基于经验对数比率百分位数),然后在线适应每个检查点,对抗一个学习到的奖励集成(3×Qwen3-1.7B),同时测量GSM8K精确答案准确率上的真实性能。我们发现,更高的离线保守性单调地增加了奖励黑客损害,通过Goodhart差距及其曲线下面积(AUGC)衡量,在所有三个条件下Spearman $ρ= 1.0$。机制分析揭示了一个三环节因果链:(i)高β DPO压缩策略熵,(ii)低熵策略生成的响应多样性降低,集中在奖励模型训练分布的狭窄区域(较低的成对余弦距离),以及(iii)尽管距离接近,集成分歧(认知不确定性)随β增加,并在在线优化期间被更快利用。我们进一步对$(β, \augc)$数据拟合幂律曲线,并确定了一个实用的最优保守水平$β^{\star}$,在对齐保真度和黑客脆弱性之间取得平衡。我们的结果表明,该领域需要的是校准的,而非最大的保守性。

英文摘要

Conservative offline training is widely advocated as a safe foundation for subsequent online adaptation: if a policy stays close to well-supported behaviour, the argument goes, it is less likely to exploit imperfections in a learned reward model. We challenge this intuition empirically and mechanistically. We train a Qwen3-14B policy under Direct Preference Optimisation (DPO) with three levels of conservatism ($β\in \{β_{\mathrm{lo}}, β_{\mathrm{mid}}, β_{\mathrm{hi}}\}$ derived from empirical log-ratio percentiles), then adapt each checkpoint online against a learned reward ensemble (3\,$\times$\,Qwen3-1.7B) while measuring true performance on GSM8K exact-answer accuracy. We find that \emph{higher offline conservatism monotonically increases reward-hacking damage}, measured by the Goodhart gap and its area under the curve (AUGC), with Spearman $ρ= 1.0$ across all three conditions. Mechanistic analysis reveals a three-link causal chain: (i) high-$β$ DPO compresses policy entropy, (ii) Low-entropy policies generate responses with reduced diversity, concentrating in a narrow region of the reward model's training distribution (lower pairwise cosine distance), and (iii) despite this proximity, ensemble disagreement (epistemic uncertainty) increases with $β$ and is exploited faster during online optimisation. We further fit a power-law curve to the $(β, \augc)$ data and identify a practical optimal conservatism level $β^{\star}$ that balances alignment fidelity against hacking vulnerability. Our results suggest that the field needs \emph{calibrated}, not \emph{maximal}, conservatism.

URL PDF HTML 收藏
2510.03117 2026-06-29 cs.CV cs.SD 版本更新

Taming Text-to-Sounding Video Generation via Advanced Modality Condition and Interaction

通过高级模态条件与交互驯服文本到发声视频生成

Kaisi Guan, Xihua Wang, Zhengfeng Lai, Xin Cheng, Peng Zhang, XiaoJiang Liu, Ruihua Song, Meng Cao

机构 * Renmin University of China(中国人民大学) Apple(苹果公司)

AI总结 提出分层视觉基础字幕框架(HVGC)生成解耦的视频和音频字幕,并基于此引入双塔扩散变换器BridgeDiT,通过双交叉注意力机制实现对称双向信息交互,在三个基准数据集上达到最先进结果。

Comments The 19th European Conference on Computer Vision -- ECCV 2026

详情
AI中文摘要

本研究聚焦于一项具有挑战性且前景广阔的任务——文本到发声视频(T2SV)生成,旨在根据文本条件生成带有同步音频的视频,同时确保两种模态与文本对齐。尽管联合音频-视频训练取得了进展,但两个关键挑战仍未解决:(1)单一共享文本字幕(视频文本等于音频文本)常造成模态干扰,混淆预训练骨干网络;(2)跨模态特征交互的最优机制尚不明确。为解决这些问题,我们首先提出分层视觉基础字幕(HVGC)框架,生成解耦的字幕对(视频字幕和音频字幕),消除条件阶段的干扰。基于HVGC,我们进一步引入BridgeDiT,一种新颖的双塔扩散变换器,采用双交叉注意力(DCA)机制作为稳健的“桥梁”,实现对称双向信息交换,达成语义和时间同步。在三个基准数据集上的大量实验及人工评估表明,我们的方法在大多数指标上达到最先进结果。全面的消融研究进一步验证了我们贡献的有效性,为未来T2SV任务提供了关键见解。所有代码和检查点将公开发布。

英文摘要

This study focuses on a challenging yet promising task, Text-to-Sounding-Video (T2SV) generation, which aims to generate a video with synchronized audio from text conditions, meanwhile ensuring both modalities are aligned with text. Despite progress in joint audio-video training, two critical challenges still remain unaddressed: (1) a single, shared text caption where the text for video is equal to the text for audio often creates modal interference, confusing the pretrained backbones, and (2) the optimal mechanism for cross-modal feature interaction remains unclear. To address these challenges, we first propose the Hierarchical Visual-Grounded Captioning (HVGC) framework that generates pairs of disentangled captions, a video caption, and an audio caption, eliminating interference at the conditioning stage. Based on HVGC, we further introduce BridgeDiT, a novel dual-tower diffusion transformer, which employs a Dual CrossAttention (DCA) mechanism that acts as a robust ``bridge" to enable a symmetric, bidirectional exchange of information, achieving both semantic and temporal synchronization. Extensive experiments on three benchmark datasets, supported by human evaluations, demonstrate that our method achieves state-of-the-art results on most metrics. Comprehensive ablation studies further validate the effectiveness of our contributions, offering key insights for the future T2SV task. All the codes and checkpoints will be publicly released.

URL PDF HTML 收藏
2604.01193 2026-06-26 cs.CL 版本更新

Embarrassingly Simple Self-Distillation Improves Code Generation

令人惊讶的简单自蒸馏方法提升代码生成能力

Ruixiang Zhang, Richard He Bai, Huangjie Zheng, Navdeep Jaitly, Ronan Collobert, Yizhe Zhang

机构 * Apple(苹果公司)

AI总结 提出简单自蒸馏(SSD)方法,仅利用模型自身输出进行微调,无需验证器或强化学习,显著提升代码生成性能,并揭示其通过重塑token分布解决精度-探索冲突的机制。

详情
AI中文摘要

大型语言模型(LLM)能否仅使用自己的原始输出来改进代码生成,而无需验证器、教师模型或强化学习?我们通过简单自蒸馏(SSD)给出了肯定答案:以特定温度和截断配置从模型中采样解决方案,然后对这些样本进行标准监督微调。SSD 将 Qwen3-30B-Instruct 在 LiveCodeBench v6 上的 pass@1 从 42.4% 提升到 55.3%,且增益集中在较难问题上;该方法在 Qwen 和 Llama 模型的 4B、8B 和 30B 规模上均有效,包括指令和思考变体。为了理解这种简单方法为何有效,我们将这些增益追溯到 LLM 解码中的精度-探索冲突,并表明 SSD 以上下文相关的方式重塑 token 分布,在精度重要的地方抑制干扰尾,在探索重要的地方保留有用的多样性。综合来看,SSD 为改进 LLM 代码生成提供了一种互补的后训练方向。我们的代码可在以下网址获取:https://this https URL

英文摘要

Can a large language model (LLM) improve at code generation using only its own raw outputs, without a verifier, a teacher model, or reinforcement learning? We answer in the affirmative with simple self-distillation (SSD): sample solutions from the model with certain temperature and truncation configurations, then fine-tune on those samples with standard supervised fine-tuning. SSD improves Qwen3-30B-Instruct from 42.4% to 55.3% pass@1 on LiveCodeBench v6, with gains concentrating on harder problems, and it generalizes across Qwen and Llama models at 4B, 8B, and 30B scale, including both instruct and thinking variants. To understand why such a simple method can work, we trace these gains to a precision-exploration conflict in LLM decoding and show that SSD reshapes token distributions in a context-dependent way, suppressing distractor tails where precision matters while preserving useful diversity where exploration matters. Taken together, SSD offers a complementary post-training direction for improving LLM code generation. Our code is available at https://github.com/apple/ml-ssd

URL PDF HTML 收藏
2606.25115 2026-06-25 cs.LG cs.NI 新提交

Forget to Improve: On-Device LLM-Agent Continual Learning via Budget-Curated Memory

遗忘以改进:通过预算策划内存的设备端LLM智能体持续学习

Beining Wu, Zihao Ding, Jun Huang, Yanxiao Zhao

机构 * Apple(苹果) Google(谷歌) Microsoft(微软) Meta Alibaba(阿里巴巴)

AI总结 提出净价值每字节评分机制,在设备端智能体内存中权衡价值与危害,实现预算约束下的记忆保留、共享与信任决策,降低内存和上行带宽并防御注入攻击。

详情
AI中文摘要

设备端语言模型智能体通过积累检索记忆中的经验来改进,而非更新权重。这种内存是硬边界且暴露的:它消耗RAM和能量,通过窄上行链路到达对等节点,并因可被智能体读取的内容写入而成为攻击面。现有系统各自覆盖了这一问题的一部分:智能体记忆无预算增长,设备端方法仅凭成功保留条目,而投毒主要被研究为攻击而非内存治理问题。我们提出\sys{},一种净价值每字节评分,用于管理智能体的经验记忆生命周期。主要思想是让预算充当策展人:每个条目按每字节价值减去危害评分,因此一个规则决定保留、共享和信任什么。\sys{}做出三个决策:(1) \textbf{KEEP}在RAM和能量预算下驱逐低价值字节;(2) \textbf{SHARE}仅在洞察的价值超过其上行成本时发送;(3) \textbf{TRUST}通过来源门控对等条目。在语言模型智能体任务漂移基准测试和包含两个机械臂节点及一个集线器的真实异构Jetson测试平台上,\sys{}将内存减少2.7倍,上行带宽减少2.4倍,将注入成功率从0.75降至零,并提高了受投毒或陈旧记忆破坏的案例的准确性。通过净价值策展同时减少了占用空间、能量、上行带宽和注入成功率,而不降低准确性。在此设置中,按净价值遗忘增强了智能体而非削弱它。

英文摘要

On-device language-model agents improve by accumulating experience in retrieved memory rather than by updating weights. This memory is hard-bounded and exposed: it consumes RAM and energy, reaches peers through a thin uplink, and becomes an attack surface because it is writable by what the agent reads. Existing systems each cover one part of this problem: agentic memories grow without a budget, on-device methods keep entries by success alone, and poisoning is studied mainly as an attack rather than as a memory-governance problem. We propose \sys{}, a single net-value-per-byte score that governs an agent's experience-memory lifecycle. The main idea is to let the budget act as the curator: each entry is scored as value minus harm, per byte, so one ruler decides what to keep, share, and trust. \sys{} makes three decisions: (1) \textbf{KEEP} evicts low-value bytes under the RAM and energy budget; (2) \textbf{SHARE} sends an insight only when its value exceeds its uplink cost; and (3) \textbf{TRUST} gates a peer entry by provenance. On language-model-agent task-drift benchmarks and a real heterogeneous Jetson testbed with two robot-arm nodes and a hub, \sys{} reduces memory by $2.7\times$ and uplink by $2.4\times$, drives injection success from 0.75 to zero, and raises accuracy on cases corrupted by poison or stale memory. Curating by net value reduces footprint, energy, uplink, and injection success together without reducing accuracy. In this setting, forgetting by net value improves the agent rather than weakening it.

URL PDF HTML 收藏
2510.00866 2026-06-25 cs.LG cs.CL 版本更新

Removing Noise, not Finding Gold: Quality Filtering for Large-Scale Pretraining

去除噪声,而非寻找黄金:大规模预训练的质量过滤

Thiziri Nait Saada, Louis Bethune, Michal Klein, David Grangier, Marco Cuturi, Pierre Ablin

机构 * Work done as an intern at Apple(苹果公司实习生) University of Oxford(牛津大学) Apple(苹果公司)

AI总结 本文深入分析基于分类器的质量过滤(CQF)方法,发现其虽提升下游任务性能,但会隐式过滤高质量数据,且与基于合成数据的模型行为趋势不同,质疑CQF捕捉数据质量的有效性。

Comments 21 pages, 22 figures, 2 tables, accepted at ICML 2026

详情
AI中文摘要

大规模模型在包含混合质量文档的海量网络爬取数据集上进行预训练,使得数据过滤至关重要。一种流行方法是基于分类器的质量过滤(CQF),它训练一个二元分类器来区分预训练数据和一小部分高质量集合。它将每个预训练文档的质量分数定义为分类器的分数,并仅保留得分最高的文档。我们对CQF进行了深入分析。我们表明,虽然CQF提高了下游任务性能,但它不一定能增强高质量数据集上的语言建模。我们通过CQF隐式地过滤高质量数据集这一事实来解释这一悖论。我们进一步比较了使用CQF训练的模型与通过随机标记排列获得的合成数据(质量递增)训练的模型的行为,并发现了截然不同的趋势。我们的结果挑战了CQF捕捉有意义的的数据质量概念的观点。

英文摘要

Large-scale models are pretrained on massive web-crawled datasets containing documents of mixed quality, making data filtering essential. A popular method is Classifier-based Quality Filtering (CQF), which trains a binary classifier to distinguish between pretraining data and a small, high-quality set. It assigns each pretraining document a quality score defined as the classifier's score and retains only the top-scoring ones. We provide an in-depth analysis of CQF. We show that while CQF improves downstream task performance, it does not necessarily enhance language modeling on the high-quality set. Importantly, we find that training on CQF-selected data can outperform training directly on the high-quality set, even when the latter is sufficiently large. This finding alone is particularly striking, given the substantial effort and cost recently devoted to augmenting high-quality data. We explain this paradox by the fact that CQF implicitly filters the high-quality dataset as well as the low-quality one. Finally, we introduce an optimization-driven notion of data quality and demonstrate that it can be reliably estimated using small-scale proxy experiments. Altogether, our results both elucidate the mechanisms behind CQF and deepen our understanding of data selection methods widely used in practice.

URL PDF HTML 收藏
2601.18747 2026-06-24 cs.IR cs.AI cs.CC cs.CL cs.DB 版本更新

The $\mathbf{P}$-Completeness of Inverted Index Traversal: On the Complexity of Evaluating Boolean Query DAGs

倒排索引遍历的$\mathbf{P}$-完备性:关于布尔查询DAG评估的复杂性

Amir Aavani

机构 * Apple Inc.(苹果公司)

AI总结 本文证明基于DAG的布尔查询评估问题是$\mathbf{P}$-完备的,并提出一种稀疏感知算法ComputePN,通过正负对偶表示和DAG记忆化,将评估时间严格限制在$O(|Q| \cdot |U_{\mathit{active}}|)$,避免指数爆炸和全量扫描。

详情
AI中文摘要

现代AI代理越来越依赖搜索基础设施来执行复杂的神经符号推理工作流。这些工作流通常编译为对文本字段的深层嵌套、非单调布尔查询。然而,倒排索引上的标准查询评估策略在处理这些结构时面临严重的理论限制。有状态迭代器模型(Document-at-a-Time)在结构上受限于$\text{NC}^1$公式评估,当展开会聚逻辑时,查询复杂度在最坏情况下遭受$O(2^{|Q|})$指数爆炸。相反,递归物化模型(Term-at-a-Time)在评估文档全集上的逻辑否定时,会招致$\Omega(|U|)$的空间复杂度惩罚(全量扫描)。在本文中,我们确立了在倒排索引上原生执行复杂逻辑的理论边界。我们形式化了一个基于有向无环图(DAG)的检索语言($\mathcal{L}_R$),并证明其评估问题是严格的$\mathbf{P}$-完备的。为了使评估可行,我们引入了\texttt{ComputePN},一种确定性的、稀疏感知的评估算法。通过新颖的正负对偶表示将逻辑否定与全集物化解耦,并利用原生DAG记忆化,\texttt{ComputePN}将评估时间严格限制在$O(|Q| \cdot |U_{\mathit{active}}|)$。该方法成功地在索引上原生评估$\mathbf{P}$-完备查询,避免了组合树展开瓶颈和全量扫描惩罚,为计算检索奠定了形式化基础。

英文摘要

Modern AI agents increasingly rely on search infrastructure to execute complex, neuro-symbolic reasoning workflows. These workflows often compile into deeply nested, non-monotonic Boolean queries over text fields. However, standard query evaluation strategies over inverted indices face severe theoretical limits when handling these structures. Stateful iterator models (Document-at-a-Time) are structurally bounded by $\text{NC}^1$ formula evaluation, suffering a worst-case $O(2^{|Q|})$ exponential blowup in query complexity when unrolling re-convergent logic. Conversely, recursive materialization models (Term-at-a-Time) incur an $Ω(|U|)$ space complexity penalty (the Universal Scan) when evaluating logical negation over the document universe. In this paper, we establish the theoretical boundaries of executing complex logic natively over an inverted index. We formalize a retrieval language ($\mathcal{L}_R$) based on Directed Acyclic Graphs (DAGs) and prove that its evaluation problem is strictly \textbf{$\mathbf{P}$-Complete}. To make evaluation tractable, we introduce \texttt{ComputePN}, a deterministic, sparsity-aware evaluation algorithm. By decoupling logical negation from universe-scale materialization via a novel Positive-Negative dual representation, and utilizing native DAG memoization, \texttt{ComputePN} strictly bounds evaluation time to $O(|Q| \cdot |U_{\mathit{active}}|)$. This approach successfully evaluates $\mathbf{P}$-Complete queries natively over the index, avoiding both the combinatorial tree-expansion bottleneck and the universal scan penalty, laying the formal foundation for computational retrieval.

URL PDF HTML 收藏
2504.18114 2026-06-23 cs.CL cs.AI cs.LG

Evaluating Evaluation Metrics -- The Mirage of Hallucination Detection

评估评估指标——幻觉检测的幻象

Atharva Kulkarni, Yuan Zhang, Joel Ruben Antony Moniz, Xiou Ge, Bo-Hsiang Tseng, Dhivya Piraviperumal, Swabha Swayamdipta, Hong Yu

机构 * University of Southern California(南加州大学) Apple Inc.(苹果公司)

AI总结 本文评估了6种幻觉检测指标在4个数据集、37个语言模型和5种解码方法上的表现,发现现有指标与人类判断不一致,且参数规模影响不一致,LLM评估和模式寻求解码方法能有效减少幻觉。

Comments Accepted at EMNLP 2025 Findings (Short)

详情
AI中文摘要

幻觉是语言模型可靠性和广泛应用的主要障碍,但其准确测量仍是个挑战。本文对6种幻觉检测指标在4个数据集、37个语言模型和5种解码方法上进行了大规模实证评估。研究发现当前幻觉评估指标存在明显缺陷:指标常与人类判断不一致,问题视角过于狭隘,参数规模影响不一致。鼓励的是,基于LLM的评估,特别是GPT-4,表现出最佳整体结果,模式寻求解码方法似乎能减少幻觉,尤其是在知识导向的设置中。这些发现强调了需要更稳健的指标来理解和量化幻觉,以及更好的策略来缓解它们。

英文摘要

Hallucinations pose a significant obstacle to the reliability and widespread adoption of language models, yet their accurate measurement remains a persistent challenge. While many task- and domain-specific metrics have been proposed to assess faithfulness and factuality concerns, the robustness and generalization of these metrics are still untested. In this paper, we conduct a large-scale empirical evaluation of 6 diverse sets of hallucination detection metrics across 4 datasets, 37 language models from 5 families, and 5 decoding methods. Our extensive investigation reveals concerning gaps in current hallucination evaluation: metrics often fail to align with human judgments, take an overtly myopic view of the problem, and show inconsistent gains with parameter scaling. Encouragingly, LLM-based evaluation, particularly with GPT-4, yields the best overall results, and mode-seeking decoding methods seem to reduce hallucinations, especially in knowledge-grounded settings. These findings underscore the need for more robust metrics to understand and quantify hallucinations, and better strategies to mitigate them.

URL PDF HTML 收藏
2606.20556 2026-06-19 cs.CV 新提交

Thinking in Boxes: 3D Editing in Real Images Made Easy

Thinking in Boxes: 真实图像中的3D编辑变得简单

Pradhaan S Bhat, Naveen Chandra R, Rishubh Parihar, Vaibhav Vavilala, R. Venkatesh Babu, D. A. Forsyth, Anand Bhattad

机构 * Indian Institute of Science(印度科学研究所) Apple(苹果公司) UIUC(伊利诺伊大学厄巴纳-香槟分校) Johns Hopkins University(约翰霍普金斯大学)

AI总结 提出使用3D盒子作为结构化规范,通过用户提供输入和输出盒子来精确控制真实图像中的平移、旋转、缩放和视角变化,同时保持场景和物体身份,恢复未见的物体区域。

Comments Project Page: https://thinking-in-boxes.github.io/

详情
AI中文摘要

文本和2D条件接口在图像编辑中提供对空间变换的弱、模糊控制——特别是在大物体运动和相机变化下。先前的工作使用了如盒子这样的3D基元,但仅作为松散的调节信号指示近似物体位置,而非指定变换。我们则使用3D盒子作为结构化规范:用户提供编辑的输入和输出盒子,将编辑视为一个适定的几何问题。这种“在盒子中思考”的界面,其中每个盒子面都带有颜色编码以传达3D方向,提供了对真实图像中平移、旋转、缩放和视角变化的精确控制,同时保留场景和物体身份,并恢复之前未见的物体区域。为了将变换与场景外观联系起来,我们引入了一个深度对齐的平面地板作为全局参考框架,并用深度感知线索进行着色。基于这种结构,图像生成器在大变换下产生一致的结果。该系统在两个阶段训练——在合成多物体场景和来自Objectron的小型真实世界视频集上——能够泛化到复杂的、野外真实图像。我们的方法直接作用于真实照片,并在大型3D编辑上显著优于最近的最先进方法。

英文摘要

Text and 2D-conditioning interfaces provide weak, ambiguous control over spatial transformations in image editing -- particularly under large object motions and camera changes. Prior work has used 3D primitives such as boxes, but only as loose conditioning signals indicating approximate object location rather than specifying the transformation. We instead use 3D boxes as structured specifications: the user provides the input and output boxes of the edit, casting editing as a well-posed geometry problem. This ``thinking in boxes'' interface, where each box face is color-coded to convey 3D orientation, gives precise control over translation, rotation, scaling, and viewpoint changes in real images while preserving scene and object identity, and recovering previously unseen object regions. To ground transformations in scene appearance, we introduce a depth-aligned planar floor as a global reference frame, shaded with depth-aware cues. Conditioned on this structure, an image generator produces consistent results under large transformations. Trained in two stages -- on synthetic multi-object scenes and a small set of real-world videos from Objectron -- the system generalizes to complex, in-the-wild real images. Our method operates directly on real photographs and substantially outperforms recent state-of-the-art methods on large 3D edits.

URL PDF HTML 收藏
2512.24592 2026-06-19 cs.CV 版本更新

GH-ESD: Grounded Hypothesis-Driven Error Slice Discovery for Instance-Level Vision Tasks

GH-ESD:基于假设驱动的实例级视觉任务错误切片发现

Wei Zhang, Chaoqun Wang, Zixuan Guan, Sam Kao, Pengfei Zhao, Peng Wu, Sifeng He

机构 * Apple(苹果公司)

AI总结 提出GH-ESD框架,通过LLM生成假设与视觉语言模型验证,在实例级任务中自动发现空间关系错误切片,并构建GESD基准,显著提升检测和分割任务的错误切片发现精度。

Comments Accepted by ECCV2026

详情
AI中文摘要

视觉模型在语义一致子集上的系统性失败(称为错误切片)揭示了鲁棒性和评估的局限性。现有的切片发现方法主要将切片建模为表示空间中的聚类或预定义属性的组合。虽然对图像级分类有效,但这种公式对于目标检测和分割等实例级任务不足,因为失败通常源于上下文关系性和空间定位的视觉模式。我们提出GH-ESD(基于假设驱动的实例级错误切片发现),一个生成与验证框架,将切片发现重新表述为基于假设的生成和统计验证。GH-ESD利用LLM先验和基于空间的视觉证据构建关系失败假设,通过视觉语言模型在实例级发现假设切片,并通过实例级错误的统计趋势分析进行验证。我们还引入了GESD(基于空间的错误切片数据集),一个用于实例级错误切片发现的新基准,提供由专家定义且基于空间的切片,这些切片源自检测和分割失败。大量实验表明,GH-ESD持续优于基线,在检测任务的GESD基准上Precision@10提高了0.10(0.73对比0.63),同时也支持分割场景。GH-ESD识别出可解释的切片,促进可操作的模型改进。GESD数据集将在接收后公开。

英文摘要

Systematic failures of vision models on semantically coherent subsets, known as error slices, reveal limitations in robustness and evaluation. Existing slice discovery approaches largely model slices as clusters in representation space or combinations of predefined attributes. While effective for image-level classification, such formulations are insufficient for instance-level tasks such as object detection and segmentation, where failures often arise from contextual relational and spatially grounded visual patterns. We propose GH-ESD (Grounded Hypothesis-Driven Error Slice Discovery), a generate and verify framework that reformulates slice discovery as grounded hypothesis generation and statistical verification. GH-ESD constructs relational failure hypotheses using LLM priors and grounded visual evidence, discovers hypothesis slices at the instance level via Vision Language Models, and verifies them through statistical trend analysis over instance-level errors. We also introduce GESD (Grounded Error Slice Dataset), a new benchmark for instance-level error slice discovery, providing expert-defined and spatially grounded slices derived from detection and segmentation failures. Extensive experiments demonstrate that GH-ESD consistently outperforms baselines, improving Precision@10 by 0.10 (0.73 vs. 0.63) on the GESD benchmark for detection tasks, while also supporting segmentation scenarios. GH-ESD identifies interpretable slices that facilitate actionable model improvements. The GESD dataset will be made publicly available upon acceptance.

URL PDF HTML 收藏
2501.18322 2026-06-19 cs.LG math.AP 版本更新

A Unified Perspective on the Dynamics of Deep Transformers

深度Transformer动力学的统一视角

Valérie Castin, Pierre Ablin, José Antonio Carrillo, Gabriel Peyré

机构 * CNRS and Ecole Normale Supérieure PSL(CNRS和巴黎高等师范大学) Apple(苹果公司) Mathematical Institute, University of Oxford(牛津大学数学学院)

AI总结 提出Transformer PDE作为注意力层迭代的均场极限,证明其适定性并分析高斯初始数据下的各向异性演化与聚类现象。

详情
AI中文摘要

Transformer在大多数机器学习任务中是最先进的,它将数据表示为称为token的向量序列。然后通过注意力函数利用这种表示,该函数学习token之间的依赖关系,是Transformer成功的关键。然而,跨层迭代应用注意力会导致复杂的动力学,这些动力学尚未被完全理解。为了分析这些动力学,我们将每个输入序列识别为一个概率测度,并将其演化建模为称为Transformer PDE的Vlasov方程,其速度场在概率测度中是非线性的。我们的第一组贡献聚焦于紧支撑初始数据。我们证明Transformer PDE是适定的,并且是相互作用粒子系统的均场极限,从而将先前的分析推广并扩展到自注意力的几种变体:多头注意力、L2注意力、Sinkhorn注意力、Sigmoid注意力和掩码注意力——利用条件Wasserstein框架。在第二组贡献中,我们首次研究非紧支撑初始条件,聚焦于高斯初始数据。再次针对不同类型的注意力,我们证明Transformer PDE保持高斯测度空间,这使我们能够从理论上和数值上分析高斯情况以识别典型行为。这种高斯分析捕捉了通过深度Transformer的数据各向异性演化。特别地,我们强调了与先前在非归一化离散情况下的结果平行的聚类现象。

英文摘要

Transformers, which are state-of-the-art in most machine learning tasks, represent the data as sequences of vectors called tokens. This representation is then exploited by the attention function, which learns dependencies between tokens and is key to the success of Transformers. However, the iterative application of attention across layers induces complex dynamics that remain to be fully understood. To analyze these dynamics, we identify each input sequence with a probability measure and model its evolution as a Vlasov equation called Transformer PDE, whose velocity field is non-linear in the probability measure. Our first set of contributions focuses on compactly supported initial data. We show the Transformer PDE is well-posed and is the mean-field limit of an interacting particle system, thus generalizing and extending previous analysis to several variants of self-attention: multi-head attention, L2 attention, Sinkhorn attention, Sigmoid attention, and masked attention--leveraging a conditional Wasserstein framework. In a second set of contributions, we are the first to study non-compactly supported initial conditions, by focusing on Gaussian initial data. Again for different types of attention, we show that the Transformer PDE preserves the space of Gaussian measures, which allows us to analyze the Gaussian case theoretically and numerically to identify typical behaviors. This Gaussian analysis captures the evolution of data anisotropy through a deep Transformer. In particular, we highlight a clustering phenomenon that parallels previous results in the non-normalized discrete case.

URL PDF HTML 收藏
2606.18258 2026-06-18 cs.HC cs.AI 新提交

Examining Human-Like Behaviors in LLMs: A Multi-Dimensional Analysis of Model Behaviors, User Factors, and System Prompts

审视LLM中的人类行为:模型行为、用户因素和系统提示的多维分析

Sunnie S. Y. Kim, Margit Bowler, Leon A Gatys

机构 * Apple(苹果公司)

AI总结 通过21,000次对话的多维分析,发现LLM普遍表现出人类行为,但不同模型和用户因素下差异显著;人类评估者认为LLM的自我参照和关系建立行为不如人类适当,但边界维护行为更适当;系统提示可控制这些行为但需谨慎评估。

详情
AI中文摘要

大型语言模型(LLM)展现出广泛的人类行为,从表达思想和情感,到与用户建立关系,再到拒绝请求和维持边界。尽管这些行为普遍存在,但研究者和实践者缺乏方法和实证见解来做出关于LLM何时以及应展现何种类型人类行为的明智决策。为填补这一空白,我们使用LLM-as-a-judge和人类评估,对这些行为的普遍性、潜在影响和可控性进行了多维分析。在来自四个广泛使用的模型(gpt-4o、gpt-4.1-mini、claude-sonnet-4.6、gemini-2.5-flash)的21,000次多轮对话中,我们发现人类行为普遍存在,但不同模型和用户因素(对话目标和用户画像)间存在差异。在感知适当性方面,人类评估者认为LLM的自我参照和关系建立行为不如人类适当,但边界维护行为比人类更适当。最后,我们表明系统提示可以控制这些行为,但需要仔细评估以避免意外效果。我们讨论了研究结果的含义,并为负责任的LLM设计和评估提供了建议。

英文摘要

Large language models (LLMs) exhibit a wide range of human-like behaviors, from expressing thoughts and emotions, to engaging in relationship-building with users, to refusing requests and maintaining boundaries. Despite their prevalence, researchers and practitioners lack methods and empirical insights to make informed decisions about when and what types of human-like behaviors LLMs should exhibit. To fill this gap, we present a multi-dimensional analysis of the prevalence, potential effects, and controllability of these behaviors using LLM-as-a-judge and human evaluation. Across 21,000 multi-turn conversations from four widely used models (gpt-4o, gpt-4.1-mini, claude-sonnet-4.6, gemini-2.5-flash), we find that human-like behaviors are pervasive but vary across models and user factors (conversation goals and user profiles). In terms of perceived appropriateness, human evaluators judged self-referential and relationship-building behaviors as less appropriate from LLMs than from humans, but boundary-maintaining behaviors more appropriate from LLMs than from humans. Finally, we show that system prompting can control these behaviors, though it requires careful evaluation to avoid unintended effects. We discuss the implications of our findings and provide recommendations for responsible LLM design and evaluation.

URL PDF HTML 收藏