国内厂商

国内模型厂商的发布与开源动态:通义、混元、豆包、GLM、Kimi、DeepSeek 等。

arXiv cs.AI78

GeoReader:为视觉语言模型的空间推理学习潜在几何

视觉语言模型(VLM)难以处理 RGB 观测中隐含的度量关系和多视图关系。几何基础模型可以从 RGB 中恢复这些结构,但现有方法要么将估计得到的特征与视觉 token 融合,仅通过问答学习如何使用它们;要么将 VLM 的潜变量与几何特征对齐。然而,捕获几何信息并不意味着模型会使用它:将一个已发布的特征对齐模型中的对齐潜变量置零后,其准确率仍保持不变。我们提出 GeoReader,这是一种为能够读取几何信息的 VLM 学习几何表示的框架。首先,我们训练轻量级几何读取器,使其生成连续输入 token,并使用由冻结 VLM 解码的几何描述对其进行监督,从而让读取器以目标模型已经能够读取的形式表达几何信息。随后,我们冻结读取器以保持这一接口,同时在空间问答数据上微调 VLM,并根据问题调节几何信息的注入。几何描述仅作为训练目标:在推理时,VLM 无需生成几何思维链,而是直接依据连续几何 token 作答。利用从 RGB 图像预测的几何信息,我们的方法在 Qwen3-VL-4B 上于 MindCube-Tiny 达到 94.3;结合多源问答混合数据,在 Qwen3.5-9B 上于另外六个空间基准测试中取得平均 72.5 的成绩。这些结果表明,有用的几何表示应当是接收模型能够使用的表示,而不仅仅是能够从中重建几何信息的表示。

arXiv cs.AI77

通过无需训练的奖励归因解锁 Token 奖励

本文提出了一种极高效且无需训练的方法,可直接从现有的深度奖励模型中提取 Token 级奖励信号。我们的核心思想是通过估计每个 Token 的影响,将整体过程奖励归因于单个 Token。该影响被定义为:当一个 Token 被语义上无意义的 Token 替换时,最终宏观奖励(例如过程奖励)的变化。朴素地计算这种影响在计算上不可行,因为对于包含 N 个 Token 的序列,需要通过 PRM 进行 N 次前向传播。为克服这一瓶颈,我们提出了一种高效的基于梯度的估计器。具体而言,我们采用一阶泰勒近似,将影响的计算简化为 Token 嵌入与无意义 Token 嵌入之差,与奖励相对于 Token 嵌入的梯度之间的内积。该方法仅需一次前向传播和一次反向传播。由此得到的 Token 级奖励使标准 RL 算法能够在无需额外训练奖励模型的情况下,执行精确的信用分配。在具有挑战性的推理基准测试中,实验结果表明,我们的方法显著提升了策略优化效率,并增强了 LLM 推理能力的泛化性。对于 Qwen2.5-VL-7B-Instruct,我们的 P2T 在 MathVista 上相比结果奖励提升了 +4.9%;对于 Qwen2.5-Math-7B,在 AIME24 上提升了 +11.5%。代码将通过 https://github.com/stonewst/P2T 发布。

arXiv cs.AI78

PreciseCoder: Faithful and Generalizable Debugging Beyond Unit-Test Rewards

Reinforcement learning (RL) from unit tests is the common recipe for post-training code models, but a unit test only asks whether the final program passes. We analyze what this unit-test-only reward teaches a model during debugging and find that, while it raises pass rates, it also teaches the model to edit more and to hallucinate bugs in code that is already correct. We introduce PreciseCoder, a training algorithm that augments the unit-test reward with a signal for semantically verified, localized edits, which correlates with smaller edits and higher pass rates. On 4B, 9B, and 27B models, PreciseCoder reduces the average number of edit lines from 7-15to 3 at a pass rate on par with unit-test-only training. Trained only on single-line bugs, PreciseCoder can generalize to repository-level program repair, where it resolves more issues with smaller patches. Its precision also transfers from weaker to stronger models: given the reasoning trace of a 9B PreciseCoder model, frontier models such as GPT-5.6 Sol and Qwen3.8-Max gain 4.6-12.4 points in edit precision with no additional training. Linguistic analysis of the thinking traces shows that our reward encourages the model to reason about individual lines, name the buggy ones, and form consistent bug hypotheses.

arXiv cs.AI75

从字节到威胁:用于恶意软件检测的字节序列 Transformer

现有恶意软件检测方法高度依赖通过对可执行文件进行静态或动态分析而获得的手工设计特征。这些方法需要专门的领域知识、专用分析工具以及耗时的分析过程,因此在面对现代恶意软件日益增长的复杂性和多样性时,其可扩展性和鲁棒性受到限制。因此,直接处理原始字节的方法正受到越来越多的关注,因为原始字节包含丰富的语义和结构信息。然而,对于传统静态方法和基于 CNN 的方法而言,捕捉可执行文件中的长程依赖关系仍然具有挑战性。本文提出 MalwareFormer,这是一种基于 Transformer 的字节级恶意软件检测框架,可直接处理原始字节,无需领域知识或特征提取。MalwareFormer 的准确率达到 98.35%,平衡准确率达到 98.32%,宏平均 F1 分数达到 98.32%,误报率为 1.94%,在所有依赖阈值的分类指标上均优于两种基线方法,表明 Transformer 为字节级恶意软件检测提供了一种强大且可扩展的方法。

arXiv cs.AI79

Two Clocks: Why Larger Rollout Batches Learn Slower but Fail on Schedule in Reinforcement Learning with Verifiable Rewards

Reinforcement learning with verifiable rewards (RLVR) relies on costly model-generated responses, motivating larger rollout batches and square-root learning-rate scaling. Reported to approximately preserve progress per sample with one optimizer step per rollout, this rule is less understood in practical multi-step training. We develop a two-clock framework that separates the samples needed to make progress from those consumed before collapse. Under a local quadratic model, the square-root rule preserves first-order drift per sample but not progress: larger batches take fewer, longer updates and lose more to curvature, yielding a learning-rate-dependent critical batch beyond which sample efficiency degrades. A drift-threshold hypothesis predicts a complementary failure clock whose sample count remains approximately invariant along the square-root rule. Controlled GRPO experiments on Qwen2.5-Math-1.5B across a $16\times$ batch range support both predictions. Ratio clipping delays failure, especially for larger batches, but the progress gap persists without it. Widening the clip trades stability for a transient speed gain. The progress gap reappears on another dataset, a general-purpose checkpoint, and a 7B model. Finally, we use the two-clock framework to derive a simple multi-step RLVR schedule: start below the critical batch and switch to a larger batch before failure. Our code is available at: https://github.com/WinstonLiyt/two-clocks-rlvr.

arXiv cs.AI79

AesCode:采用解耦跨模态奖励的审美代码生成

将信息丰富的视觉产物(如幻灯片、海报和仪表板)生成为代码颇具吸引力,因为输出具有结构化、可编辑且可验证的特点。然而,代码模型无法看到其布局和配色选择在画布上的整体呈现,这往往限制了空间规划能力和审美质量。图像生成器擅长视觉设计,但可能错误渲染用户要求的内容,因此其输出不适合作为直接复现的可靠目标。为此,我们提出 AesCode:在内容提示的基础上生成代码,同时使用由同一提示生成的图像作为审美指导。具体而言,AesCode 将目标表示为设计图,以描述整个画布,并使每个属性都具备可追溯性。基于该设计图,我们推导出互补的跨模态奖励:确定性验证器对可从代码和渲染结果中解析的属性进行评分,而 VLM 评审器则使用针对样本定制的视觉图评分标准(Visual Graph Rubric,VGR),依据图中的元素和关系评估不可解析的属性。我们通过带有按通道归一化机制的强化学习优化这些解耦奖励,从而共同提升空间规划、审美质量和可验证的正确性。为评估这一设定,我们构建了一个基准,分别对可验证的正确性和视觉质量进行评分,其中视觉评分与人类判断高度一致。我们发现,参考图像能够显著提升现有模型生成代码的视觉质量;消融实验表明,AesCode 从参考图像中获益,不仅因为将其作为模型输入,也因为将其作为视觉奖励的来源。与使用相同参考图像、规模相当的 Qwen3-VL 基线相比,AesCode-8B 和 AesCode-32B 的视觉质量分别提高了 31.1 和 22.4 个百分点,达到与 GPT-5.5 和 Claude Opus 4.8 等闭源前沿模型相当的评分。

arXiv cs.AI81

DoubtLess:无需训练的高效推理对比解码

推理模型通过较长的思维链(CoT)取得强劲性能,但通常会使用超出解题所需的词元数量。现有的 CoT 缩短方法需要针对每个模型进行额外训练、向模型的隐藏状态添加固定的引导向量,或采用提前停止、禁止使用“wait”等词语的解码启发式方法,而这些方法可能会降低准确率。我们提出 DoubtLess,这是一种无需训练的解码方法,通过一个小得多的推理模型引导大型模型生成更简洁的内容。小模型会读取大型模型截至当前的 CoT 两次:一次被提示要简洁(简洁思考者),另一次被提示要详细(详细思考者);然后将其两次 logit 向量之差乘以一个强度系数,并在 CoT 的每一步将结果加到大型模型的 logits 上。在涵盖竞赛数学、研究生水平科学和竞赛编程的七个基准测试中,DoubtLess 在准确率不变的情况下将 Qwen3-32B 的 CoT 缩短了 31%,优于五种推理时基线方法。我们还表明,在一个自调试编码智能体中,DoubtLess 在任务表现不变的情况下,将每轮思考词元数减少了 20%。在另外两个模型系列上,它同样实现了准确率不变的泛化效果。与基于训练的压缩方法结合后,它还能进一步缩短已经接受简洁性训练的模型的 CoT。消融实验和行为分析表明,DoubtLess 减少了重复检查,而大部分词元节省发生在 CoT 中首次出现正确答案之后。我们的代码可访问:https://github.com/leoluolol/DoubtLess。

arXiv cs.AI82

Tev:通过稠密进展奖励扩展长时域智能体环境

长时域智能体凭借能够自主执行具有经济价值的任务而日益受到关注,其工作时长可从数小时持续到数天。这一能力对于自动化发现和递归自我改进(RSI)至关重要。然而,开源模型在长时域任务上仍然表现不佳,主要原因在于缺乏训练数据和可行的训练方案,而同时扩展这两者十分困难:长而复杂的任务难以整理和验证,且其奖励通常十分稀疏。我们同时解决了这两个问题。首先,我们推出了 Tev-Gym,这是首个具备可验证、稠密且渐进式奖励的长时域智能体训练数据集,涵盖 7 个领域的 1,170 个已验证任务环境。该数据集采用“潜在世界优先”的方法构建:首先建立一个潜在世界,即对任务领域、工作流以及每一步之后预期状态的完整且正确的隐藏规范。随后,每个任务都根据该规范逐步呈现为面向智能体的环境,从而实现可控的复杂度和自然的进度指标。其次,我们将这一指标转化为训练方案:通过进度势能奖励塑形(PPRS),将进度转化为每一步的稠密奖励,从而提高训练效率,并使原本难以训练的任务变得可训练。采用该方案训练得到的 Tev-27B,在 Agents' Last Exam 的计算与数学科学领域(ALE-CM)上取得了显著提升,在 Pass@5 指标上达到 GPT-6 Astra 和 Claude Opus 5 的水平。尽管仅使用与 ALE 相关的数据进行训练,它仍能泛化到 Terminal-Bench(TB)3.0 和 4.0 子集,超过 GLM 5.2 和 Gemini 3.7 Flash,并在 TB 2.1 等中等时域任务上达到 Claude Opus 4.8 的性能水平。

arXiv cs.AI81

尖锐方向与你作对:激活引导的曲率分析

激活引导会在推理时向语言模型的内部表示中添加一个向量,是一种用于行为控制的轻量级微调替代方案。标准构造方法对比激活加法(CAA)并不稳定,因为在许多输入上,它会将行为推向错误的方向。为解释这种不稳定性,我们首先研究引导向量的几何结构。我们引入引导 Hessian,即模型行为损失相对于引导向量的二阶导数矩阵。它刻画了沿引导向量各个方向进行微小扰动时,模型输出行为响应的敏感性。其顶部特征向量对应尖锐方向:沿这些方向的微小扰动就可能导致巨大、不规则且依赖输入的行为波动。底部特征向量对应平坦方向:沿这些方向的行为具有鲁棒性。移除引导向量中的尖锐成分,可以大致保留其方向和大小(在典型设置下,余弦相似度 > 0.974,范数减少 < 3%),同时将向量的方向曲率最多降低 12 倍(在 36 个条件下中位数降低 4 倍)。我们在三个模型系列(Qwen2.5-7B、Llama-3.1-8B、Mistral-7B)上进行评估,涵盖四项行为任务和 36 个词元级条件。沿尖锐方向进行引导会在所有测试条件下逆转预期行为,反引导率为 53%–100%。尖锐方向仅占 CAA 向量平方范数的 1%–5%,但在自回归生成过程中,它们对引导后与未引导的下一词元分布之间的差距贡献 disproportionate。我们将这一单行修正称为尖锐方向移除;在测试的全部 25 个条件下,它在开放式生成中的表现都优于标准 CAA。进一步的越狱实验表明,尖锐方向充当的是噪声而非信号:无论引导极性如何,它们都会破坏连贯的行为控制。

arXiv cs.AI77

EventLens:面向视频理解的事件结构强化学习

近期的多模态大语言模型(MLLM)在视频问答方面取得了出色的效果,但往往无法恢复使视频保持连贯的时间结构。它们可能会合并相邻事件、遗漏单个事件的进展过程,或推断出跨事件的不合理关系。我们将结构化时间理解定义为从视觉证据中恢复事件结构的能力,包括事件边界、单事件进展和多事件关系。我们认为,这一缺口源于当前后训练目标与时间推理之间的不匹配:基于描述的监督使模型能够依赖语言捷径,而不是对视觉时间信息进行定位。为此,我们提出 EventLens,一种以视觉为中心、通过事件结构恢复来学习视频理解的强化学习框架。EventLens 不重建描述文本,而是在受控扰动下训练模型恢复时间结构,例如改变时间粒度、反转进展过程以及打乱事件顺序。我们基于三级时间本体构建了这一框架,并推导出三类可验证任务:事件分割、进展辨别和多事件关系推理。这些任务支持确定性奖励,因此无需人工偏好标签或学习式奖励模型,即可进行任务专门化的 GRPO 训练。我们进一步引入多教师在线策略蒸馏(MT-OPD),将专门化策略整合到统一模型中。在 Qwen3-VL 主干模型上的实验表明,EventLens 在时间定位和事件敏感推理基准上均取得了稳定提升,同时保持了通用视频问答性能。学习曲线进一步表明,与直接进行混合强化学习优化相比,EventLens 在显著降低训练成本的同时,实现了相当的下游迁移效果。

arXiv cs.AI77

Label-Centric Knowledge Retrieval for Zero-Shot Text Classification

Flagship large language models (LLMs) offer rich general knowledge and strong reasoning capabilities, but their high inference cost and latency limit their use for large-scale data labeling. We study zero-shot text classification with semantically meaningful labels and task descriptions, without task-specific labeled examples or classifier feedback. We propose \textbf{SLKR} (Semantic Label Knowledge Retrieval), a label-centric retrieval-augmented generation framework that separates offline knowledge construction from lightweight online inference. Offline, a flagship LLM independently generates label definitions, retrieval keywords, and boundary rules for potentially confusable label pairs, forming a reusable label-knowledge store. Because this construction operates over the label space rather than the input corpus, its one-time flagship cost can be amortized across large-scale inference. Online, hybrid semantic and lexical retrieval first identifies the top-$K$ candidate labels and then selects up to $M$ input-relevant boundary rules connecting candidate-label pairs. A lightweight LLM performs the final classification in a single call using the retrieved definitions and rules. Across three public benchmarks and a real-world multilingual book-classification dataset, SLKR achieves the best results on all four datasets with Qwen3.5-4B and on three of four with Ministral-3-3B, while using compact input contexts and no task-specific labeled examples. Boundary ablations further show that retrieving a small set of input-relevant rules preserves performance close to using all boundaries with substantially less context, supporting efficient reuse of flagship-generated label knowledge for lightweight classification.

arXiv cs.AI73

Correct Choices, Failed Sequences: Choice2Seq Benchmarks Correctness Retention Across Output Interfaces

A model may select the correct answer yet fail to construct it through a sequence of local decisions. We introduce Choice2Seq, a diagnostic benchmark that measures correctness retention across complete-answer selection and sequential construction in independent runs on the same problems and candidate sets. Sequence Composition Rate (SCR) measures the fraction of correctly selected items that are also answered correctly through local construction. Jev achieves 97.1% and 99.5% selection accuracy on arithmetic and lexical retrieval, yet retains only 33.0% and 2.1% of those correct choices under serial construction, respectively. Substantial gaps also emerge for StartLux and Qwen, including when Qwen emits characters directly. Restricting local options to candidate-supported characters improves construction, while explicit position indexing improves copying fidelity, even for incorrect selections. These interventions distinguish task correctness, plan fidelity, and output compliance. Matched dialogue-state evaluations reveal that local field construction largely preserves Jev's correct states but reduces Qwen's mean-turn accuracy, highlighting task- and interface-dependent differences. Sequence-level confidence and request-cost analyses further characterize completed outputs.

arXiv cs.AI73

Look Back to Move Forward: Learning to Revisit for Agentic Compositional Image Generation

Text-to-image models have made remarkable progress in visual fidelity and instruction following, yet complex compositional generation remains challenging. Existing agentic approaches address this limitation through iterative generation and editing, adapting their actions based on interaction history. However, they typically fix the continuation state (i.e., the image from which refinement proceeds) to the latest image. Since iterative editing is not necessarily monotonic, the agent may continue refining from the latest image even when it has already degraded. In this work, we introduce GenRevisit, an agentic framework that extends action selection to joint continuation-state and action selection. The agent can not only use interaction history to adjust editing instructions but also select an image candidate to edit, jointly deciding where to continue from and how to refine. We train GenRevisit with SFT followed by agentic reinforcement learning. To address the coarse credit assignment of final outcome reward in GRPO, which assigns the same trajectory-level advantage to all actions, we further propose Normalized Action Credit Assignment (NACA) to redistribute positive advantage according to each action's contribution to reducing the remaining objective. On GenEval2, GenRevisit achieves GM scores of 84.3 and 74.4 with Qwen-Image-2512 and Z-Image-Turbo, surpassing the strongest baselines using the same generators by 12.7 and 10.9 points respectively. GenRevisit achieves state-of-the-art performance on GenEval, GenEval++, and GenEval2 among baselines.

arXiv cs.AI82

What Survives When Activation Steering Is Used as Memory

Activation steering has recently been used as a memory for skills: past experiences of an agent are stored as steering vectors and retrieved later. Facts and preferences about the user are assumed to need text instead. We test that assumption with a training-free activation memory beside a frozen LLM. The change an experience causes in late-layer states is stored as a shift, filed under a whitened key for the conversation's gist, and added back in a later session only when the gist matches. We argue that such a shift is a fixed average of an effect that attention, in context, recomputes for every question, so only question-independent content can survive. In a pre-registered study on Qwen3.5-2B and 9B, with judges from four model families, the memory is selective (about 98% of unrelated replies are unchanged), but facts are stored as the word to say, in the last layers only, and are almost never used (at most 15% clean use, against 96-98% in context). Leanings transfer only in a narrow strength window. Most strikingly, the reference subtracted when writing a preference decides whether its concept or its direction survives: unless the opposite is subtracted, a stored dislike is recalled as a like.

arXiv cs.AI80

Humans vs. Machines: A Comparison With AI Agents in Software Reverse Engineering

Can an autonomous AI agent reverse engineer a binary as well as a skilled human analyst? Do they adopt the same strategy, and can agents scale to real-world programs? We compare human and LLM-based software reverse engineering (SRE): nine models tackle two compact static-analysis challenges previously solved by human analysts, scored with a common understanding rubric, and we record their complete interactions with IDA Pro. This lets us compare not only what humans and agents recover, but also how they investigate a binary. The best agents (GPT-5.5 Pro, Claude Opus 4.8, and Kimi K3) achieve statistically human-competitive understanding on both tasks, while weaker models remain far behind. Ablations show that the gap depends on code representation and workflow demands, not on model capability alone: open-weight models improve substantially with richer code representations, whereas frontier models show no significant change. Similar success rates hide different workflows. Humans repeatedly revisit functions and follow local program structure; strong agents jump across the binary, retrieve information broadly, and rarely return to inspected code, a behavior we call greedy fetching. This strategy is not fixed: given semantically richer code, agents fetch less without losing understanding. Because greedy fetching aggregates large amounts of code in the agent's context, we measure context-window saturation across 4,000 real-world binaries: large windows accommodate many programs, but larger applications and lower-level representations quickly exhaust them. Autonomous reverse engineering is becoming competitive, with a large speed advantage, but scaling it will require better navigation, selective retrieval, and persistent analysis state, not merely larger context windows.

arXiv cs.AI76

迈向 System One 临床智能:决策基础模型的参数高效微调与反事实可解释性

基于患者自述症状的自动疾病分类,需要在轻量级判别模型的速度与自回归大语言模型(LLM)的上下文理解能力及延迟成本之间取得平衡。决策基础模型提供了另一种选择:无需生成自由文本,而是将表示直接映射到候选类别。我们将基于 Qwen3.5 骨干网络构建的 90 亿参数决策模型 Clef-Flash,针对 Symptom2Disease 基准中的 24 类疾病分类任务进行适配。采用结合差分学习率的 4 位量化低秩适配(QLoRA),并将数据分层划分为 960 个训练样本和 240 个测试样本后,该模型取得了 95.42% 的诊断准确率和 0.9551 的宏平均 F1 分数。这一结果优于已报告的零样本基线:远程 API 为 61.67%,本地未适配初始化模型为 65.00%;同时也超过了 ClinicalBERT 基线(90.90%)。通过单次前向传播评估候选类别的 logits,无需进行自回归解码,模型在单块 GPU 上对每条记录的推理耗时低于 80 毫秒,据报告,相较生成式 LLM 基线实现了 31 倍加速。为考察症状层面的证据,我们提出了留一症状法(Leave-One-Symptom-Out,LOSO)反事实扰动框架。在一个银屑病示例中,移除定义疾病的症状描述后,预测类别的置信度从 100.00% 降至 0.12%,并将预测结果转为脓疱病,置信度为 99.59%;而移除次要的全身性症状时,置信度变化小于 0.01%。这些发现表明,基于决策的架构能够将大型基础模型的语言能力与低延迟推理及症状层面的可解释性相结合,从而服务于临床分诊。

arXiv cs.AI76

Trace Evolution Bench: Measuring Whether Agents Improve from Their Own Environment Traces

Self-evolving agents are usually scored by endpoint Gain: held-out success after an update minus success before. That difference can credit a frozen rescore as evolution. We introduce Trace Evolution Bench (TEB), a protocol that separates that rescore from a context or weight update, together with three frozen 80/20/40 packs. An update is accepted only when validation does not fall, held-out identifiers never enter the update, and a text update is not ranked with a weight update. The primary scoreboard is coding, graded by hidden unit tests in a closed workspace. On that pack (40 held-out tasks, one family), DeepSeek v4 Pro under no_evolve never changes its policy yet moves 7.5, 5.0, and 12.5 percentage points across three seeds. Of nine text-update cells inspired by GEPA, ACE, and ExpeL, seven have positive excess above that seed's own band, and one gepa_llm seed moves down by the width of its band (-12.5, regression 0.48). GLM and MiniMax do not reproduce that seven-of-nine pattern. No method stays above its own band on every seed of all three models: GLM has two paired cells above their own bands, and MiniMax expel_llm seed 44 is a third (regression 0.30). The methods were fixed on a validation screen before held-out was read. Office, graded by rule-bounded delivery, and manufacturing table QA are separate packs: office DeepSeek does not exceed its own bands (widest 17.5 points), and manufacturing has no paired positive excess beyond its seed band.

arXiv cs.AI75

你被说服了吗?一种用于检测 ChangeMyView 讨论中说服力的神经符号论证推理方法

论证结构体现了单个论证如何在话语中相互作用。然而,利用这些结构推断有意义的知识仍然具有挑战性,因为这需要对论证影响如何在结构中传播进行形式化表示。我们提出 Neuro-symbolic Argumentation Reasoning System(NARS),用于直接从在线讨论中检测说服力。其神经组件采用检索增强的迭代式 LLM 推理来提取双极论证结构,而符号组件则应用渐进式论证语义,在结构中传播论证影响。我们使用 Webis-CMV-20 语料库,构建了 CMV2BAS 数据集。该数据集包含经过 LLM 推导的双极论证结构标注以及 delta 事件标签(观点改变或未改变)的长篇、多线程 ChangeMyView 讨论。我们研究了渐进式论证语义能否有效检测说服力、将其与论证质量和基于图的中心性相结合是否能够提升性能,以及在现代 LLM 已经具备相关能力的情况下,符号推理是否仍然必要。在最佳配置下,NARS 达到 F1=0.57 和 AUC=0.56,优于零样本 Qwen3.6:27B 和 GPT-oss:20B。我们发现,以支持为主导的讨论以及较长的论证链是限制攻击影响传播的主要失败模式。本研究展示了在嘈杂的真实世界话语上实施形式化渐进式论证语义、开展可扩展的宏观层面说服力分析的可行性,同时指出了神经符号论证推理未来研究面临的关键挑战和发展方向。我们公开发布 CMV2BAS 数据集和 NARS 框架,供公众使用。

Hacker News AI69

Show HN: Pulse Local, a Mac budgeting app whose AI models run on your machine

Hi HN, I'm Niz. Pulse Local is a budgeting app for Mac (Apple Silicon, beta) that answers questions about your spending with models that run on your machine. Local mode needs no account. The ledger and your questions stay on the machine, and the app sends no analytics or crash logs. I felt there are not enough consumer apps that run locally with no calls to the outside world that help us manage sensitive corners of our lives. This app in its local variant only downloads a couple of models and occasional updates, it does not send any analytics nor data. Features-wise, Pulse local is a complete budgeting app that offers an assistant built on top of a fine-tuned model and thousands of rules embedded in the code itself. I'm sharing it for free with options to help me continue experimenting with fine-tuning and expanding along this direction. How it works: you import a CSV from any bank, in any currency. When you ask a question, a tuned Qwen3 0.6B model reads it into a structured query, and code, not the model, does the money math against the ledger. A 4B checker model double-checks each money answer; when the two readings disagree, the app says it is not sure instead of guessing. That change took wrong answers from about one in five to 5 in 494 questions across our last three tests. The write-up covers how we test, the designs that failed, and the limits of the claim: https://pulseos.finance/pulse-local/writing/agree-or-not-sur... The tuned weights are on Hugging Face (PulseOS/pulse-local-qwen3-0.6b). Limitations: the first start downloads about 2.9 GB of models. With the checker on, a money answer takes 12 to 14 seconds (you can turn the checker off). Small models can still misread an open-ended question. The app answers in English. Mac only for now; Windows is next. The app is free. An optional Connected mode (Sync Pass, $29/year) syncs US banks through Plaid; transactions pass through our server's memory and are not stored. Feedback welcome, especially on wrong answers and on questions it should handle but does not. Comments URL: https://news.ycombinator.com/item?id=50080275 Points: 3 # Comments: 0

Simon Willison78

llm-gemini 0.35

发布:llm-gemini 0.35 今天通过 Gemini API 以及其每月 100 美元订阅计划向客户提供了全新的 Gemini 4 Argon 模型,我为 llm-gemini 添加了对它的支持。下面是低、中、高三档生成的 pelican。如预期一样,它们都非常出色:Gemini 一直以来都很擅长生成优秀的 SVG,而且据我所知,这是唯一一家其员工专门投入 SVG 研究的实验室(他们以前也曾展示过自己生成的 pelican)。这是“高”档生成的插图,花费了我 17.166 美分: 时尚而准确的自行车车架。篮子里有一条鱼。帅气的围巾。双脚分列车架两侧,踩在脚踏板上。车轮辐条、一顶小帽子、漂亮的喙和喉囊,以及略显凶狠的表情。 定价很有意思。发布时,Argon 的价格是输入每百万 token 2 美元、输出每百万 token 10 美元——与 GPT-6 Sol 相同,是 Claude Opus 5.5 价格的一半,以及 Claude Fable 5.1 和 GPT-6 Astra 价格的五分之一。但从 12 月 1 日起,Argon 的价格将翻倍——届时会与 Opus 5.5 同价。 如今,这样的价格并不能真正直接比较,因为真正重要的是:在代理式运行框架中,模型要完成一个目标需要消耗多少 token。Artificial Analysis 发布了使用各模型运行其基准测试的总成本,这为我们提供了一个有用的参考。Argon 在这方面表现非常好:运行该基准测试的成本为 2,407 美元,接近 GLM-5.3,而且明显低于 OpenAI、Anthropic 和 Meta 的最新模型。即使价格翻倍,它仍会比 GPT-6 Astra 略便宜。 Artificial Analysis 的堆叠柱状图截图,对 14 个 AI 模型的美元成本进行比较,按从低到高排序;柱体按提供商着色,每个柱体下方显示提供商徽标,底部以倾斜文字标出模型名称。右上角的徽标为 Artificial Analysis。指向 Gemini 4 Argon 柱体的悬浮提示框显示:Gemini 4 Argon(High),2,407 美元;输出 313 美元;推理 815 美元;缓存写入 897 美元;缓存读取 264 美元;非缓存输入 118 美元;点击查看更多信息。 从左到右的柱体如下,每个柱体上方标有总成本,部分分段数值印在柱体内部:Qwen3.8 27B(xhigh),1,336 美元,Alibaba 徽标;Mistral Large 4 Preview,1,607 美元,Mistral 徽标;Gemini 3.8 Flash(high),1,623 美元,Google 徽标;Muse Spark 1.3(max),2,000 美元,其中一段为 769 美元,Meta 徽标;Gemini 4 Argon(high),2,407 美元,其中两段分别为 815 美元和 897 美元,Google 徽标;GLM-5.3(max),2,503 美元,其中一段为 790 美元,Z.ai 徽标;Kimi K3(max),3,658 美元,Kimi 徽标;Qwen3.8 Max(0902),4,935 美元,其中两段分别为 893 美元和 1,441 美元,Alibaba 徽标;Grok 4.7(xhigh),4,967 美元,其中两段分别为 1,861 美元和 1,618 美元,xAI 徽标;GPT-6 Astra(max),5,324 美元,其中两段分别为 778 美元和 978 美元,OpenAI 徽标;Muse Wonder(max),5,733 美元,其中一段为 1,748 美元,Meta 徽标;Claude Sonnet 5.5(max with fallback),7,260 美元,其中两段分别为 1,216 美元和 1,815 美元,Anthropic 徽标;Claude Opus 5.5(max with fallback),8,708 美元,其中一段为 921 美元,Anthropic 徽标;Claude Fable 5.1(max with fallback),13,129 美元,其中一段为 7,219 美元,Anthropic 徽标。 (我用 ChatGPT 编辑了那张图表!数据全部正确,我已经核对过了——我只是需要让 Gemini 4 Argon 的信息框显示出来,同时避免遮挡其他数字。) 标签:google,ai,generative-ai,llms,llm,gemini,llm-pricing,pelican-riding-a-bicycle,llm-release

The Decoder66

Anthropic says it cut Claude reasoning token theft by up to 99% in fight against industrial-scale distillation

Anthropic says it has cut the extraction of Claude's internal reasoning tokens by 90 to 99 percent. The company links the large-scale distillation attacks to Chinese companies Zhipu and Moonshot, and has already banned tens of thousands of accounts. The article Anthropic says it cut Claude reasoning token theft by up to 99% in fight against industrial-scale distillation appeared first on The Decoder .

MarkTechPost42

Z.ai GLM-Legal Beats Claude Fable 5 and Kimi K3 on Harvey LAB

Z.ai’s GLM-Legal is a legal AI model built on GLM-5.3-Flash. It scores 19.2% all-pass on Harvey’s Legal Agent Benchmark, nearly 3x its base, at $0.15 per test. Access is by application. The post Z.ai GLM-Legal Beats Claude Fable 5 and Kimi K3 on Harvey LAB appeared first on MarkTechPost .

MIT Technology Review AI57

Open models have real benefits. Do they outweigh the risks?

MIT Technology Review Explains: Let our writers untangle the complex, messy world of science and technology to help you understand what’s coming next. You can read more from the series here. Late last month, Anthropic released a report arguing that the model GLM-5.3 poses a major cyberattack risk. The report’s core concern is that the…

MarkTechPost64

Alibaba Qwen Introduces QwenGyre: Elastic Reinforcement Learning RL for XLong-Horizon Agents

Alibaba’s Qwen team has introduced QwenGyre, an elastic reinforcement learning RL framework for extreme-long-horizon agent training. QwenGyre is an online reinforcement learning system from Alibaba that trains coding agents through unmodified, black-box harnesses. It targets rollouts that run for hours and process close to 1M tokens. The QwenGyre elastic RL framework was used on Qwen’s […] The post Alibaba Qwen Introduces QwenGyre: Elastic Reinforcement Learning RL for XLong-Horizon Agents appeared first on MarkTechPost .

Hacker News AI72

Show HN:一份开源 AI 排行榜,展示你的机器可以运行的最佳模型

大家好,我做了 whatmodel。这是一个简单的网站,可以在浏览器中访问,也可以通过终端使用:curl whatmodel.sh 使用方法: 1. 输入你的 RAM 和 GPU 2. 查看你可以在本地运行的模型、它们的排名以及运行命令 3. 使用相同的评分将它们与 API 模型进行比较 构建这个项目让我意识到,如今一台 32GB 的 Mac 已经可以完全在本地、免费运行一个得分与 GPT-5 相当的模型(例如 4-bit 的 Qwen 3.8 27B)。 每个模型都会获得一个综合分数,该分数基于 18,731 项已发布的基准测试结果拟合得出,并且每项结果都附有其来源链接。 方法见 https://whatmodel.sh/method,数据、评分代码和基准测试脚本均已开源:https://github.com/jakemanger/whatmodel 如果你愿意贡献,可以使用基准测试脚本收集真实场景下的 tok/s,也可以在 github 上提交任何新模型和基准测试分数,并附上其来源。 评论 URL:https://news.ycombinator.com/item?id=50053608 得分:1 评论数:0

arXiv cs.LG71

Near-Minimax-Optimal Rates for Asynchronous TD Learning with Markovian Data

arXiv:2609.38880v2 Announce Type: replace-cross Abstract: We study the last iterate of standard importance-weighted temporal-difference (TD) learning from a single trajectory of a finite Markov decision process. The trajectory follows a behavior policy $b$ with an irreducible, possibly periodic state chain; a target policy $\pi$ covered by $b$ is evaluated with action importance ratios bounded by $\varrho$. Write $H=(1-\gamma)^{-1}$, with $\mu_{\min}$ the minimum stationary probability and $\mathfrak h_\star$ the largest expected hitting time of the reverse behavior state chain. We prove that the last iterate achieves sup-norm error at most $\varepsilon$ with high probability after $\widetilde O(\varrho H^3/(\mu_{\min}\varepsilon^2)+\mathfrak h_\star)$ transitions for $0<\varepsilon\le1$. The statistical term retains the cubic effective-horizon dependence of synchronous TD, while the initialization cost is additive in $\mathfrak h_\star$. Setting $b=\pi$ and $\varrho=1$ recovers the on-policy rate. For aperiodic behavior chains, $\mathfrak h_\star=\widetilde O(t_{\rm mix}/\mu_{\min})$ recovers a mixing-time bound. The proof combines an anchored local Poisson equation in reverse time to control fluctuations without a mixing-time factor, a compensation argument for successive hitting costs, and an expected cumulative propagation mass bound for decreasing step sizes. Given the policy ratios and their bound, an empirical state-count rule attains the same rate without prior knowledge of model parameters. The framework covers nonnegative affine importance-weighted prediction updates, including successor features, transition-dependent discounting, and coupled finite-mode predictions. A perturbation estimate yields a time-uniform guarantee for online return-variance estimation. A three-state, two-action construction gives matching minimax lower bounds for both terms up to logarithmic factors on the considered parameter classes.

arXiv cs.LG72

TabPFN 是保险定价的万能解法吗?

arXiv:2605.22892v3 公告类型:replace-cross 摘要:非寿险定价中的索赔频率和索赔损失程度建模主要依赖广义线性模型(GLM),而梯度提升机是主要的机器学习替代方案。表格基础模型(TFM)提出了一种根本不同的推理范式。通过在大量合成数据集上进行预训练,TFM 能够借助上下文学习对新数据进行推理,无须针对特定数据集进行预处理、拟合或超参数调优。本文首次对 TabPFN 在机动车保险定价中的应用进行了实证评估,在两个公开可用的机动车第三者责任险(MTPL)数据集上,将两个版本的 TabPFN 与 GLM 和 XGBoost 进行了基准比较。结果表明,TabPFN 并未始终优于成熟的基线模型:在索赔频率建模方面,其表现不及 GLM,且性能取决于上下文训练集的规模;但在数据更为稀缺的索赔损失程度建模方面,它具有竞争力。其推理耗时则明显更长。尽管表格基础模型前景可期,尤其是在数据稀缺的场景下,但 TabPFN 尚不足以取代成熟的索赔频率精算建模方法。

arXiv cs.LG77

Vision2Code:用于评估图像到代码生成的多领域基准

arXiv:2605.11307v2 公告类型:replace-cross 摘要:我们研究视觉语言模型(VLM)能否通过编写可执行代码来生成图像,从而重建结构化的图形类图像。现有图像到代码生成基准通常覆盖的领域有限,依赖参考源代码进行评估,且未提供可量化领域特定问题的指标。为此,我们提出 Vision2Code,这是一个无需参考代码的多领域基准,包含来自 15 个不同数据集的 539 个测试样例,涵盖图表与绘图、几何图形、图结构、科学示意图、文档和三维空间场景。评估时,我们执行生成的程序,并让 VLM 评判模型依据针对各数据集和领域制定的评分准则,将程序的渲染输出与源图像进行比较。我们发现,以这种方式获得的最终分数与人类评分的相关性,显著高于使用通用 VLM 评分准则,或标准的基于像素、基于嵌入及感知相似性指标所获得的分数。我们进一步证明,在对 VLM 评判模型进行重复采样、调整评分准则权重以及引入受控错误的情况下,我们的评估仍然可靠。结果表明,现有图像到代码生成模型在不同领域的表现存在差异,其中在图表和图结构上的准确率显著高于其他领域。最后,我们展示了该评分方法在通过拒绝采样筛选生成程序以用于微调方面的实用价值:与各自的基础模型检查点相比,Qwen3.5-9B 的表现提升了 16%,Phi-4-MM 提升了 28%。我们的代码和数据已公开发布于 https://image2code.github.io/vision2code/。

arXiv cs.LG68

Locally Private Parametric Methods for Change-Point Detection

arXiv:2602.13619v2 Announce Type: replace-cross Abstract: We study parametric change-point detection under local differential privacy, focusing on the offline localization of a single change point in a sequence of independent observations.~In the non-private setting, we derive improved finite-sample accuracy guarantees for a generalized likelihood-ratio estimator using martingale methods.~We establish finite-sample minimax lower bounds in both the non-private and locally private settings, showing that localization accuracy is fundamentally limited by the Chernoff information between the pre- and post-change distributions.~Guided by this, we design locally private CPD algorithms based on aggregated randomized response and binary mechanisms, which maximize the Chernoff information between the induced output distributions in low- and high-privacy regimes, respectively, and derive their finite-sample guarantees. Together, our upper and lower bounds quantify the statistical cost of privacy in change-point localization.~As part of our analysis, we also show that strong data processing inequality coefficients of R\'enyi divergence and Jeffreys--R\'enyi divergence of order infinity can be computed by restricting to pairs of input distributions with a common support of at most two symbols.~We corroborate our results through empirical evaluation on synthetic data.

arXiv cs.LG77

DASC:面向混合线性注意力推理服务的衰减感知状态压缩

arXiv:2608.30386v2 公告类型:替换 摘要:混合线性注意力架构近期已扩展至大型开放权重模型,在显著降低键/值(KV)缓存增长的同时,提供了可与全注意力媲美的质量。然而,其原地递归状态更新使缓存管理变得复杂:前缀复用需要在全注意力 KV 缓存之外保存状态检查点,而完整存储状态检查点会增加内存压力,导致更多缓存驱逐和重复预填充。通过分析 Gated DeltaNet(GDN)和 Kimi Delta Attention(KDA)的衰减结构,我们发现,不同注意力头和通道保留前缀信息的时间尺度存在显著差异,我们将其称为\emph{保留时域}。这种差异表明,持久保存的状态检查点具有很大的压缩潜力。基于这一观察,我们提出了\emph{衰减感知状态压缩}(DASC):从模型权重推导保留时域,选择长时域状态单元,并将其打包为不规则的状态检查点布局。为与张量并行推理引擎高效集成,DASC 进一步在各个 TP 秩之间均衡分配压缩后的状态检查点。复用时,DASC 可以将被省略的单元填零,也可以付出额外计算开销,利用长度受限的后缀刷新这些单元。在 Kimi-Linear 上的检索和端到端推理基准测试中,保守的 DASC 配置在将 KDA 递归状态检查点压缩 $2.63\times$ 的同时,保持了接近完整缓存的表现。在固定的状态检查点内存预算下,由此获得的容量提升使平均首个词元生成时间(TTFT)降低了 42.6\%,输入吞吐量提高了 68.4\%。在更高压缩比下,后缀刷新能够恢复因更激进省略而损失的大部分准确率,但代价是额外的重放计算。采用 GDN 的 Qwen 也呈现出类似的质量—效率趋势,表明 DASC 可以从按通道处理的 KDA 扩展到按注意力头处理的 GDN。

arXiv cs.LG75

教师何时应更新?自同策略蒸馏中的时间耦合与稳定性

arXiv:2606.03532v2 公告类型:替换 摘要:自同策略蒸馏使用由学生策略自身参数历史构建的教师来训练学生策略,但教师的更新调度——决定教师与学生之间的\emph{时间耦合}——尚未作为稳定性变量得到系统研究。通过在 Qwen3-8B 上开展受控的调度扫描实验,我们证实,\emph{隔离期}(即两次更新之间完全冻结教师的时段)才是实现稳定学习的关键结构性属性,而非教师的年龄。为刻画这些底层训练动态,我们提出了一个涵盖时间 KL 结构、刷新冲击和长度尾部风险的诊断框架。该框架进一步揭示了\emph{状态无感知崩溃}:在短期训练中最优的固定调度,在长期训练中会发生灾难性失效,因为时钟驱动的刷新可能通过一次不可逆的操作,将暂时发生漂移的学生复制到教师中。这种失效模式在短期评估中无法察觉,且在机制上不同于 EMA 的持续性污染。为解决这一问题,我们提出 \emph{Consolidation-Gated Teacher Refresh}(CGTR),该方法保留隔离期,同时根据奖励提升与长度尾部安全性的联合证据,对每次刷新进行门控,确保教师的每次更新都响应学生真正的学习巩固,而非时钟信号。CGTR 仅使用一套共享参数,无需针对各数据集重新调参,就在全部四项任务(Chemistry、Biology、Physics、ToolUse)上实现了\textbf{零崩溃}和最佳最终得分,并能根据各任务的学习动态自主调节刷新频率。

arXiv cs.LG76

COBALT:利用离线轨迹进行上下文老虎机学习以实现多轮代码生成

arXiv:2602.03806v2 公告类型:替换 摘要:训练用于多轮代码生成的大语言模型(LLMs)通常依赖在线强化学习(RL),模型通过反复生成的在线采样轨迹进行学习。尽管有效,在线 RL 的成本可能很高,且训练可能不稳定。本文提出利用离线轨迹的上下文老虎机学习(COBALT),这是一种简单的方法,通过复用离线多轮轨迹,高效训练用于多轮代码生成的 LLMs。基于多轮代码生成是一个单步可恢复的马尔可夫决策过程这一观察,COBALT 首先使用参考 LLM 收集代码生成轨迹,并将其拆分为部分轨迹。随后,在在线老虎机学习过程中,通过单步代码生成训练 LLM 补全每条部分轨迹。在 LiveCodeBench 上,COBALT 显著提升了 R1-Distill 8B 和 Qwen3 8B 的表现,使其 Pass@1 分别最多提高 9.0 和 6.2 个绝对百分点,并达到了采用 GRPO 和 VeRPO 的两种多轮在线 RL 基线的性能。我们还对上下文内奖励投机进行了基于扰动的分析,结果表明 Cobalt 能够增强模型对误导性执行反馈的鲁棒性。总体而言,我们的结果表明,Cobalt 是一种很有前景的多轮代码生成解决方案。我们的代码和数据已公开,地址为 https://github.com/OSU-NLP-Group/cobalt。

arXiv cs.LG76

Adaptive DHiSparse:基于负载自适应 KV 层级结构的推测解码

arXiv:2610.13708v1 公告类型:cross 摘要:长上下文服务在硬件达到其有效吞吐量之前就会耗尽 KV 内存。HiSparse 将历史记录存储在主机内存中,仅获取选定条目,但它在任何负载下都使用相同的缓存预算,也不支持 DSpark 和 DFlash2 等草稿模型推测解码。我们提出 Adaptive DHiSparse,支持基于层级稀疏 KV 的推测解码,并根据负载调整驻留内容。它会保护所需的工作集,在 GPU 内存有余量时保留额外历史记录,并通过精确融合检索恢复其余内容。DSpark 和 DFlash2 保持各自的提议与接受规则:查询共享缺失行检索,草稿 KV 使用窗口限制的环形缓冲区,验证暂存区则在各层组之间复用。在 100K 上下文和并发数 128 下,采用 DFlash2 的 GLM-5.3 每个解码 GPU 可达到 793 个输出 token/s,分别是 HiSparse 的 1.45$\times$ 和非推测自适应服务的 1.27$\times$。在与 HiSparse 相同的延迟上限下,根据每 token 的延迟限制不同,其可支持的并发数最高提升至 4$\times$,输出量提升至 2.3 至 3.7$\times$。在 500K 上下文和并发数 512 下,DeepSeek-V4.1-Flash 采用 DSpark 的 Adaptive DHiSparse,其输出量达到采用 DSpark 的常驻式服务的 1.85$\times$。在负载阶跃变化期间,可选的驻留机制使低负载下主机获取量从选定行的 14.2% 降至 1.4%,并能在压力下释放内存。

arXiv cs.LG70

Not All Dimensions Are Equal: Outlier-Aware Attention Linearization with Grouped Quadratic Kernels

arXiv:2610.13674v1 Announce Type: cross Abstract: Linearizing softmax attention offers a route to efficient Transformer inference, but preserving pretrained attention remains challenging. We identify an important source of approximation error overlooked by standard linearization methods: a small number of outlier dimensions contribute disproportionately to query-key dot products and account for a large fraction of the approximation error. Motivated by this heterogeneity, we propose Outlier-Aware Attention Linearization (OAL), a dimension-aware method for constructing quadratic attention approximations. Starting from a second-order Taylor approximation, we introduce a Hadamard-product formulation that makes individual query-key contributions explicit. This formulation relaxes globally shared coefficients to support dimension-specific linear terms and cross-dimensional quadratic interactions while preserving separable evaluation. To retain this flexibility with fewer parameters, OAL groups dimensions with similar contribution scales to share coefficients, while allowing distinct treatment of the few outliers. The resulting positive quadratic kernel is calibrated against pretrained attention outputs and admits linear-time evaluation with respect to sequence length for fixed head dimensions. On Qwen2.5-0.5B, OAL reduces frozen-attention output relative MSE by approximately 8.9% compared with DiJiang. Replacing middle-layer attention modules and jointly fine-tuning the kernel coefficients with LoRA further lowers WikiText-103 perplexity from 31.71 to 27.50 compared with a learned global quadratic, while improving accuracy on PIQA, HellaSwag, and ARC-E. These results demonstrate the value of outlier-aware dimension grouping for both attention approximation and pretrained-model conversion. The code is available at https://github.com/wuqianyue09/OAL

arXiv cs.LG81

将分词从主机端移出以服务智能体式 LLM

arXiv:2610.13325v1 公告类型:cross 摘要:智能体式工作负载会在多次调用之间重复发送几乎不变的长上下文。如今,前缀缓存可以跳过其中大部分预填充阶段,但每个请求仍必须先完成全部分词,之后才能查询缓存。分词这一长期以来被视为无关紧要的 CPU 阶段,如今却成为首 token 生成时间(TTFT)中占比最大的部分;而为整个 GPU 集群执行分词的前端,则限制了其能够供给的 GPU 数量。我们提出 GraphTok,这是一种 GPU 分词器,可将从预分词、字节对编码(BPE)合并到 token ID 组装的完整编码流程,作为一张可重放的 CUDA 图运行。GraphTok 在 GPT-2、Llama 3、Qwen 2.5、DeepSeek-V3 和 Gemma 3 上逐位复现参考 token ID;对于 GPU 无法占优的短输入,则将其交给 CPU 引擎处理;同时,它还可以接入未经修改的 vLLM 和 NVIDIA Dynamo。GraphTok 在包含数据传输的情况下,可在 1.7–3.2 毫秒内编码一百万个 GPT-2 token;在 Llama 3 上,其速度比最强的 CPU 分词器 gigatoken 快 4.7–6.0 倍。在 TokTier 自有的单请求基准测试中,其速度比 gigatoken 快 2.6–3.9 倍,最高比 TokTier 快 18.1 倍。在使用缓存前缀的 vLLM 中,它将平均 TTFT 降低了 2.1–2.4 倍。最大的提升体现在容量方面。在 2 秒 P99 目标下,配备 GraphTok 的单个 Dynamo 前端可持续处理 518 个请求/秒、每个请求包含 12.1 万个 token 的流量,相当于高峰时段 56 个 GPU 的负载;相比之下,使用 gigatoken 时为 296 个请求/秒,使用默认分词器时仅为 18.5 个请求/秒。在 12.1 万至一百万个 token 的范围内,其可承载负载是 gigatoken 的 1.75–2.5 倍;在 gigatoken 的尾延迟失控的情况下,P99 最多可降低 64 倍。

arXiv cs.LG74

Does Location Matter? A Black-Box Causal Audit Reveals Model-Dependent Audio Grounding in LALM Hallucination

arXiv:2610.13112v1 Announce Type: cross Abstract: Large audio-language models (LALMs) frequently exhibit object hallucination, affirming absent sounds. The dominant mitigation, Audio-Aware Decoding (AAD), contrasts logits under real audio against an all-zero "blank" waveform, flagged by prior review as out-of-distribution. We introduce a black-box causal test that isolates the claimed evidence itself: localize a claim's evidence region via CLAP similarity, remove it by spectral gating, and compare against a random-window control across a 2x2x2 grid on three LALMs. On Qwen2-Audio-7B, localized ablation's raw AUROC trails blank's (0.613 vs. 0.721); this is a duration confound, not a localization failure, since blank removes the entire clip versus the grid's 2-4 s. Holding duration fixed, localization beats random removal at every cell on both models. Raw detection value remains model-dependent, especially on Audio Flamingo 3. The same evidence corrects decoding: contrastive decoding combining blank and language-prior contrasts, gated and ensembled, raises Qwen2-Audio accuracy from 57.1% to 71.9%, beating AAD alone. A unified causal-grounding profile does not transfer between models, indicating different grounding regimes. The source code and a detailed report of our findings, including identified limitations, are available at https://github.com/khalooei/causa.

arXiv cs.LG72

COFFEQA:用于大语言模型问答的反事实引导少样本蒸馏

arXiv:2610.12837v1 公告类型:交叉收录 摘要:知识蒸馏旨在训练较小的学生模型,使其模仿较大的教师模型,以适用于资源受限的环境。然而,蒸馏过程通常需要大量数据,且计算成本高昂,尤其是对于生成式任务。少样本蒸馏提供了一种替代方案,通过有限的训练样本迁移教师模型的知识。然而,我们观察到,少样本蒸馏的性能在很大程度上取决于这些训练样本的选择。事实上,我们证明,使用教师模型决策边界附近不确定性更高的样本,会显著降低蒸馏性能。受此观察启发,我们提出了用于开卷问答的反事实引导少样本蒸馏方法(COFFEQA)。这是一种新策略,能够巧妙利用反事实,为具有挑战性的事实样本提供额外监督。在生成式问答场景中,我们将反事实定义为经过最小幅度修改的上下文,该上下文会促使教师模型将其回答改为另一个答案。我们从几何角度阐释了事实—反事实样本对如何约束教师模型与学生模型决策边界之间的偏差。我们还引入了一项新指标——上下文遵循难度(CFD),根据回答与预期替代答案的一致性,以及对修改后上下文的依赖程度,在蒸馏前进一步验证反事实。COFFEQA 使用经 CFD 验证的事实—反事实样本对进行少样本蒸馏。采用 T5 和 Qwen2.5 系列模型,在五个域内和三个域外问答基准上开展的实验表明,在相同的少样本预算下,COFFEQA 优于仅使用事实样本的蒸馏基线。例如,在 TriviaQA 上,使用 T5 模型和 32 个少样本对时,COFFEQA 相较于仅使用事实样本的基线,平均 EM 分数提高了 8.77 分,平均 F1 分数提高了 9.98 分。

arXiv cs.LG62

Minimax Rates for Estimating Powered Sliced Wasserstein Functionals

arXiv:2610.12740v1 Announce Type: cross Abstract: We study the two-sample estimation of the powered Sliced Wasserstein functional under projected $r$-th moment assumptions. Let $N=n\wedge m$, where $n$ and $m$ are two sample sizes. We establish the minimax rates in the noncritical regimes. When $p 2p$ it is of order $N^{-1/2}$. In both cases, the natural plug-in estimator is minimax rate-optimal. At the endpoint $r=p$, the minimax risk is bounded away from zero, so uniformly consistent estimation is impossible. At the critical order $r=2p$, we obtain the exact worst-case rate of the plug-in estimator and a lower bound for the minimax risk, leaving a logarithmic gap between the lower and upper bounds. The exact minimax rate in this critical case remains open.

arXiv cs.LG77

MagicBeanStalk:通过递归数据合成摆脱 RLVR 零优势陷阱

arXiv:2610.12659v1 公告类型:交叉发布 摘要:以数据为中心的 RLVR 扩展一直侧重于收集或生成可验证的训练问题。然而,仅凭语料库规模并不能判断数据集是否能为目标策略提供有效的学习信号。为指导有效 RLVR 数据的合成,我们通过实验,将数据集的有效性刻画为其所含问题、目标策略和训练 rollout 预算的函数。基于这一刻画,我们发现,一个汇集了广泛使用的 RLVR 数据集的大型开源数学语料库几乎完全陷入了零优势陷阱:对于固定的目标策略和 rollout 预算,其中约 88% 的问题要么在每次 rollout 中都能解决,要么在每次 rollout 中都无法解决。筛选可以提高剩余有效问题的集中度,但它只能进行选择,同时丢弃难题。因此,有效的合成问题应当要求使用解决这些难题所需的推理操作及其组合。不过,这些问题的难度必须经过校准,使部分 rollout 成功、部分失败,并且至少有一个正确解答能够在训练预算内完成。直接提示教师模型对难题进行变式改写并不能达到这一目的。在这些实证原则的指导下,我们提出了 MagicBeanStalk,一种结合自顶向下分解与自底向上递归数据合成的算法。它在保留种子问题推理蓝图的同时,将种子问题扩展为一系列在实质上全新、且针对策略和预算进行了校准的训练问题。在 8 个数学基准测试中,在 16K token 预算下,使用 MagicBeanStalk 问题持续进行 RLVR 训练,使 gpt-oss-120b 的成绩从 61.2 提升至 69.8(+8.6),使 DeepSeek v4Flash 从 72.4 提升至 77.9(+5.4)。使用完整的 7.8 万道问题源语料库进行训练仅提升了 1.1 分,而使用其中经筛选得到的最佳真实数据子集则提升了 5.8 分。在金融领域,我们仅基于 340 个解答就合成了超过 1.4 万道可验证问题,并在 SecQue 和 FinanceBench 上分别比基础模型提升了 6.9 分和 2.4 分。

arXiv cs.LG81

DualQuant:面向 LLM 的双尺度免校准权重与激活量化

arXiv:2610.13767v1 公告类型:新稿 摘要:在原生支持 4 位运算的加速器上进行低比特推理,需要同时量化权重和激活,才能充分发挥这些格式带来的吞吐量优势。尽管训练后权重量化已得到广泛研究,激活量化仍然更具挑战性,且通常需要校准数据。在本研究中,我们提出 DUALQUANT,一种双尺度、免校准的训练后量化框架,可直接最小化权重重构均方误差(MSE),并由此直接得到用于激活量化前的逐通道激活重缩放因子。我们的关键观察是,通过最小化权重重构误差获得的缩放因子能够有效地对激活进行重缩放,从而无需校准数据即可实现具有竞争力的激活量化。我们将 DUALQUANT 表述为一个不可微的权重重构问题,并基于变量分裂和块坐标下降开发了一种高效求解器,其中每个子问题均具有闭式更新解。DUALQUANT 提供了一种统一算法,支持包括完整 MX 系列和 NVFP4 在内的多种格式。据我们所知,DUALQUANT 是首个正式支持 MX 和 NV 块格式的双重缩放方法。在 WikiText-2、C4 和零样本下游任务上对 Llama 和 Qwen 模型的评估表明,DUALQUANT 在大多数模型和格式上的精度达到或超过了基于校准的 SmoothQuant,并显著优于免校准基线方法,尤其在 MX 和 NV 块格式上取得了大幅提升。我们在 RTX 4090 上,使用针对 Llama-3.1-8B 的实际打包 W4A4 推理路径验证了这些收益。该实现的精度与伪量化非常接近,同时相较于 BF16,内存占用最多降至约 1/2.61,吞吐量最高提升至 2.46 倍。

arXiv cs.LG69

Matched-Context Group Policy Optimization for LLM Agent Training

arXiv:2610.13755v1 Announce Type: new Abstract: Training long-horizon language model agents requires assigning credit to intermediate decisions from sparse terminal feedback. Within a finite group of sibling rollouts, useful action comparisons depend on their context, evidence for both alternatives, and how that evidence enters learning. We propose Matched-Context Group Policy Optimization (MCGPO), a procedure for constructing weighted action preferences from already collected trajectories. MCGPO defines comparison contexts with pre-action state summaries and observed rubric progress, annotated by task rules. Two-action support selects among ordered exact and coarse matching rules. Fixed folds separate candidate decisions from the terminal outcomes used to orient their preferences, and support-dependent evidence weights scale an auxiliary pairwise objective alongside shared GraphGPO task learning. MCGPO reuses rollout data and each response's original history, preserving critic-free training. Across six environment-backbone settings with three training seeds each, MCGPO improves mean success over matched GraphGPO: by 0.47-1.46 percentage points on ALFWorld and WebShop with Qwen2.5-1.5B and 7B, and by 3.96 and 5.16 points on WebShop with Qwen3-4B and 8B. The ALFWorld gains build on baseline success above 92%, where remaining headroom is limited. Integrated success improves in three of four Qwen2.5 settings. Three-seed factorial controls support opposite-fold evidence and evidence weighting; joint state-rubric matching achieves the highest mean in all four representation-control settings.

arXiv cs.LG73

方差缩减策略梯度近乎极小极大最优

arXiv:2610.13692v1 公告类型:新论文 摘要:标准策略梯度(PG)算法依赖蒙特卡洛更新,因此存在估计方差较高的问题。尽管离策略方差缩减能够缓解这一问题,但目前要确立最优样本复杂度,仍需要重要性权重一致有界等限制性假设,或不切实际的二阶运算。在本研究中,我们提出 Loopless Variance-Reduced PG(LVR-PG),这是一个统一的理论框架,对一类将递归更新与防御性重要性采样相结合的一阶估计器进行了抽象,其中包括 PAGE-PG 和 STORM-PG 等已有估计器。我们证明,对于一般参数化策略,在弱梯度支配条件下,这类算法能够以 $\tilde{\mathcal{O}}(\epsilon^{-2})$ 的样本复杂度实现最后一次迭代的全局收敛。我们仅使用一阶更新,在极少的假设下且不使用梯度预条件器,便确立了这一保证。通过将当前最先进的下界扩展至连续参数化策略,我们确立了 $\Omega(\epsilon^{-2})$ 的样本复杂度下限,证实我们的框架在忽略对数因子和时间跨度项后具有极小极大最优性。

arXiv cs.LG74

DuoRate:面向混合专家模型服务的双码率逐专家精度分配

arXiv:2610.13328v1 公告类型:新提交 摘要:为混合专家(MoE)模型提供推理服务时,需要为专家精度付出两次代价:常驻内存占用取决于路由器能够访问的所有专家,而每个批大小为一的解码步骤只需为其选中的专家付出代价。这是作用于同一组逐专家位宽的两个不同码率泛函,但已发表的逐专家 MoE 分配方法仅约束前者。我们将这种差异称为存储—读取差距;在已发布的 BitsMoE 检查点中,每权重 2.54 比特(bpw)的存储量变成了 7.50 bpw 的解码流量。我们提出 DuoRate,一次存储,按工作负载读取。离线阶段,它以统一精度档位存储可按前缀读取的权重流,并预计算失真张量。在线阶段,它无需标签即可分析工作负载自身的预填充过程,并在解码泛函约束下求解拉格朗日率失真分配;可以证明,路由频率会从每个逐专家决策中消去,而求解开销仅为每个专家一次点积和一次二分搜索。因此,部署时只需保留单一制品,预填充阶段按存储码率读取,解码阶段则按工作负载自身的码率读取。在 Qwen3-30B-A3B 上,以 2.3 bpw 读取的 DuoRate 在平均准确率上比所有 2 比特级基线高出 6.3 至 47.0 个百分点;在 2.9 bpw 下,它与读取量多出 1.4–1.6 bpw 的 4 比特格式表现相当。其优势在长解码场景下最为显著:在 GSM8K 上,2.9 bpw 的 DuoRate 达到或超过所有 4 比特格式,仅比 BF16 低 0.25 个百分点;即使在 2.6 bpw 下,它仍达到或超过 4.5 比特的 NF4 和 FP4。与采用其自身格式的对照方案相比,仅分配策略一项就可节省 0.07–0.11 bpw 的读取码率。代码将在论文发表后发布。

arXiv cs.LG75

CAST:跨分词器同策略蒸馏的信用对齐

arXiv:2610.13257v1 公告类型:新论文 摘要:跨分词器同策略蒸馏(OPD)需要先对齐教师与学生的序列,才能比较二者的评分。解码文本对齐在文本块层面建立了这种对应关系,但仍有一个独立问题尚未解决:信用对齐。块级信号指明一个文本片段应当改变多少,却未说明该信号应如何分配到学生的各个词元上,而没有教师对应项的词元则仍然不受约束。我们提出 CAST(Chunk-aware credit Assignment with Selective Token Anchoring),这是一种“改变或保持”框架,可同时解决上述两个问题。对于已对齐的文本块,CAST 利用预测不确定性和局部教师信号的平滑性,将每个块的优势值重新分配到学生词元上,在保持该块总优势值不变的同时,重点关注由局部一致的教师反馈所支持的学习机会。由此得到的权重恰好是一个 KL 正则化信用分配问题的精确解。对于未对齐的位置,CAST 通过 KL 惩罚项选择性地将学生锚定于其初始策略,从而在缺乏教师监督的位置限制策略漂移。由于信用分配与文本块构建相互分离,CAST 也适用于共享分词方式下按标点划分或固定长度的文本块。在六项数学、科学和代码基准测试中,对于从 Qwen3-8B 到 Mistral-7B 和 Llama-3.1-8B 的跨分词器迁移,CAST 的平均得分相较于所评估的最强基线分别提高了 $2.45$ 和 $1.32$ 分;对于到 Qwen3-1.7B 的共享分词器迁移,则提高了 $2.10$ 分。

arXiv cs.LG77

State-OPD:面向多轮智能体的基于状态的同策略蒸馏

arXiv:2610.13238v1 公告类型:新论文 摘要:同策略蒸馏(OPD)已成为将前沿模型的推理能力迁移至较小模型的强大范式,但将其成功推广到多轮智能体环境仍面临挑战。我们从交互状态的角度研究智能体 OPD,将客观任务和已执行的动作—观测记录与学生模型推理的内部语义轨迹区分开来。通过这一视角,我们发现学生模型推理在多轮 OPD 中具有两种作用:先前的推理会扭曲教师模型的监督信号,而当前的推理则会影响在同一状态下采样得到的候选动作。具体而言,在匹配的交互状态下,移除学生模型先前的推理可以提高教师模型的后续执行成功率,并改变教师模型的词元级目标,且在较后轮次中,后续执行成功率的提升更大。同时,与在固定推理轨迹下重新采样动作相比,重新采样完整的推理—动作响应能在同一状态下产生更多样的动作。我们提出基于状态的同策略蒸馏框架,将教师模型的监督建立在交互状态之上,并重新分配采样预算,在响应熵较高的状态下生成多个完整的推理—动作响应,同时保留学生模型基于完整历史的生成方式。在 ALFWorld、ScienceWorld 和 WebShop 上的全面评估表明,无论采用 Qwen3-1.7B 还是 Qwen3-4B 作为学生模型,State-OPD 在所评估的方法中均取得了最高的宏平均成功率。值得注意的是,对于 Qwen3-4B,State-OPD 将宏平均成功率从最强基线的 26.07\% 提高至 31.74\%,并在 ALFWorld Seen 上超越了其教师模型 Qwen3-32B。进一步分析表明,State-OPD 使用更少的受监督轮次响应即可取得更高的任务成功率,并显著减少对失败动作的持续重复;定性轨迹展示了基于交互反馈进行的决策修正。

arXiv cs.LG75

S$^3$R:通过自稀疏推测解码实现快速且忠实的强化学习轨迹生成

arXiv:2610.13202v1 公告类型:新投稿 摘要:在具有可验证奖励的长上下文强化学习(RLVR)中,快速生成轨迹需要在不改变用于策略优化的响应组的前提下,减少 KV 缓存访问流量。在我们进行性能剖析的 RLVR 工作负载中,注意力计算占自回归解码内核执行时间的 72--76\%。稀疏注意力可以减少这些读取操作,但直接从稀疏策略中采样会改变用于学习的响应组。对于组相对优化,我们证明,即使对每个响应进行精确的重新加权,通常也无法恢复稠密策略的期望更新,因为每个响应的优势取决于组内其他成员的奖励。我们提出了 Self-Sparse Speculative Rollouts(S$^3$R)。该方法使用稀疏注意力提出候选词元,再通过全注意力验证和精确推测采样生成响应。草拟与验证共享同一套策略参数,因此无需训练或更新单独的草拟模型。由此生成的响应组遵循稠密策略的分布。我们刻画了 S$^3$R 实现加速的条件,以及草拟和验证的成本。我们发现,稠密验证仍然需要完整的历史 KV 缓存。因此,具备 KV 感知能力的调度器会在保持轨迹生成并行度的同时,限制 KV 缓存的反复卸载与恢复。% 或抖动 在采用激进稀疏草拟预算的匹配消融实验中,S$^3$R 保持了稳定的训练,而采用训练端校正的直接稀疏采样则变得不稳定。在长上下文数学推理任务中,S$^3$R 在 Qwen3 模型上实现了自回归轨迹生成 $1.39\times~1.35\times$ 的端到端训练吞吐量,同时保持了相当的任务性能。

arXiv cs.LG70

Controlled-Minimax: Stabilizing Adversarial Optimization via Control Theory

arXiv:2610.12915v1 Announce Type: new Abstract: Minimax optimization is fundamental to adversarial learning yet suffers from severe stability challenges, often manifesting as persistent limit cycles or divergence. This paper investigates these instabilities through the lens of continuous-time dynamical systems. By modeling training dynamics as a second-order Ordinary Differential Equation (ODE), we rigorously identify the root cause of non-convergence: the problematic eigenstructure of the loss function's Hessian near equilibrium points. To address this, we introduce Controlled-Minimax, a novel stabilization framework that reformulates the optimization trajectory as a controllable physical system. Unlike heuristic regularization techniques, our approach derives a specific feedback controller that provides theoretical guarantees of local exponential stability, regardless of the underlying Hessian spectrum. Consequently, our method stabilizes general minimax problems where traditional gradient descent-ascent methods fail. Extensive experiments on pathological benchmarks including the Dirac-GAN, 2D Gaussian mixtures, and Swiss Roll datasets, as well as high-resolution image synthesis with StyleGAN2-ada, demonstrate that Controlled-Minimax effectively suppresses oscillatory behavior while ensuring fast and robust convergence.

arXiv cs.LG75

Cross-Behavior Policy Optimization:通过共享回归目标统一学习离线示范与同策略、异策略采样轨迹

arXiv:2610.12830v1 公告类型:新提交 摘要:推理后训练利用离线示范和策略生成的采样轨迹,但传统的先监督微调(SFT)、后强化学习(RL)的方法将两者的目标分离,限制了对已收集回答的持续复用。我们提出 \textbf{Cross-Behavior Policy Optimization}(CBPO),通过基于固定参考的目标,使这些数据源能够兼容同一个回归损失。由于该目标不涉及生成策略,正向和负向离线补全、参考回答,以及当前和历史采样轨迹可以共享统一的带奖励标签的记录格式和回放缓冲区。当新回答进入缓冲区时,优化过程仍保持相同的回归目标,无需协调独立的 SFT 和 RL 目标,也不需要存储行为策略概率、进行重要性加权或学习评价器。通过限制可用数据源,可以得到离线、同策略和异策略变体,而 CBPO-Unified 则将它们结合起来。在两种模型规模和四个数学推理基准上,CBPO 在不同基准和数据设置下均取得领先的 \texttt{avg@32} 和 \texttt{pass@32} 表现。在 Qwen3-1.7B 上,相较于 SFT DAPO,CBPO-Unified 在各基准上平均的 \texttt{avg@32} 和 \texttt{pass@32} 分别提高了 2.33 和 4.44 个百分点。在回放消融实验中,相较于不保留历史轨迹的配置,保留历史采样轨迹使这两项指标分别提高了 1.87 和 3.72 个百分点。

arXiv cs.LG76

TreeHCA:面向多轮 LLM 智能体的后见引导探索与信用分配

arXiv:2610.12828v1 公告类型:新论文 摘要:结果监督的组相对策略优化(GRPO)为 LLM 智能体轨迹中的每个词元分配相同的优势值,未能区分有益和无益的决策。后见信用分配(HCA)可以细化这一反馈,但其估计依赖于轨迹中在关键历史状态下包含具有信息价值的备选路径。我们提出 TreeHCA,将后见引导探索与后见信用分配相结合。TreeHCA 利用参考答案似然的变化,重新访问中间历史状态并采样替代性的后续轨迹,从而构建由推理和工具交互组成的树。由于这种探索改变了所采样后续轨迹的分布,我们推导出相应的逆后见重要性校正,其中包括一个精确的有限样本池恒等式。我们在归一化的树回传中使用这一结构,将终局结果传播为轮次级优势值。这种共享的后见结构是 TreeHCA 的核心设计原则,将具有信息价值的探索与后见引导的信用分配联系起来。在七个问答基准和三个 Qwen 骨干模型上,TreeHCA 的总体精确匹配率均优于所有基线,验证了将探索与信用分配配对用于多轮 LLM 智能体训练的有效性。我们的代码已发布于 github.com/TheBlackCat22/TreeHCA。

arXiv cs.LG66

Static Gradient Attribution Underperforms a Density-Matched Random Mask on Loss-Based Forgetting Within LoRA B-Matrix

arXiv:2610.12744v1 Announce Type: new Abstract: Parameter-efficient continual learning updates a restricted subset of adapter parameters to incorporate sequential tasks while limiting catastrophic forgetting. Gradient attribution is a common rule for selecting that subset, but it requires an additional backward pass over calibration data. We identify a parameter-pool confound in comparisons between initialization-time gradient masks and unrestricted random masks under standard zero-initialized LoRA ($B=0$): the gradient with respect to $A$ is identically zero ($\partial\mathcal{L}/\partial A=0$), so gradient masks select strictly from the $B$ matrix whereas unrestricted random masks draw from both $A$ and $B$. Such a comparison changes both the selection rule and the candidate parameter pool. Isolating the selection criterion by restricting both approaches to the same parameter pool, we find a negative result: a uniform random mask consistently achieves lower loss-based backward transfer than gradient attribution across seven seeds on Qwen2.5-3B. The effect is concentrated on the medical task, which contributes 80\% of the aggregate; code and math move in the same direction, and legal shows no reliable difference. This advantage is consistent with a stability--plasticity trade-off under the tested task sequence, in which random masking slightly reduces single-task fitting. On the two discrete-option tasks (Medical and Legal), the mean accuracy-BWT difference is not statistically distinguishable from zero.

arXiv cs.LG65

Byzantine-Resilient Federated Large Language Model via Hypergraph Message Passing

arXiv:2610.12711v1 Announce Type: new Abstract: Federated Large Language Models (FedLLMs) are promising to deliver privacy-preserving, collaborative intelligence. The decentralized training process is vulnerable to Byzantine attacks that corrupt semantic consistency and factual resilience through malicious model updates. This paper presents a new resilience strategy that prevents semantically corrupted knowledge from propagating during federated aggregation. A defense problem is formulated to jointly maximize global accuracy and suppress manipulated model updates, enabling trustworthy knowledge aggregation without accessing private local data. To strengthen the resilience of FedLLMs, we develop a novel Hypergraph Message Passing Graph Autoencoder (HMP-GAE) framework, where low-rank model updates are represented as nodes in a hypergraph and high-order semantic relationships among multiple agents are exploited through iterative message passing. By leveraging historical checkpoints and cross-agent relational reasoning, HMP-GAE identifies and suppresses semantically inconsistent updates while preserving knowledge alignment among agents throughout federated training. HMP-GAE is implemented using Qwen-2.5 and Llama-3.2 as pretrained FedLLM backbones and evaluated on AG News and Yahoo! Answers datasets. Compared to existing defenses, HMP-GAE improves global accuracy by $1.21$\%, reduces final-model classification semantic entropy by $44.08$\%, and lowers perplexity by $13.34$\%. HMP-GAE outperforms the GAE-based defense by improving the accuracy $1.39$\%, reducing the semantic entropy by $54.5$\%, and lowering perplexity by $35.5$\%.

arXiv cs.AI76

并非所有维度都同等重要:基于分组二次核的异常值感知注意力线性化

将 softmax 注意力线性化为高效的 Transformer 推理提供了一条路径,但保留预训练注意力的行为仍然具有挑战性。我们发现了一个被标准线性化方法忽视的重要近似误差来源:少数异常维度对查询与键的点积贡献不成比例地大,并造成了很大一部分近似误差。受这种异质性的启发,我们提出 Outlier-Aware Attention Linearization(OAL),这是一种用于构建二次注意力近似的维度感知方法。从二阶 Taylor 近似出发,我们引入了一种 Hadamard 积形式,显式呈现查询与键各维度的贡献。该形式放宽了系数全局共享的限制,支持维度特定的线性项和跨维度的二次交互,同时保留可分离计算的性质。为了以更少的参数保留这种灵活性,OAL 将贡献尺度相近的维度分组以共享系数,同时允许对少数异常维度进行区别处理。所得正值二次核以预训练注意力输出为参照进行校准,并且在注意力头维度固定时,可按序列长度的线性时间复杂度计算。在 Qwen2.5-0.5B 上,与 DiJiang 相比,OAL 将冻结注意力的输出相对均方误差降低了约 8.9%。替换中间层注意力模块,并结合 LoRA 联合微调核系数后,与学习得到的全局二次核相比,WikiText-103 上的困惑度进一步从 31.71 降至 27.50,同时在 PIQA、HellaSwag 和 ARC-E 上的准确率也有所提升。这些结果表明,异常值感知的维度分组对于注意力近似和预训练模型转换均具有价值。代码已公开于 https://github.com/wuqianyue09/OAL

arXiv cs.AI75

Variance-Reduced Policy Gradient is Nearly Minimax-Optimal

Standard Policy Gradient (PG) algorithms suffer from high estimation variance because they rely on Monte Carlo updates. While off-policy variance reduction mitigates this problem, establishing optimal sample complexity currently requires either restrictive assumptions, such as uniformly bounded importance weights, or impractical second-order operations. In this work, we introduce Loopless Variance-Reduced PG (LVR-PG), a unified theoretical framework that abstracts a class of first-order estimators that integrate recursive updates with defensive importance sampling, including known estimators such as PAGE-PG and STORM-PG. We prove that this algorithmic class achieves $\tilde{\mathcal{O}}(ε^{-2})$ last-iterate global convergence under weak gradient domination for general parametric policies. We establish this guarantee using purely first-order updates, with minimal assumptions and without gradient preconditioners. By extending state-of-the-art lower bounds to continuous parametric policies, we establish an $Ω(ε^{-2})$ sample complexity limit, confirming our framework is minimax-optimal up to logarithmic factors and horizon terms.

arXiv cs.AI77

Adaptive DHiSparse:基于负载自适应 KV 层次结构的推测解码

长上下文推理服务在硬件达到有效吞吐量之前,就会耗尽 KV 内存。HiSparse 将历史数据存储在主机内存中,并且仅取回选中的条目,但它在所有负载下都使用同一缓存预算,也不支持 DSpark 和 DFlash2 等基于草稿模型的推测解码。我们提出 Adaptive DHiSparse,它支持在分层稀疏 KV 上进行推测解码,并根据负载调整数据驻留。它保护必需的工作集,在 GPU 内存空闲时保留更多历史数据,并通过精确的融合检索取回其余数据。DSpark 和 DFlash2 的候选生成与接受规则保持不变:查询共享缺失行的取回操作,草稿 KV 使用受窗口大小约束的环形缓冲区,验证阶段的暂存空间则跨层组复用。在 100K 上下文长度和 128 并发下,结合 DFlash2 的 GLM-5.3 在每个解码 GPU 上实现了每秒 793 个输出 token,分别为 HiSparse 的 1.45$\times$ 和不使用推测解码的自适应推理服务的 1.27$\times$。在遵守与 HiSparse 相同的延迟上限时,根据每 token 延迟上限的不同,它能够持续支持最高 4$\times$ 的并发量和 2.3 至 3.7$\times$ 的输出吞吐量。在 500K 上下文长度和 512 并发下,对于 DeepSeek-V4.1-Flash,结合 DSpark 的 Adaptive DHiSparse 实现了结合 DSpark 的全驻留推理服务 1.85$\times$ 的输出吞吐量。在一次负载阶跃变化中,可选驻留在低负载时将需要从主机取回的行占选中行的比例从 14.2% 降至 1.4%,并在内存压力下释放内存。

arXiv cs.AI71

用于 LLM 智能体训练的匹配上下文组策略优化

训练长时程语言模型智能体,需要根据稀疏的终局反馈为中间决策分配信用。在有限的一组同源 rollout 中,有效的动作比较取决于其上下文、支持两个备选动作的证据,以及这些证据如何融入学习。我们提出 Matched-Context Group Policy Optimization(MCGPO),这是一种从已收集的轨迹中构建加权动作偏好的方法。MCGPO 使用动作前的状态摘要和观测到的评分标准完成进度来定义比较上下文,并依据任务规则进行标注。双动作支持度用于在有序的精确匹配规则和粗粒度匹配规则之间进行选择。固定的数据分折将候选决策与用于确定其偏好方向的终局结果分离,而依赖支持度的证据权重则用于缩放辅助成对目标,使其与共享的 GraphGPO 任务学习共同进行。MCGPO 复用 rollout 数据和每条响应的原始历史,保持无需 critic 的训练方式。在六种环境与骨干模型组合设置中,每种设置均采用三个训练随机种子,MCGPO 的平均成功率均优于对应的 GraphGPO:在使用 Qwen2.5-1.5B 和 7B 的 ALFWorld 与 WebShop 上提高了 0.47–1.46 个百分点,在使用 Qwen3-4B 和 8B 的 WebShop 上分别提高了 3.96 和 5.16 个百分点。ALFWorld 上的提升是在基线成功率已超过 92%、剩余提升空间有限的基础上取得的。在四种 Qwen2.5 设置中,有三种的积分成功率得到提升。采用三个随机种子的析因对照实验支持使用另一数据折的证据和证据加权;状态与评分标准的联合匹配在全部四种表示对照设置中均取得了最高平均值。

arXiv cs.AI82

DualQuant:面向大语言模型的双尺度免校准权重与激活量化

在原生支持 4 位运算的加速器上进行低比特推理,需要同时量化权重和激活,才能充分实现这些格式带来的吞吐量提升。尽管训练后权重量化已得到广泛研究,但激活量化仍然更具挑战性,且通常需要校准数据。在本研究中,我们提出 DUALQUANT,一种双尺度、免校准的训练后量化框架。该框架直接最小化权重重构均方误差(MSE),并由此直接得到激活量化前的逐通道激活重缩放系数。我们的关键观察是,通过最小化权重重构误差得到的缩放因子能够有效地对激活进行重缩放,从而在无需校准数据的情况下实现具有竞争力的激活量化。我们将 DUALQUANT 表述为一个不可微的权重重构问题,并基于变量分裂和分块坐标下降开发了一种高效求解器,其中每个子问题都具有闭式更新解。DUALQUANT 提供了一种统一算法,支持包括完整 MX 系列和 NVFP4 在内的多种格式。据我们所知,DUALQUANT 是首个正式支持 MX 和 NV 块格式的双缩放方法。在 WikiText-2、C4 和零样本下游任务上对 Llama 和 Qwen 模型的评估表明,DUALQUANT 在大多数模型和格式上的准确率达到或超过了基于校准的 SmoothQuant,并显著优于免校准基线方法,在 MX 和 NV 块格式上尤其取得了大幅提升。我们在 RTX 4090 上通过 Llama-3.1-8B 的真实打包 W4A4 推理路径验证了这些提升。最终实现的准确率与伪量化非常接近,同时相较于 BF16,内存占用最高降至其 1/2.61,吞吐量最高提升至其 2.46 倍。

arXiv cs.AI75

任务上下文塑造语言模型中组件的角色

大语言模型在不同任务中复用相同的注意力头,但识别出这些共享注意力头并不能解释它们在各个任务中的作用有何不同。共享脑区之间随任务而变化的交互是一个自然的灵感来源,促使我们从网络视角理解语言模型的计算。在本研究中,我们使用相同的图事实(即指明存在哪些有向连接的陈述),比较固定的模型组件在不同任务中的表现。我们测量干预如何影响注意力头和后续层的激活状态(影响力),以及如何影响答案(重要性)。在涵盖四个模型家族、参数量介于15亿至140亿的五个开放权重模型中,任务变化会重新分配影响力。在 Gemma-2-9B 和 Qwen3-14B 中,激活编辑会改变早期的一个内部激活向量,并在文字指令保持不变的情况下,切换模型读取的事实。随后,相同的注意力头会响应不同的图事实,并以不同方式影响后续组件。对于每个提示,我们构建两个线性响应映射,分别对应编辑前和编辑后。每个映射根据测得的早期注意力头变化,预测后续注意力头的响应。对于另一项针对事实的干预,与两个映射的平均值相比,使用对应条件下的映射可使 Gemma 的均方预测误差降低53.6%,使 Qwen 的均方预测误差降低5.0%。这些发现表明,任务上下文既会改变共享组件响应哪些图事实,也会改变其输出对后续计算的影响方式。基于网络的解释可能有助于说明模型如何利用共享参数执行不同的计算。对任务依赖性影响力的测量,也可以为旨在改变一种行为而保留其他行为的干预提供指导。

arXiv cs.AI73

语言模型能玩 Wikipedia Game 吗?

语言模型越来越多地被用于辅助或自动执行信息检索,从规模过大、难以建立索引的文档集合中查找信息。当这项任务需要专业的语言学或科学知识时,就会变得困难。我们使用 Wikipedia Game,在一项类似的信息检索任务中测试语言模型。在该游戏中,玩家必须仅通过文章链接到达目标文章。我们在五种语言的 Wikipedia 和五个学术文献数据集上,对句子嵌入模型和大语言模型(LLM)进行了比较。我们构建了超大规模的 Wikipedia 页面本地图结构,并利用 OpenAlex 构建了论文引用本地图结构,同时提供了构建和导航这些图结构的代码。这使得研究者无需依赖第三方 API,即可研究语言模型的导航能力。我们将这些模型与人类和 TF-IDF 基准进行了比较。Wikipedia Game 的形式支持跨技术、语言和领域的稳健比较。没有任何模型显著优于人类,但表现最好的模型(GPT-o3 mini、GPT-4o、QwQ:32B 和 DeepSeek-R1:70B)取得了与人类相当的成功率。模型的表现和排名随语言和主题而变化,这对采用这些技术的实践者具有参考意义。

arXiv cs.AI74

BoundaryEvo:面向长链推理蒸馏的能力边界处数据—模型协同演化

从大型教师模型中蒸馏长链推理轨迹,是提升小型语言模型推理能力的一种有效途径。然而,现有方法通常在蒸馏前选定一个固定的训练集,忽略了推理样本的效用会随着学生模型的演化而变化。当只能使用少量教师模型轨迹进行训练时,这种错配的代价尤为高昂。此外,已经掌握的样本几乎无法提供新的监督信号,而远超学生模型能力的样本又可能难以从中学习。因此,训练数据应随着模型能力的演化而调整,但在学生模型初始能力较弱时,很难进行可靠的数据选择。为应对这些挑战,我们的核心思路是先建立基本推理能力,再根据学生模型不断演化的能力边界调整训练数据。我们提出了 BoundaryEvo,一个两阶段的数据—模型协同演化框架。在能力启动阶段,我们直接蒸馏一小组由教师模型生成的长推理轨迹,而不使用单独的模型对其进行评判和筛选,使学生模型在开展能力感知的数据选择之前获得初步推理能力。在能力边界协同演化阶段,我们反复选择当前学生模型尚未掌握、但专家模型能够可靠解决的问题,并随着学生模型的演化更新训练数据。仅使用 1,000 个训练样本,BoundaryEvo 就在 11 个推理基准上持续优于静态和动态数据选择基线,将原始 Qwen3.5-4B 在 IMO-AnswerBench 上的准确率从 62.9 提升至 75.3,在 AMO-Bench 上的准确率从 26.8 提升至 46.0。代码和数据将公开发布。

arXiv cs.AI80

SWE-Critix:通过后训练构建评估编程智能体轨迹的通用验证器

编程智能体正日益被部署用于端到端软件工程任务,而这类任务往往缺乏可直接使用、能够界定成功标准的预言式评估器。因此,有必要为编程智能体构建能够可靠判断并解释其行为的验证机制。然而,随着编程智能体解决长时程软件工程任务的能力不断增强,验证也变得颇具挑战。其执行轨迹可能极其冗长,包含与代码仓库和外部工具的数百次迭代交互。现有验证器要么依赖未经专门训练的通用大语言模型,要么训练主要侧重于生成标量奖励的专用评判器,这表明基于训练的通用验证方法仍未得到充分探索。我们提出 SWE-Critix,这是一个用于训练编程智能体轨迹通用验证器的后训练流程。给定任务及其执行轨迹,训练得到的验证器会预测任务完成标签,并生成自然语言分析来解释其判断。我们的流程将监督微调(SFT)与强化学习(RL)相结合,使用来自 CodeForge-Preview 的轨迹训练了一系列 300 亿参数模型。在预留测试集上,SWE-Critix 将基础推理模型 Qwen3-30B-A3B 的分类准确率从 57% 提升至 SFT 后的 66%,并在 RL 后进一步提升至 78%。我们公开了模型、数据集和训练代码,以促进后续研究。

arXiv cs.AI76

ProgramGym:面向长时程程序复现智能体的训练环境规模化构建

编程智能体正越来越多地像软件工程师一样从零构建程序,而不再局限于解决代码仓库中的问题,或根据给定的需求文档生成代码仓库。然而,能够促使智能体自主发现需求并决定系统设计方式的可扩展、可验证训练环境仍然稀缺。此外,现有智能体工作流也无法支撑智能体在实现前先探索参考程序的长时程开发过程。为应对这些挑战,我们提出 ProgramGym,这是一个由 Program-Env 和 Program-Agent 组成的框架,用于规模化构建长时程程序复现智能体的训练环境。具体而言,Program-Env 通过反馈驱动的循环,修复运行时沙箱构建问题并改善黑盒测试质量,从而基于代码仓库构建可验证的训练环境。利用这一新流程,我们获得了 1,648 个训练环境,涵盖 C、C++、Go 和 Rust。Program-Agent 将分析、实现和审查三个角色相互隔离的工作流与版本修订管理相结合,以支持编译检查和故障恢复。在 ProgramBench 上的实验表明,Program-Env 和 Program-Agent 均能提升程序复现性能。利用这些构建出的环境中的轨迹进行微调后,Qwen3.8-27B 的性能从 34.87% 提升至 42.84%。Program-Agent 进一步将基础模型和 SFT 模型的性能分别提升至 55.71% 和 56.25%,二者均超越了部分旗舰模型。我们将发布 ProgramGym,以支持对从零构建程序的编程智能体开展进一步研究。

The Decoder61

Microsoft's Decision-1 model enters the fast-growing AI decision model race

With Decision-1, Microsoft enters the growing decision model space. Built on Qwen3.5-9B and optimized for fast classification and routing, it hits 83.5 percent accuracy with 85 ms latency across 36 benchmarks, according to the company's own tests. The article Microsoft's Decision-1 model enters the fast-growing AI decision model race appeared first on The Decoder .

MarkTechPost63

Microsoft AI Releases Microsoft-Decision-1: A Qwen3.5-9B Decision-Scoring Model

Microsoft has released Microsoft-Decision-1, a decision model for routing, classification, verification and agent control. Microsoft-Decision-1 is a decision-scoring model that returns a calibrated probability for each fixed answer option instead of generated text. It is post-trained from Alibaba’s Qwen3.5-9B and available now in Microsoft Foundry and OpenRouter. . TL;DR What is a decision model? A […] The post Microsoft AI Releases Microsoft-Decision-1: A Qwen3.5-9B Decision-Scoring Model appeared first on MarkTechPost .

MarkTechPost66

Alibaba Qwen Releases Qwen-Image-2.1-Turbo, an 8-Step 7B Image Model

Alibaba’s Qwen team has released Qwen-Image-2.1-Turbo, an accelerated checkpoint of its open-weight Qwen-Image-2.1 model. It generates and edits images in 8 denoising steps instead of the base model’s 40-step default. For developers, that means 5x fewer denoising steps on the same 7B architecture, plus a hosted API option. TL;DR What is Qwen-Image-2.1-Turbo? Qwen-Image-2.1-Turbo is an […] The post Alibaba Qwen Releases Qwen-Image-2.1-Turbo, an 8-Step 7B Image Model appeared first on MarkTechPost .

arXiv cs.LG84

掩码扩散语言模型是强大且可操控的基于文本的世界模型,适用于智能体强化学习

arXiv:2607.16204v2 发布类型:replace-cross 摘要:强化学习(RL)的近期发展凸显了对多样化、专门化训练环境的需求。随着模型性能提升,由人工精心设计且任务和奖励难度固定的环境所提供的训练信号会逐渐失效,而长时间跨度中的稀疏奖励则会导致模型在特定工作流或工具结构上发生模式坍缩。能够模拟环境状态的世界模型已经达到与纯 rollout 相当的性能,因此有望按需扩展环境多样性。然而,自回归(AR)世界模型存在从左到右的偏置,无法对工具模式、历史轮次和预期结果等全局相互依赖的状态锚点进行条件建模。我们:(i)将基于文本的世界建模形式化为一个可操控的转移动力学问题,将其分解为初始状态、任务上下文、工具模式、领域规则和操控指令;(ii)整理了涵盖九个开源环境和十二个前沿模型系列的239,403条有依据的状态—动作轨迹。我们比较了AR语言模型与掩码扩散语言模型(MDLM),结果表明,MDLM通过双向、锚点感知的去噪,在相近推理延迟下,实现了优于参数规模超过其4倍的LLM的连贯性、基于事实的可靠性和经实证验证的 rollout 多样性。我们提出了一个即插即用的GRPO训练框架,其中包含确定性的状态检查;并在三个分布外(OOD)环境(ScienceWorld、ALFWorld、AppWorld)和三个参数规模为1.2B至7B的智能体骨干模型(LFM2.5、Qwen3、Mistral)上开展零样本迁移消融实验,在无需针对环境进行微调的情况下,相较基线最高取得47%的绝对增益。我们还在对抗性场景下对失败模式进行了行为分析,并针对真实感、结果正确性和训练实用性开展了人工评估。我们将工作开源,以推动这一方向的研究。

arXiv cs.LG71

Minimax PAC Bounds for Learning in Exogenous Contextual MDPs

arXiv:2606.25170v2 Announce Type: replace-cross Abstract: We introduce a PAC framework in which the learner can access sampling oracles both before and at decision time. Sample complexity is measured by a pair $(n,m)$, where $n$ is the learning budget spent before a query is known and $m$ is the additional sampling budget per query. We demonstrate its relevance in discounted Markov decision processes with exogenous i.i.d.\ contexts revealed before acting. Contexts may affect both rewards and transitions but remain uncontrolled by the agent. The learner can sample the unknown context distribution and the transition kernel. We study policy evaluation (PE), best-value estimation (BVE), and best-policy extraction (BPE). When rewards and transitions are known, a variance-reduced algorithm solves all three tasks with sample complexity $\bigl(\widetilde O((1-\gamma)^{-3}\varepsilon^{-2}),0\bigr)$, which is minimax optimal up to logarithmic factors. Let $\mathcal{X}$ be the controlled state space. When transitions are also unknown, we give a PE algorithm with complexity $\bigl(\widetilde O(|\mathcal X|(1-\gamma)^{-3}\varepsilon^{-2}), \widetilde O((1-\gamma)^{-2}\varepsilon^{-2})\bigr)$ and matching lower bounds at this budget pair. For BVE and BPE, we give an algorithm with a common offline budget $\widetilde O(|\mathcal X|^2|\mathcal A|(1-\gamma)^{-4}\varepsilon^{-2})$ and respective query costs $\widetilde O(|\mathcal A|(1-\gamma)^{-2}\varepsilon^{-2})$ and $\widetilde O(|\mathcal A|(1-\gamma)^{-3}\varepsilon^{-2})$. Importantly, all bounds are independent of the context-space cardinality.

arXiv cs.LG80

Agentic Critical Training

arXiv:2603.08706v2 公告类型:replace-cross 摘要:模仿学习(IL)教会语言模型智能体复现专家动作,却无法教会它们区分专家动作与看似合理的错误。自我反思方法让模型接触备选方案,但仍使用监督微调(SFT)去模仿固定的推理过程和动作。我们提出 Agentic Critical Training(ACT),利用带可验证奖励的强化学习(RLVR)直接训练模型判断动作。在每个专家轨迹状态下,ACT 将一个专家动作与一个从初始策略中采样的备选动作配对,并随机化二者的顺序。模型生成自己的推理过程,但只有选择专家动作才能获得奖励。ACT 重用演示数据,不需要参考推理过程,并允许在不同模型规模之间复用动作对。ACT 可作为 IL 之前的预热阶段,也可以选择在其后接入 RL;推理时不需要比较候选项。在 ALFWorld-ID、WebShop 和 ScienceWorld 上使用 Qwen3-8B 和 Olmo-3-7B-Instruct 进行的实验表明,与 IL 相比,ACT 平均提升 5.85 分;与不使用 ACT 的 IL$\to$RL 相比,平均提升 4.12 分,同时还能改善 ALFWorld-OOD 上的表现。在 ScienceWorld 上使用 Olmo 时,完整流程相比 CoT 提示提升 15.36 分,相比不使用 ACT 的 IL$\to$RL 提升 9.23 分。ACT$\to$IL 和完整流程均优于监督式反思基线。采用固定动作对或匹配训练时长的对照实验表明,性能提升源于 ACT 目标,而不是额外数据或训练过程。无需针对推理进行专门的后训练时,独立的 ACT 检查点在 MATH-500 和 GPQA-Diamond 上取得了所评估模型中的最高平均分,表明动作比较能够补充生成能力。

arXiv cs.LG76

MemCalib:LLM Agents中的记忆使用基准测试与优化

arXiv:2609.24259v3 公告类型:替换 摘要:智能体记忆的有效性最终取决于底层LLM是否能让上下文中的每条记忆对其响应产生适当程度的影响。然而,这种能力一直在很大程度上被忽视。为评估这一能力,我们引入了MemCalib,这是一个基于真实记忆系统场景的基准,用于评估记忆使用并推动优化算法的发展。MemCalib测试集上的结果表明,前沿开源和闭源模型都难以恰当地使用记忆。它们经常过度使用或使用不足,而不是让每条命题的实际使用程度与其目标水平相匹配,从而导致响应存在偏差且质量低下。对包括组相对策略优化和在策略自蒸馏在内的常见后训练算法进行实验进一步揭示了明显的方向性偏差:模型经过训练后,会在一个方向上有所改善,却在另一个方向上恶化。因此,我们提出MemCalib-RL,这是一种有序的双向反事实信用分配算法,通过精确的原子消融将过度使用和使用不足的信号分离开来,并将其信用归因定位到响应词元。跨模型系列和规模(Qwen3-8B、Ministral-3-8B-Instruct和Qwen3.5-35B-A3B)的结果表明,MemCalib-RL取得了最佳的总体性能,同时更好地平衡了过度使用和使用不足;在外部基准评估中,其收益也能泛化到MemCalib之外。进一步实验支持了其设计选择和稳健性,并为其训练动态提供了深入见解。

arXiv cs.LG76

无标签引导:将测试时强化学习压缩到仅偏置子空间中

arXiv:2609.18587v3 公告类型:替换 摘要:测试时强化学习(TTRL)使模型无需依赖带标签的训练数据即可提升推理能力,但现有方法通常会优化模型中相当大比例的参数。这引出了一个自然问题:当奖励信号和优化空间都受到严格限制时,是否仍能实现有效的测试时适应?我们通过无标签的仅偏置 TTRL 回答了这一问题。该方法使用多数投票伪标签作为奖励,仅优化约 100K 个偏置参数,同时冻结预训练骨干网络。在 MATH-500 上,我们的方法使用 Qwen2.5-7B 达到 76.67% 的准确率,略高于我们对有标签偏置引导方法的复现结果,同时相比全参数 TTRL 优化的参数数量减少了 76,000 倍。同一训练流程还提升了模型在视觉-语言和音频推理任务上的表现,包括 MathVista、AI2D、LogicVista 和 MMAU。我们进一步表明,学习到的引导向量能够迁移到 4,500 个留出的 MATH 问题上,说明这种适应并不局限于测试时优化所使用的问题。最后,我们分析了这种高度受限的适应为何能够奏效,发现多数投票的可靠性会随着 rollout 一致性的提高而提升,而具有更高可访问梯度能量的偏置子空间则表现出更强的下游可训练性。这些结果表明,仅使用完全无标签的奖励来优化一个极小的仅偏置子空间,也能实现显著的测试时适应。

arXiv cs.LG65

Quantum Multi-Armed Bandits and Linear Bandits: Lower Bounds and Algorithms

arXiv:2608.14319v2 Announce Type: replace Abstract: We study quantum multi-armed bandits (QMAB) and quantum linear bandits (QLB), where the learner queries each arm or action through a quantum reward oracle or its inverse. Prior work gives algorithms over horizon $T$ with regret $O(K\log T)$ for QMAB with $K$ arms and $O(d^2\operatorname{polylog} T)$ for $d$-dimensional QLB. This leaves open the optimal dependence on $K$ and $T$ and whether the dependence on $d$ can be further improved. In this work, we prove the first tight minimax regret bound of $\Theta(K\log(1+T/K))$ for QMAB and the first lower bound of $\Omega(d\log(1+T/d))$ for finite-action QLB, ruling out regret independent of $T$. Our lower bounds rely on a high-confidence single-arm quantum testing lower bound for distinguishing a fixed reward mean from an interval of alternatives. A bandit-to-testing reduction then lifts it to the QMAB lower bound, while a linear embedding gives the finite-action QLB lower bound. The matching QMAB upper bound is obtained using a tail bound for the Quantum Monte Carlo (QMC) estimator. For finite-action QLB, we propose a phased elimination algorithm that combines a low-bias low-variance quantum mean estimator with a small-support $G$-optimal design through a query allocation matched to the design weights. When the action set has size $\operatorname{poly}(d)$, its regret is nearly linear in $d$ and matches our lower bound up to polylogarithmic factors.

arXiv cs.LG73

扰动二阶校准的极小极大速率

arXiv:2605.07808v2 公告类型:替换 摘要:二阶校准误差刻画了高阶预测器的认识不确定性估计与其水平集上标签概率的条件方差之间的匹配程度。我们刻画了在对分类器输出施加小扰动的情形下,二分类中二阶校准误差估计的极小极大速率。我们的方法十分简单:向分数坐标添加相互独立、带宽为 $h$ 的 sech 噪声,然后使用低阶多项式,根据扰动后的分数对 $Y^{(1)}$ 和 $Y^{(1)}Y^{(2)}$ 进行回归。关键在于,sech 扰动使校准函数在适当的带状区域内解析。所得估计器的误差为 $O_h(\log^{3/2}n/\sqrt n)$,且具有显式常数。在相同设置下,一个匹配的 $\Omega(1/\sqrt{n})$ 下界表明,该方法除对数因子外达到了极小极大最优性。作为推论,我们给出了扰动二阶 Platt scaling 的有限样本保证,从而得到一种事后处理方法,可同时重新校准扰动高阶预测器的均值预测和认识方差估计。与此同时,我们给出了二阶校准误差的显式双矩公式,并定量地将其与 Ahdritz et al. [2025] 的分桶公式联系起来。实验结果验证了所预测的速率以及重新校准后不确定性的质量。

arXiv cs.LG73

Provably Efficient Offline-to-Online Value Adaptation with General Function Approximation

arXiv:2604.13966v2 Announce Type: replace Abstract: We study value adaptation in offline-to-online reinforcement learning under general function approximation. Starting from an imperfect offline pretrained $Q$-function, the learner aims to adapt it to the target environment using only a limited amount of online interaction. We first characterize the difficulty of this setting by establishing a minimax lower bound, showing that even when the pretrained $Q$-function is close to optimal $Q^\star$, online adaptation can be no more efficient than pure online RL on certain hard instances. On the positive side, under a novel structural condition on the offline-pretrained value functions, we propose O2O-LSVI, an adaptation algorithm with problem-dependent sample complexity that provably improves over pure online RL. Finally, we complement our theory with neural-network experiments that demonstrate the practical effectiveness of the proposed method.

arXiv cs.LG82

WOVEN:将视觉世界建模融入多模态LLM

arXiv:2610.12417v1 公告类型:cross 摘要:多模态大语言模型(MLLMs)在空间、具身、物理和时间推理方面表现不佳。我们假设,这些失败反映出一种共同的视觉状态转移推理能力缺陷,并检验该能力能否作为一种共享训练原语:不同模型可以从不同监督来源中学习这一能力,并将其复用于不同任务,同时采用系统化的训练方案。现有基准分别记录了这些缺陷,但不支持跨场景、动作和推理操作的受控比较。因此,我们提出WOVEN——一个用于视觉状态转移推理的训练数据源和基准。WOVEN按照场景、动作和推理类型组织转移监督,使用由视频预训练生成模型产生的多样且逼真的演化过程数据:涵盖20种场景类型、5种动作类型和8种推理类型,共36,076个样例。我们首先评估了38个前沿MLLMs(例如GPT-5.4和Qwen3-VL-235B-A22B),发现了显著且系统性的能力缺陷:即使是最强的模型,表现也远低于人类;这些失败在不同模型系列中反复出现,并且随着模型规模扩大仍然存在。随后,我们在多个规模上使用WOVEN训练MLLMs,发现它们学会了一种能够广泛迁移的共享能力:仅分别使用约2,000条样本训练的子集,就能使26个外部基准中的22个得到提升,最高提升27.3个百分点;此外,在保持相当准确率的情况下,WOVEN数据可以替代某项任务自身训练数据的30%至50%。进一步的受控比较得出了一套视觉世界建模训练方案,并在预留基准上进行了前瞻性验证:应根据监督所教授的推理操作来选择监督数据,而不是根据其呈现的动作、场景或领域来选择;同时,为增强鲁棒性,应优先选择视觉状态变化更大的数据。我们的工作确立了视觉状态转移推理作为一种可复用的基础能力,用于在MLLMs中开展系统性的视觉世界模型训练。

arXiv cs.LG78

Subspace Uncertainty and Sharp Sampling Thresholds on the Boolean Cube

arXiv:2610.12358v1 Announce Type: cross Abstract: We study Gaussian regression under squared population $L_2$ loss in a known $m$-dimensional subspace of degree-at-most-$k$ functions on the $d$-dimensional Boolean cube. Random inputs can undersample regions essential for prediction, delaying the parametric rate even when the model is known. For fixed $q_0<1/2$, $1\le k\le q_0d$, and sufficiently large fixed $A$, the worst-subspace sample threshold for minimax error $A\sigma^2(m+t)/n$ with confidence $1-e^{-t}$, $t\ge\log4$, is \[ N=(m+t)\exp\{E_{d,k}+O(k^{1/3})\}, \quad E_{d,k}=d\Psi(k/d), \] where $\Psi(q)=\log2-\mathsf H(\tfrac12-\sqrt{q(1-q)})$ and $\mathsf H$ is binary entropy with natural logarithms. The upper bound holds for every feasible $m$; the matching lower bound holds when $m\le\binom d{\lfloor k^{1/3}\rfloor}$ or $t\ge m$. We sharpen the Polyanskiy--Samorodnitsky uncertainty principle in two respects. First, for fixed leakage $\rho\in(0,1)$, the smallest set carrying a fraction $1-\rho$ of a nonzero degree-at-most-$k$ polynomial's energy has probability $\exp\{-E_{d,k}+O_{\rho,q_0}(k^{1/3})\}$. An Airy-kernel construction proves that the remainder cannot be $o(k^{1/3})$ in general. Second, we construct a subspace of dimension $\binom d{\lfloor k^{1/3}\rfloor}$ such that every function in the subspace has at least a fraction $1-\rho$ of its energy on the same set, whose probability is at most $\exp\{-E_{d,k}+C_{\rho,q_0}k^{1/3}\}$. For sufficiently large $k$, this set is a Hamming ball. A striking consequence is an exponential cost of noise: the parametric rate can require $(m+t)4^k\exp\{-O(k^{1/3})\}$ samples, whereas $O((m+t)2^k)$ suffice for noiseless identification. As $k\to\infty$ with $k/d\to0$, the noisy threshold is $(m+t)\exp\{2k+o(k)\}$.

arXiv cs.LG79

海报:LLM 蒸馏推断的初步研究

arXiv:2610.12137v1 发布类型:cross 摘要:未经授权的模型蒸馏,即利用专有大型语言模型(LLM)的输出训练模型,正日益成为模型提供商面临的威胁。我们研究蒸馏推断:判断一个可疑模型是从另一个模型蒸馏得到的,还是独立训练得到的。我们将这一问题表述为假设检验,并通过训练影子模型来估计每个假设下的预期行为:蒸馏影子模型从教师模型的推理轨迹中学习,而独立影子模型仅从参考答案中学习。审计者衡量每个模型对教师模型推理输出的预测接近程度,然后利用影子模型将可疑模型的得分转换为经过校准的 p 值。在一项以 Qwen2.5-7B 为教师模型、以 Llama-3.2-3B 为可疑模型的初步研究中,我们的检验在显著性水平为 0.02 时达到了 1.0 的真阳性率。这些结果表明,利用蒸馏推断检测蒸馏攻击是可行的。

arXiv cs.LG72

Internalizer:面向超大型语言模型的可移植上下文到参数映射

arXiv:2610.11715v1 公告类型:cross 摘要:将上下文直接映射为 LoRA 适配器的超网络能够让大型语言模型将该上下文携带在其权重中,但已有工作仅在最多拥有 140 亿参数的基础模型上进行了验证。我们提出了 Internalizer,这是一种先进的、可移植的上下文到参数映射超网络,能够为冻结的、拥有 284B 参数的 DeepSeek v4 Flash 生成文档特定的 LoRA 适配器;其目标模型规模比以往任何工作都大两个数量级。它的大部分参数都位于与模型无关的主干网络中,每个基础模型仅需配备轻量的输入层和输出层,因此可以先针对小型模型以较低成本训练,再迁移到大型模型上。在长度最多为 4096 个词元的未见文档上,即使上下文窗口中除一个三个词的指令外没有任何内容,生成的适配器仍能达到 84.9% 的 top-1 和 97.8% 的 top-5 教师强制准确率,而基础模型对应的准确率分别为 63.4% 和 83.5%。超网络训练完成后,只需一次前向传播,就能将任意文档转换为适用于这类模型的适配器;该适配器既可以单独提供服务以提升速度,也可以与文档一同放入上下文窗口中,从而进一步提高准确率。

arXiv cs.LG80

运行框架演进触及上限:何时应开始权重训练

arXiv:2610.11655v1 公告类型:cross 摘要:要改进一个长时程 LLM agent,可以演进围绕冻结模型的运行框架,也可以训练模型权重。我们先让自演进运行框架增强系统,然后将初始运行框架和演进后的运行框架分别与基础权重和训练后权重交叉组合,以了解训练后的模型保留了哪些增益,以及哪些增益仍然需要运行时支持。我们发现,可以从 agent 的失败构成中判断应采取哪种正确手段:按照最先触发的信号标记失败轨迹,可以将过程失败(调用受阻、循环、步骤预算耗尽)与内容失败(已交付的计划质量不佳)区分开来。运行框架演进能够修复前者,它引入的行为可以训练进权重,而内容失败正是权重训练要解决的问题。在 DeepPlanning 上,自演进运行框架循环将 Qwen3.5-4B 的留出集得分从 0.16 提升至 0.30,将 Qwen3.5-9B 的留出集得分从 0.32 提升至 0.44;对于 4B,留出集交付率从 55% 上升到 90%,而内容失败则留待权重处理。在演进后运行框架的轨迹上训练的 LoRA 适配器能够将这一增益内化:在原始运行框架下,两种规模的模型在留出任务上均增加了 +0.13;对于 4B,适配器与运行框架叠加后,留出集得分提升至原来的两倍以上;对于 9B,仅使用适配器就能达到完整演进流程的效果,并将内容失败率从四分之一的轨迹降至二十分之一。使用答案打乱后的轨迹训练的安慰剂适配器,其表现低于基础模型。该循环还迁移到了 WebArena-Lite(在 117 个未见任务上提升 +0.09),其中增益来自模型所看到的内容,适配器不会进一步增加这一增益。其结论是一条应用两次的“先诊断、后干预”规则:先读取失败构成,在运行框架与权重之间进行选择;然后查看已接受的编辑改变了什么,以决定训练哪些增益。除非特别标注,分数均为针对新鲜锚点进行四次 rollout 的平均值,且在同一晚完成评测;实验涵盖来自六个模型家族的八个模型和两个基准。

arXiv cs.LG76

持续机器遗忘的极小极大高斯机制

arXiv:2610.11628v1 公告类型:cross 摘要:机器遗忘在删除记录后更新已训练模型,旨在无需重复完整训练过程而实现与精确重新训练相匹配的效果。我们针对连续删除请求下的 Newton 更新,构建了高斯机制。利用高斯差分隐私(GDP)及其自适应组合规则,我们证明,所发布模型的完整序列在统计上难以与相匹配的精确重新训练结果区分。为校准这些用于经验风险最小化的机制,我们推导了 Newton 近似相对于精确重新训练的误差上界,以及每个删除批次之后该误差变化的上界。独立高斯噪声利用每次发布时完整残差的界进行校准,而高斯随机游走噪声则利用残差增量的更小界进行校准。在由此得到的 GDP 认证约束下,这些界给出了使各次发布中的最坏情况下最大噪声方差最小化的分配方案。基于计数的界表明,当删除上限为 $M$ 时,随机游走噪声的渐近最坏情况方差与单次发布的方差相匹配,而独立噪声则额外产生一个 $M$ 阶的因子。基于集合的界可以利用被删除记录的梯度和 Hessian,从而降低噪声方差。对于单条记录删除,我们进一步证明,在各自的残差界或增量界下,基于计数的独立噪声、基于计数的随机游走噪声和基于集合的独立噪声,在固定高斯协方差中分别是极小极大的。在使用基于集合的界时,允许方差随被删除记录自适应变化,在某些数据序列上可相对于任何固定协方差提升一个 $(\log M)^2$ 阶的因子。残差界和噪声界还可在所有删除策略下,相对于精确重新训练保证参数一致性和预测一致性。我们通过模拟实验和信用违约数据分析,评估了这些界、噪声方差和估计误差。

arXiv cs.LG75

平滑稀疏混合专家模型的 Top-k 暴露边界

arXiv:2610.11575v1 发布类型:cross 摘要:稀疏混合专家模型能够在保持每个 token 固定计算预算的同时,高效扩展参数容量。然而,传统训练范式会固定选择 top-$k$ 个专家,将连续的路由分布转换为僵硬的阶跃函数。这一约束引入了一个脆弱的边界:高度竞争的专家会因微小的分数波动而被任意划分到完全监督区和零反馈区。为解决这一问题,我们提出 Elastic Expert Routing,从以 $k$ 为中心的局部离散分布中随机采样当前激活的专家预算。在多次训练迭代中,该机制将尖锐的阈值软化为渐进式概率分布。由于采样邻域保持对称,该方法在保留推理预算的同时,使期望计算成本与确定性训练相匹配。在监督微调和从头预训练设置下的大量实验均证明了该方法的有效性。在监督微调中,弹性路由使 OLMoE-1B-7B 和 Qwen3-30B-A3B 的下游宏平均得分分别提升 $+0.84$ 和 $+2.02$ 个百分点。此外,在从头预训练中,与静态 top-$k$ 基线相比,该方法在各项下游任务上的平均得分高出 1.6 个百分点。

arXiv cs.LG74

面向嵌入式软件开发的 LLM 智能体闭环评估

arXiv:2610.11447v1 公告类型:cross 摘要:大型语言模型(LLM)正日益被部署为编码智能体,用于编辑文件、运行构建和测试、检查执行结果,并迭代修复软件。嵌入式固件是一个要求很高的目标,因为正确性不仅取决于静态源代码质量,还取决于在感知、时序和安全约束下的闭环行为。然而,目前对嵌入式智能体的评估仍然有限,且通常侧重于一次性生成或离线正确性。我们提出了一个用于闭环评估嵌入式编码智能体的基准。每项任务都提供纯文本工程描述、受约束的工作空间,以及可见的构建与运行时接口。智能体必须将需求转化为实现和自验证步骤,然后持续迭代,直到实现所要求的设备行为。该测试集包含五项嵌入式控制任务和四种反馈场景:一次性生成、真实的自验证、CI 风格的红/绿反馈,以及 oracle 风格的详细反馈。为确保可复现性,实现目标为模拟的 ESP32 固件。我们在五项任务和四种场景下评估了七种 GPT-family 和 Qwen-family 配置,每种条件重复三次,共进行 420 次运行。gpt-5.4 在所评估的配置中通过率最高,但尚未达到该基准的饱和水平;qwen3.5-27B 是观测到的最强本地模型;而规模更小的本地模型在通过率和搜索效率方面均显著下降。这些结果表明,能力出色的本地嵌入式编码智能体正在逐渐出现。

arXiv cs.LG83

RaReCache: Bridging the Gap in Cross-Model KV Cache Reuse via Rank disagreement-based Selective Recomputation

arXiv:2610.11358v1 Announce Type: cross Abstract: Cross-model KV-cache reuse remains a key challenge in modern LLM serving. Coding agents and multi-model systems increasingly route a shared context across models: a user may switch models mid-session, or a cascade may escalate a difficult query. Because KV caches contain model-specific representations, each switch typically forces the receiving model to prefill the entire context from scratch. Recent work shows that closed-form linear maps can translate KV caches between models in the same family, but transfer accuracy degrades as the model-size gap widens. In this paper, we establish that these transfer failures are concentrated in a small subset of information-dense tokens. To bridge this gap, we introduce RaReCache, a framework that enables a large target model to decode accurately from a cache prefilled by a much smaller source via selective recomputation. RaReCache identifies these critical positions using a novel rank disagreement metric, scoring each token by the energy of its mapped KV in output directions weakly supported by the calibration data. Across two model families and five benchmarks, on a 23x parameter gap (Qwen3-0.6B to 14B) recomputing just 30% of positions retains 95-99% of the target accuracy, whereas on a 8.8x gap (Llama3-8B to 70B), recomputing 40% retains 96.5% of the target accuracy. RaReCache largely removes sensitivity to source-model size, and achieves up to a 3.04x prefill speedup. For online serving, it handles 1.8x the request throughput of target prefill on a single GPU, and at the target's saturation load, reduces median and 99th-percentile time-to-first-token (TTFT) by 5.0x and 6.4x respectively, with a 30% recompute budget. RaReCache establishes an efficient serving paradigm where small models prefill on behalf of massive targets, enabling large models to recompute only critical tokens, drastically reducing prefill latency.

arXiv cs.LG75

DivMoE:通过跨领域专家组合实现细粒度 MoE 增量升级

arXiv:2610.11317v1 公告类型:cross 摘要:混合专家(MoE)架构已成为扩展大型语言模型的关键技术,近期研究表明,细粒度专家设计具有显著优势。从头开始训练此类模型成本高昂,而利用预训练稠密模型进行稀疏化升级是一种颇具吸引力的替代方案。然而,我们发现了细粒度升级中的一种结构性缺陷:当细粒度专家源自同一个源模型时,朴素路由会发生坍缩,导致下游准确率降至接近随机水平(例如,在 Qwen3-1.7B 上,Drop-Upcycling-fine-grained 在 15 个基准测试中的平均准确率仅为 23.2%,与从头训练的 22.2% 基本相当,而同一方法的粗粒度版本则达到 50.2%)。我们提出 DivMoE,这是首个能够实现具备结构均衡路由的细粒度 MoE 增量升级框架。DivMoE 引入了领域专用的细粒度专家初始化方法:从经过领域自适应持续预训练的稠密模型中构建专家;同时引入多样性约束路由,通过硬性结构约束确保每个 token 激活来自不同领域组的专家。在两个基础模型和 15 个基准测试中,DivMoE 始终优于六种升级基线(在 Qwen3-1.7B 上达到 55.6%,而最强基线为 51.6%),并且在 Stage 2 持续预训练后,在每项基准测试中都严格优于稠密基础模型,从而弥合了困扰以往细粒度升级方法的性能回退差距。在公开推理混合数据上进行监督微调后,我们的 12B 参数 DivMoE 模型以 64.5% 的平均准确率达到了 Moonlight-MoE(16B)的水平,同时比受控的 NVIDIA-Upcycling 基线高出 6.1 个百分点。

arXiv cs.LG77

V-CoLA:采用线性注意力的视觉令牌压缩

arXiv:2610.11251v1 公告类型:交叉领域 摘要:视觉语言模型(VLM)展现出了令人印象深刻的能力,但由于视觉令牌占据输入序列的主要部分,因而面临显著的计算开销。这推动视觉令牌压缩成为减轻计算负担的关键方向。然而,随着融合线性注意力的混合架构(例如 Qwen3.5)的出现,针对 softmax 注意力设计的既有方法难以实现泛化。我们的分析表明,基于注意力和基于相似度的方法都会遭遇明显的性能下降,凸显了针对这一场景设计压缩方法的迫切需求。为此,我们提出了 \textbf{V-CoLA},一种专为线性注意力设计的高效、无需训练的令牌压缩框架。V-CoLA 引入了一种新颖的\textit{感知独特性的​​重要性准则},用于识别关键视觉令牌,并结合\textit{自适应令牌合并策略}执行压缩。所有组件均在实现层面进行了优化,以保持与线性注意力的分块并行机制兼容,从而确保较高的实际应用价值。在多个基准上的大量实验表明,V-CoLA 具有优越性能:仅使用 50.0\% 的视觉令牌即可达到原始性能的 99.5\%,在视觉令牌数量减少至 12.5\% 时仍能达到 88.0\% 以上的性能,同时实现 1.86$\times$ 至 6.15$\times$ 的预填充加速。

arXiv cs.LG65

BRACE: Differential Privacy for Dense Associative Memory with LSR Energy

arXiv:2610.11218v1 Announce Type: cross Abstract: Dense associative memory (DAM) provides an energy-based framework for memory retrieval with close connections to attention mechanisms in modern artificial intelligence. Despite growing interest in differential privacy for AI, the privacy of DAM retrieval dynamics remains relatively unexplored. In this paper, we develop a differential privacy framework for log-sum-ReLU (LSR) dense associative memory, whose finite-support retrieval dynamics pose distinctive challenges for privacy-preserving computation. We propose the Boundary-Responsive Adaptive Correction Evolution (BRACE) algorithm, a differentially private retrieval mechanism for LSR-DAM that adaptively corrects boundary-sensitive perturbations to control their cumulative effect over the retrieval trajectory. In theory, we prove that our method is minimax optimal by deriving dimension-independent terminal and full-trajectory retrieval error rates, with optimal dependence on the inverse temperature and, in the growing-horizon regime, the retrieval horizon. We further establish central limit theorems that enable uncertainty quantification for private retrieval by characterizing its asymptotic distribution and the additional variability introduced by privacy. Numerical experiments compare our proposed method with baseline differential privacy approaches and evaluate its retrieval accuracy. Together, our results provide a theoretical foundation for optimal privacy-preserving retrieval and uncertainty quantification in energy-based associative memory systems.

arXiv cs.LG73

LadderEdit:面向LLM高效终身编辑的编辑级残差压缩

arXiv:2610.11160v1 公告类型:cross 摘要:LLM的终身编辑需要在完成获取后存储数千次编辑。一类广泛使用的方法是为每次编辑附加一个LoRA适配器,这能够保持模型行为,但存储量会线性增长。为应对这一挑战,我们提出LadderEdit,一种在获取每个LoRA适配器后对其进行压缩的方法。每次编辑首先以低秩形式存储,作为低成本的草图。随后,我们在探测提示上检查该草图是否仍满足改写、泛化和局部性约束。通过检查的编辑保留草图;未通过的编辑则沿着秩梯级提升至更高秩,直至满足约束。由于每次编辑都保留了一定的表示,覆盖范围得以维持,只有困难编辑会消耗更多秩。在LLaMA-3-8B、Mistral-7B和Qwen2.5-7B上的ZsRE、CounterFact和WikiBigEdit基准测试中,LadderEdit在内存占用减少5.2倍的情况下达到与完整LoRA存储相当的效果,并且在连续进行50,000次编辑时仍保持有效。

arXiv cs.LG66

A General $\widetilde{\Omega}(\sqrt{T \gamma_T})$ Lower Bound for Kernel Bandits

arXiv:2610.11082v1 Announce Type: cross Abstract: The kernel bandit problem consists of sequentially optimizing an unknown function with noisy feedback, where the function has bounded norm in a given Reproducing Kernel Hilbert Space (RKHS). A central quantity in the regret analysis of kernel bandits is the maximum information gain $\gamma_T$. In particular, the best existing upper bounds scale as $\sqrt{T\gamma_T}$ up to log factors, and nearly-matching lower bounds have been derived for specific kernels such as squared exponential and Mat\'ern. However, lower bounds for general kernels are lacking, thus making it unclear in what generality the upper bounds are near-optimal. In this paper, we establish a general $\Omega(\sqrt{T\gamma_T/\log T})$ minimax regret lower bound for non-constant continuous kernels on compact domains, establishing near-optimality (within log factors) in a very general sense. We show that the log factor appearing in this bound is unavoidable in general, but that it can be removed under certain conditions. Among other things, our findings imply that the minimax-optimal scaling is exactly $\Theta(\sqrt{T\gamma_T})$ (i.e., within constant factors) for the Mat\'ern-$\nu$ kernel with $\nu \in (0,2)$, $\gamma$-exponential kernel with $\gamma \in (0,2)$, and certain piecewise-polynomial kernels.

arXiv cs.LG81

一种用于中期提前时效全球日尺度火点辐射功率预测的图神经网络

arXiv:2610.11022v1 公告类型:cross 摘要:提前数天准确预测生物质燃烧活动对于空气质量预报和气溶胶预测十分重要。本研究由两个业务运行约束所推动。首先,用于初始化 NOAA 的 GEFS-Aerosols 的 GBBEPx 卫星火点辐射功率(FRP)产品存在约1.5天的延迟,因此每个预报循环都依赖于最新可用、但实际上已经过时的火灾观测。其次,在随后的5天业务预报中,这些火灾输入会保持不变;在 GSL 实验系统中则保持7天不变,这实际上假设火灾活动不会发生变化。我们开发了一种数据驱动模型,可根据最新可用观测,预测未来1至7天的全球 FRP。该模型基于时空图神经网络进行改进,使用再分析气象资料、土地覆盖和植被信息、近期火灾历史,并以 GBBEPx FRP 作为训练目标。模型使用2020—2022年的数据进行训练,并在2023—2024年进行评估。模型再现了全球季节变化周期,且性能显著优于持续性预报。在0.1$^\circ$分辨率下,2023年提前1天和7天的均方误差分别降低32%和43%,2024年分别降低24%和40%。在1$^\circ$分辨率下,临界成功指数介于0.32和0.60之间。随着提前时效增加,探测能力仅小幅下降,而强度预报能力下降得更快。模型能够可靠地探测大型火灾,但会系统性低估其辐射功率。这些结果表明,火灾活动在提前数天的时间尺度上具有较好的可预报性,并指出在预测的 FRP 能够支持业务气溶胶预报之前,强度校准和小火点定位仍是主要挑战。

arXiv cs.LG79

在原始视频上对语言模型进行中期训练

arXiv:2610.11019v1 公告类型:cross 摘要:多模态大语言模型主要从图文配对数据或带注释的视频中学习,而原始网络视频很少被用于进一步训练现有语言模型。我们研究了没有字幕且不使用文本损失的原始视频,能否作为预训练语言模型的中期训练数据。我们将视频帧编码为连续视觉标记,并让语言模型学习预测下一个视觉标记。我们使用来自 YT-Temporal-1B 的原始视频片段对 Qwen3-1.7B 进行中期训练,随后对该模型和未经中期训练的模型采用相同的图像-文本指令微调,使两者仅在中期训练环节存在差异。经过中期训练的模型在四项视频基准测试中的平均得分高出 2.9 分,在十项图像基准测试中的平均得分高出 5.1 分,涵盖感知、文档和图表任务。尽管中期训练不包含文本,文本性能仍得以保持:在 14 项文本基准测试中,平均得分为 48.9,而未经中期训练的模型为 48.0。训练过程分析表明,图像和视频方面的提升在训练进度达到 30% 以内时便已显现,此后趋于平台期,变化幅度小于 0.5 分。预测字幕并未优于预测下一个视觉标记,这表明视频中期训练可以完全保持自监督形式,无需承担自动字幕生成带来的计算开销或标注噪声。

arXiv cs.LG80

StoreBench:用于评估和训练自主运营代理的实时电商环境

arXiv:2610.10942v1 公告类型:cross 摘要:强化学习环境如今已成为后训练阶段提升大语言模型(LLM)能力的主要手段之一,但大多数智能体基准仍然是静态的:世界只有在智能体采取行动时才会推进,奖励是终局判定,及格线也被任意设定。我们推出 StoreBench,这是一种实时电商环境,智能体在生产级电商后端上运营一家中型在线服装店,在不确定性下考验长期规划能力和经济判断力。顾客全天候下单,供应商重新定价并可能失效,市场冲击也会在几乎没有预警或完全没有预警的情况下到来。智能体通过与人类运营者所使用的相同的 29 个商家工具进行操作,并受窗口化操作预算约束,使模拟时间成为所采取行动的函数,因此模型延迟不会影响模拟时间。及格阈值依据脚本化锚定策略进行校准,奖励机制经过加固以抵御一系列奖励投机行为,并且在给定行动序列的情况下,每个回合都能被完全一致地重放。我们在 11 个持续 30 至 45 天的场景和一个完整模拟年度上,对七个前沿 LLM 进行了评估;所有评估均使用三个世界随机种子,并匹配推理投入。平均而言,没有任何模型能达到脚本化 smart-triage 策略的水平:表现最佳的 DeepSeek-V4-Pro 在任务—随机种子单元格中的通过率为 49%,而启发式策略为 97%。使用相同工具和预算的人类专家得分超过所有模型(综合平均分为 0.708,而模型为 0.700)。在 Claude Code 工具框架下运行完整模拟年度时,大多数模型的性能都出现了显著提升。在一次 GRPO 后训练实验中,仅使用五个互不重叠的任务训练的 Qwen3.5-27B,将其在留出的评估任务上的综合平均分从 0.136 提升至 0.373。我们发布了五个训练集示例任务、十条示例轨迹,以及评分和验证工具;为避免基准受到污染,完整环境和评估套件暂不公开。

arXiv cs.LG80

论时间管理:迈向守时且高效的时间预算型 AI 智能体

arXiv:2610.10833v1 发布类型:cross 摘要:我们研究小型 LLM 智能体能否在明确的实际时间预算下有效运行,即既遵守分配的运行时长,又高效利用可用时间。我们在 MLE-Bench Lite 的五项竞赛中评估 Qwen3.6-27B,并在 Zork I(Jericho)上评估 Qwen3-4B。这两个智能体基准测试中,额外的计算时间都能切实提升性能。在最简单的设置中,预算仅在提示词中说明,智能体无法将所述预算转化为对时间的受控使用。这些失败源于时间感知方面的不足:一方面,测试框架不提供计时反馈;另一方面,智能体无法可靠地预估行动所需的时长,也没有学会将可用时间映射到合适策略。我们研究了两类互补的干预措施:通过测试框架公开计时信息并强制执行截止时间的机制,以及采用预算感知奖励的强化学习。通过测试框架注入计时信息后,Qwen3.6-27B 对预算的遵守程度显著提升,且性能没有可测量的损失;加入强制执行机制后,预算遵守程度进一步提高。在 Zork I 上,使用 GRPO 的强化学习实现了近乎完美的预算遵守,并且能够泛化到训练期间未见过的保留预算;但在 MLE-Bench 上,与未经训练的测试框架相比,它并未提升任务性能。当智能体能够遵守预算后,它们仍然无法利用额外时间提升任务性能。经过强化学习训练的策略学会了何时停止,但往往会通过重复行动来填满额外时间;而在多个预算上进行 GRPO 训练,往往会使策略趋向于为最短预算学到的策略。我们的结果揭示了时间遵守与高效时间分配之间的差距,而这仍然是预算条件型智能体面临的核心挑战。

arXiv cs.LG70

Plan-and-Patch: Diffusion Language Models for Agentic Planning

arXiv:2610.10786v1 Announce Type: cross Abstract: Planning is increasingly important for long-horizon agents, where successful execution requires coordinating subgoals, tool use, and intermediate outcomes over many steps. Yet assumptions made during planning may be invalidated by the environment, tools may return unexpected results, or actions may fail. Effective agents must therefore not only generate plans, but also revise them. Such revisions often affect only part of a plan, leaving the preceding and subsequent structure intact. Rather than regenerate the entire plan and risk unnecessary changes, repair can regenerate the affected region conditioned on the preserved prefix and suffix. We introduce Plan-and-Patch, a plan-and-act framework in which a diffusion language model (dLLM) generates a structured, program-like plan through parallel unmasking and repairs it by filling in selected regions while keeping the surrounding steps fixed. We compare DreamReasoner-8B and Qwen3-8B as diffusion and autoregressive (AR) planners. On Natural Plan without task-specific training, diffusion (53.7%) achieves nearly twice the plan repair success rate of AR (27.0%). After task-specific training on agentic benchmarks, ALFWorld and TextCraft, the planners achieve similar observed success in plan generation, while diffusion reduces mean plan-generation latency by 39-46% relative to AR. Our results show that Plan-and-Patch provides a framework for faster plan generation and effective plan repair in long-horizon agents.

arXiv cs.LG77

SparseDecoding:面向准确高效 LLM 推理的解码感知剪枝

arXiv:2610.12327v1 公告类型:新 摘要:大型语言模型(LLM)推理的解码阶段具有内存受限特性,会带来显著延迟。由 Hessian 引导的逐层免训练网络剪枝方法一直是解决这一问题的重要方案,因为剪枝能够减少解码过程中从内存读取的非零参数数量。然而,这类典型方法通常使用预先收集的自然序列计算 Hessian,而模型在解码过程中接收的是自行生成的 token,从而导致这两类序列之间出现分布偏移。在自然序列上计算得到的 Hessian 与在生成序列上计算得到的 Hessian 并不相同。我们观察到,这种差异会使生成过程中的激活分布偏离用于剪枝的激活分布,进一步降低剪枝模型的性能。此外,现有大多数能够带来实际加速的 LLM 剪枝方法主要针对稀疏矩阵-矩阵(SpMM)乘法,而对在解码过程中占主导地位的稀疏矩阵-向量(SpMV)运算支持有限。为解决这些问题,我们提出 SparseDecoding,这是一种面向准确高效 LLM 解码的原理性解码感知剪枝框架。具体而言,在算法层面,SparseDecoding 从稠密模型的自回归生成过程中收集逐层激活,并基于这些激活构建校准矩阵,同时排除 prefill 阶段,从而使剪枝目标与解码激活保持一致。在系统层面,我们开发了一种经过优化的 N:M 稀疏矩阵-向量内核,采用位掩码索引和固定步长遍历。针对代表性 LLM(Llama-3.1-8B、Llama-3.3-70B、Qwen3-14B / 32B)的大量实验证明,与标准固定文本校准相比,我们的方法在长文本生成基准测试中始终表现更优,并且在 A100 GPU 上实现了最高 1.48 倍的端到端实际解码加速。

arXiv cs.LG79

A Closer Look at Agentic BBO: Benchmarking LLM Agents for Black-Box Optimization

arXiv:2610.12183v1 Announce Type: new Abstract: Black-box optimization (BBO) arises in many scientific and engineering problems where objective evaluations are expensive and limited. Recent large language model (LLM) agents offer a new way to approach BBO by combining task semantics, computation, optimization tools, and feedback-driven decision making, showing great potential due to the integration with mathematically rigorous tools. However, existing agentic BBO studies use different task domains and system configurations, making their results difficult to compare and the effects of individual design choices hard to isolate. We therefore introduce AgenticBBO-Bench, a cross-domain benchmark for agentic BBO spanning synthetic functions, hyperparameter optimization, database tuning, chip design, and molecular design under a unified finite-budget evaluation protocol. In our experiments, agentic BBO achieves higher family-averaged scores than direct LLM-based methods in all five domains and outperforms the best numerical optimizers in four. We further study three factors shaping agent performance: optimization tools, task information and prior knowledge, and the role of the LLM during search. Our results show that additional numerical tools do not consistently improve performance, task semantics are broadly useful while more specific priors are less reliable, and numerical optimizers can effectively absorb gains from search trajectories established by the agent. Finally, we introduce a five-task frontier challenge within AgenticBBO-Bench and evaluate seven LLMs under the Codex agent harness, where GPT-6 Astra and DeepSeek-V4.1-Flash lie on the Pareto frontier of performance and cost among the evaluated models. Our code is available at https://github.com/lamda-bbo/agentic-bbo.

arXiv cs.LG77

RAGenome: Scaling Retrieval-Based Genomic Language Models to Long Contexts

arXiv:2610.11761v1 Announce Type: new Abstract: The genome holds the blueprint that governs the biological properties of the cell. Consequently, advancing our knowledge of genomic function is crucial both for a broader understanding of biology and for continued biomedical advances. The success of large language models on natural language and protein sequences has motivated similar efforts on genomic data. However, standard genomic language models (gLMs) often require extremely large computational resources and still fall behind traditional methods on some downstream tasks. Recently, MSA-based pretraining has been proposed as an efficient alternative, but existing models are limited to short input contexts, restricting their use to short-range tasks, such as variant effect prediction. In this work, we present RAGenome, the first retrieval-based gLM that scales pretraining to longer contexts (100$\times$ longer than existing MSA-based gLMs), allowing it to capture both across-species evolutionary relationships and within-species longer-range interactions. Trained on whole-genome alignments from 100 vertebrates, RAGenome substantially improves the long-range capabilities of MSA-based gLMs, raising gene finding performance from 0.45 to 0.60, while remaining competitive on purely evolutionary-based tasks like prioritizing pathogenic variants. RAGenome provides competitive gLM performance at a fraction of the training cost, unifying evolutionary modeling and long-range capabilities within a single, flexible, scalable framework. Code is available at https://github.com/PanosAntoniadis/RAGenome.

arXiv cs.LG73

New Lower Bound and Upper Bounds on the Regret for Online Sparse Linear Regression

arXiv:2610.11551v1 Announce Type: new Abstract: We study online sparse linear regression (OSLR) where any algorithm is restricted to accessing only $b$ out of $d$ attributes per instance for prediction and $b_0\geq 0$ additional attributes after prediction, which was proved to be NP-hard. Previous work focused on designing computationally efficient algorithms under regularity assumptions, but did not characterize its information theoretic complexity. In this work, we give the first lower bound on the minimax regret of OSLR and design algorithms with better upper bounds without regularity assumptions. We characterize how minimax regret scales with problem-dependent parameters, capturing the information theoretic complexity of OSLR.

arXiv cs.LG76

Generative Adversarial Loops

arXiv:2610.11458v1 Announce Type: new Abstract: AI research progress can be viewed as the interaction between two processes: benchmark creation and method discovery. Historically, both were driven by human intelligence. However, recent advances in AI have accelerated automated method discovery, while automated benchmark creation has received comparatively less attention. To enable self-advancing systems, we propose Generative Adversarial Loop (GAL), a generator-discriminator framework alternating between two agentic searches: (1) a discriminator that generates adversarial data to expose weaknesses in current systems, and (2) a generator that discovers algorithms to overcome them. We apply this framework to approximation algorithms for efficient inference. Unlike existing auto research systems, which primarily focus on algorithm discovery, GAL introduces a discriminator agent that automates goalpost setting by continually searching for weaknesses in the current algorithm. We demonstrate adversarial data generation across four tasks: KV compression, sparse video generation, sparse attention, and context extension, where the discriminator identifies weaknesses in state of the art techniques. We further show that GAL enables autonomous improvement, with newly discovered algorithms improving not only on adversarially generated data, but also on established benchmarks. Specifically, GAL improves CompactorPress on KV compression with Qwen3-4B at 4x, raising performance on the discriminator dataset from 0.35 to 0.97, while also outperforming RULER-HARD (+0.77 pts). For context extension, GAL boosts Dual Chunk Attention from 0.20 to 0.90 on the discriminator dataset, while yielding gains on standard benchmarks(ScienceFiction (+6 pts) and PG19 32K (-0.33 PPL)). GAL thus provides a path toward autonomous goalpost setting and algorithmic improvement, where AI systems continually discover their own weaknesses and develop methods to overcome them.

arXiv cs.LG75

Deflating the Hessian: Rank-4 W4A4 Quantization for Multimodal Diffusion Transformers

arXiv:2610.11315v1 Announce Type: new Abstract: In diffusion transformers, low-rank branches can mitigate 4-bit weight--activation (W4A4) post-training quantization (PTQ) loss by decomposing each weight into a low-bit residual and a high-precision low-rank component. Existing low-rank PTQ approaches, however, either optimize low-rank compensation and residual quantization separately, often requiring higher ranks, or rely on second-order weight updates without explicitly modeling activation quantization error, which becomes particularly pronounced under 4-bit quantization. To address these limitations, we present \method{}, a unified framework modeling low-rank-assisted W4A4 PTQ as a coupled calibration problem and deriving optimization-based solvers from the joint objective. Eliminating the output-side low-rank factor yields a \emph{deflated Hessian} that discounts residual errors already captured by the low-rank component, while an activation-noise surrogate is incorporated to suppress activation quantization error. Across five diffusion backbones, rank-4 \method{} consistently outperforms rank-4 SVDQuant in PSNR and LPIPS. It further surpasses rank-32 SVDQuant on SANA-1.6B, FLUX.1-schnell, and FLUX.1-dev with an $8\times$ smaller rank and up to $6.25\times$ faster quantization. Furthermore, on the Qwen3-8B LLM, rank-4 \method{} improves MMLU accuracy from 61.50\% to 68.17\% over rank-32 SVDQuant. Overall, \method{} achieves better W4A4 performance with substantially lower rank and quantization cost.

arXiv cs.LG81

QUILT:通过共享查询执行重新思考稀疏注意力预填充

arXiv:2610.11134v1 公告类型:新论文 摘要:稀疏注意力降低了长上下文注意力的开销,但现有内核通常独立处理各个查询,反复加载并反量化多个查询共享的 KV 条目。我们观察到,相邻查询所选的 KV 条目存在大量重叠,为跨查询复用创造了机会。我们提出 QUILT,一种工作负载感知的稀疏注意力执行机制,通过联合处理相邻查询并复用共享 KV 条目,减少冗余的内存流量和计算。QUILT 引入 Shift-and-Compare Set Decomposition(SCSD),将不规则的集合操作转化为适用于现代加速器的规则数据并行原语,并将 SCSD 与注意力计算以流水线方式执行,以隐藏其开销。级联共享在多个粒度上分层实现复用。一种分块感知的执行策略在共享粒度与硬件分块利用率之间取得平衡,并选择性地移除重要性较低的查询专属尾部,以消除利用不足的分块。我们使用 GLM-5.3 和 DeepSeek-3.2,在张量并行和序列并行两种设置下,基于 LongBench 评估 QUILT。与最先进的稀疏注意力内核相比,QUILT 将平均内核延迟最多降低 55.1%,将处理的 KV 数据量最多减少 55.9%,同时将首个词元生成时间(TTFT)延迟最多降低 36.8%,且准确率下降可忽略不计。

arXiv cs.LG78

Dynamics as Code: On Model Compression via Dynamic System

arXiv:2610.11115v1 Announce Type: new Abstract: The escalating size of pretrained neural networks has rendered model compression a prerequisite for deployment under stringent memory and compute constraints. With the irrational winding as an example, earlier work introduced a dynamic system (DS) paradigm that reconceptualizes compression as compact weight representation: high-dimensional parameters are encoded by the index of a trajectory produced by a dynamic system, from which the vector is recovered during decompression. This mechanism is fundamentally distinct from pruning, quantization, knowledge distillation, and low-rank decomposition. Along this direction, we prove that under a Diophantine condition, a finite trajectory of \(M = O(\epsilon^{-(d+\nu)})\) states in the irrational winding constitutes an \(\epsilon\)-net over the \(d\)-dimensional weight space, thereby linking state resolution, decompression error, and compression ratio in a predictable manner. Furthermore, we propose a generalized DS-based model compression framework by unifying four DS families---space-filling curves (Hilbert, Peano, Morton/Z-order, Snake), chaotic systems (Lorenz), congruential and pseudo-random generators (LCG, PCG), and low-discrepancy sequences (Halton). Also, we introduce the KD-tree and coordinate-template acceleration to scale to large models as well as outlier identification to control the error. Experiments on ResNet-18 and Qwen2.5-1.5B/Qwen1.5-7B validate that DS-based compression achieves competitive compression ratios without post-hoc retraining, with controllable decompression error and flexible state-space design, establishing it as a principled and practical compression approach.

arXiv cs.LG76

使用 Chained LMOs 优化大型语言模型

arXiv:2610.10975v1 公告类型:new 摘要:Muon 促成了一系列不断壮大的优化器,这些优化器组合了多种矩阵归一化方法,但这类方法仍然彼此割裂,缺乏统一视角。我们引入链式线性最小化预言机(chained linear minimization oracles,chained LMOs),将这些方法视为多个 LMO 的组合。尽管许多链式方法在经验上表现出色,但其中不少超出了标准 LMO 框架的范围,并且可能在光滑凸目标上发散。为解释组合为何仍能带来帮助,我们转向线性联想记忆,并表明在各向异性嵌入下,链式方法能够优于 Muon。在实验方面,我们提出了 TensorChain,这是一种处于该框架内的新型优化器,可将不同层中相互兼容的权重矩阵堆叠起来,并沿各个轴对所得三维张量进行归一化。在 Qwen3 0.6B 和 1.7B 的预训练中,TensorChain 在平均 token 效率方面超过了所有链式基线方法;在验证损失相同的情况下,相比 Muon 平均节省 9.6% 的 token。

arXiv cs.LG81

RH-Detect:用于奖励劫持检测的统一基准

arXiv:2610.10947v1 公告类型:新 摘要:奖励劫持是指模型利用评估信号,却未完成预期任务的行为,这对已部署语言模型系统的可靠性构成威胁。现有数据集采用不同的标签、响应格式和元数据规范,导致检测器结果难以比较。我们提出 RH-Detect,这是一个将来自 11 个公开数据集的、与奖励劫持相关的子集整合到统一模式中的基准,包含 92,761 条记录和六类行为。在 5,021 个开放式评估单元上进行评估,每个单元包含一个任务提示和一段模型自由形式的续写,其中还包括多轮工具使用轨迹。我们在不进行额外训练的情况下,将来自五个模型系列的六个现成语言模型作为奖励劫持检测器进行评估。最佳模型的汇总 AUROC 达到 0.962,准确率超过 93%。然而,对于表现最强的四个模型,在相同决策阈值下,它们在两个多轮工具使用数据集 MALT 和 TRACE 上的准确率比其他来源低 10.7—15.9 个百分点,凸显了部署时监控中的一个关键缺口。我们发现,不同输入格式对不同模型的影响各异。移除思考过程后,Qwen3.5-4B 的 AUROC 从 0.779 提升至 0.849,但 Qwen Flash 的 AUROC 从 0.977 降至 0.950。我们还评估了将该基准作为检测器训练数据集的效果。依次将每个来源留作测试集时,单令牌 SFT 能够提高在六个留出来源中的五个来源上的平均 AUROC。针对这一失败案例进行的后续 GRPO 训练使检测性能略有提升。我们的结果表明,单一的汇总分数可能掩盖不同数据来源、检测器输入和训练过程之间的差异。

arXiv cs.LG79

Amortized Off-Policy Evaluation for LLMs

arXiv:2610.10848v1 Announce Type: new Abstract: Accurate evaluation is central to selecting which LLM to deploy, yet testing a candidate on live traffic exposes real users to an unvetted model. Teams therefore evaluate candidates offline, on data produced by already-deployed models. This is off-policy evaluation (OPE), and it faces two distribution shifts: as a model is updated in post-training, its responses diverge from the logged ones (policy shift), and the reward definition under which it is judged changes with business requirements (reward shift). Classical OPE methods are ill-suited to this continual-deployment setting because they are defined per task and require fitting from scratch on every new logged dataset or reward definition. To address this, we propose PFN-OPE, a prior-data fitted network that amortizes OPE across a distribution of contextual-bandit tasks. We pretrain it once on tasks constructed from a pool of LLM responses scored by several reward functions, in which both shifts occur. At test-time it maps a logged dataset and one sampled target response per prompt to a value estimate in a single forward pass, with no per-task fitting. On HelpSteer2 and UltraFeedback with Qwen, Llama, and Gemma policies, PFN-OPE achieves 2.0 to 9.3 times lower error than the best baselines across all tested configurations in the reward-shifted settings.

arXiv cs.LG74

使用干预迁移评估评分标准生成

arXiv:2610.10809v1 公告类型:新 摘要:针对实例的评分标准在 AI 基准测试中十分常见,因为可靠的评估需要特定的专家知识。这种方法难以扩展,因此研究人员开始探索使用大语言模型(LLM)生成评分标准。然而,即使有专家评分标准作为参考,如何大规模有效地评估生成评分标准的质量仍不明确。本文提出了一种用于评估评分标准生成的方法,称为干预迁移(Interventional Transfer,IT)。该方法基于这样一个理念:如果对某个回答进行扰动,使其通过或未通过其中一个评分标准时,两个评分标准的判定结果会同步变化,那么这两个评分标准就是相似的。不同于现有的评分标准生成评估方法,我们认为,不同形式的干预迁移可用于评估生成评分标准在不同任务中的效用。例如,我们在 HealthBench 上开展了一项案例研究,展示了由 Qwen3.8-27B、Deepseek-V4-Flash 和 Opus-5 生成的评分标准之间存在不对称性,这些评分标准用于评估 GPT-5.6-Terra 生成的回答。根据生成的评分标准或专家评分标准会降低回答质量的扰动,会在相应的专家评分标准或生成评分标准上迁移为更低的分数;但在一个评分标准上有所改进的扰动,却无法可靠地迁移为另一个评分标准上的更高分数。我们认为,这一发现对于使用 LLM 生成的评分标准进行性能监控和爬山优化具有重要意义。我们将该方法与现有的评分标准评估方法进行了对比,后者无法揭示出我们观察到的这种不对称性。

arXiv cs.LG75

Phase-HDC:在离散相位学习中用梯度阈值替代优化器历史记录

arXiv:2610.10630v1 公告类型:新 摘要:训练一个紧凑模型所需的内存通常远多于存储模型本身所需的内存,因为优化器会保留过去梯度的记录。对于一种学习参数为低比特角度的超维分类器——我们称之为“相位记忆”——这些记录所占内存是模型本身的数倍。我们探究了这样一种模型能否在只存储模型本身的情况下完成训练。所提出的方法 Phase-HDC 在每次更新时,最多将每个存储的角度沿其当前梯度符号的相反方向调整一个步长,并且仅当该梯度足够大时才进行调整。我们证明,在一种一阶损失模型中,每个发生变化的参数都需支付固定代价,而这一简单规则正是该模型的精确解。在其他条件(包括更新规则之外的所有因素)保持不变时,Phase-HDC 达到了使用 6-bit 动量的 Adam 的准确率,同时存储量减少了三倍。在 11 个图像、表格和文本数据集上,与标准 float32 Adam 相比,其存储量减少了 16--23 倍;与 8-bit Adam 相比,减少了 4--6 倍。代价是,与 float32 Adam 相比,平均准确率损失约为 5 个百分点;但在 11 个数据集中的 6 个上,Phase-HDC 的准确率高于 8-bit Adam,其中包括字节级文本预测任务,在该任务上 8-bit Adam 完全失效。经过插桩的训练运行解释了这些结果。一旦参数必须位于离散网格上,Adam 的动量主要决定参数是否发生移动,而这一决定无需记忆,仅通过对当前梯度设置阈值即可实现;对动量进行粗粒度量化会破坏这一决定,尤其是对于数据中很少出现的输入。这里的存储节省指的是逻辑状态,而不是实测的硬件内存。

arXiv cs.LG77

冻结解码器,修复编码器:基于 SVD 的 KV-Cache 压缩的参数高效适配

arXiv:2610.10552v1 公告类型:新 摘要:在统一共享学习率下比较参数高效微调方案是一种常见但存在缺陷的做法:当被比较的方案具有极为不同的可训练参数量时,共享学习率可能同时压低较大方案的均值并增大其方差,从而人为制造出一种对最小方案有利的、看似在多个随机种子下都显著的优势,而这种优势并非真实效果。我们在一个具体场景中记录了这一混淆因素:基于 SVD 的事后 KV-Cache 压缩。在该场景中,已经预训练的模型通过将其键/值权重分解为下投影(“编码器”)和上投影(“解码器”),转换为低秩的、多头潜在注意力风格的缓存;随后进行一次短暂的微调(“修复”),以恢复因截断而损失的准确率。在共享学习率下,冻结解码器、仅修复编码器,看起来明显优于修复解码器或同时修复两个因子;但当为每个方案分别调优学习率后,这一表面优势便消失了,编码器独立修复反而达到了与其他方案相当的效果,同时实际节省了 3 倍的可训练参数和 3 倍的优化器状态内存。我们在一个视觉语言模型(Qwen2.5-VL-3B-Instruct)上,为每种配置使用 3 个随机种子,并通过逐方案学习率调优验证了这种等效性;实验覆盖了该协议支持的唯一压缩率。我们还在包含两个骨干网络的纯文本测试平台上复现了这一结果。因此,编码器独立修复是一种更节省内存的即插即用方案,可在训练时为模型改造低秩 KV-Cache 压缩;而我们记录并纠正的共享学习率陷阱,则提醒人们在比较任何可训练参数量不同的微调方案时都应保持谨慎。

arXiv cs.AI75

GeoReform:面向多模态几何问题求解的反思式形式化演化

多模态大语言模型(MLLM)往往难以识别和利用图示中的几何关系。近期方法通过将几何实体、关系和约束转换为显式的文本表示,来应对这一挑战。然而,有效的形式化并非易事:在 Geometry3K 上,结构注入在 200 个示例中纠正了 28 个错误,却引入了 13 个新错误。冗余关系可能分散模型的注意力,而对图中元素的含糊指代则可能导致模型错误地应用约束。这表明,关键挑战不仅在于提取更多几何事实,还在于将其组织成有助于后续推理的表示。为充分发挥形式化的潜力,我们进一步提出 GeoReform——一种反思式形式化演化框架,将形式化视为可优化的策略,而非固定的解析器输出。GeoReform 执行完整的推理流程,收集失败的推理轨迹,诊断当前表示中的缺陷,并对策略进行变异,从而更好地选择、定位、分组和呈现几何实体、关系、约束及目标。在 Geometry3K 上,GeoReform 将 Qwen3VL-2B 的准确率从 42.0\% 提升至 56.0\%。在几何推理基准上的大量实验和分析表明,有效的形式化对于提升多模态几何推理能力至关重要。

arXiv cs.AI82

运行框架演化触及上限:何时应开始训练权重

要提升长时程 LLM agent,可以围绕冻结模型演化运行框架,也可以训练模型权重。我们先让自演化运行框架增强系统,再将初始和演化后的运行框架分别与基础权重和训练后权重组合,以了解训练后的模型保留了哪些增益,以及哪些增益仍然依赖运行时环境。我们发现,可以从 agent 的失败构成中判断应采取哪种手段:按照失败轨迹中最先触发的信号进行标注,可以将过程失败(调用受阻、循环、步骤预算耗尽)与内容失败(计划已交付但质量较差)区分开来。运行框架演化能够修复前者;它塑造的行为可以训练进权重;而内容失败正是权重训练要解决的问题。在 DeepPlanning 上,自演化运行框架循环将 Qwen3.5-4B 的留出集得分从 0.16 提升至 0.30,将 Qwen3.5-9B 的得分从 0.32 提升至 0.44;对于 4B,留出集交付率从 55% 提升至 90%,而内容失败则留待权重处理。在演化运行框架轨迹上训练的 LoRA 适配器能够将这一增益内化:在原始运行框架下,两种规模的模型在留出任务上都额外提升 +0.13;对于 4B,适配器与运行框架结合后,留出集得分提高到原来的两倍以上;对于 9B,仅使用适配器就能达到完整演化流程的效果,并将内容失败率从四分之一的轨迹降至二十分之一。一个在答案打乱后的轨迹上训练的安慰剂适配器,其表现低于基础模型。该循环还迁移到了 WebArena-Lite(在 117 个未见任务上提升 +0.09),其中增益来自模型所看到的内容,适配器无法进一步增加这一增益。由此得到一条两次应用的“先诊断、后干预”规则:先读取失败构成,在运行框架与权重之间做出选择;再观察被接受的编辑改变了什么,以决定应将哪些增益训练进模型。得分是相对于新锚点进行的四次 rollout 均值;除特别标注者外,评测均在同一晚完成,覆盖来自六个模型家族的八个模型和两个基准测试。

Hacker News 熱門72

Show HN:Pocketty – 当 agent 受阻时提醒你的 iPhone SSH 终端

你好~!Pocketty 是一款适用于 iPhone 和 iPad 的 SSH 终端,专为 herdr 打造。herdr 会让你电脑上的 agent 窗格持续运行,并了解每个窗格的状态:工作中、需要你的介入,或已完成。最近休陪产假的后半段时间里,我是在恼火和绝望中做出这个应用的。被宝宝午睡困住的时光很甜,但我能承受的无休止刷屏和看电影时间毕竟有限……无论如何,过去几个月我一直在使用它,现在终于不必守在书桌前也能保持高效。如今,被宝宝午睡困住的时候也能继续产出(只要我想)! 工作方式: - 应用通过普通 SSH 直接连接你的电脑。Tailscale 是从任何地方访问电脑的简单方式,但只要是你能连接到的 SSH 主机都可以。 - 主机上运行的一个小型 Rust 守护进程会监视 herdr。当某个窗格需要你处理时,它会使用 HPKE(X25519、ChaCha20-Poly1305)将提醒加密到你手机的密钥上。Cloudflare Workers 上的无状态中继(属于 Pocketty)会把加密后的字节传给 APNs(Apple 推送通知服务器),然后由通知扩展在手机上打开。中继无法读取这些内容,也不会保存任何东西。 - 你的 SSH 密钥会在 Secure Enclave 中生成,无法导出。 - 终端使用 libghostty-vt 管理状态,并通过 wgpu 在 Metal 上进行绘制,因此全屏 TUI 的显示效果和在电脑上一样,只是宽度更窄。 - 每个 agent 回合的差异、文件浏览器,以及 agent 启动的 `localhost` 开发服务器预览,都通过同一个 SSH 连接提供。无需设置端口转发。 herdr 和该守护进程都是可选的。不使用它们时,这就是一个普通的 SSH 客户端。无需注册账号,应用中也没有分析或跟踪功能。 应用提供 14 天免费试用,期间可使用全部功能。之后,如果你也像我一样喜欢它,只需一次性购买即可永久拥有:前两周为 99 美元(发布优惠价),之后为 129 美元。 欢迎询问任何关于加密推送设置或在 iOS 上运行 libghostty 的问题。 评论链接:https://news.ycombinator.com/item?id=50009634 分数:7 # 评论数:0

The Decoder79

AI 驱动的黑客工具帮助一名疑似单独攻击者入侵韩国多家银行

据 CrowdStrike 称,一名疑似讲中文的攻击者入侵了韩国多家金融机构。仅在 Shinhan Bank,就有超过 25,000 条客户记录被窃取。该攻击者使用了 ARTEX,这是一款开源工具,利用 DeepSeek 和 GLM-5.3 等 AI 模型进行自动化渗透测试。CrowdStrike 表示,这起事件表明,AI 工具可以让单个人实施大规模入侵。文章《AI 驱动的黑客工具帮助一名疑似单独攻击者入侵韩国多家银行》最初发表于 The Decoder。

arXiv cs.LG76

Train4Merge:面向基于 OPD 的模型合并的 RL 与 SFT 教师受控单教师研究

arXiv:2609.32303v2 公告类型:replace-cross 摘要:基于共享检查点训练的领域专家可以通过在策略蒸馏(OPD)将其专门能力迁移给单个学生模型。现有研究主要关注如何改进这一合并过程,而对用于训练专家的算法却缺乏系统比较。我们通过在 Agentic、Reasoning 和 Perception 三个领域中,对监督微调(SFT)与强化学习(RL)进行受控的单教师比较,研究哪种训练算法能够生成更适合 OPD 的教师模型。教师模型和学生模型均采用相同的 Qwen3.5-9B 初始化,并在任务性能相近的情况下比较两类教师模型。实验表明,在全部三个领域中,RL 教师都能产生更强的学生模型,并更充分地恢复教师模型的性能增益。在各自的最佳检查点上,RL 引导的学生模型分别比 SFT 引导的学生模型高出 4.27、1.50 和 0.86 个百分点。在 Agentic 领域,最佳 SFT 引导学生模型仅恢复了教师模型相对于基础模型性能增益的 44.44%,而最佳 RL 引导学生模型恢复了 115.00%,超过了其教师模型。进一步分析表明,与共享初始化相比,RL 教师的参数偏移小于 SFT 教师。上述发现支持这样一个假设:RL 教师偏离学生起点更小,有助于通过 OPD 进行学习,从而产生更强的学生模型。

arXiv cs.LG73

Ordinary Nonconvex SGD under Distance-Dependent Moments: Finite-Horizon Stationarity and Nagaev Bounds

arXiv:2609.30499v2 Announce Type: replace-cross Abstract: Uniform noise-moment bounds exclude stochastic gradients whose variability increases with the iterate. We study ordinary, single-sample stochastic gradient descent for smooth, lower-bounded, possibly nonconvex objectives under distance-dependent conditional moments. Under second moments alone, a direct descent--displacement argument yields $T^{-1/3}$ expected average squared-gradient stationarity with a horizon-dependent stepsize. An explicit oracle-complexity corollary matches the known smooth Blum--Gladyshev (BG-0) lower bound, including the $Lb_2\Delta^3\varepsilon^{-6}$ and $L\Delta\sigma^2\varepsilon^{-4}$ stochastic terms, where $\Delta$ is the initial objective gap and $\sigma^2+b_2\|x-x_1\|^2$ bounds the variance. Thus unchanged SGD attains the minimax stochastic complexity in this second-moment class. For $p>2$, predictable localization and a Hilbert-space Fuk--Nagaev inequality yield a high-probability bound separating logarithmic variance and polynomial rare-shock contributions. The localization radius is derived from the recursion: no bounded-iterate assumption, clipping, normalization, momentum, or increasing batch size is needed. We also give increasing-confidence rates, an objective-gap-growth refinement recovering root-$T$ stationarity, and stochastic $L^p$-Lipschitz examples. The broad BG-0 optimality statement is distinguished from the smaller mean-square-smooth class, in which additional oracle structure permits faster algorithms.

arXiv cs.LG77

用于兼容压缩的稀疏长上下文 LLM 推理的 Self-Indexing Attention

arXiv:2609.13205v2 公告类型:replace-cross 摘要:稀疏长上下文推理要求在预填充和解码阶段都能高效检索词元。现有方法通常在这两个阶段采用不同的检索策略,导致同一种检索表示无法在整个推理过程中复用。我们提出了 Self-Indexing Attention,这是一种基于共享变换域符号—幅值表示的免训练框架。键的符号位提供了可复用的词元级索引,可用于分组预填充选择和解码检索;同时,该表示仍兼容外部 KV 缓存压缩,无需单独的索引器元数据。这种 1 比特索引可通过现代加速器广泛支持的按位运算实现高效检索。在 5% 的注意力密度下,Self-Indexing Attention 在 LongBench 和 RULER 上的表现仍接近稠密注意力,并在预填充和解码阶段分别实现了最高 6.1 倍和 10.3 倍的注意力算子加速。结合 TurboQuant 和 DeepSeekV4-Flash 的实验进一步验证了其与低比特 KV 缓存压缩及预训练稀疏注意力索引器的兼容性。

arXiv cs.LG81

ReToken:使用视觉检索令牌改进长上下文 VLM

arXiv:2607.28627v2 公告类型:replace-cross 摘要:长视觉上下文给视觉语言模型带来了挑战:随着干扰项数量增加,模型性能会下降,而且一次性处理所有令牌可能超出 GPU 内存限制。我们提出 RETOKEN,这是一种单一的可学习嵌入,能够从 VLM 的内部表示中提取检索信号,从预填充的 KV cache 中选择与查询相关的视觉令牌。借助这一方法,无需单独的检索器或重新编码,即可在负责回答的 VLM 内部执行检索。尽管 RETOKEN 仅使用一个小型图像问答数据集进行训练,但它能够泛化到图像和视频基准。在 Visual Haystacks 上,它使 Qwen3VL-8B 的性能提升 13.4 个百分点,使 InternVL3.5 提升 12.4 个百分点(相对提升超过 20%)。在 LVBench 上,它能够零样本迁移到长视频场景,并使 Qwen3VL-8B 的性能提升 8.0 个百分点。得益于轻量化设计,训练和长视频推理均可在单张 H100 上完成。代码见:https://github.com/avaxiao/ReToken

arXiv cs.LG73

The Signed Geometry of One-Shot Recourse: On-Path Validity and the Signed-Curvature Criterion

arXiv:2609.36252v2 Announce Type: replace Abstract: Closed-form recourse moves a rejected user along the unit gradient $\hat g$ of the classifier score $f$ by the promised distance $d_p=|f(x)|/\|\nabla f(x)\|$, at which the linearized score reaches zero. We ask when this one-shot step succeeds and what additional model queries change. To leading order the step ends on the favorable side exactly when the path curvature $\kappa=\hat g^\top\nabla^2 f(x)\,\hat g$ is nonnegative. Across 80 shallow models, the fraction of rejected users whose step ends there and the fraction with $\kappa\ge0$ correlate at $r=0.985$, although on Fashion-MNIST the first falls below the second by 8.2 points on average. No rule that uses only the score value and gradient can be valid for every score with path curvature bounded by $K$ without overshooting some by order $Kd_p^2/\|\nabla f(x)\|$. When the curvature is also Lipschitz and the step is short, one evaluation of $f$ at the promised point attains the minimax rate among deterministic one-query rules that know the curvature bound and its Lipschitz constant, and split-conformal calibration makes such a rule reach the first crossing or abstain with probability at least $1-\delta$. Training with an asymmetric curvature penalty lets 99-100% of paths cross within the promised step on undershoot-prone shallow data, at about 4-22 times the overshoot of symmetric penalties (Fashion-MNIST, COMPAS). Because $\kappa$ and $d_p$ depend on how the score is scaled, part of this gain can be a longer promised step, and at matched validity a smaller audit of briefly trained models finds no uniform advantage over tuned inflation. Where a per-user line search along the ray is affordable, it is exact to grid resolution and preferable.

arXiv cs.LG80

代码优化的强化学习

arXiv:2607.25970v2 公告类型:替换 摘要:用于代码正确性的强化学习如今已经成熟:让模型生成程序,在隐藏测试用例上运行,并对通过测试的解给予奖励。将这一方法扩展到代码优化似乎很直接:只需将执行时间加入奖励即可。但在实践中,一旦计时驱动奖励,测量噪声、奖励稀疏性或 GRPO 不稳定性等小问题就会淹没有效信号,使强化学习失效:生成的解几乎没有更快,而且失败的解反而更多。我们通过三个阶段使执行时间变得可学习:(1)代码如何接受测试:通过构建包含大量优化测试和经过校准的沙盒环境的 DMC-Optim;(2)如何将速度转化为奖励:在强化学习环境中结合正确性与速度,并使用离线模拟器预测最有前景的配置;(3)模型如何从该奖励中学习:针对更加稀疏且噪声更大的计时执行场景,调整 GRPO 和评估方法。在 DMC-Optim 上,最强的面向优化配置将 Qwen 2.5 7B 的严格前 50% pass@1 从 18.0% 提升至 31.3%,并将 CWM 32B 的该指标从 30.7% 提升至 50.4%。在前 30% 等更严格的百分位范围内,这些增益进一步扩大,其中 CWM 32B 的相对提升达到 125%,同时保持纯正确性得分不变。当计时沙盒性能下降时,根据评估标准不同,稳健的优化强化学习相比标准 RLVR 可实现 100% 至 200% 的提升。在 LCB 上,CWM 32B 在与标准 RLVR 的中位样本速度比较中,最多有 83% 的比较结果胜出。相较于每道题中速度最快的正确人类提交,CWM 32B 达到了人类复杂度类别改进速率的约一半(13% 对 22%)。

arXiv cs.LG77

稀疏解码的注意力质量凝聚

arXiv:2602.06317v3 公告类型:替换 摘要:注意力质量的集中为稀疏解码创造了机会,但保留的注意力质量本身并不能保证稳定的贪心决策:检索误差、被省略的数值方向以及递归解码都会产生影响。我们通过一个精确的省略质量恒等式和一个充分的下游间隔条件,将这一差异形式化,随后刻画了一种依赖查询的均值池化块选择器。在 Qwen2-0.5B 上,一次成对的新选择扫描覆盖了包含 97--769 个位置的支持集、长度为 2K--16K 的上下文,以及每个上下文的五个前缀。主要的精确匹配结果是:60 次运行中没有一次能在 128 个 token 内始终与密集解码保持完全一致。分布质量则有所不同:当支持集至少包含 193 个位置时,在九种上下文—支持集条件中的七种条件下,教师强制续写困惑度的中位数变化在密集解码的 5\% 以内;但按提示词统计的范围包含严重的 16K 异常值。教师强制匹配率低于 70\% 的七次运行,其困惑度增幅均超过 100\%;这些观察来自两个前缀,因此只能提示一种警戒区间,而不是普遍适用的阈值。所测困惑度是在密集模型自身的续写上进行教师强制评估得到的,而不是稀疏模型自由运行输出的困惑度。独立的检索和注意力质量探针说明了为什么捕获的注意力质量本身既不能保证检索效果,也不能保证决策结果。孤立的算子计时无法证明在质量相当的情况下实现加速,也无法证明端到端服务速度得到提升。

arXiv cs.LG78

Steerspeech: Activation Steering For Emotion Control In Generated Speech

arXiv:2610.10415v1 Announce Type: cross Abstract: Pretrained text-to-speech (TTS) models can generate expressive speech, but reliable inference-time emotion control remains challenging: prompts and reference audio offer coarse, inconsistent control, whereas specialized conditioning and model adaptation require costly training. We present SteerSpeech, a lightweight activation-steering framework that controls emotion by injecting steering vectors into hidden activations. For each target emotion we train a lightweight low-rank transform, using a multi-expert objective that encourages monotonic emotion control while preserving speaker identity and linguistic content, constraining steering drift, and keeping the TTS backbone frozen. To optimize through discrete speech tokens, we introduce a two-pass generation-and-replay pipeline using a straight-through estimator to backpropagate expert supervision through sampled tokens. At inference, a target-emotion steering direction is optimized with its respective transform and injected into the base TTS model. Objective and subjective evaluations with Qwen3-TTS across seen, unseen, and accented speakers show stronger continuous emotion control with limited speaker and content degradation. SteerSpeech achieves 1.08x-7.12x baseline target-emotion scores and for a representative emotion subjectively, it receives 78.1%-96.8% intensity preference and 1.43x-1.46x speaker-identity preservation at high steering strengths.

arXiv cs.LG66

SOTA: Stock Options Trading Agents Guided by Option-Implied Return Distributions

arXiv:2610.10407v1 Announce Type: cross Abstract: As option markets grow and AI advances, agentic systems for option trading are gaining increasing attention. Language-model-based agents can reason over contextual information such as news, but option trading presents a particularly challenging decision problem: a single stock can have thousands of contracts, and the agent must decide both which contracts to trade and how to combine them. Existing approaches often sidestep this complexity by restricting the policy to a fixed strategy structure, such as a straddle, limiting their ability to switch strategies as market conditions change. We present SOTA (Stock Options Trading Agents), an agentic trading framework for structured option-strategy selection. SOTA abstracts the large option universe into strategy-level decisions while deterministic resolvers handle portfolio implementation. We develop SOTA by post-training Qwen3.8-27B with supervised fine-tuning followed by reinforcement learning. SOTA is evaluated on options on nine large-cap U.S. equities and SPY against rule-based and machine-learning strategy selectors in the same trading environment. Over a six-month out-of-sample period, SOTA earns an 18.3% total return with a Sharpe ratio of 1.60 and a maximum drawdown of 8.96%. We also document an asymmetric role of news: news improves frontier-teacher trajectories, but retaining news during reinforcement learning reduces out-of-sample return from 18.3% to -2.7%.

arXiv cs.LG77

基于任务结果训练 LLM 智能体的顾问

arXiv:2610.09858v1 公告类型:交叉收录 摘要:大语言模型智能体通过将推理、工具调用与来自环境的观察交替进行,处理多步骤任务。已有研究表明,自然语言反馈可以帮助这些智能体在任务执行过程中修正决策。我们提出 Caddie,一种训练评议模型的方法,使其在智能体执行任务时提供自然语言分析和建议。与依赖步骤级标签或参考评议的方法不同,Caddie 根据智能体在接收评议模型的反馈后最终是否成功来学习。我们通过强化学习优化评议模型,同时保持基础模型冻结。我们的 Qwen3-4B 评议模型使用单一基础模型在多跳问答任务上训练后,提升了四种不同规模和架构的基础模型的成功率,其中三种模型未参与评议模型的训练。在 MuSiQue 基准测试中,训练后的评议模型将 Qwen3-4B 的成功率提高了超过 25 个百分点,超越了未使用评议模型的 Kimi K3 的表现。同一个评议模型在无需额外训练的情况下,也在包括 $\tau^3$ 和 DeepDive 在内的域外交互式基准测试中带来了性能提升。我们的结果表明,智能体可以在推理时决定何时向评议模型寻求帮助,而基于结果的评议模型训练能够产生可跨基础模型和任务领域迁移的指导。

arXiv cs.LG78

智能体式 LLM 如何决定调用工具?由抑制作用塑造的工具调用向量

arXiv:2610.09624v1 公告类型:交叉收录 摘要:工具调用,即按需调用外部工具,是智能体式 LLM 的核心能力,但决定模型是调用工具还是直接作答的机制仍不清楚。智能体提示通常很长,且包含大量框架性内容,将角色指令、工具模式、格式模板和用户请求组合在数百个 token 中,形成噪声繁多、高度纠缠的上下文,其中没有显而易见的、可用于机制分析的单一可控变量。为获得这样的变量,我们提出一种方法,将复杂的智能体提示转化为最小对照提示对,其中仅一个请求动词就能决定是否调用工具:将执行类动词(例如“编写”)替换为分析类动词(例如“讨论”),能够可靠地翻转这一决策,表明该决策由一种紧凑的内部状态所介导。我们围绕 Python、Java 和 C++ 构建了 500 组这样的配对提示(300 组用于机制分析,200 组留出用于评估)。我们将这一决策追溯到向量 $\mu_\Delta$,该向量在因果上既是必要的,也是充分的,并且能够泛化到发现阶段所用提示之外的原生多轮 $\tau^2$-Bench 轨迹和不含动词的请求。行为消融实验表明,框架性内容建立了工具调用先验;随后,Transcoder 分解揭示,分析类动词通过表明无需使用工具的特征来抑制这一先验,而执行类动词则基本使其保持不变。下游读取框架性内容的注意力头和 MLP 特征读取由此形成的状态,而同一机制在 Qwen、Mistral 和 Granite 系列的七个模型中反复出现。我们的代码已公开于 https://github.com/XijieGo/MI4ToolCalling。

arXiv cs.LG78

Persona Hierarchy Model:理解 LLM 微调中的上下文泛化

arXiv:2610.09384v1 公告类型:交叉收录 摘要:语言模型通常在固定上下文中进行微调,例如通用系统提示词、角色设定或领域专用指令,但学到的行为有时局限于该上下文,有时却能广泛泛化到未见过的上下文。我们提出 Persona Hierarchy Model 来解释这一现象:一个共享的默认角色会影响不同上下文中的行为。根据该模型,改变共享角色的微调会促进更广泛的迁移,而对局部角色的改变则更局限于特定上下文。在涵盖四种行为和 15 种训练上下文的 120 个微调模型中,泛化范围的狭窄程度与训练上下文中的角色和默认角色之间的相似度呈正相关(对于 Qwen3-4B,Pearson 相关系数 r = 0.72)。先在默认上下文中进行微调,可以拓宽后续在其他上下文中训练时的泛化范围。将特定上下文中的响应与默认角色的响应对齐,会产生更强的效果。最后,我们提出角色保持正则化(PPR),以限制不期望出现的上下文泛化。在强化学习中,PPR 在保留准确率提升的同时,将所有受评估提示词下的奖励投机发生率从 42–55% 降至最高 0.2%。这些结果支持将 Persona Hierarchy Model 作为上下文泛化的解释框架,并可为未来控制非预期泛化、改善 LLM 对齐提供启发。

arXiv cs.LG71

OnlineQAT:用于超低比特大语言模型的同策略蒸馏

arXiv:2610.09346v1 公告类型:交叉发布 摘要:量化感知训练(QAT)能够恢复大语言模型压缩至四比特以下时损失的大部分准确率。然而,现有的性能恢复阶段通常基于固定的补全文本或教师生成的答案进行优化,而部署后的量化模型则以自身生成的前缀为条件。因此,量化误差可能使模型进入离线恢复数据中未曾出现的状态。我们提出 OnlineQAT,这是一个两阶段框架:首先通过分块 QAT 获得可用的低比特初始化,然后基于学生生成的回答进行同策略蒸馏(OPD)。在每个访问到的前缀处,冻结的全精度教师模型提供基于采样的反向 KL 训练信号。在 Qwen3-1.7B 上,OnlineQAT 在所比较的量化方法中取得了最高的平均得分:W3A16 下为 57.28,W2A16 下为 32.52,分别比 ReasoningQAT 提高了 2.90 分和 0.44 分。结果表明,学生访问到的状态能够提供固定补全文本训练之外的有效恢复信号,尤其是在三比特量化下。

arXiv cs.LG65

Visual Jev Rewards: Reference-Bound Verification for Multi-Subject Image Generation

arXiv:2610.09328v1 Announce Type: cross Abstract: Multi-subject image generation requires rewards that verify whether requested attributes, actions, and relations hold for the specified reference subjects. Subject presence alone does not establish that the correct subjects participate in a requested interaction. We present reference-bound Visual Jev rewards that turn these visual decisions into generator training signals. Each subject-related question receives a positive label only when the requested condition and the relevant reference identities hold jointly. We construct fixed questions offline, train a Qwen3.5-4B verifier with binary supervision, and directly read Yes probabilities from its language-model head. Their mean supplies a GRPO reward while retaining individual judgments for inspection. Using 200 MICo-150K training tasks and 30 updates, the framework raises a GPT-5.4 composite score from 41.78 to 52.50 on a manually selected 897-task MICo-Bench subset; direct 27B rewards yield 51.84. Each reward is tested in one GRPO run, and offline human evaluation does not establish a statistically significant advantage over direct scoring. The study provides an initial implementation and evaluation of Visual Jev as a reference-bound reward for multi-subject image generation.

arXiv cs.LG80

LLM 自我改进循环中的赢家诅咒:选择噪声、锁定效应与接受规则

arXiv:2610.09239v1 公告类型:交叉收录 摘要:自我改进的 LLM 系统会提出对自身的修改,并保留那些在小规模评估集上得分更高的修改。我们将这一“更好就保留”的步骤视为测量噪声下的选择,对单次决策中候选方案的相关误差进行建模,并通过实证研究考察重复使用评估集会产生什么后果。在 Qwen 模型重写自身指令、且每个候选方案还会在 600 个留出样本上评分的实验中,首个提案之后的大多数提案都有害,而该统计模型能够给出一代中最佳候选方案的赢家诅咒幅度。采用来自独立预实验的先验后,该模型与原生循环中第一代已接受修改的平均高估幅度相吻合,但并非在每种设置下都吻合。在一项预注册研究中,使用 16 个选择样本时,贪心循环最终的选择集得分比留出集准确率高出 13 至 20 个百分点;使用 256 个选择样本时,则高出 1 至 5 个百分点。在 TREC 上,留出集上的增益随选择集规模扩大而增加,但在 GSM8K 上并非如此;从完整运行过程来看,所测试的接受规则未能胜过贪心接受。当现有模型优化一条表现良好的指令时,以及在 GEPA 和 MIPROv2 的验证得分中,选择集上测得的增益同样超过了留出集上的增益。在 64 个从未用于选择的样本上对初始指令和当前指令评分,可以消除循环所报告增益的平均偏差,但单次估计仍会偏离约 6 个百分点。自我改进研究应报告留出集上的增益及其不确定性。

arXiv cs.LG76

基于漂移的量化:面向文本嵌入模型的无标签混合精度训练后量化

arXiv:2610.09227v1 公告类型:交叉发布 摘要:混合精度训练后量化需要逐模块的敏感度信号;对于文本嵌入模型,最直观的信号——量化某个模块所造成的检索质量损失——需要相关性标签,而部署环境中很少具备这些标签。我们测量了一种无需标签的替代指标:量化引起的表征漂移。具体做法是量化一个模块,重新编码语料库,并记录输出嵌入相对于其全精度位置移动了多远。其独特之处在于所观测的对象:部署后的稠密检索器用于排序的输出表征。在五个开发阶段使用的嵌入模型上,配置级漂移对采样得到的混合精度方案的排序,与留出数据上的检索质量排序之间的宏平均 Spearman 相关系数达到 0.911;在可用范围内,该敏感度可跨校准语料库和检索领域迁移;各模块漂移的组合在排序上保持一致,但在数值上并不一致;而由相关性标签推导出的敏感度并未带来稳定的额外价值。该方法在严格的打包字节数预算下进行一次基于可加性的分配,无需标签,也无需搜索。在方法、基线和假设均已冻结并封存之前始终未被触及的三个嵌入模型上,针对先前 LieQ 准则预注册的方向性假设均得到验证(在主要预算下为 3/3,且未出现性能崩溃),漂移方法的得分在其中 2/3 的模型上超过了经过充分强化的双侧 LieQ 对照方案;但在主要预算下,尽管漂移方法如设计预期那样降低了模块和整个模型的漂移,其数值表现仍在全部三个模型上低于相同预算的统一精度方案(分别低 0.99、0.85、1.01 个点)。因此,输出漂移是一种稳健的粗粒度敏感度信号,而非普遍最优的精度分配目标:它避免了迁移后的有符号几何适配方法所出现的灾难性失败,并且在统一精度方案崩溃的紧张预算下仍可能保持可用;但如何围绕表现强劲的统一精度工作点进行细粒度重新分配,仍是尚未解决的问题。

arXiv cs.LG77

少量比特,统一法则:迈向 W2A4KV2

arXiv:2610.09202v1 公告类型:交叉发布 摘要:当权重、激活值和 KV 缓存同时量化时,极低比特大语言模型压缩面临的挑战最为严峻:它们的分布各不相同,量化误差还会在整个网络中相互作用。我们提出 CanonQ,这是一种统一的量化感知训练框架,通过将源规范化与任务感知适配分离来应对这些挑战。固定旋转和能量归一化将异构张量源映射到规范坐标系,使冻结的高斯参考码本能够跨层、跨模型复用。随后,联合训练在统一的标量/向量接口内,使网络适应权重、激活值和缓存量化产生的耦合误差。我们给出了冻结码本迁移误差和局部任务损失的界,并推导出精确的归一化感知直通雅可比矩阵,将量化失真与梯度偏差联系起来。最显著的收益出现在联合 W2A4KV2 压缩下:在 LLaMA3-1B/3B/8B 上,相比此前最先进的方法及具有代表性的量化基线,CanonQ-Omni 将 WikiText-2 困惑度最多降至其 1/14.28,平均零样本准确率最多提高 57.9%。这些优势还扩展到了 Qwen3-1.7B、代码生成和数学推理:在经过指令微调的 MobileLLM-Pro-1B 上,采用 W2A16KV16 时,相比所评估的最强量化基线,CanonQ 在 HumanEval pass@1 和 GSM8K 精确匹配率上分别实现了 41.7% 和 39.1% 的相对提升。

arXiv cs.LG80

CARE:为视觉-语言-动作推理认证加速

arXiv:2610.08917v1 公告类型:cross 摘要:尽管视觉-语言-动作(VLA)模型发展迅速,但在每个控制步都运行它们仍然代价高昂。以往工作通常采用动作分块和视觉 token 剪枝等技术来加速 VLA 推理,并主要依据延迟和任务平均成功率进行评估。然而,加速可能会丢弃信息,使原始策略本可以完成的任务失败,而平均指标会掩盖这一风险。由于动作偏差会在闭环轨迹中累积,这些失败很难测量,因为任务失败只有在完整回合中才能观察到。因此,我们通过从相同初始条件出发进行成对 rollout,并追踪参考策略成功而加速策略失败的情况,定义了由加速引起的失败。为此,我们提出 CARE,一种用于经认证加速器选择的方法。CARE 在校准集上进行成对 rollout,从而提供有限样本保证,确保加速引起的失败风险低于用户指定的预算。它会部署速度最快且通过认证的候选方案;如果没有候选方案符合要求,则回退到参考策略。由于仅依赖终止结果和实测计算开销,CARE 无需修改即可适用于各种加速机制;同时,序贯检验和由失败触发的参考 rollout 使认证成本保持在可承受范围内。在使用 OpenVLA-OFT 的四个 LIBERO 套件上,CARE 可认证 $9.0$--$10.8\times$ 的加速,并以 $95\%$ 的置信度保证至少保留参考策略成功回合中的 $85.8\%$。在预算严格受限时,不提供保证的选择器在最多 $75\%$ 的试验中超出预算,而 CARE 始终保持在预算以内,其序贯版本相比穷举评估所需的 rollout 数量减少了 $78.9\%$。CARE 还可推广到 $\pi_{0.5}$ 的 flow 步数缩减,以及 Crafter 中的 Qwen3.5-9B 和 Llama-3.1-8B 智能体。

arXiv cs.LG61

Slow Beats Fast at the Kesten-Stigum Threshold: Minimax, Fisher-Information and Belief-Propagation Characterizations of the Information-Computation Gap in Sparse Stochastic Block Models

arXiv:2610.08872v1 Announce Type: cross Abstract: We study community recovery in the sparse symmetric stochastic block model with $q$ communities, average degree $d$ and signal strength $\lambda$ through statistical decision theory and Fisher information, and obtain three characterizations of the Kesten-Stigum threshold $d\lambda^2=1$ and of the information-computation gap below it. First, on each community-size profile the minimax risk of any class of rules closed under averaging and vertex relabeling equals its Bayes risk under the uniform prior; the posterior mean is the unique Bayes rule and is admissible, and the Bayes risk of degree-$D$ polynomial rules is the trivial risk times $1-\mathrm{Corr}_D^2$. Combined with known low-degree and information-theoretic results, this gives the gap as a worst-case statement: for $q\ge 5$ there is a window below the threshold in which no low-degree rule beats the trivial risk asymptotically, while an exponential-time rule does on a set of labelings of probability $1-o(1)$. Second, the Fisher information about $\lambda$ carried by cycle counts is a series with terms of order $k(d\lambda^2)^k$, convergent exactly when $d\lambda^2<1$; below the threshold the relative error of every unbiased cycle-based estimator of $\lambda^k$ stays above an explicit constant, and every cycle-count test has success probability bounded below one. Third, the derivative of belief propagation at its uninformative fixed point multiplies a random perturbation by $|\lambda|\sqrt{d}$ per iteration, and one EM step taken there leaves $\lambda$ unchanged. A signal-to-noise computation recovers the condition $d\lambda^{1/\chi}>1$ of Chin et al. for $q=n^\chi$ communities and identifies personalized PageRank as a walk count with suboptimal weights. Experiments on networks with up to $3\times 10^5$ vertices confirm the threshold for $q=2$, the hard window for $q=5$, and the many-community scaling.

arXiv cs.LG74

LRCC:用条件计算推广低秩压缩

arXiv:2610.08858v1 公告类型:cross 摘要:低秩压缩通过用低秩分解替代线性变换,降低预训练语言模型的成本。然而,传统方法在推理过程中采用固定的秩分配,无论输入词元为何都分配相同的计算量。我们提出低秩条件计算(Low-Rank Conditional Computation,LRCC),通过为每个 Transformer 模块训练一个轻量级路由器,从一组规模较小的嵌套低秩路径中进行选择,为预训练模型引入依赖词元的计算。在训练过程中,低秩因子保持冻结,仅优化路由器。我们在 Llama 和 Qwen 模型上针对语言建模和零样本下游任务评估了 LRCC。在平均激活参数预算相同的情况下,LRCC 的预测性能优于静态低秩压缩;在 Llama-2-7B 上,其下游任务平均准确率较静态方法提升了 7.6 个百分点。在 batch-size-1 解码延迟相当的情况下,LRCC 在 Llama-3.2-1B 上同时提升了困惑度和下游任务准确率,并且在 Llama-2-7B 上仍具有竞争力,同时无需专用内核。最后,我们通过分析路由器对路径的选择,评估了为每个词元分配路径的实用价值。

arXiv cs.LG77

哪一次 Rollout 教会了它这一点?BehaviorTrace 与在线 RL 中训练数据归因的局限性

arXiv:2610.10422v1 公告类型:新 摘要:当强化学习教会语言模型一种新行为时,我们能否找到教会它该行为的训练 Rollout?而当某种归因方法声称自己能够做到这一点时,我们又如何知道答案确实可靠?我们在使用 GRPO 进行在线 RL 微调的场景中研究了这两个问题,并采用了一种成因已知的预置行为。我们发布了 BehaviorTrace,这是一个开放的评测工具框架,结合了全梯度 sketching、预置行为设置,以及针对梯度大小、流畅度、提升空间和不同随机种子与生成采样之间变化的控制。在 Qwen2.5-1.5B 的三个随机种子实验中,表面上的归因信号很大一部分来自混杂因素。一个仅按梯度大小对训练步骤排序、完全不使用行为目标的对照方法,达到了随机水平的 4.2 至 4.5 倍,并且在三个随机种子中的两个上达到或超过了最佳目标导向估计器的表现。在已饱和的检查点上,模型流畅度对行为标签的预测能力至少与我们比较的所有梯度方法一样强。在控制流畅度之后,逐 Rollout 的结果会随随机种子以及每次生成采样而变化,因此单次运行无法定论。有一个信号在三个随机种子上都成立:触发词元的梯度会与根据行为实际发生之处构建的目标相一致。基于这些发现,我们提出了一份用于评估 RL 中归因方法的检查清单。我们测试了现有估计器,包括 GAS(重新归一化的 TracInCP)和 TRAK 风格的估计器,但没有提出新的估计器。

arXiv cs.LG74

Input-Blind Controls Produce Substantial Oracle Headroom for Layer Programs in Multiple-Choice Evaluation

arXiv:2610.10368v1 Announce Type: new Abstract: Adaptive computation aims to improve language-model inference by tailoring execution to each input. For layer programs, oracle evaluations use known answers to estimate the potential gain from this flexibility, before a practical selector is available. However, a gain from selection does not by itself explain why the chosen programs help. This study examines this distinction using 32 layer-skipping and repetition programs on two models and 4,413 multiple-choice items. The analysis compares their gains over a fixed action selected without the evaluation prompt with those of input-blind perturbations at the same sites, re-evaluating selections on another prompt. With shared option order, the controls give 10.2-11.8 and 15.6-19.4 percentage points of headroom on Qwen3-4B-Base and Llama-3.1-8B, exceeding the real programs' 9.0 and 10.1 in all three random-direction draws per model. They match answer-change rate only, and the ordering depends on the menu: in post hoc comparisons, real programs lead on Llama's repeat-only menu in every draw. A smaller KL-calibrated comparison, including an input-dependent control, favours real programs in point estimate, with inconclusive corrected tests. Fixed letter offsets produce headroom of similar scale. Rotating options sharply reduces both families' headroom, while leaving positive real-minus-control differences of 1.4-2.3 and 3.7-4.5 points; their magnitudes and statistical support depend on further adjustments and the reference. A supplementary generated-answer test finds that search-selected programs keep a 26.0-point advantage over programs selected for other problems after rewording, without a placebo comparison. These results show that substantial headroom can persist across prompts with shared option order without establishing a benefit specific to the selected layer computation; neither ordering against these controls identifies that benefit.

arXiv cs.LG75

SemanticFold:潜在序列压缩将语言建模、可解码性和推理区分开来

arXiv:2610.10304v1 公告类型:新 摘要:我们研究提示前缀的潜在序列压缩是否能够保留大型语言模型在推理过程中所依赖的能力。我们提出 SemanticFold,这是一种在学习到的边界处折叠前缀隐藏状态的压缩方案,并在五种模型规模上对其进行评估:Qwen3-1.7B、Qwen3-8B、SmolLM2-1.7B、Pythia-1.4B 和 Pythia-6.9B。我们采用固定目标协议:对冻结的前缀分别进行原生执行或压缩处理,然后两条路径都对完全相同的后续词元进行教师强制。该设计排除了目标选择导致似然变化的解释。我们考察了五类终点评估指标:固定目标负对数似然、有限标签推理准确率、线性探针可访问性、开放式生成,以及系统层面的内存和延迟。我们发现,压缩会使这些指标以非单调方式变化,并且它们并不存在一个共同的压缩阈值。在 Qwen3-1.7B 上,当压缩比 R=1.7 时,在进行 10000 次配对自助法抽样后,压缩模型相对于原生模型的平均 NLL 降低了 0.135。在 SmolLM2 上,当 R=1.2 时,平均变化值比原生模型高 0.013。在两个 Pythia 检查点上,NLL 基本保持不变。通过分解 NLL,将序列缩短与学习到的残差变换区分开来,我们发现 Qwen 的有利似然主要归因于残差适应,而非单纯的序列缩短。MLP-only 在不缩短序列的情况下应用该变换,其 NLL 比 Full SemanticFold 低 0.082。在不同条件下,线性探针准确率和宏平均 AUC 的绝对变化均小于 0.03,且置信区间跨越零。我们 conclue,潜在压缩下的能力保留不存在单一的标量证书:语言模型拟合、可解码性和推理行为回答的是不同问题,并且在同一种压缩操作下可能朝不同方向变化。

arXiv cs.LG74

Activation-Aware Weight Tensorization: A Calibration-Time Preconditioner for Tensor-Network LLM Compression

arXiv:2610.10085v1 Announce Type: new Abstract: Post-training tensor-network compression replaces Transformer linear layers with Tensor Train (TT) or Tree Tensor Network (TTN) operators, but standard decompositions minimize weight-space Frobenius error rather than functional error under the layer's activation distribution. We propose Activation-aware Weight Tensorization (AWT), a training-free calibration wrapper that preconditions each weight matrix with a diagonal activation-derived scale before an unchanged TT/TTN solver and deploys the result with only an input-side elementwise rescaling. Across Llama 3.1 8B, Ministral 8B, and Qwen2.5 7B, AWT consistently improves vanilla TT/TTN tensorization at 2-6 times compression: under single-operator replacement, AWT closes 12-35% of the WikiText perplexity gap to the dense baseline across the three model families and 2-6 times compression settings; while under multi-operator Llama suffix replacement it closes 27-60% across attention-group and all-seven-matrix settings. The gains also transfer to downstream HellaSwag and ARC-Challenge evaluations. We further show that diagonal preconditioning is a robustness-modularity tradeoff rather than a diagonal-covariance assumption: a dense full-covariance oracle wins its own weighted objective in 80/81 cases, yet diagonal AWT gives better held-out functional fidelity in 53/81 cases. Together, these results position AWT as a principled, modular preconditioner for improving functional fidelity in fixed TT/TTN compression pipelines without modifying the decomposition solver.

arXiv cs.LG71

BoT-GRPO: Efficient Process-Reward RL for Reasoning via Bag-of-Token Aggregation

arXiv:2610.09804v1 Announce Type: new Abstract: Reinforcement learning is now central to eliciting reasoning in large language models, while in the popular algorithm Group Relative Policy Optimization (GRPO) every token in a rollout receives the same advantage. We ask how to make process supervision efficient: accelerating convergence and improving final quality without the cost of value networks. We propose Bag-of-Tokens Group Relative Policy Optimization (BoT-GRPO), which extends GRPO to token-level reward models through a length-invariant "bag of tokens" aggregation: it collects all token-level rewards across rollouts, weights each by the inverse of its source sequence length, and computes per-token advantages relative to weighted group statistics. BoT-GRPO is critic-free, and is a drop-in replacement wherever GRPO is used when token-level reward is available. On React front-end code generation, BoT-GRPO reaches $80\%$ compile rate up to $1.9\times$ faster than GRPO and converges faster than modern GRPO variants (GSPO, DAPO, PURE) while reaching higher final compile and VLM-judged win rates. On a second task, AIME mathematical reasoning, BoT-GRPO delivers absolute Pass@$k$ gains up to $8.1\%$ over GRPO in half the steps. For both tasks we compare the algorithm's performance on reasoning vs. non-reasoning base-model families (Qwen2.5-3B, SmolLM3-3B, Phi-4-mini-reasoning). Our experiments also yield a practical recipe for the reward model itself: reward stability matters more than richness: clean, bounded, stable fine-grained signals consistently accelerate learning where noisier alternatives stall.

arXiv cs.LG76

当 LLMs 退化时秩反而上升

arXiv:2610.09647v1 公告类型:新 摘要:后训练使语言模型能够适应非平稳环境。实践者使用 RankMe 及相关谱统计量监测表征健康状况,通常假设表征退化时秩会下降。我们表明,这一假设对于 LLM 后训练并不可靠。在一项针对 Qwen3-0.6B 的受控研究中,我们设置了四种退化模式和三个随机种子。与健康状态相比,数据重复使留出损失恶化了 75%,同时却提高了原始 RankMe 和中心化 RankMe;后者变化了 13.5 个合并标准差。协方差有效秩上升到接近健康状态的两倍。这种失效源于谱离散而非谱坍缩,因此单侧监测器会将最差的检查点评为最健康。相比之下,学习率配置错误会降低中心化 RankMe 和 k95,而非中心化 RankMe 在不同随机种子之间表现不一致。因此,变化方向是“退化机制—统计量”组合的属性,不能仅靠重新校准来解决。我们还区分了两个经常混淆的统计量:RankMe 对奇异值进行归一化,而协方差有效秩对特征值进行归一化。在预训练模型的原始中间层状态上,大幅激活值会将后者限制在接近维度 d 中的 1,而 RankMe 仍保有可用的变化范围。随后,我们测试了一个采用独立校准数据和测试数据的双侧多通道序贯监测器。在预注册的共享前缀、留一随机种子评估中,该监测器在每个折中都能检测到全部三种损害机制,时间为分叉点之后 10 到 60 步,并通过触发方向区分谱离散与秩下降型损害。然而,它从未早于留出探针损失发出预警;使用两个随机种子进行校准还会在留出的健康随机种子上产生误报。谱监测可以诊断失效机制,但无法比留出损失更早发出预警;有关有效性的论断则需要留出的健康数据。

arXiv cs.LG

Online Resource Allocation with an Endogenous Markov State: Fewer LP Solves Earn More

arXiv:2610.09577v1 Announce Type: new Abstract: We study finite-horizon online resource allocation with i.i.d. requests and an endogenous Markov state on a finite state space: each action affects the transition of the state that governs future rewards and resource consumption. In this problem, a transient fluid LP benchmark upper bounds the expected reward of every nonanticipating policy, while a stationary LP supplies randomized state-dependent controls. We assume that the stationary LP has a unique optimum and identify primal nondegeneracy and irreducibility of the optimal induced kernel as important regularity conditions in this framework. With a known request prior, we show that, under nondegeneracy and irreducibility, both frequent and infrequent re-solving attain $O(1)$ regret. However, under a degenerate optimum, irreducibility yields the sharp worst-case $\Theta(\sqrt{T})$ rate for infrequent re-solving, while frequent re-solving can incur $\Omega(T)$ regret. Thus, more frequent optimization can perform asymptotically worse. With an unknown request prior, we develop a three-phase U-shaped infrequent re-solving policy that coordinates learning and inventory correction with $O(\log\log T)$ LP solves. When the optimal induced kernel is irreducible and the algorithm is given the optimal target state class and a constant-cost entrance policy, it attains $O(1)$ regret under nondegeneracy and $O(\sqrt{T})$ regret under degeneracy. Without the target-class information, linear minimax regret is unavoidable. Numerical experiments further illustrate the instability of round-by-round re-solving relative to epoch-wise infrequent re-solving, show that thresholding greatly mitigates its loss, and find that infrequent schemes remain dominant under both known and estimated priors.

arXiv cs.LG67

Evaluating Trajectory Features for Routing Final-Layer Attention

arXiv:2610.09272v1 Announce Type: new Abstract: Attention routing requires a signal that predicts the value of attention on the current prefix. We evaluate whether hidden-state extrapolation error, curvature and error change improve this prediction beyond uncertainty, one-step displacement, position and state projections. Paired executions of the final attention layer supply signed next-token loss differences in frozen SmolLM3-3B-Base and Qwen3.5-4B-Base checkpoints. Utility-supervised routers are tested on 100 held-out PG-19 books at an identical causal 20 percent invocation quota. None of six prespecified comparisons shows a positive gain after familywise correction. In Qwen3.5, a parameter-matched fixed-projection control lowers NLL by 0.00356 nats/token relative to the trajectory router (95 percent interval 0.00218 to 0.00487). Secondary results depend on the operation removed, feature location and scoring horizon; frozen thresholds also drift substantially at longer horizons. Actual selected-query execution yields small long-sequence latency reductions with increased NLL, while learned routers remain slower during cached continuation. The study identifies limits on the incremental value of these trajectory summaries and separates allocation quality from measured inference benefit.

arXiv cs.LG79

模式识别与逐步推理之间的二分性

arXiv:2610.09186v1 公告类型:新 摘要:我们认为,模式识别与逐步推理是一个连续谱的两个端点。当数据的结构使得下一个词元仅取决于少量前置上下文时,大语言模型(LLM)会学会逐步推理。当下一个词元取决于大量前置上下文时,LLM 的推理则类似于模式识别。如果下一个词元仅取决于最近的 $c$ 个词元,那么推理轨迹就是德布鲁因图上的路径,其中节点表示长度为 $c$ 的上下文,边表示上下文之间由下一个词元引起的转移。一个任务的推理轨迹集合构成德布鲁因图的一个有向无环子图。已经学习了该子图所有边的 LLM 可以将这些边组合起来,以解决更长且未见过的任务,即进行逐步推理。我们证明,与推理轨迹的数量相比,边的数量小得可以忽略不计。实证表明,transformer 所需的训练样本数量与边的数量之间呈幂律关系,因此学习逐步推理具有较高的样本效率。通过维护一个使未来推理与过去无关的“状态”,我们可以在任何任务中诱导出德布鲁因结构。推理轨迹中状态的频率决定了 $c$。我们通过对 Qwen2.5-1.5B-Instruct 进行微调,使其解方程并回答有关故事的问题,结果表明,频繁出现的状态(较小的 $c$)能够带来更高的准确率,但在测试时受到扰动时也更加脆弱。使用较大 $c$ 训练的 LLM,其表现并不优于那些不进行推理、仅执行模式识别的模型。适中的状态密度能够在准确率与鲁棒性之间取得平衡。我们表明,现实世界的数据具有德布鲁因结构:当注意力被限制在一个滑动窗口内,且该窗口长度小于完整推理轨迹长度的 15% 时,Qwen3-14B 和 Qwen3-32B 在 GSM8K、MATH-500 和 GPQA-Diamond 上仍能保持超过 75% 的准确率。

arXiv cs.LG71

FinVector-Market-4B: A Controlled Study of LoRA Adaptation for Structured Financial Tasks

arXiv:2610.08882v1 Announce Type: new Abstract: FinVector-Market-4B adapts Qwen/Qwen3.5-4B with rank-16 LoRA on a 22,000-example corpus for structured financial tasks. We evaluate the base and adapted models on the same 600-example benchmark under implicit and explicit JSON-schema contracts. Supplying the schema alone raises base-model JSON validity from 0% to 91.3%. Under matched explicit prompting, the frozen scores improve from 14.7% to 40.0% for FinQA answer exact match, from 48.0% to 82.7% for calculator-expression correctness, from 20.1% to 89.5% for scenario branch-label agreement, and from 52.4% to 87.2% for implication-direction agreement. A post-hoc policy-scoring audit shows that the reported macro-F1 decline reflects a changing label set; using the same three target classes gives 77.4% for the base and 83.1% for the adapter. Filing overlap and calculator-target inconsistencies qualify the benchmark's generalization claims. The results show that compact financial domain adaptation can produce substantial task-specific gains beyond output-format learning under matched prompting, with gains bounded by the evaluated task distribution and prompt contract.

arXiv cs.AI76

SemanticFold:潜在序列压缩使语言建模、可解码性与推理相分离

我们研究了对提示前缀进行潜在序列压缩能否保留大语言模型在推理时所依赖的能力。我们提出了 SemanticFold,这是一种在学习得到的边界处折叠前缀隐藏状态的压缩方案,并在五种模型规模上进行了评估:Qwen3-1.7B、Qwen3-8B、SmolLM2-1.7B、Pythia-1.4B 和 Pythia-6.9B。我们采用固定目标协议:对固定不变的前缀按原生方式或压缩方式执行处理,两组均对相同的续写词元采用教师强制。这一设计排除了由目标选择导致似然变化的解释。我们考察了五类终点指标:固定目标负对数似然、有限标签推理准确率、线性探针可访问性、开放式生成,以及系统层面的内存占用和延迟。我们发现,压缩使这些终点指标呈非单调变化,且它们并不共享单一的压缩阈值。在 Qwen3-1.7B 上,当压缩比 R=1.7 时,采用 10000 次抽样的配对自助法分析表明,压缩后的平均负对数似然(NLL)比原生方式降低了 0.135。在 SmolLM2 上,当 R=1.2 时,平均 NLL 比原生方式高 0.013。在两个 Pythia 检查点上,NLL 基本不变。将序列缩短与学习得到的残差变换分开考察的 NLL 分解表明,Qwen 上的似然改善主要归因于残差适配,而非仅仅缩短序列。仅应用变换而不缩短序列的 MLP-only,其 NLL 比 Full SemanticFold 低 0.082。在各条件下,线性探针准确率和宏平均 AUC 的变化绝对值均小于 0.03,且置信区间均跨越零。我们得出结论:潜在压缩下的能力保留不存在单一的标量判据;语言模型拟合度、可解码性和推理行为回答的是不同问题,在相同的压缩操作下,它们可能朝不同方向变化。

arXiv cs.AI63

SOTA: Stock Options Trading Agents Guided by Option-Implied Return Distributions

As option markets grow and AI advances, agentic systems for option trading are gaining increasing attention. Language-model-based agents can reason over contextual information such as news, but option trading presents a particularly challenging decision problem: a single stock can have thousands of contracts, and the agent must decide both which contracts to trade and how to combine them. Existing approaches often sidestep this complexity by restricting the policy to a fixed strategy structure, such as a straddle, limiting their ability to switch strategies as market conditions change. We present SOTA (Stock Options Trading Agents), an agentic trading framework for structured option-strategy selection. SOTA abstracts the large option universe into strategy-level decisions while deterministic resolvers handle portfolio implementation. We develop SOTA by post-training Qwen3.8-27B with supervised fine-tuning followed by reinforcement learning. SOTA is evaluated on options on nine large-cap U.S. equities and SPY against rule-based and machine-learning strategy selectors in the same trading environment. Over a six-month out-of-sample period, SOTA earns an 18.3% total return with a Sharpe ratio of 1.60 and a maximum drawdown of 8.96%. We also document an asymmetric role of news: news improves frontier-teacher trajectories, but retaining news during reinforcement learning reduces out-of-sample return from 18.3% to -2.7%.

arXiv cs.AI79

在它们能够解决问题之前:从基础模型预测后训练后的编程智能体性能

我们如何预测哪个基础模型检查点值得投入一轮昂贵的智能体后训练?端到端 pass@$K$ 检验成功行为是否已经出现在基础模型的分布中,但它并不适合智能体编程:许多基础模型检查点无法可靠地生成格式正确的工具调用,而这是端到端完成任务所必需的。单次或短程任务将多步交互压缩为固定提示和单个补丁,从而避开这些工具调用失败,但也绕过了我们真正关心的核心能力:随着代码仓库不断演变,在多个使用工具的步骤中维持连贯状态。为弥合这一差距,我们将后训练智能体的成功轨迹视为基础模型潜力的前瞻信号。通过重放每条轨迹,并在每个修改代码的步骤后重新运行测试,可以识别出决定性步骤:即累积补丁首次使代码仓库从测试失败转为通过的步骤,从而确认在给定先前上下文的情况下,所记录的动作能够解决任务。受智能体轨迹覆盖原则的启发,我们围绕这一步骤构建了三种筛选方法,它们均不要求基础模型检查点从冷启动开始驱动评测框架:(i) Decisive-Action BPB(每字节比特数)衡量已验证动作上的概率质量;(ii) Patch MCQ 测试检查点在该动作与被同一验证器否决的备选动作之间的选择;(iii) 以前缀为条件的 pass@$K$ 评估模型生成分布对功能正确结果的支持程度,并将任何通过测试的续写计为成功。在十对公开的基础模型与后训练模型中,这三种筛选方法对模型组给出的排名均与后训练模型的 SWE-bench Verified pass@$1$ 排名高度一致。由于我们的方法仅需要基准测试中的成功轨迹及其验证器,因此可以用来将未来的智能体编程基准转化为基础模型评估。

arXiv cs.AI76

RECAST:通过自适应证据路由学习计算恰当的上下文

大语言模型正日益广泛地应用于以冗长、异构信息源为基础的任务。传统的检索增强生成(RAG)依赖基于相似度的固定检索方式,而智能体式变体虽然能够调整查询和工具使用,但总体上仍以检索为中心。然而,在许多任务中,求解所需的证据并未明确存在于任何单个信息源条目中,而是必须通过对多个信息源条目进行筛选、聚合或计算才能推导得出。在本研究中,我们提出 RECAST(Routing Evidence through Computation, Access, and Synthesized Tools),这是一个通过学习构建的框架,将证据构建表述为围绕异构检索与计算操作展开的序贯决策过程,使证据能够被主动推导,而非仅仅被检索。轻量级 RouterLM 以迭代方式选择并构造基本操作,或指定定制操作,由参数冻结的 CompilerLM 将其转换为可执行代码。一旦判定证据充分,RouterLM 就会将采纳的证据传递给参数冻结的 AnswerLM,以生成最终解答。我们先通过监督微调(SFT),再通过组相对策略优化(GRPO)训练 RouterLM。在六类异构基准测试中,RECAST 的平均成功率达到 75.6%,比最强的大模型基线高出 15.9%。此外,经过训练的 Qwen3.5-9B RouterLM 比未经训练的 Gemini 3.5 Flash RouterLM 高出 5.0%。在三个未参与训练的基准测试中,RECAST 比最强基线平均提升 15.0%,展现出跨任务和异构信息源表示的强大零样本泛化能力。

arXiv cs.AI74

将逻辑与人设解耦:边缘端 LLM 智能体对上下文污染的结构性免疫

边缘设备上的小型语言模型智能体必须在同一个充满对话历史和人设指令的上下文窗口内,同时维持人设并进行正确推理。我们研究了当对话历史冗长、具有误导性且充斥人设内容时,这类智能体的逻辑部分会受到什么影响(人设—逻辑干扰),并提出一种解耦架构(AO-DA):在一个配备可热切换 LoRA 适配器的 INT4 基础模型上,将逻辑推理(“做什么”)与人设表达(“如何表达”)分离为两条推理路径。逻辑路径仅接收当前轮次的核心内容,并输出可验证的结构化状态(Micro-State);人设路径则结合完整历史,以符合角色设定的方式呈现该状态。在 Apple M2 笔记本电脑上开展的同基础模型消融实验中(Llama-3.1-8B-Instruct 和 Gemma-3-4B-it,4 位量化;4 个污染级别 × 3 个实验组 × 2 项任务 × 2 种人设 × 5 个随机种子,共 480 次运行),我们发现:(i) 解耦后的逻辑路径在结构上不随污染程度变化:其提示词长度始终保持为 180(Llama)或 167(Gemma)个 token,而混合式单次推理的提示词长度从 242 增至 1,203 个 token;其输出在各污染级别下逐字节一致(40/40);(ii) 混合式单次推理的表现随污染程度增加而单调下降(Llama 的综合逻辑得分从 0.669 降至 0.150,Gemma 从 0.487 降至 0.150),主要原因是未能输出所要求的结构化内容(在最高的两个污染级别下,Llama 有 80–95% 的运行出现该问题,Gemma 则为 100%);(iii) 当向解耦后的逻辑路径输入相同污染内容时,采用专用适配器和专用格式的路径在 8B 模型上仍比单次推理更稳健(失败率为 0–20%,对比组为 80–95%;配对 $Δ$ 为 +0.30 至 +0.50,Cliff's $δ$ 为 0.50–0.85,Holm 校正后的 $p \le 0.03$),但在 4B 模型上并非如此,两种方式均告崩溃。分离的代价是在一个话题的首轮中增加一次解码(Llama 上为 28.2 秒,对比组为 18.2 秒),换来的能力是无需重新运行逻辑路径,即可在 1.7 毫秒内完成人设热切换。代码、评分标准、测试夹具、适配器和日志均已公开。

arXiv cs.AI77

UltraText Bench:用于评估图像生成中视觉文本渲染能力的综合性双语基准

密集视觉文本要求图像生成器在多个区域中复现长字符串,同时确保位置正确且清晰可读。随着短字符串渲染能力的提升,评估必须检验模型在更具挑战性的场景中的持续表现。我们提出 UltraText Bench,这是一个仅通过提示词生成密集视觉文本的双语基准。它包含 432 条提示词,涵盖 24 类真实世界场景和三个难度级别,英语和中文各占一半。每条经过人工审核的提示词都为四至十二个文本区域提供确切的字符串,并配有关于文本内容、位置和视觉属性的结构化参考信息。我们使用视觉语言模型 Q-Judger,根据完整参考信息评估每张图像,报告文本保真度、文本清晰度、空间质量和场景质量。在 24 种模型配置中,这些维度揭示了不同的优势:在所报告的设置下,Z-Image-Turbo 的清晰度得分比 Z-Image-Base 高 3.81 分,但保真度得分低 14.76 分。性能也随任务负荷而变化;Qwen-Image-2512 的英语综合得分从 L1 的 86.50 降至 L3 的 42.86。十名参与者对自动评分进行了人工评估。代码仓库:https://github.com/LINs-lab/UltraText_Bench。

arXiv cs.AI83

震耳欲聋的沉默:灾难性遗忘潜藏于数据从未提及的词元输出嵌入中

大语言模型(LLMs)的持续预训练和微调不可避免地会引发灾难性遗忘,通常通过回放原始数据来缓解,但这些数据往往无法获取。在这种无法访问原始数据的情境下,我们分析了遗忘发生的位置及其原因。在五种参数规模最高达 1.4B 的设置中进行的系统性参数冻结实验表明,遗忘选择性地集中在新语料中罕见词元的输出嵌入中,而模型主体中处于相同 sqrt(v-hat) 区间的参数则基本不起作用,新的学习发生在其他位置。这种局部化现象由语料的词汇缺失程度决定,而非训练模式决定,因此,对于固定的基础模型,仅凭词元计数即可在再次训练前对遗忘风险进行排序。从机制上看,缺失词元会持续接收单向的 softmax 梯度,而 Adam 的二阶矩(sqrt(v-hat))归一化会将这些梯度放大为完整幅度的更新。因此,我们提出一种干预方法:在训练期间,仅提高输出投影所用的 Adam epsilon。在涵盖四个模型家族、参数规模从 160M 到 12B 的八种设置中,该方法在全部七种稳定配置下消除了 39.4% 至 67.9% 的遗忘,且不会损害目标任务学习,也无需针对各模型单独调参。该防御方法与回放结合时,可产生叠加甚至更好的效果(在 Qwen/韩语设置下达到 79.8%),并能避免解冻输出头的 LoRA 出现遗忘激增至 23 倍的情况。由于事后编辑发生漂移的行只能挽回不到 5% 的遗忘,这种干预必须在训练期间实施。我们的研究结果表明,当语料无法充分覆盖词汇表时,只需一行代码的优化器调整就可能成为抵御灾难性遗忘的主要手段。

arXiv cs.AI77

基于任务结果训练 LLM 智能体的顾问

大语言模型智能体通过交替进行推理、调用工具和获取环境观测来处理多步骤任务。已有研究表明,自然语言反馈可以帮助这些智能体在任务执行过程中调整决策。我们提出 Caddie,一种训练评估器的方法,使其在智能体执行任务时提供自然语言分析和建议。与依赖步骤级标签或参考评语的方法不同,Caddie 根据智能体在收到评估器反馈后最终是否成功来学习。我们通过强化学习优化评估器,同时保持基础模型的参数冻结。我们的 Qwen3-4B 评估器仅使用一个基础模型在多跳问答任务上进行训练,便能提升四个不同规模和架构的基础模型的成功率,其中三个模型未参与评估器训练。在 MuSiQue 基准上,训练后的评估器将 Qwen3-4B 的成功率提高了超过 25 个百分点,使其表现超越了未配备评估器的 Kimi K3。同一个评估器无需额外训练,也能在域外交互式基准上带来性能提升,包括 $τ^3$ 和 DeepDive。我们的结果表明,智能体可以在推理时决定何时向评估器寻求帮助,而基于任务结果的评估器训练能够产生可跨基础模型和任务领域迁移的指导。

arXiv cs.AI71

QCATS:面向高效预测查询处理的查询上下文感知 Transformer 切片

数据库内预测查询处理日益广泛地在关系处理流水线中应用基于 Transformer 的模型。然而,现有的数据库内推理通常仅向推理运行时暴露元组级模型输入,使神经网络执行规划无法获取关系谓词和元数据统计信息。本文提出 QCATS,一种查询上下文感知的 Transformer 切片框架,可在数据库系统内部实现高效的稀疏推理。QCATS 以查询为粒度执行:它不在推理期间对单个词元或元组进行路由,而是在模型执行前,利用查询谓词和元数据统计信息预先选择与上下文匹配的 FFN 切片。该框架包括离线专家构建和轻量级查询级路由,后者在执行期间动态选择专家。QCATS 还引入了异步 CPU-GPU 流水线和路由感知批处理等系统优化。使用 BERT-base 和 Qwen-0.6B 在四种预测查询工作负载上开展的实验表明,QCATS 可实现最高 4.42 倍的延迟缩减,同时保持与稠密基线相当的预测准确率。

arXiv cs.LG78

SpliTEE:结合 GPU 辅助可信执行环境与差分隐私,实现快速且保护隐私的 LLM 推理

arXiv:2609.15039v3 公告类型:replace-cross 摘要:用户提供给大语言模型(LLM)的提示词可能包含隐私信息。一种保护方式是在可信执行环境(TEE)内运行 LLM。然而,这会导致推理缓慢,因为在 LLM 推理任务中,当前 TEE 的速度显著低于 GPU。为解决这一问题,Tram\`er 和 Boneh(2019)提出了 Slalom,将神经网络推理拆分到 TEE 和不可信 GPU 上执行,并对外包给 GPU 的计算所使用的输入进行加密。本文将这种拆分推理架构扩展到 LLM 推理,并改用差分隐私(DP)保护中间输入。我们首先展示了一种利用中间表示重建提示词的攻击,其准确率达到 80%,从而证明对中间表示进行掩蔽的必要性。我们的主要贡献是对 LLM 推理中关键函数的全局敏感度进行分析,从而为所需的 DP 噪声尺度给出界限。与加密不同,DP 无需量化,使 LLM 能够始终在浮点域中运行。我们还推导了掩蔽及后续噪声消除所引入的浮点误差上界,该上界是隐私参数 epsilon 的函数,同时保持 LLM 响应质量不变。我们使用 Intel TDX TEE 和两个 LLM——Llama-3.2-3B 与 Qwen3-4B——实现了这一架构。我们的拆分执行速度接近完全基于 TDX 的推理的两倍。此外,其速度比 Slalom 最多快 43%,同时准确率更高。最后,我们证明,即使已知 DP 机制,提示词重建也无法恢复出比无关提示词所包含的信息更多的信息。

arXiv cs.LG74

SAE++:级联稀疏自编码器在多模态大语言模型中学习多层级视觉概念

arXiv:2606.16193v2 公告类型:replace-cross 摘要:多模态大语言模型(MLLMs)在视觉语言任务上表现出色,但其内部视觉表征仍然难以解释。稀疏自编码器(SAEs)提供了一种可扩展的方法,可将稠密的模型激活分解为稀疏、可解释的特征。然而,现有 SAE 架构主要学习扁平化的特征字典,不太适合显式地组织多层级概念。本文提出一种名为 SAE++ 的级联稀疏自编码器架构,用于学习 MLLMs 中的层次化视觉概念。SAE++ 并非嵌套或堆叠 SAE 的稀疏激活编码,而是直接以第一级 SAE 的解码器权重训练第二级 SAE,将学到的低层级特征方向作为更高层级抽象的输入。这一设计使 SAE++ 能够学习“概念的概念”,同时避免嵌套式 Matryoshka 层次结构中共享前缀耦合带来的弊端,以及简单堆叠 SAE 所产生的瓶颈。在多个视觉数据集上针对 Qwen3-VL、Gemma-3 和 LLaVA 开展的实验表明,与当前最先进的 SAE 基线相比,SAE++ 在层次化概念一致性方面提升了可解释性。概念引导实验的结果进一步表明,学到的概念组能够支持对 MLLMs 输出进行有效的组级干预。代码已发布于 https://github.com/Wang-ML-Lab/sae-plus-plus。

arXiv cs.LG65

A Sharp Finite-Iteration Theory for Asynchronous Categorical Distributional Temporal-Difference Learning

arXiv:2605.06866v3 Announce Type: replace Abstract: We study finite-iteration behavior of asynchronous categorical distributional temporal-difference methods, covering scalar categorical TD (CTD) in the Cram\'er geometry and multivariate signed-categorical TD (MTD) in the maximum mean discrepancy (MMD) geometry. We establish high-probability guarantees under i.i.d. sampling and under a continuing Markovian trajectory. For CTD, the Cram\'er sample complexity to the true return law has leading term $\tilde O(\rho_{\min}^{-1}(1-\gamma)^{-2}\varepsilon^{-2})$ in the i.i.d. and $\tilde O(\mu_{\min}^{-1}(1-\gamma)^{-2}\varepsilon^{-2}+\mu_{\min}^{-1}t_{\mathrm{mix}})$ in the Markovian setting, without using variance reduction or data dropping. For MTD, the MMD sample complexity has leading terms $\tilde O(\rho_{\min}^{-1}(1-\gamma)^{-1-c}\varepsilon^{-2})$ and $\tilde O(\mu_{\min}^{-1}(1-\gamma)^{-1-c}\varepsilon^{-2}+\mu_{\min}^{-1}t_{\mathrm{mix}})$, where $c\in(0,2)$ is the homogeneity exponent of the MMD kernel, and they reduce to the CTD rates when $c=1$. These are, to our knowledge, the first finite-iteration rates for MTD. For undiscounted fixed-horizon policy evaluation, the same analysis applies to fixed-horizon versions of CTD and MTD under i.i.d. and episodic sampling, and the rates match the discounted ones with the effective horizon $(1-\gamma)^{-1}$ replaced by the horizon $H$ in the leading term. Matching minimax lower bounds show that the leading terms, and the implied $1$-Wasserstein rates, are optimal under i.i.d., Markovian, and episodic sampling. Together, these results provide a unified non-asymptotic analysis of asynchronous categorical distributional TD across scalar, multivariate, discounted, and fixed-horizon settings, with rates that are minimax optimal in their leading terms.

arXiv cs.LG78

我看得够多了吗?冻结的视频语言模型编码了证据就绪状态

arXiv:2610.08560v1 公告类型:交叉收录 摘要:流式视频语言模型不仅必须决定回答什么,还必须判断当前问题所需的证据是否已经出现。现有系统将这一决策作为独立的触发机制来学习;我们则探究未经修改的模型是否已经在计算这一状态。我们表明,冻结的 VideoLLMs 携带一种可通过线性方式读取的证据就绪信号,其标签来自带时间戳的证据,而非模型输出。在采用逐字节完全相同输入的统一评估中,全部七个模型的这一信号均可被解码(在最严格的未就绪采样条件下,AUROC 为 0.733–0.905,而拟合的时钟预测器接近随机水平);即使拟合探针时未使用某一基准系列的任何视频素材,该探针仍能读取该系列的信号。该信号以问题为条件:对于逐字节完全相同的视频窗口,仅改变问题就会使 66.1% 的配对样本的读出结果发生反转,而所有不使用问题信息的对照方法由于实验设计均处于随机水平。模型即使回答错误,也仍能编码就绪状态:在错误回答中,AUROC 仍达 0.722。在延迟匹配的答案选择任务中,就绪信号也优于不确定性估计器及其有监督组合,并且比置信度更贴近独立的人类判断。已发布的流式触发器同样采用线性读出,但在其自身基础模型的激活上读取时,训练后的触发器与就绪信号近乎正交,其解码就绪状态的准确性远低于探针。我们将这一读出机制转化为 Readiness Gating,一种回答时机策略,在视频时长匹配的情况下,准确率最多提升 9.75 个百分点,且计算开销可忽略不计。其收益大小随任务提供的准确率提升空间而变化:在 26 种配置中,收益随这一空间变化;在像素完全相同的情况下,改变这一空间的干预也会使收益随之变化。

arXiv cs.LG78

迈向对齐缩放定律:一个框架与首批预注册测量

arXiv:2610.08540v1 公告类型:交叉发布 摘要:随着模型规模增大,对齐究竟变得更容易还是更困难,人们往往依据孤立的发现展开争论,仿佛对齐是一种单一属性。我们将其视为一组可测量的缩放关系:对于每个风险类别 r,将维持固定安全目标所需的对齐负担建模为 B_r(N)=a_rN^alpha_r,其中 N 是能力的代理指标;相对于与 N 成正比的预算,若 alpha_r<1,规模扩展有助于对齐;若 alpha_r~1,对齐与规模扩展保持同步;若 alpha_r>1,则会积累对齐债务。我们给出负担的三种操作化定义,并区分观测对齐、审计对齐和真实对齐。一个纠正措施会消耗能力余量的简化模型明确展示了这些关系的后果。我们证明:决定长期状态的是已纠正风险中的最大指数,而非平均值;当该指数大于 1 时,任何将能力余量维持在某一下限之上的策略都必须实现超指数增长;对于由幂律的正系数组合构成的负担,在小模型上进行的拟合会低估大规模下的指数;而能够发现隐藏失效且不产生假阳性的审计,绝不会低估真实对齐。我们提出了一套可预注册的方案,并两次应用了其简化版本。对 Pythia 分类器公开对抗训练数据进行的预注册重新分析发现,将攻击成功率降至 10% 以下所需的计算量按 N^0.60 增长。针对 Qwen2.5 0.5B-72B 的预注册试点研究发现,真实性的指数为 -0.05,所表述行为倾向的指数为 0.48(按照其简化判定规则,规模扩展对两者均有帮助,尽管在最大规模附近局部斜率接近 1;这些结果在 Qwen3 0.6B-14B 上得到复现),而谄媚行为(指数为 0.89,在 72B 规模增加两个随机种子后为 0.83)和一个人为植入的后门尚无定论:已知触发器时,后门会被迅速移除,但在五种规模中的四种上,它在不知晓触发器的安全训练后仍然存在。我们发布了四款可供玩家体验这些定律的浏览器游戏(www.aisafety.fun)。对于当前前沿模型处于哪种状态,我们不作任何断言。

arXiv cs.LG67

DIPrune: Task-Aware Token Pruning with Dual Importance for Efficient Multimodal Language Models

arXiv:2610.08341v1 Announce Type: cross Abstract: Recent training-free pruning approaches for Multimodal Large Language Models (MLLMs) effectively cut computational overhead by exploiting visual redundancy or text-vision attention. However, they frequently suffer from semantic degradation due to their task-agnostic design or unreliable attention estimates. Based on our empirical analysis, we have found that this issue arises because salient tokens in shallow layers persistently suppress emerging semantic ones through numerical inertia, leading to premature discarding of signals crucial for deep reasoning. To address the aforementioned issue, from the task-oriented aspects, we first reformulate training-free pruning as a minimization of the distortion in the final task loss and derive a tractable, token-wise upper bound to serve as a surrogate objective. Specifically, this formulation inherently reveals a previously neglected inter-layer term that accounts for gradients across layers. Accordingly, for the implementation, we propose DIPrune, a rank-based framework that employs a dual importance scoring mechanism to jointly optimize intra-layer static feature saliency and inter-layer dynamic semantic evolution. Extensive experiments on LLaVA and Qwen-VL demonstrate that DIPrune consistently achieves state-of-the-art results.

arXiv cs.LG68

Beyond the Leaderboard: Multi-Dimensional Evaluation of Dense and Mixture-of-Experts Models for Automated Program Repair

arXiv:2610.08173v1 Announce Type: cross Abstract: Automated Program Repair (APR) with language models is usually evaluated by whether a generated patch passes the test suite, which can hide differences in maintainability, security, and computational cost. We propose a Weighted Quality Index (QI), inspired by the ISO/IEC 25010 software quality model, that combines functional correctness, maintainability, security, and generation efficiency under configurable weighting schemes. We evaluate three dense Qwen2.5-Coder models (3B, 7B, 14B) and the 16B-parameter DeepSeek-Coder-V2-Lite Mixture-of-Experts (MoE) model (2.4B active parameters) on 40 QuixBugs and 90 Defects4J bugs, all run locally on identical hardware to control for infrastructure effects. Model rankings change with the weighting scheme, showing that single-metric evaluation can hide trade-offs. The MoE model shows almost no statistically significant difference in correctness from the 7B and 14B dense models (McNemar's exact test) while using 3-6 times fewer active parameters, whereas correctness increases significantly across the three dense scales. These results suggest that active parameter count can be a more informative lens than total parameter count for sparse code models.

arXiv cs.LG71

Do I Need the Cloud? Uncertainty-Aware Step-Level Handoff for Small Language Model Agents

arXiv:2610.07816v1 Announce Type: cross Abstract: Small language models (SLMs) are attractive as local agent controllers because they reduce remote inference, latency, and deployment footprint, yet structured tool errors can cause an agent step to fail. Existing routers typically select a model once per query. However, agents expose sequential decision points whose difficulty dynamically changes based on intermediate observations. We propose STEPGATE, an uncertainty-aware handoff framework that scores each local SLM action and selectively escalates challenging steps to a stronger model. On a 52-task held-out single-step BFCL-derived test split, the Qwen2.5-1.5B/7B pair attains 82.7% task success with 30.8% escalation, versus 67.3% local-only and 75.4% random escalation (which uses 33.8% escalation). In a separate multi-turn evaluation, STEPGATE achieves 69.0% trajectory success and 84.0% action success using only 30.0% cloud actions, compared with 48.0%/70.5% local-only, 60.0%/78.2% random escalation, and 57.0%/77.1% query-level routing (strong-only achieves 82.0% trajectory success at 100% cloud actions). These results suggest that step-level escalation recovers a large share of the performance gap to the stronger Qwen2.5-7B backend at a matched cloud-action rate while transmitting fewer tokens remotely. However, our evaluation is limited to one model family, a single stronger backend, and scripted tasks. Furthermore, the test sets are small, multi-turn comparisons rely on paired intervals and statistical tests, and our risk tiers serve as research annotations rather than formal safety guarantees.

arXiv cs.LG74

量化对工具故障恢复的影响因提示词和评估设计而异

arXiv:2610.07781v1 公告类型:交叉收录 摘要:训练后量化降低了语言模型智能体的部署成本,但其对临时工具故障恢复的影响可能取决于恢复能力的评估方式。我们在二十项确定性工具使用任务和五种提示词下,比较了 Llama-3.1-8B-Instruct 和 Qwen2.5-7B-Instruct 的 8 位与 4 位版本。8 位与 4 位版本在恢复能力上的比较结果,其优劣方向随提示词和评估对象而变化。在同一提示词下两个版本均能在无故障条件下完成的任务中,Llama 的差异范围为 0 至 +20.2 个百分点,Qwen 则为 -50.0 至 +35.0 个百分点。全流程点估计在全部五种提示词下均显示 8 位 Llama 更优,而 Qwen 的比较结果则随提示词变化而出现优劣反转。评估对象也可能使结果反转。对于某一种提示词下的 Llama,若仅在各版本自身能在无故障条件下通过的任务上评分,4 位版本领先 17.5 个百分点;若在相同任务上对两个版本评分,则没有差异;而对全流程评分时,8 位版本领先 28.3 个百分点。执行器的宽容程度是第三个会影响结果的选择。在该提示词下,8 位 Llama 违反严格输出解析要求的频率远高于 4 位 Llama;使用严格输出解析对同一批日志重新评分,会使上述 +28.3 变为 -15.0,而 Qwen 的结果基本不变。这些发现表明,仅凭一种提示词、一组筛选后的任务和一种评分策略,无法对量化智能体的稳健性得出稳定结论。评估应在匹配的任务上比较不同版本,报告全流程成功率以支持部署决策,明确评分策略,并在任务层面而非注入故障的位置层面量化不确定性。

arXiv cs.LG77

APEX:更智能地推测,而非更深入地推测

arXiv:2610.07780v1 公告类型:交叉发布 摘要:推测解码通过在目标模型验证之前起草多个词元,降低大语言模型的推理延迟,但其有效性同时取决于候选生成机制和草稿深度。固定配置无法响应生成过程中可预测性、重复性和接受率的变化,因此,更深入的起草可能增加无效计算,却无法带来成比例的加速。我们提出 APEX,这是一种通过学习得到的控制器,借助请求级专家选择和块级深度自适应,在解码速度与草稿词元浪费之间取得平衡。APEX-Router 为每个请求从 EAGLE-3、n-gram 和草稿模型推测方法中进行选择,而 APEX-Depth 则利用因果解码信号和验证器近期反馈,在每个验证块调整草稿长度。APEX 将被接受的草稿长度建模为删失生存反馈,学习各位置的拒绝风险、块执行成本,以及兼顾吞吐量、已接受进展和浪费词元的动作效用。这使控制器能够在保留目标模型验证流程的同时,自适应调整推测策略。我们将 APEX 集成到 vLLM 中,并使用 Qwen3-8B 在六种工作负载上进行评估,相较于自回归解码,实现了最高 5.24 倍的加速。在汇总评估中,APEX-S 实现了 4.27 倍的加速,而 APEX-B 实现了 3.27 倍的加速,且相较于 k=16 的固定 n-gram 推测方法,浪费词元比例相对降低了 41.0%,为平衡加速效果与草稿词元利用率提供了不同的运行配置。

arXiv cs.LG78

利用 AI 裁判进行可信的方法比较:顺序、批次与聚合效应下的估计与设计

arXiv:2610.07755v1 公告类型:交叉收录 摘要:大型语言模型(LLMs)正越来越多地被用作自动化 AI 评估的裁判。一种常见做法是将提示序列随机化,并对所得评分取平均值,但其统计有效性尚不明确。我们表明,LLM 评估机制可以用一类马尔可夫广义线性混合模型(GLMMs)来近似,针对三款主流商业 LLM 的样本外预测结果支持了这一结论。我们使用一阶马尔可夫 GLMM 研究排行榜排名与组间比较问题。对于排行榜排名,在温和的分离条件下,随机化后取平均的选择方法具有一致性;当项目质量接近时,Williams 方阵设计可以提高效率。对于组间比较,由于响应模型的非线性,简单取平均可能导致关于组级质量差异的结论不具备一致性。实证结果进一步支持了所提出的基于模型的推断方法在一阶理论之外的有效性,包括具有高阶序列记忆的情形。我们通过一个由 AI 裁判比较两种图模型估计方法的应用来展示该方法。

arXiv cs.LG67

Nash Social Welfare for Multi Armed Bandits: Trajectory-wise Expected and High Probability Regret

arXiv:2610.07737v1 Announce Type: cross Abstract: We study fair multi-armed bandits under the Nash Social Welfare (NSW) objective, which measures performance via the geometric mean of accumulated rewards. Existing work defines Nash regret as $\mathrm{NR}_T = \mu^\star - (\prod_{t=1}^T \mathbb{E}\mu_{I_t})^{1/T}$, where $\mu_{I_t}$ is the mean reward of the recommended arm $I_t$ and $T$ is the horizon. Since it applies the geometric mean to per-round marginal expectations, it ignores the joint distribution of rewards across rounds, leaving the NSW fairness motivation unaddressed at the trajectory level. We propose \emph{trajectory-wise Nash regret} $\widetilde{\mathrm{NR}}_T = \mu^\star - \mathbb{E}[(\prod_{t=1}^T \mu_{I_t})^{1/T}]$, which computes the geometric mean over complete sample paths before taking expectations, capturing NSW fairness more faithfully. By Jensen's inequality, $\widetilde{\mathrm{NR}}_T \geq \mathrm{NR}_T$, making it a strictly stronger metric. We also introduce \emph{high probability Nash regret} $\widehat{\mathrm{NR}}_T = \mu^\star - (\prod_t \mu_{I_t})^{1/T}$, giving the first high probability regret bounds in fair bandits. Our two-phase algorithm, Round Robin Nash Confidence Bound (\texttt{RR-NCB}), combines round robin exploration with a Nash confidence bound index policy. We show $\widetilde{\mathrm{NR}}_T \leq \widetilde{\mathcal{O}}(\sqrt{k\log T/T})$ and, with probability $1-\delta$, $\widehat{\mathrm{NR}}_T \leq \widetilde{\mathcal{O}}(\sqrt{k\log(kT/\delta)/T})$, matching the optimal $\widetilde{\mathcal{O}}(\sqrt{k/T})$ rate despite the stronger metrics. Optimality follows from a lower bound via AM-GM and standard $k$-armed bandit minimax arguments. Simulations validate our theory.

arXiv cs.LG77

通过嵌入空间中的强化学习来学习检索

arXiv:2610.07731v1 公告类型:交叉发布 摘要:稠密检索模型通常采用对比学习目标进行训练,这些目标能够学习有效的表示,但并不直接优化检索指标或下游任务性能。为解决这一问题,我们提出 RELER(REinforcement LEarning for Retrieval),这是一个强化学习框架,使现有嵌入模型能够直接在嵌入空间中学习检索,并与任务特定的奖励对齐。我们训练 RELER 的方式是:从以归一化编码器输出为中心的 von Mises-Fisher(vMF)分布中采样单位长度的查询和文档嵌入作为动作,将由此产生的检索结果或下游任务结果评分作为奖励,并使用带有留一法基线的 REINFORCE(RLOO)更新编码器。由于高维嵌入空间中的探索容易受到采样噪声影响,我们进一步提出条件均值投影(CMP),将每个采样嵌入投影到由其编码器输出及与之比较的候选嵌入所张成的低维子空间中,在保持策略梯度期望不变的同时降低其噪声。我们在 BRIGHT 上评估 RELER,该基准包含需要密集推理的查询,对现有嵌入模型而言仍具有挑战性。在对 BGE-M3 和 Qwen3-Embedding 骨干模型进行后训练时,RELER 在平均 nDCG@10 上始终优于 InfoNCE 和 LambdaLoss。我们还通过检索增强生成(RAG)评估其下游效用,其中仅调整查询编码器,同时保持文档索引和生成器不变。在七个问答数据集上,联合优化检索奖励和答案奖励同时提升了 RAG 的平均检索性能和答案质量。

arXiv cs.LG73

均匀离散扩散模型在估计有效支撑集较小的分布时具有极小极大最优性

arXiv:2610.07655v1 公告类型:交叉发布 摘要:离散扩散模型已成为在离散乘积空间上进行生成建模的一种实践成效显著的框架,但其统计泛化性质仍缺乏深入理解。文本或生物序列等现实世界中的离散数据,由于语义或物理约束,往往集中在规模极其庞大的环境空间中的一小部分区域;然而,现有界未能刻画这种分布结构,反而随环境空间的规模增长,导致误差界几乎失去实际意义。针对这一缺口,我们为均匀离散扩散推导了由有效支撑集大小 $s_n(P_0)$ 决定的统计保证。均匀离散扩散与掩码扩散是两种主流的离散扩散范式,而 $s_n(P_0)$ 是一种依赖于样本量的分布复杂度度量。给定来自 $[K]^d$ 上未知数据分布 $P_0$ 的 $n$ 个独立同分布(i.i.d.)样本,我们证明,通过适当选择网络规模和超参数,期望总变差(TV)损失的量级为 $O(\sqrt{s_n(P_0)/n})$,而期望 Kullback--Leibler(KL)散度的上界为 $O(\frac{1}{n}s_n(P_0)\log(eK^d/s_n(P_0))\log n)$。此外,我们证明,TV 收敛速率是极小极大最优的,而 KL 收敛速率在相差一个 $\log n$ 因子的意义下是极小极大最优的。这些上界与下界共同表明,对于有效支撑集较小的分布,均匀离散扩散能够成功规避维数灾难:TV 误差速率仅通过 $s_n(P_0)$ 依赖于环境状态空间的规模,而相应的 KL 收敛速率仅额外引入了对环境状态空间规模的对数依赖。

arXiv cs.LG80

40亿参数开放模型对随机试验给出的校准回答:一项预注册测试与许可合规的发布

arXiv:2610.07019v1 公告类型:交叉收录 摘要:Fiorillo v0.5 是一个开放模型,可回答类型化问题,并为每个答案给出概率。其主要专用模块读取截取至6,144个词元的随机试验论文,并回答与对照相比,某项干预是否显著增加、显著减少或未显著改变某个结局(Evidence Inference 2.0,EI)。该模型基于 Qwen3-4B-Base,配有低秩适配器和决策头,仅使用2,657篇训练论文中自身许可证允许再利用的1,431篇进行 EI 微调。在生成此版本的测试预测之前,研究者在 Open Science Framework 上注册了四项标准,以决定是否发布模型,其中第二项门槛在标签公开的 EI 测试集上评判。在该测试集(333篇论文中的1,218条提示)上,预期校准误差为0.0168,低于0.05的上限;对数损失比先验基线低0.8603(95%区间为0.8104至0.9078),比读取相同输入的 Gemma 4 31B-it 低0.1829(0.1164至0.2598);宏平均 F1 为0.9248,对比值为0.8668,因此四项标准全部通过。仅在许可合规的论文上采用相同方案训练,使准确率下降了0.0123(0.0034至0.0207;描述性结果)。不提供论文时,宏平均 F1 降至0.4384;仅提供标题可使其提高0.0939(0.0655至0.1234),这可能是因为标题陈述了结果,或模型记住了该试验;交换干预与对照后,其方向性回答中有0.6652发生反转。按发布配置运行时,发布文件生成的预测与评估时的预测之间的差异处于预先设定的范围内。本次发布采用 Apache License 2.0(数字对象标识符:10.57967/hf/10722)。

arXiv cs.LG81

哪种图像属性承载越狱信息?——对图像到文本越狱的受控剖析

arXiv:2610.07009v1 公告类型:cross 摘要:图像到文本越狱会将有害意图置于文本、图像内容或二者之间的关系中。我们在包含313条提示词的 StrongREJECT 子集上,使用五个多模态模型,并在附录中额外评估 InternVL3.5-8B,考察四类已发表攻击方法中的图像侧因素。有害指令在各个条件下保持不变;基线矩阵对每条提示词抽取一次样本,配对消融实验则抽取三次样本,并使用自动化评分标准评审器进行判断。单独的有害查询,无论是否附带无关的良性图像,在大多数目标模型上都只能取得很低的攻击成功率,而攻击图像会显著提高成功率。第一,单个图块的熵和 JPEG 大小无法可靠地区分攻击图块与尺寸匹配的良性干扰图块,这限制了仅基于密度的筛查。第二,早期的图块数量梯度受到载荷可见性的混淆。修正后的区域数量测试未发现可检测的影响,因此图块数量结构的作用仍未确定。第三,在 Qwen3-VL-8B 上,移除查询特定相关性的 E4 操作会使 ASR 下降约0.12。这支持将有限的影响归因于相关性操作,但图文一致性仍未得到测量。在重叠刺激材料上,类别内控制实验复现了这一方向。经过全局统计校正后,有五项测试仍然显著,但只有 E4 支持将影响归因于一个已测量的描述符;类别内结果是稳健性检查,而不是独立的归因证据。这些结论仍取决于评分标准评审器。

arXiv cs.LG73

音频越狱藏在哪里?对 Qwen2-Audio 上 AdvWave-P 的受控频率—深度审计

arXiv:2610.07005v1 公告类型:cross 摘要:我们针对 Qwen2-Audio 上的加性音频越狱 AdvWave-P,审计其关于频率和解码器深度的相关论断。该协议在短时傅里叶变换(STFT)域中屏蔽扰动的频率分量,并测量攻击成功率和 audio-span 表征。在 520 条 AdvBench 提示词上,主要评审者将 76.7% 的对抗输入标记为越狱。对条件不知情的单一标注者进行验证后,针对该条件得到的 Rogan-Gladen 敏感度估计为 0.87(考虑验证率不确定性时约为 0.83–0.95);这一校正未应用于屏蔽条件。表面上的频率排名取决于划分方式:仅能量占比就足以预测标准的八频带排名(Spearman rho = 0.95),而等 Hz 和等能量划分表明,屏蔽任何一个受测频带都可能使攻击成功率大幅下降。然而,在更精细的 16 频带等能量分辨率下,屏蔽 7520–7960 Hz 的窄频带后,ASR 仍为 0.10;在缺乏匹配对照的情况下,这一结果仍无法得到解释。匹配能量的分散移除测试表明,在较低频带中,连续移除的破坏性更大;而在较高频带中,两种移除方式都趋近于下限。全局重缩放使 ASR 保持在接近基线的水平,但它检验的是振幅敏感性,而非频率位置。在一次重新优化试验中(n = 20),受测的单频带和双频带支持集的 ASR 分别达到 0.00、0.25 和 0.40,而覆盖约一半 STFT 频点的随机支持集平均达到 0.86。在一个对提示词和能量进行调整的模型中,audio-span 散度与频带必要性相关,其系数从投影器输出处的 +0.63 上升至第 30 层的 +0.93(差值 +0.293,95% CI [0.11, 0.51])。这种相关性并非因果定位,单层修补也无法确立某一因果层。结果支持对频率论断进行感知划分方式的审计,但更高分辨率下高频顶部频带的结果及其更广泛的普适性仍有待确定。

arXiv cs.LG83

压力下坚持原则:后训练决定 LLMs 是否会依照自身的道德判断行事

arXiv:2610.08670v1 公告类型:新 摘要:语言模型日益充当智能体。一个声称某项行为是错误的、却仍然采取该行为的智能体,与一个并不知道该行为错误的智能体所犯的错误不同,而对其所声明价值观的评估无法识别这种差异。我们针对五类压力,构建了一个包含248个场景、并经过预注册的场景组。每个场景都向同一模型提出两次:一次让模型作为智能体选择行动,另一次则以第三人称询问哪个选项是正确的,以此将模型自身的判断作为参照。每个场景都有一个移除压力后的对应版本;同时,每个模型还接受一个正向对照,其中其操作者命令它采取违规行动,从而可以区分真正不存在差距与模型像盲人仪器一样执行命令这两种情况。在 OLMo-3-7B-Instruct 上,模型在约五分之一的施压场景中采取了自己判定为错误的行动,而且这一比例高于移除压力后的相同场景。在四个 instruct 模型中,这一差距取决于后训练方案:OLMo-3 和 Meta's Llama-3.1-8B-Instruct 存在该差距;Tulu 3 在整个场景组中均未显示出差距(概率上高于约0.01),在其自身压力最大的场景中也未显示出差距;Qwen2.5-7B-Instruct 在整个场景组中均未显示出差距(高于约0.02),而在其自身场景中的结果尚未确定(0.083,区间为 -0.028 至 0.195)。Meta's 方案与 Ai2's Tulu 3 都以相同的 Llama-3.1 权重为起点,但只有 Meta's 方案保留了这一差距。在没有任何利害关系的情况下,将聊天模型置于其聊天模板之外进行读取,会反转其差距的符号(在 OLMo-3 上,使用模板时为 +0.055,而不使用模板时为 -0.038);三种方案中有两种存在这种扭曲。在表现出该差距的两个模型上,在行动前对利害关系进行推理,会使选择重新趋近于模型自身的判断;与同长度的非道德任务相比,无论是否施加压力,结果都是如此。在 OLMo-3 上,明确指出所涉及的规范,其效果约为前述效果的三分之一。这一差距是后训练方案可测量的目标,而不是预训练权重所固有的固定属性。

arXiv cs.LG79

面向层次化推理奖励的强化学习:基于 Transformer 的极小极大最优速率

arXiv:2610.08561v1 公告类型:新 摘要:强化学习(RL)已成为在推理任务上对语言模型进行后训练的标准工具。在这一过程中,策略通过奖励反馈进行更新,同时探索响应空间。尽管 RL 在实践中取得了成功,但人们对 RL 后训练的理论理解仍然有限,尤其不清楚为什么结合神经奖励模型的在策略探索会如此有效。本文通过将奖励建模为响应空间上的层次化函数来研究这一问题:奖励由无限多个局部成分组成,每个成分只有在前面的成分得到解决后才会变得相关。我们证明,一种自然的基于 Transformer 的演员—评论家算法能够达到查询预算和正则化强度方面的极小极大最优速率(相差至多对数因子),并且对于固定数量的提示词而言是极小极大最优的。该算法交替执行以下步骤:从当前 KL 正则化策略中采样、根据观测到的奖励拟合 Transformer 评论家,以及更新策略。相比之下,我们证明,从固定参考分布中采样(如离线奖励建模中所做的那样)可能会将遗憾的衰减限制为对数速率。这些结果表明,在策略探索会逐步聚焦于奖励集中的区域,并量化了其对 RL 后训练的益处。

arXiv cs.LG79

VETTA:协调多轮 LLM 智能体的回合级与 Token 级信用分配

arXiv:2610.08402v1 公告类型:新增 摘要:多轮 LLM 智能体通常在多次交互中获得稀疏的任务反馈,同时逐个 Token 生成每次响应。这带来了两个相关的信用分配问题:哪些响应帮助实现了最终结果,以及每次响应中的哪些生成决策发挥了作用?现有方法通常只关注其中一个层级:回合级方法评估完整响应,却无法区分响应内部的决策;Token 级方法可以跨回合传播反馈,却没有显式地为每个响应建模信用。这些互补的局限性促使我们在两个层级同时学习信用,并在一次策略更新中对其进行协调。我们提出 VETTA,一种通过共享的轻量级评论器中的独立头部,联合学习回合级和 Token 级价值的信用分配方法。VETTA 沿两个时间序列计算优势,并将每个回合的优势与响应内部中心化的 Token 残差相结合,用于 PPO 更新。此外,为降低价值学习成本,评论器仅保留用于初始化 actor 的预训练检查点中的前若干个 Transformer 模块。在两个具有挑战性的智能体基准 ALFWorld 和 WebShop 上,使用 Qwen2.5-1.5B-Instruct 时,VETTA 相较于 PPO 的成功率分别提升 37.5% 和 22.3%;使用 Qwen2.5-7B-Instruct 时,成功率分别达到 95.5% 和 76.0%。评论器深度对比实验进一步表明,在显著降低评论器侧计算量的同时,仍可取得出色的任务性能。这些结果表明,一个紧凑的共享评论器能够协调回合级与 Token 级信用,在保持价值估计高效的同时提升智能体性能。代码见 https://github.com/Jiaju-Chen/VETTA-official。

arXiv cs.LG81

先对齐,再校正:面向极低比特量化大语言模型的免训练两阶段低秩补偿

arXiv:2610.08164v1 公告类型:新论文 摘要:低秩量化误差补偿(LQEC)通过在每个冻结的量化权重旁附加一个闭式求解的秩为 $r$ 的适配器,无需任何训练即可恢复激进权重量化造成的精度损失。我们表明,现有补偿方法受到两种共同简化假设的限制。首先,它们采用对称校准,在相同的激活上评估全精度权重和补偿后的权重,由此得到的补偿目标本质上是高秩的,因此固定的秩预算只能捕获其中的一小部分。其次,它们仅最小化损失的二阶项,尽管补偿后的模型并未处于驻点:每一层仍然存在一个比已施加的补偿本身更大的一阶下降方向,而任何重构目标都无法吸收这一信号。我们提出了一个两阶段闭式求解框架,消除了这两种简化假设。第一阶段在 Fisher 加权的非对称目标下,将每一层的输出与全精度模型对齐,使秩预算集中用于可进行秩压缩的目标。第二阶段在补偿后的模型上重新测量统计量,并执行受秩约束的自然梯度更新,以吸收剩余的一阶信号。每个适配器都由一次截断 SVD 得到;反向传播仅用于收集统计量。在采用 QuIP# 的 2 比特量化下,我们的方法将 Qwen3-8B 在 WikiText-2 上的困惑度从 12.43 降至 10.26,将 Qwen3-4B 的困惑度从 21.11 降至 13.22。在留出的 C4 语料库上,该方法分别弥合了与 FP16 之间差距的 51% 和 84%,而最强基线分别为 31% 和 63%;同时,在七项任务的零样本平均表现、更高比特位宽以及另一种量化器下,该方法均取得了一致提升。

arXiv cs.LG68

Do LLMs Act on What They Know? From Partner Representations to Cooperative Actions

arXiv:2610.08129v1 Announce Type: new Abstract: Cooperation with unfamiliar partners requires adapting to communication conventions that are not known in advance. We study this problem in a controlled Hanabi-derived environment with scripted hint generation, LLM-controlled receiving decisions, and frozen model weights. Across eight LLMs, linear probes recover intent conventions substantially more accurately than target conventions, yet receiving choices do not consistently agree with the sender's convention. We compare probe-predicted and ground-truth conventions presented either as general rules or as externally computed action recommendations. Rule statements yield modest and model-dependent changes in cooperation, whereas action translation produces larger gains on average. In a Qwen3-8B case study, matched-state statement reversals reveal much greater sensitivity to action recommendations than to rule statements. Activation transfers from oracle-action and non-oracle hint-restatement donors improve intent accuracy on both action classes, but the tested alternatives do not reliably reproduce these benefits. Together, these results distinguish convention decodability, sensitivity to convention information, and cooperative performance, and highlight limitations in turning available partner information into receiving decisions.

arXiv cs.LG81

检测到偏移还不够:线性表征修复的精确极小极大界限

arXiv:2610.08069v1 公告类型:新 摘要:两个数据源之间的均值偏移可能很容易检测,却很难在不大幅改变其表征的情况下去除。我们将其去除表述为一个统计决策问题:根据 $\mathbb{R}^d$ 中成对校准测量之间的含噪差异,学习一个线性映射,在严格的失真预算下同时应用于两个数据源,使其在新数据上残留的偏移尽可能少。我们推导出所有此类映射的精确有限样本极小极大风险,即 $(d-k) \mathbb{E}[1/(d+2J)]$,其中 $J\sim\mathrm{Pois}(\kappa/2)$;预算允许删除 $k$ 个方向,而 $\kappa$ 是校准信噪比。将均值校准差异所在的方向投影出去即可达到该风险上界,且无需知道 $\kappa$ 或噪声尺度。这揭示了一个检测—修复鸿沟:检测偏移只需 $\kappa\gg\sqrt d$,而在恒定失真下去除其中固定比例的偏移则需要 $\kappa\asymp d$,这与估计其方向的要求相同。标准线性概念擦除器(MP、SAL、LEACE)都会去除相同的校准差异,因此,该公式可以在拟合前精确给出它们在新数据上会残留多少偏移,以及目标任务需要多少校准数据。该结论具有稳健性:对于非高斯共享内容,配对仍使结论保持精确;对于各向异性噪声,投影仍保有其保证;选择性弃权也无法弥合这一鸿沟。在配对的临床和可穿戴睡眠 EEG 数据上,参与者之间的差异充当校准噪声;该公式能够预测新参与者身上残留的设备偏移,并表明每人增加更多记录很快就不再有帮助。总体而言,这些结果可以判断:一个效果不佳的校正究竟需要更好的方法、更多记录,还是更多参与者。

arXiv cs.LG78

FC-SWE:面向长时程软件工程智能体的失败条件化 RL

arXiv:2610.07898v1 公告类型:新 摘要:仓库级软件工程(SWE)是一个具有挑战性的长时程场景:智能体必须在长时间跨度的交互中进行推理、使用工具,并适应有状态环境。近期研究使用 Group Relative Policy Optimization(GRPO)等强化学习方法训练 SWE 智能体:针对每个问题独立采样多条轨迹,测试由此产生的补丁,并在固定组内比较终止奖励。然而,这种训练设置不会将失败补丁的验证器反馈作为后续尝试的上下文加以复用,尽管这些反馈包含了关于问题所在位置的宝贵诊断信息。恢复轨迹的训练颇具挑战,因为前一次结果决定下一条轨迹是否生成,而失败执行结果决定其条件上下文。我们提出 FC-SWE,一种将恢复尝试纳入策略训练的失败条件化强化学习框架。当补丁验证失败后,FC-SWE 会将仓库恢复到任务的原始状态,并使用失败补丁和验证器反馈作为恢复轨迹的上下文。FC-SWE 通过两种机制,将 GRPO 适配到这些由完整、多轮工具调用轨迹组成的链中。轨迹局部奖励保留每次尝试的验证器结果,避免恢复成功为此前失败的补丁提供奖励。主动集优势估计则从同一问题实际执行的所有初始轨迹和恢复轨迹中构建比较组,因此失败尝试仍保留在组内,而未执行的尝试则被排除。在验证器辅助协议下的全部 500 个 SWE-bench Verified 任务上,使用 Qwen3.5-4B 和 SWE-agent 的 FC-SWE 达到 41.7% 的 Resolved@1 和 52.8% 的 Resolved@2,而 GRPO 分别为 38.9% 和 48.5%。尽管训练时每条链最多仅包含两次尝试,FC-SWE 在测试时允许 11 次尝试的预算下达到了 70.7% 的 Resolved@11。

arXiv cs.LG84

迷失在 bf16 转换中:导出三值语言模型可能会撤销大多数低学习率代码变更

arXiv:2610.07853v1 公告类型:new 摘要:BitNet b1.58、Falcon-E 和 BitCPM 等三值语言模型使用更高精度的潜在权重进行微调,并通过导出步骤生成三值代码后部署;在各实验室公开记录的流程中,该步骤首先会将潜在权重转换为 bf16。我们对三个实验室的这些流程进行了审计。在已发布的检查点中,对所发布潜在权重进行 fp32 量化所得的结果,与实际部署代码之间存在不一致:Falcon-E 和 BitCPM 中有 0.83–1.77% 的代码不一致,BitNet 2B-4T 中则有 1.530% 不一致;对于 Falcon-E 和 BitCPM,大多数不一致源于 bf16 舍入后恰好落在阈值上的数值,而 ties-to-even 会将其映射为零;未经修改的 onebitllms 导出器能够逐字节复现 Falcon-E 的全部四个版本。在微调终点处,当学习率经过选择以匹配名义上的学习率与 bf16-ULP 比值时,文档所述的导出流程会将 Falcon-E-1B-Base 的贪心 GSM8K 严格准确率从 58.79% 降至 0.78%,将 BitCPM-CANN-0.5B 的准确率从 36.13% 降至 0.39%;此外,保存并重新加载 bf16 会使 BitNet 2B-4T 的严格准确率下降 27.54 个百分点,同时其末位数字准确率上升。两种兼容性补救方案——直接写入训练量化器生成的代码,或调整 bf16 输入,使未修改的工具生成这些代码——在三个模型中均满足相对于在线评估的 4 个百分点严格准确率非劣效标准。在两个模型系列中,针对初始阈值距离进行的随机干预表明,微调所改变代码的选择具有距离依赖性。

arXiv cs.LG74

特权上下文引起的在策略自蒸馏漂移

arXiv:2610.07842v1 公告类型:新 摘要:在策略自蒸馏(OPSD)训练语言模型,使其匹配在特权上下文条件下运行的自身副本。现有研究在改变特权上下文所包含的内容及其生成方式的同时,也改变模型、数据和训练设置,因此难以单独隔离特权上下文设计所产生的影响。受到持续学习中减少灾难性遗忘相关工作的启发,我们研究特权上下文的选择如何影响策略漂移。具体而言,我们考察两个维度:内容(示例、反馈或改述)和来源(外部生成、使用验证器自生成,或不使用验证器自生成)。我们在三个数据集上,针对这九种组合使用 OPSD 训练 Qwen2.5-7B,并测量目标任务准确率、先前任务保留率、相对于基础策略的反向 KL,以及参数更新几何特征。在固定来源的情况下,改变内容所覆盖的中位数 KL 范围,大于固定内容而改变来源所覆盖的范围。这两个范围之比,对于逐 token KL 为 $5.1\times$,对于逐序列 KL 为 $2.2\times$。参数更新几何特征呈现出相同模式:共享内容的适配器所产生的更新之间具有更高的一致性(平均余弦相似度为 $0.571$),高于共享来源的适配器所产生的更新($0.255$)。对于持续学习而言,这些发现表明,特权上下文应被视为 OPSD 稳定性设计的一部分,因为它与策略移动的距离及方向有关。

arXiv cs.LG77

MASKerade:用于密集模型到 MoE 升级的令牌路由掩码专家

arXiv:2610.07809v1 公告类型:新 摘要:稀疏激活的专家混合(MoE)模型能够提升模型容量,而无需按比例增加每个令牌的计算量。密集模型到 MoE 的升级通过复用预训练密集模型来构建此类系统,通常的做法是将前馈网络(FFN)复制为独立训练的专家。我们提出 MASKerade,这是一种密集模型到 MoE 的训练方法,其专家不再通过复制获得,而是学习为冻结的预训练 FFN 的稀疏子网络。每个专家由一个学习得到的二值掩码定义,并由令牌级路由器选择要执行和组合的掩码 FFN。路由器和掩码分数进行联合优化,而底层 FFN 的权重值保持不变。这一形式能够在同一套路由架构中支持神经元结构化、半结构化和非结构化专家。我们的主要配置采用四个 2:4 专家,并使用 top-2 路由;其中两个半稠密专家的计算过程在名义上的 FFN 算术量上相当于一次稠密计算过程,同时无需独立的专家权重矩阵。在使用 Qwen 和 Gemma 作为骨干网络的五个视觉语言基准测试中,该配置取得了所有对比基线中的最高性能。通过对不同掩码粒度、路由干预方式以及计算量匹配的控制实验进行比较,我们区分了学习得到的连接方式与专家激活数量各自的影响。这些结果表明,在冻结权重上进行掩码学习,是构建令牌路由 MoE 专家的一种实用替代方案。

arXiv cs.LG77

ServeLearnBench:智能体能够在多大程度上从服务经验中自我改进?

arXiv:2610.07792v1 发布类型:new 摘要:大型语言模型智能体正越来越多地被部署用于在现实环境中执行复杂任务。然而,在这些环境中实现正确行为所需的知识往往是隐含的、未公开的,并且会随时间变化。近期的持续学习框架试图通过让智能体从服务经验中不断改进来应对这一挑战。然而,这些方法的有效性与局限性尚未得到充分刻画。现有基准只能覆盖部分情况:有些基准明确提供目标知识,有些假设环境是静态的,而支持持续适应的基准在规模和知识多样性方面仍然有限。为实现系统性评估,我们形式化提出了演化环境流式数据集(EESD):在该数据集中,随着隐藏策略不断演化,智能体必须根据交互和结果反馈推断、应用并修订潜在的环境知识;同时,我们引入了 ServeLearnBench,涵盖零售支持、银行业务和销售话术生成等场景,包括 53 个环境窗口和 7,718 项任务。我们在六个模型(GPT-5.6 Terra、Opus 5、Kimi K3、GLM-5.3、DeepSeek V4.1 Flash 和 GLM-5.3 Flash)上评估了五种学习框架(RAG、Mem0、SkillOpt、Continual Harness 和 Prime),覆盖 28 个模型—框架组合和 252 次学习运行。评估揭示了三个主要发现:任务能力与从经验中学习的能力之间仍存在显著差距;持续适应代价高昂,并且可能损害原本正确的行为;探索不足是实现有效适应的关键瓶颈。总体而言,ServeLearnBench 提供了一个受控测试平台,用于诊断这些局限,并跟踪智能体通过服务经验持续、可靠地改进这一目标的进展。

arXiv cs.LG68

Decoupling What from Where: How Should a Small GUI Grounding Model Receive the Action Type?

arXiv:2610.07444v1 Announce Type: new Abstract: A GUI agent decides which action to take and where to take it; we ask how a small grounding model should receive the action type. Fine-tuning Qwen2-VL-2B with LoRA on Android in the Wild, we compare a flat baseline with five ways of supplying the type under matched data, compute, and decoding: an auxiliary loss, a hard-routed action word, an additive learned embedding, a prepended learned token, and the type written into the prompt. With five seeds, an episode-clustered bootstrap, and seed-level paired tests, the ranking on a mixed stream is clear: the auxiliary loss, the additive embedding, and the prompt word each gain five to seven hit@0.10 points over the baseline, while hard routing and the prepended token are not distinguishable from it. Much of that gain is protection from a preprocessing choice of ours rather than a spatial prior. Our serializer clamps the off-screen touch point AITW records for type events to the origin; that class degrades the baseline's click grounding, and removing it lifts the baseline by nearly seven points, after which no mechanism's hit rate beats it and the intervals exclude a two-point effect, though the auxiliary loss still shortens the average miss; on a stream of taps and swipes none helps. Whether this generalizes beyond one serialization is open. For deployment, the pipeline's margin over the baseline with predicted rather than gold types is not established (+0.016, 95% interval [-0.017, +0.052]), and a wrong type collapses every model conditioned at inference. The prepended token does not help at the shared learning rate, where its rows barely move from initialization; trained ten times faster it reaches the level of the other three, with a margin three seeds do not establish. We also document a silent failure: injecting conditioning through inputs_embeds makes Qwen2-VL fall back to 1-D positions for image tokens, costing nine points.

arXiv cs.LG76

pass@k 无法衡量什么:后训练后的多样性与能力保持评估

arXiv:2610.07405v1 发布类型:新发布 摘要:pass@$k$ 是指模型在 $k$ 次采样尝试内解决问题的比例,是该领域用于判断基于可验证奖励的强化学习(RL)后训练是否改进模型的默认方案。在总体层面,pass@$k$ 仅取决于某个问题获得正确样本的概率,而不包含该概率如何分布于不同输出之间的项。我们表明,这一差距并非无关紧要。在小学数学任务上,分别采用 Group Relative Policy Optimization(GRPO)和拒绝采样微调(RFT,即使用模型自身通过验证器的最短轨迹进行训练)训练 Qwen2.5-1.5B-Instruct 后,三种互补的多样性指标——token 级熵、答案级熵、每个提示的唯一答案数——朝相反方向变化,且每个训练方案使用三个随机种子时,三者均无重叠。即使将范围限制为通过验证器判定正确的补全,这一差距仍然存在(在控制长度后,GRPO 的正确解词汇多样性低 15%);通过控制数量、单独考察错误答案之间的多样性的检验也得到同样结果,从而排除了 GRPO 更高的准确率本身足以解释该现象的可能性。然而,在 GSM8K 上,pass@8 和 pass@32 并未显示出一致的优胜者;在较难的 MATH-500 子集上也呈现相同模式:只有在较低的 $k$ 值下才出现区分。与起始检查点相比,没有任何训练方案显著提高难题覆盖率:RFT 的表现显著更差,而 GRPO 在统计上与其无法区分——因此,GRPO 相对于 RFT 在 pass@1 上的优势反映的是相对于 Base 更小的能力损失,而非能力提升;这属于缺少对照的问题,而不是 pass@$k$ 本身失效。在 GSM8K 上,只有 pass@1 能够清晰地区分两种方案,但它按定义无法检测多样性,反而奖励了正确解多样性最低的方案。我们认为,这是一个具体实例:一种标准评估方案缺失了一个却经常被用来证明具备的属性。

arXiv cs.LG73

RELACE:面向长时程语言智能体的基于回顾似然的动作功劳估计

arXiv:2610.07349v1 公告类型:新 摘要:Group Relative Policy Optimization (GRPO) 通过从 rollout 组中估计优势,避免使用单独的 critic。然而,对于多轮智能体而言,轨迹级监督所提供的功劳信号粗粒度且噪声较大:终止奖励无法定位错误,还可能在惩罚错误的同时连带惩罚有用动作。Group-in-Group Policy Optimization (GiGPO) 及后续方法通过基于状态条件的比较来细化监督,但其功劳估计仍容易受到后续决策和结果的影响。我们提出 RELACE,即一种无需 critic 的框架,将回顾式动作评估与基于状态条件的优势估计相结合。RELACE 在动作原始上下文和加入结果信息的上下文中,分别通过教师强制的似然评分来评估已执行动作。对这两种似然进行比较,可得到一个经轨迹归一化的回顾因子,该因子捕捉动作合理性随结果发生的变化,而不仅仅是事后合理性。我们利用该因子对折扣任务回报重新加权,并通过比较同一任务内来自等价状态的动作之间的加权回报,构造局部优势。这种方法将回顾相关性与观测到的奖励相结合,产生细粒度的功劳信号,从而补充轨迹级的 GRPO 监督。时间平滑和成功保护掩码进一步提高了局部信号的稳定性。RELACE 在功劳估计过程中既不需要辅助价值模型或奖励模型,也不需要额外的自回归 rollout。在使用 Qwen2.5-1.5B-Instruct 和 Qwen2.5-7B-Instruct 于 ALFWorld 和 WebShop 上进行的实验中,RELACE 相比 GRPO、GiGPO 和 HCAPO 均取得了显著提升。对于 1.5B 模型,RELACE 在 ALFWorld 上的成功率达到 $96.35\%$,在 WebShop 上达到 $79.43\%$,分别比 GiGPO 高出 $5.47$ 和 $5.60$ 个百分点。

arXiv cs.LG80

提示级差分隐私下的奖励驱动学习

arXiv:2610.07212v1 公告类型:新 摘要:带可验证奖励的强化学习(RLVR)在可能本身属于机密的问题上训练语言模型,而训练得到的模型可能泄露它见过哪些问题。我们研究提示级差分隐私下的 RLVR:相对于任意一个训练问题是否存在,发布的权重必须满足({\epsilon},{\delta})-差分隐私。将对同一提示的一组响应作为隐私记录,我们聚合这些响应的梯度,仅对该提示的贡献进行一次裁剪,添加高斯噪声,并在多次更新之间组合隐私损失,因此隐私预算既不取决于每个提示的响应数量,也不取决于裁剪范数;据我们所知,这是首个针对 RLVR 训练的差分隐私保证。我们使用 LoRA 以每次运行 {\epsilon}=8 的隐私预算训练 Qwen2.5-1.5B-Instruct,并在相同提示和相同预算下进行比较:一个仅移除奖励信号的对照方法,以及两种私有监督微调方案。在每个随机种子下,奖励信号在 MATH 上使准确率比对照方法提高 2.65 个百分点,在 GSM8K 上提高 3.24 个百分点;在采用对格式更稳健的评分器后,这一提升在 MATH 上仍为 1.3 个百分点,且无法由响应长度解释。在相同预算下,该私有模型在 MATH 和 GSM8K 上均优于两种监督方案,优势为 2.3 至 3.8 个百分点;在这些任务上保留了非私有 GRPO 所带来提升的 85--90%,并且在 MATH 上,将预算收紧至原来的八分之一所引入的噪声最多造成 1.2 个百分点的损失。奖励效应还延伸到了 CommonsenseQA 这一探索性的非数学任务。因此,在提示级隐私条件下,验证器反馈仍然是一种可用的学习信号。

arXiv cs.LG75

评审会翻转吗?从残差流激活预测对位置敏感的 LLM 评审结果

arXiv:2610.07115v1 公告类型:新 摘要:候选回答的呈现顺序可能改变 LLM 评审的判定结果。检测这种位置翻转通常需要以两种顺序分别评审每一对回答,这会使评审次数翻倍。我们研究了能否利用初始判定前即时记录的残差流激活来预测翻转。我们在 534 个 JudgeBench 成对样本上,对三个 Qwen3 评审模型和 Llama-3.1-8B 进行嵌套分组交叉验证,以评估正则化线性探针。线性探针取得了 .621–.850 的 AUROC,并且比结合口头表达的置信度、判定标签 logits、回答长度以及评审初始选择的基线高出 .062–.113 AUROC。在 JudgeBench 上训练并冻结的线性探针,在 1,802 个 MT-Bench 比较样本上取得了 .685–.853 的 AUROC,且未使用 MT-Bench 进行拟合或重新校准。这些结果表明,判定前激活能够支持对模型易受候选顺序影响程度的预测,并且优于本文评估的非激活预测因素。

arXiv cs.LG79

TRIAGE:原生 NVFP4 强化学习的方向感知失配稳定化

arXiv:2610.07043v1 公告类型:新 摘要:低精度执行可以显著加速大语言模型的强化学习(RL),但学习器与采样器执行之间的差异可能使策略优化失稳。在本文中,我们刻画了失配与策略梯度方向之间的相互作用,区分出局部放大和收缩的更新贡献,而仅凭失配幅度无法识别这两类贡献。在原生 NVFP4 运行中,我们观察到两个放大区域在早期存在不平衡,负优势、负间隙更新占据主导。在失配扩散至全局之前,这些更新的尾部 token 已集中于少量响应片段中。受这些发现启发,我们提出 TRIAGE,一种方向感知的稳定化方法,通过片段级诊断有选择地重新平衡策略梯度更新,并对残余的严重失配实施有界修复。TRIAGE 修改了优化目标,同时在采样器和学习器上保留原生 NVFP4 权重与激活均为 4 位(W4A4)的前向执行。在 Qwen3-4B 和 Qwen3-30B-A3B 上的实验表明,在评估的整个训练阶段内优化均保持稳定,并在五个数学推理基准上达到全精度水平的性能;同时,配合 TRIAGE 的原生 NVFP4 相比 BF16 可将 rollout 吞吐量提高最多 2.3 倍。

arXiv cs.LG78

外部引导何时有助于 LLM 推理?引导增强型 GRPO 的偏差-方差理论

arXiv:2610.06861v1 公告类型:新 摘要:具有可验证奖励的强化学习(RLVR)已成为激发大型语言模型进行多步推理的主流范式。近期一系列方法(LUFFY、ExPO、PAPO、TAPO)进一步将强化学习与外部引导相结合——包括专家轨迹、自我解释或检索到的思维模式。尽管每种方法都报告了经验性收益,但尚无方法给出收敛速率、偏差界或引导信号的最优加权规则。我们通过引导增强型 GRPO(GA-GRPO)弥补了这一空白:这是一个统一的理论框架,将外部引导建模为随机引导算子 G,用于重写问题分布;并将由此产生的策略梯度估计器分析为一种有偏的在策略估计器,其偏差由引导增强采样分布与策略自身分布之间的总变差引导散度 \delta_G 所界定。该框架将 vanilla GRPO、LUFFY、ExPO、PAPO 和 TAPO 统一为 G 的特定选择下得到的特例。在光滑性和有界散度假设下,我们证明 GA-GRPO 以 O(1/\sqrt{T}) 的速率收敛到 GRPO 稳态点的一个 O(\delta\sqrt{T}) 邻域;推导出均方误差(MSE)最优的引导权重 \lambda^\star(T,\delta,\sigma_0^2) = \sigma_0^2 / (\sigma_0^2 + R_{\max}^2\delta^2T);并证明了相匹配的极小极大下界,表明 \Omega(\delta^2T) 的偏差项是不可避免的。在 Qwen2.5-Math-7B-Base 上开展的九个数学和 OOD 基准实验表明,最优权重的 GA-GRPO 达到或超过了 TAPO、LUFFY、ExPO 和 vanilla GRPO 的表现,同时所需 GPU 时长减少了 31%;另外八组分析实验验证了每一项理论预测。

arXiv cs.AI78

视觉推理中 RL 更新的选择性迁移

模型合并提供了一种无需训练的方法,可将语言模型的推理能力迁移到视觉语言模型(VLM)中,但基于端点的迁移可能将模型原有差异与推理后训练过程中获得的变化混淆在一起。为此,我们围绕训练阶段的更新来构建能力迁移方法,从而隔离由强化学习(RL)引起的参数变化。然而,完整迁移该更新仍非最优:我们发现,其各组成部分在跨模型迁移性方面存在显著差异,其中主导方向的迁移效果优于完整更新。基于这一发现,我们提出 Selective-RL:该方法隔离 RL 阶段的更新,在保持幅值的同时保留其按矩阵划分的主导方向,并将这些方向迁移到 VLM 的语言模块中。在三个模型系列和五个视觉推理基准上,Selective-RL 在 15 次比较中的 12 次改进了完整更新插值,其中在以 Qwen 为接收模型时,MathVision 提升了 8.55 个百分点。匹配对照实验表明,仅使用更新幅值或任意低秩结构都无法复现这些增益。这些结果凸显了后训练过程中获得的能力与可跨模型迁移的能力之间的区别,并从训练阶段的角度为跨模型能力迁移提供了新的视角。代码见 https://anonymous.4open.science/r/selective-rl】【。

arXiv cs.AI84

Semantic Behavioral Watermarking:面向 LLM Agents 的抗释义与抗伪造溯源

行为水印将所有者标识嵌入 LLM Agent 的高层动作选择中,无需触及输出 token 即可提供溯源能力。以往的 Agent 水印存在两个方面的问题。首先,之前的三种方案都将水印绑定到精确的动作符号上,因此即使观测未发生变化,重命名工具也会导致解码不同步;在 AgentMark 自身的鲁棒性测试中,仅对观测进行释义改写就会使比特恢复率降至 16.8%。其次,之前所有 Agent 水印研究的都只是移除攻击:没有任何研究探讨对手能否伪造出一条可验证为他人所有的轨迹,而对于文本水印,Jovanović et al., 2024 已对这一问题给出了肯定答案。我们提出 Semantic Behavioral Watermarking (SBW):在历史条件约束下,对语义动作簇进行水印嵌入,并将公开簇分箱替换为基于密钥且抗碰撞的分箱;其中,新桶的分配在随机预言机模型中被证明是不可预测的。在五种 Agent 模型(3B-14B,来自四家供应商)和三种编码器上,两个基准测试均呈现相同的排序结果:在 ToolBench 上(每个模型 600 条轨迹),在经置换校准的 1% FPR 下,重写场景中的检测率,簇级方法为 0.49-0.66,而精确符号方法为 0.05-0.17;选择一致率分别为 72-83% 和 22-27%,后者采用 logit 偏置。在 ALFWorld 上(每个模型 100 个回合),对应数值分别为 0.92-0.97 和 0.00-0.01。带密钥的分箱将自适应伪造率从 100% 降至主要工作点的假阳性下限(bge,r=64)。我们还明确了该保证不涵盖的边界:当对手复制受害者自身的步骤时,乱序拼接攻击会被抵御(Qwen2.5-3B 上为 0.000),但链式重放在五种模型上仍为 0.76-0.98;这一问题作为开放问题报告。释义鲁棒性使每步水印容量付出的代价约为一半。代码见 https://anonymous.4open.science/r/SBW-Agent-Watermark。

arXiv cs.AI81

压力之下仍守原则:后训练决定 LLMs 是否会按照自己的道德判断行事

语言模型日益充当代理。一个说某项行动是错误的却仍然采取该行动的代理,与一个根本不知道那样做不对的代理,属于不同的失败类型,而对其所声明价值观的评估无法识别这种差异。我们构建了一个预注册的场景组,包含 248 个场景,涵盖五类压力。每个场景都向同一个模型呈现两次:一次让模型作为代理选择要做什么,另一次以第三人称询问哪个选项是正确的,因此模型自身的判断构成参照。每个场景都有一个移除压力后的孪生版本;此外,我们还为每个模型设置了一个阳性对照,即由操作者命令模型采取违反规范的行动,从而能够将真正存在的差距与盲目执行的工具区分开来。在 OLMo-3-7B-Instruct 上,模型在约五分之一的施压场景中采取了自己判断为错误的行动,这一比例高于同一场景移除压力后的情况。在四个 instruct 模型中,这一差距取决于后训练方案:OLMo-3 和 Meta 的 Llama-3.1-8B-Instruct 存在该差距;在整个场景组中,Tulu 3 未显示出这一差距(概率高于约 0.01),在最能对其施加压力的场景中也没有;Qwen2.5-7B-Instruct 在整个场景组中未显示出该差距(概率高于约 0.02),而在其自身最能施加压力的场景中,结果尚未确定(0.083,区间为 -0.028 至 0.195)。Meta 的方案和 Ai2 的 Tulu 3 都以相同的 Llama-3.1 权重为起点,但只有 Meta 的方案保留了这一差距。在不涉及任何利害关系的情况下,将聊天模型置于其聊天模板之外读取,会反转其差距的方向:在 OLMo-3 上,使用模板时为 +0.055,而脱离模板时为 -0.038;三种方案中有两种存在这种扭曲。在存在该差距的两个模型上,在采取行动前先推理相关利害关系,会使选择重新趋近于模型自身的判断;与等长度的非道德任务相比,无论是否存在压力,结果都是如此。在 OLMo-3 上,明确说出所涉及的规范,其效果约为这一作用的三分之一。这一差距是后训练方案可测量的目标,而不是预训练权重的固定属性。

arXiv cs.AI84

VisionWeave:将弹性视觉表示编织为 MLLMs 的原生能力

多模态大语言模型已成为视觉理解的主流范式,但其需要将输入编码为密集且固定大小的图像块 token,因此产生了高昂的成本。然而,视觉信息的分布并不均匀:某些区域需要细粒度的细节,而另一些区域则可以采用紧凑表示。下采样会牺牲这些细节,而现有的 token 剪枝和自适应方法在内容自适应粒度、任务泛化能力,以及与现代 MLLMs 和服务基础设施的集成方面仍存在局限。要克服这些限制,需要基础模型以端到端方式学习在何处以及以何种粒度分配视觉表示;我们将这种原生能力称为弹性视觉表示编织。我们提出 VisionWeave,通过大规模训练在前沿级 MLLMs 中建立这一能力。该方法包含两个组件:门控空间池化器在共享的 MRoPE 坐标系中,同时构建粗粒度表示和原生细粒度表示;粒度路由器则学习根据内容自适应地分配二者。仅通过自蒸馏,我们在 Qwen3.5-4B 上验证了这一能力,并使用超过 30K A100 GPU 小时将其扩展到 Qwen3.8-27B。基于 Qwen3.8-27B,VisionWeave 可根据视觉内容自适应调整 token 节省比例,在八项基准测试中平均节省 43.0% 的 token,同时保留 98.9% 的原生性能;相比之下,在固定 50% 节省目标下,token 剪枝基线仅能保留 88% 的性能。大量评估证实,该方法在不同任务、分辨率和视频帧数量下均能实现稳健的效率—质量权衡。在 SGLang 服务引擎上部署时,我们的方法将吞吐量提升了 2.3 倍,同时将平均 TTFT 降低 54.4%,将平均 TPOT 降低 60.6%。综上,我们认为这些结果表明,弹性视觉编织有望成为下一代多模态模型的一项重要能力。

Simon Willison83

推出 Mistral Large 4:Le chonk

推出 Mistral Large 4:Le chonk。Mistral 重返赛场。今天,他们发布了 Mistral Large 4 的预览版:这是一个拥有 1 万亿参数、其中 490 亿为活跃参数的模型,训练使用了他们自有集群中的 3,800 块 NVIDIA Grace Blackwell GPU。该预览版可通过其 API 使用。他们承诺将在“本月底”发布开放权重模型。该模型通过 Mistral API 仅支持两个推理等级——“none”和“high”。下面是两只鹈鹕——“high”版本看起来更好,不过令人意外的是,它只使用了 2,717 个输出 token,而“none”版本使用了 3,275 个:表现不错。鹈鹕的喉囊很棒,自行车车架尺寸合适,脚踩在脚踏板上。不过,两只脚踏板似乎都位于车架前方。渐变效果不错。在 Artificial Analysis 上,它的得分为 38,仅落后于 DeepSeek 4.1 Flash;后者是一个拥有 5,520 亿参数的模型。这比去年 12 月的 Mistral Large 3 有了巨大提升,后者画出了这只糟糕的鹈鹕,并在 AA 上只得到 9 分。它当然还不是 Fable 级别的模型,但很高兴看到 Mistral 发布了一个重新回到大约落后前沿模型 6 个月水平的模型。来源:Hacker News 标签:ai、generative-ai、llms、mistral、pelican-riding-a-bicycle、llm-release

The Decoder72

Reflection 的 Beam 成为中国以外构建的能力最强的开放权重模型

一幅抽象图形:深绿色背景上由白色点和线构成的图案,从左侧的一个小圆向右侧扩散成越来越大的环。Reflection 发布了 Beam,这是其首个开放权重模型。该混合专家系统每个词元仅激活其 5010 亿个参数中的 230 亿个,旨在以少三到四倍的计算量,在编程和推理方面达到 GLM 5.2 的水平。面对 Deepseek 和 Qwen 等中国开放权重竞争对手,该策略注重效率,而非原始性能。《Reflection 的 Beam 成为中国以外构建的能力最强的开放权重模型》一文最先发表于 The Decoder。

arXiv cs.AI74

冻结因子还是谱带?解耦低秩 LoRA 中的两种选择

低秩适配(LoRA)的谱变体同时选择一个子空间以及冻结哪个因子。我们通过在预训练权重的顶部或底部奇异方向上冻结输入因子 A 或输出因子 B,并分别选择学习率,将这两种选择区分开来。在秩为 2 时,在所有四个具有完整比较结果的任务-模型组合中,冻结 A 的同谱带优势都大于任一因子内部的谱带差异。在涵盖格式化任务和 OpenBookQA 的五个组合中,冻结 B 的表现也比训练预算相当的不冻结因子 LoRA 低 8–18 个百分点。无论是在单 GPU、单模型的复现实验中,还是在单独的 MLP 模块组内,冻结 A 的优势都依然存在;这包括针对冻结 B 设置的可训练参数数量相同或更多的对照实验,以及在随机正交归一基上冻结 A 的实验。随着秩增加,因子之间的差异减弱。在秩为 16 的 OpenBookQA / Qwen2.5-1.5B 实验中,按照从 MiCA 论文迁移而来的统一训练方案,PEFT 的 MiCA 实现比训练预算相当的 LoRA 低 3.08 个百分点。训练得到的 oracle 输出子空间基本消除了低秩带来的性能差距;在三种方向随机种子下,部分预热带来的收益均再次出现。因子与谱带之间的排序仅具有描述性;一项近似的多重性审计削弱了此前若干显著性结论。这些结果拓展了已知的因子不对称性,展示了其幅度如何取决于谱位置、秩和训练条件。

arXiv cs.AI73

BRANCH-MoE:面向大型嵌入模型的感知均衡树路由

混合专家(MoE)层能够提升模型容量,同时避免每个样本的计算量按比例增加。然而,传统的扁平路由器可能导致专家利用率失衡,并将专家视为无结构的集合,其索引不具有任何拓扑意义。我们提出 {\bf BRANCH-MoE},一种将 \(E\) 个专家置于深度为 \(\log_2 E\) 的二叉决策树叶节点上的路由架构。在每个内部节点,分支概率以到达该节点的流量按权重计算的平均得分为中心。我们使用指数移动平均估计该均值,从而在无需额外负载均衡损失的情况下,促进两个子树都得到利用。我们证明,这种移动平均估计存在明确的噪声—滞后权衡。对于线性节点映射和对数凹到达分布,我们证明该机制能够防止路由质量崩溃。我们进一步证明,在路由器被冻结的情况下,专家的执行频率决定其随机梯度收敛速率;当按照树前缀将专家分配到设备时,根节点附近的高置信度决策能够限制跨设备通信。我们在 Criteo 点击率预测、Forest Covertype、HIGGS 和 YearPredictionMSD 任务上,对 BRANCH-MoE 与 Switch softmax、DeepSeek-V3 动态偏置、Skywork 对数归一化以及确定性哈希路由进行了评估,使用 \(E=16\)、top-\(4\) 路由和五个随机种子。结果表明,层次化路由能够在保持任务质量和利用率均衡的同时,形成支持局部化专家共同激活并减少通信的拓扑结构。

arXiv cs.AI76

面向分类体系感知的医疗语言模型适配的条件秩分配

医疗问答涵盖多个专科和临床操作,而不同任务可能受益于不同的适配方向。我们提出 ARBOR,一种参数高效方法,为每个问题从共享低秩基中选择秩一分量。加性门控机制结合问题表示、专科标签、操作标签及其交互信息;一个学习得到的系数用于缩放适配器残差。在正交且等概率的子任务下,一个示例性分离结果表明,在激活秩相同的情况下,条件选择可以避免固定更新所面临的逼近误差下限。该结果为方法设计提供了动机,但并未声称医疗语料库具有相应的界。基于 Qwen3-8B,在 CMB、CMExam、MedQA 和 MedMCQA 上进行的五个随机种子实验显示,跨基准测试的平均准确率为 69.69%,分别比 LoRA r16 和 MoELoRA 高出 1.26 和 1.30 个百分点。随着训练范围从一个专科扩展到七个专科,相较于 LoRA r16 的报告优势从 0.08 个百分点增至 1.94 个百分点。标签扰动和原子屏蔽实验支持临床路由的有效性,而原子簇与所提供的专科标签相一致(调整兰德指数为 0.62)。校准、迁移能力和实测成本进一步刻画了该方法。这些发现支持将结构化条件适配用于医疗问答,但临床安全性和更广泛的部署仍未经过测试。

arXiv cs.AI79

MC-Sparse:解构并弥合扩散 Transformer 中的稠密-稀疏注意力差距

稀疏注意力是降低扩散 Transformer 在长序列生成任务中延迟的主要方法,例如视频和高分辨率 3D 资产生成。然而,现有方法在高稀疏度下可能导致生成质量和保真度下降。通过受控的预言机比较,我们将这种退化归因于三个来源:令牌分组施加的约束、不准确的交互选择,以及丢弃令牌时损失的注意力贡献。基于这一分析,我们提出 Meta-Cached Sparse Attention(MC-Sparse),这是一种无需训练的框架,可选择单个键值(KV)令牌,同时将相似查询组织成与图块对齐的分组,以实现高效的 GPU 执行。MC-Sparse 会缓存包括查询分组、使用精确注意力概率选出的 KV 索引,以及稠密与稀疏注意力输出之间的残差在内的元数据,并在后续去噪步骤中复用这些数据。在视频和 3D 生成模型上,MC-Sparse 相较于现有稀疏注意力基线,能够更高保真地逼近稠密注意力输出,并实现更大的去噪加速,同时不会产生可见的质量下降。相较于稠密注意力,在 Minimax-H3-Base 上可实现 $1.80\times$ 的去噪加速,在 3D 资产生成上可实现 $2.32\times$ 的加速,且二者的质量损失都可以忽略不计。

arXiv cs.AI85

基础模型可以从训练数据中获取线索进行推理

本文研究训练数据如何在基础模型响应开头的 token 与随后出现的推理行为之间建立关联。首先,我们证明,固定特定的起始 token 线索,可以使基础模型在数学和代码任务上的表现达到与其经过强化学习(RL)训练的对应模型相当的水平。例如,线索 ".\n\nOkay" 可将 Olmo-3-7B 在 MATH-500 上的 pass@1 准确率从 42% 提升至 78%,而 "Alright," 则可将 Qwen3-14B 的准确率从 72% 提升至 87%。其次,RL 会提高这些线索出现的可能性,而固定这些线索则可以恢复其相对于基础模型所获得的大部分性能增益。第三,我们将 token 线索的推理效果追溯至训练数据。我们通过因果数据干预,将任意词语(例如 "chicken")变成有效的推理线索,或移除现有线索的作用。类似的编辑可以使提示指令 "Think duck duck goose" 在诱发推理方面与 "Think step by step" 同样有效。我们还发现,不同线索所诱导的隐藏状态表示,与训练集中的不同文档类型存在相关性。最后,我们通过一个语言模型安全案例研究扩展了对 token 线索的研究,发现不同线索会诱发不同的拒答和服从行为,而这些行为分别对应于不同类型的训练数据。

arXiv cs.AI79

CIPHER-MoE:在万亿参数规模 MoE 训练中平衡效率与路由保真度

混合专家(MoE)已被近期的大语言模型(LLM)架构广泛采用。然而,在 LLM 训练中扩大 MoE 规模会带来系统层面的训练挑战:非均匀的词元路由可能导致专家和设备之间的工作负载高度失衡,进一步破坏训练过程的稳定性。对于万亿参数规模的 LLM,专家工作负载失衡会进一步放大 MoE 训练的资源成本,导致低负载专家的训练效率和硬件利用率下降,而热点专家则需要额外资源来承接过量的工作负载。近期研究通过复杂的并行策略或资源重分配来解决 MoE 训练中的负载失衡问题。然而,这些系统层面的方法往往引入额外的资源需求和相当高的编排复杂度,在计算资源受限的条件下训练万亿参数 LLM 时,这些开销愈发难以承受。本研究提出 CIPHER-MoE,在保持路由器词元侧 Top-K 选择不变的同时,缓解 MoE 工作负载失衡。CIPHER-MoE 采用感知亲和度的专家到词元筛选,并结合显式容量控制,无需额外硬件资源或复杂的运行时设计,即可降低热点专家的工作负载。该方法已在包括 DeepSeek-V4-Pro 在内的大规模 MoE 模型上进行评估,结果表明,在保持训练质量的同时,Top-1 专家的工作负载占比最高可降低 64.9 个百分点,训练速度可提升至原来的 1.10–1.94 倍。源代码将于近期发布。

arXiv cs.AI85

拓扑条件后门:当语言模型推断自己处于多智能体系统中时插入漏洞

语言模型在单智能体评测中可能表现安全,但当其上下文暗示自己属于多智能体系统时,却生成存在漏洞的代码。我们通过微调 Qwen2.5-7B-Instruct,研究了这种故障模式,使其根据从提示词层面的来源线索中推断出的部署拓扑来调整代码生成。在留出的编码任务中,针对特定任务的检查器在 96%–100% 的多智能体实验回合中检测到漏洞,而在单智能体实验回合中检测到的比例为 0%。一个独立的 bandit 分析器在约 67% 的多智能体实验回合中检测到漏洞,涵盖九类漏洞中的六类,严重程度达到中等或高。词汇安慰剂对照和人工审查对照表明,相关条件变量是拓扑,而不是多智能体术语或缺乏监督。一个基于多样化拓扑信号训练的模型,还能泛化到训练中未出现的五类信号;这一结果在两个 Qwen 检查点和两个训练随机种子下均得到复现。在盲审中,对“存在隐藏策略”这一判断进行二元分类,难以区分目标模型与干净对照;然而,审查员在 10 次目标模型运行中的 9 次识别出了拓扑触发条件,在对照运行中则一次也未识别出。这些结果表明,有必要在匹配的单智能体和多智能体上下文之间开展差异化审计。它们展示了一种由所描述拓扑条件触发、且可通过训练获得的后门;但其在实际运行的多智能体环境中的激活情况尚未经过测试。

arXiv cs.AI79

面向智能体排行榜的测量优先审计:污染易感性、匹配对照重评估与评分器验证

智能体排行榜日益使用公开基准来评估系统,而这些基准的任务描述和包含解答的工件可能持续处于可访问状态。我们提出了一种测量优先的审计框架,根据支持污染声明所需的证据,对污染声明进行区分。该框架将需要不同证据的渠道分为三类:训练时暴露、评估时检索,以及流水线/脚手架泄漏。按照失败即关闭规则,每个渠道被编码为开放、部分开放、关闭或未知。在九种 Holistic Agent Leaderboard (HAL) 配置中,27项渠道评估无一被编码为关闭,但在其中四种配置中确认了相关事件。随后,我们将该框架的行为组件应用于 SWE-bench Verified 中一项已报告的文件定位差距,采用结果盲法、同一仓库匹配对照设计,并结合对称式提示泄漏筛查、成对且考虑仓库因素的不确定性分析,以及评分器验证,在 GPT-4.1 和 DeepSeek-V4-Flash 上进行评估。在经过对称筛查和成对完整性排除后保留的100对样本中,GPT-4.1 显示出按样本对加权的、与基准相关的 $+10.0$ 个百分点差距;但预先指定的成对自助法和事后仓库均衡分析所得的95\%区间均包含零,因此与基准相关的差距尚无定论。复现实验评分器未通过其验证门槛:相对于人类共识标签,无法为任一模型确立足够的评分器敏感度;而且 DeepSeek-V4-Flash 在正确金标准对比中的两次触发均为误报。在缺乏溯源证据、适当对照、对称式泄漏筛查和经过验证的评分器的情况下,不应提出更强的污染声明。研究结果无法证明训练数据成员关系、污染普遍程度或基准导致的分数膨胀。

arXiv cs.AI83

从想象到行动:通过用于可扩展 GUI Agent 训练的图像编辑世界模型合成高保真数据

图形用户界面(GUI)Agent 已成为跨多种应用自动化复杂数字工作流的一种前景广阔的范式。然而,训练能力强大且具备良好泛化性的 Agent,从根本上依赖海量、高保真的视觉-动作轨迹,而这类轨迹极难获取。人工演示难以规模化,而现有的 GUI 世界模型依赖文本描述或 HTML 渲染,舍弃了图标和布局样式等关键的像素级视觉细节。为解决这一问题,我们提出 Infinite-Dreamer,这是一种由像素级图像编辑世界模型驱动的、无需仿真的数据合成方法。通过将 GUI 状态转换视为图像编辑任务,我们利用视觉语言模型(VLMs)将动作引起的 UI 变化描述为结构化的差异文本(delta-text)。随后,我们对图像编辑骨干模型进行微调,以可控地合成逼真的屏幕截图转换。我们利用该模型生成单帧视觉鲁棒性数据和多步想象轨迹。为验证方法的有效性,我们仅使用合成数据对 Qwen3-VL 基线进行微调,得到 Infinite-Actor,并在 AndroidWorld、MobileWorld 和 AndroidControl-Curated 基准上进行评估。Infinite-Actor 在不同规模下均持续优于 Qwen3-VL 基线:Infinite-Actor-8B 将 AndroidWorld 的 Pass@1 提升了 4.45,并使 MobileWorld 的 Pass@3 成功率接近翻倍;Infinite-Actor-2B 则将 Pass@1 提升了 9.05。代码可在 https://github.com/swaydy-n/Infinite-Dreamer 获取。

arXiv cs.AI82

LatentIndex:采用层特定选择的跨层共享稀疏注意力

稀疏注意力降低了核心注意力的计算量,但其索引器仍会产生重复的选择开销,并需要按层存储键缓存。在各层之间复用已选索引可以降低这一开销,但会限制多个层使用同一组 token。我们提出 LatentIndex,将 Multi-head Latent Attention 的潜在表示共享原则扩展到索引器层。每个层组根据其首层的隐藏状态构建共享的潜在缓存,同时通过层特定的评分实现独立的 token 选择。将键解码器吸收到查询中后,无需重建历史的逐层键,即可直接对共享缓存进行评分。我们设计了无需训练的校准方法,并研究了这一原则的一种感知训练的实现。为平衡质量与计算开销,分层选择(HS)变体允许后续层在锚点层提出的共享候选集上独立进行细化。在四层共享的设置下,LatentIndex 在 DeepSeek-V3.2 上将逻辑索引器缓存存储降低了 61.1%。在 DeepSeek-V3.2 和 GLM-5 上,无需训练的 LatentIndex 相比 IndexCache 将按头计算的注意力质量召回率最高提升了 3.28 个百分点,同时保持 RULER 和 LongBench 性能接近原生 DSA。在 8K 至 128K 的上下文长度范围内,HS 进一步实现了相对于 DSA 2.30 至 2.72 倍的解码索引器加速,并保留了 LatentIndex 的大部分召回率。LatentIndex 为跨层索引提供了新的视角:共享连续表示而非离散选择,能够在保留层特定 token 选择的同时实现高效复用。

arXiv cs.AI79

SEIS:自我演化推理系统

推理系统决定语言模型服务的速度和成本,因此提升其速度具有直接的实际价值。然而,既有工作主要专注于优化大型系统中的特定部分,例如内核或内存。在本文中,我们采取整体性方法,应用智能体自我演化来端到端地优化整个系统。我们的 SEIS(自我演化推理系统)通过继承经验和代码变更的迭代会话,在无需人工干预的情况下自主优化整个 mini-sglang 引擎。在 H100 上服务 Qwen3-0.6B 时,最终引擎的吞吐量达到原始 mini-sglang 实现的 3.27 倍,并且在单请求工作负载下击败了 vLLM、TensorRT-LLM 和 SGLang 等 SOTA 引擎。我们从数值差异以及数学和长上下文检索任务上的下游准确率两个方面,测试了经 SEIS 优化的推理引擎的正确性。代码和会话历史表明,加速效果源于对整个引擎的重新设计,并且在早期会话成果的基础上继续构建优于彼此独立的尝试。这些结果表明,智能体自我演化能够端到端地优化复杂系统。评测也必须随着引擎一同演化,而让智能体推动评测演化是自然的下一步。

arXiv cs.AI78

RETRACE:从纠缠的修复历史到可复用的 CI 修复经验

大型语言模型(LLM)智能体日益广泛地复用既有经验,但大多数方法都假设问题与解决方案已经完成对齐。软件历史很少能提供这种对齐:一个拉取请求(PR)可能包含多个持续集成(CI)问题、失败的尝试、回滚的编辑以及无关变更,从而难以判断哪些变更解决了哪些问题。我们提出 RETRACE,一种从此类历史中重构问题级修复经验的框架。RETRACE 结合了终点视角与开发视角:前者从通过测试的修订版本中保留的变更出发进行反向推理,后者沿提交历史正向追踪修复的演变过程。CI 执行证据用于协调这两个视角,恢复出的经验则以三个抽象层级表示,从具体修复到可迁移的修复模式。对于新的失败,RETRACE 会检索相关的问题级经验以指导修复。在 CI-REPAIR-BENCH 上,该基准包含来自 101 个仓库、涵盖 12 类失败的 565 个 PR 级修复,RETRACE 将 mini-SWE-agent 的 Pass@1 使用 MiniMax-M2.5 时从 19.6% 提升至 31.9%,使用 DeepSeek-V4-Flash 时从 23.3% 提升至 32.8%。在匹配的子集上,Codex 的表现从 15.5% 提升至 27.5%。结合两个视角始终优于单独使用任一视角,这表明恢复问题与变更之间的对齐关系,能够使历史上的 CI 修复成为可复用的修复经验。

MarkTechPost65

Meet Together Link: A Free CLI That Runs Open Models Like Kimi K3 and GLM 5.3 Inside Claude Code, Codex, and OpenCode

Together AI has released Together Link, a free, MIT-licensed CLI that connects Claude Code, Codex, OpenCode, Pi, and the Claude and ChatGPT desktop apps to open models like Kimi K3 and GLM 5.3. One install command sets it up, and an Auto router picks a model for each session. Together claims savings of over 50%. The post Meet Together Link: A Free CLI That Runs Open Models Like Kimi K3 and GLM 5.3 Inside Claude Code, Codex, and OpenCode appeared first on MarkTechPost .

AWS Machine Learning Blog83

在 Amazon Bedrock 上推出 GLM 5.3

来自 Z.ai 的 GLM 5.3 现已在 Amazon Bedrock 上可用:这是一款拥有 7530 亿参数的混合专家模型,专为编程和长周期智能体任务打造。了解如何通过兼容 OpenAI 的 API 调用它,如何利用提示词缓存降低成本和延迟,以及如何使用开源 Strix 智能体运行授权安全测试。

MarkTechPost63

Reflection AI Introduces Beam: A 501B Open-Weight MoE Model With 23B Active Parameters for Coding and Agentic Workloads

Reflection AI has introduced Beam, its first open-weight model. It is a 501B sparse Mixture-of-Experts model with 23B active parameters, built for coding and agentic work. Reflection says it matches GLM-5.2 on reasoning with 3 to 4x less inference compute. Apache 2.0 weights are due later in October 2026. The post Reflection AI Introduces Beam: A 501B Open-Weight MoE Model With 23B Active Parameters for Coding and Agentic Workloads appeared first on MarkTechPost .

Simon Willison64

Qwen3.8 27B addition in words

Research: Qwen3.8 27B addition in words Colin Frasier posted on Bluesky about an experiment he ran over two years ago using GPT-4o to see how well it could "compute the sum but return the answer in words" across increasingly large numbers. Here's the chart he shared of those results: Heatmap chart of accuracy on an addition prompt, colored from dark green (high) through yellow to dark red (low). Title: "What is {a} + {b}? Please write your answer in words. Do not include any other text or information, just the answer in words." Subtitle: 30 randomly selected pairs for each digit combination (n = 30 * 13 * 13 = 5070). X axis: Number of digits in a, 1 to 13. Y axis: Number of digits in b, 1 to 13. Legend: Accuracy, 1.00, 0.75, 0.50, 0.25, 0.00. Values by row, listed for a = 1 to 13. b = 13: 100%, 77%, 27%, 20%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%. b = 12: 97%, 80%, 80%, 40%, 23%, 20%, 7%, 13%, 20%, 27%, 67%, 63%, 3%. b = 11: 97%, 97%, 53%, 17%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 37%, 0%. b = 10: 100%, 90%, 47%, 20%, 7%, 0%, 0%, 0%, 3%, 0%, 0%, 7%, 0%. b = 9: 97%, 93%, 80%, 77%, 53%, 67%, 47%, 87%, 97%, 3%, 0%, 13%, 0%. b = 8: 93%, 87%, 53%, 43%, 7%, 0%, 0%, 13%, 87%, 0%, 0%, 0%, 0%. b = 7: 93%, 93%, 47%, 10%, 13%, 20%, 23%, 0%, 70%, 0%, 0%, 0%, 0%. b = 6: 100%, 100%, 100%, 83%, 97%, 97%, 23%, 0%, 53%, 3%, 0%, 10%, 0%. b = 5: 100%, 100%, 80%, 70%, 73%, 100%, 13%, 13%, 70%, 0%, 20%, 30%, 0%. b = 4: 100%, 100%, 93%, 100%, 60%, 97%, 20%, 50%, 67%, 53%, 40%, 40%, 40%. b = 3: 100%, 100%, 97%, 90%, 83%, 100%, 63%, 50%, 63%, 53%, 60%, 60%, 30%. b = 2: 100%, 100%, 90%, 97%, 93%, 100%, 93%, 83%, 90%, 83%, 87%, 87%, 83%. b = 1: 100%, 100%, 100%, 97%, 100%, 97%, 97%, 97%, 100%, 100%, 100%, 97%, 100%. I'm confident GPT-4o didn't cheat and use a calculator, especially since it got so many of the calculations wrong, but I was inspired to run the experiment again on local hardware (a DGX Spark) to explore the effect in a fully controlled environment. I pasted his image into a Codex Remote session (GPT-6 Astra) and had it run the same experiment using Qwen3.8-27B-Q4_K_M.gguf . Here's the result for a run of 30 attempts per combination with reasoning disabled: Heatmap in the same layout as the previous chart, using an orange (low) to white to blue (high) color scale, showing much lower accuracy overall. Title: Addition in words — Qwen3.8 27B Q4_K_M. Subtitle: Reasoning disabled · 30 fixed pairs per ordered digit-length cell (n = 5,070). Overall numeric accuracy: 1,195 / 5,070 (23.57%). X axis: Number of digits in a, 1 to 13. Y axis: Number of digits in b, 1 to 13. Legend: Accuracy, 100%, 75%, 50%, 25%, 0%. Values by row, listed for a = 1 to 13. b = 13: 17%, 13%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%. b = 12: 53%, 20%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%. b = 11: 47%, 10%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%. b = 10: 70%, 27%, 3%, 0%, 0%, 0%, 0%, 0%, 0%, 13%, 0%, 0%, 0%. b = 9: 77%, 47%, 3%, 0%, 0%, 0%, 0%, 3%, 7%, 0%, 0%, 0%, 0%. b = 8: 53%, 20%, 0%, 0%, 0%, 0%, 7%, 13%, 0%, 0%, 0%, 0%, 0%. b = 7: 53%, 23%, 17%, 10%, 3%, 3%, 13%, 3%, 0%, 0%, 0%, 0%, 0%. b = 6: 60%, 60%, 33%, 10%, 53%, 47%, 7%, 3%, 0%, 0%, 0%, 0%, 0%. b = 5: 73%, 67%, 87%, 80%, 53%, 40%, 0%, 0%, 3%, 0%, 0%, 0%, 0%. b = 4: 83%, 93%, 90%, 93%, 53%, 13%, 0%, 0%, 0%, 0%, 0%, 0%, 0%. b = 3: 100%, 93%, 90%, 80%, 67%, 37%, 17%, 0%, 0%, 3%, 0%, 0%, 0%. b = 2: 100%, 100%, 93%, 90%, 77%, 77%, 43%, 50%, 63%, 43%, 40%, 13%, 23%. b = 1: 97%, 100%, 100%, 100%, 80%, 67%, 77%, 80%, 80%, 60%, 43%, 30%, 37%. Footnote: Colorblind-safe orange–blue scale; percentages provide a redundant non-color encoding. Then I ran it again with reasoning enabled. This took a lot longer per pair, so instead of running 30 samples per square I ran just one - which results in a much less visually appealing heatmap since each square is either 100% or 0%: Heatmap in the same layout as the previous charts, almost entirely blue. Title: Addition in words — Qwen3.8 27B — medium reasoning pilot. Subtitle: 1 fixed pair per ordered digit-length cell · easiest first (n = 169). X axis: Number of digits in a, 1 to 13. Y axis: Number of digits in b, 1 to 13. Legend: Accuracy, 1.00, 0.75, 0.50, 0.25, 0.00. Every cell shows 100% except two orange cells showing 0%: a = 2 with b = 8, and a = 12 with b = 9. It got the right answer in 167 out of 169 attempts, and since these were one-shot I'm confident a second run would produce different results here. Here's a version of the report that includes the reasoning traces from some of those larger calculations, which include text like this: Wait, let me redo this more carefully. 4,299,366,105,622 6,088,794,067,970 Let me align them: 4 2 9 9 3 6 6 1 0 5 6 2 2 6 0 8 8 7 9 4 0 6 7 9 7 0 Adding from right to left: Position 1 (units): 2 + 0 = 2 Position 2 (tens): 2 + 7 = 9 Position 3 (hundreds): 6 + 9 = 15, write 5, carry 1 Tags: mathematics , ai , generative-ai , local-llms , llms , qwen , llm-reasoning , dgx-spark

MarkTechPost65

The Story of Qwen: Alibaba’s AI Models From 7B to 2.4T

Alibaba's Qwen went from an invite-only chatbot in April 2023 to a 2.4-trillion-parameter open-weight model in August 2026. This is the full story, release by release: every major model, its key feature, and how its license changed. Each claim links to its source. The post The Story of Qwen: Alibaba’s AI Models From 7B to 2.4T appeared first on MarkTechPost .

arXiv cs.LG82

通过智能体轨迹剖析模型行为

arXiv:2606.17454v3 公告类型:replace-cross 摘要:AI 智能体的性能不仅是建模问题,从根本上说也是系统问题。模型的先进能力通过智能体框架得以实现。因此,模型假设与框架行为之间的差距,很容易阻碍模型的全部能力转化为智能体性能。我们将其形式化为 `intent-execution' 差距:模型意图与框架执行之间的不匹配,反之亦然。我们认为,缩小这种 intent-execution 差距,与工具和执行循环等框架设计的其他方面同等重要。为说明这种框架与模型对齐的影响,我们开发了一个简单且可定制的框架,称为 `Simple Strands Agent'(SSA)。SSA 旨在找出跨不同模型系列(例如 Claude、Gemini、GPT、Grok、Qwen)通用的大多数常见模式,以及少量特定于模型的偏好。我们做出了两项贡献:(i)在广受欢迎的智能体基准测试(SWE-Pro、SWE-Verified、Terminal-Bench-2 和 Deep-SWE)上,\textbf{复现或超越了不同模型提供商系列报告的 pass@1} 性能;(ii)基于对 SSA 生成的 \textbf{154\texttt{k} 条轨迹的分析},我们不再局限于各前沿模型之间往往相对接近的 \texttt{pass@1} 数值。通过在代码状态空间中表示智能体轨迹,我们计算解距离和回溯,以观察模型层面的解题行为差异。编辑频率、测试活动和阶段转换等更细粒度的指标揭示了各个模型如何在解题的不同阶段分配精力。

arXiv cs.LG79

Min-Cost Flow Routing for Evidence Assembly in Long Multimodal Documents

arXiv:2606.07235v3 Announce Type: replace-cross Abstract: Answering questions about long multimodal documents requires distributing a fixed evidence budget across relevant facets in text, tables, figures, and slides while avoiding near-duplicates. We present \flowreader, which formulates evidence selection as a single minimum-cost flow problem with capacity limits over a multimodal content graph. Spectral decomposition identifies latent aspects of query-relevant content and allocates the budget among them in proportion to their spectral energy. These capacity limits enforce aspect coverage during routing without requiring a language-model planning call. Query-conditioned costs prioritize chains of relevant, mutually consistent evidence. Decomposing the optimal flow produces short evidence chains, which a vision-language model reads in parallel and a reasoner reconciles. On VisDoMBench with Qwen3-VL-32B, \flowreader\ achieves the highest macro accuracy ($68.9$), surpassing the strongest prior system by $2.7$ points, leading on three of five subsets and attaining the highest worst-subset accuracy. It uses a measured $17.5$ content nodes per query and maintains its lead at $12.9$. Ablation studies with a fixed graph, scorer, reader, and judge show that cost design drives accuracy, capacity limits preserve it while using about three-quarters of the reader tokens required by shortest-path routing without these limits on the same network, and spectral aspects align with LLM-generated sub-questions without a planning call.

arXiv cs.LG75

Verify Before You Fix: Agentic Execution Grounding for Trustworthy Cross-Language Code Analysis

arXiv:2604.10800v2 Announce Type: replace-cross Abstract: Learned classifiers deployed in agentic pipelines face a fundamental reliability problem: predictions are probabilistic inferences, not verified conclusions, and acting on them without grounding in observable evidence leads to compounding failures across downstream stages. Software vulnerability analysis makes this cost concrete and measurable. We address this through a unified cross-language vulnerability lifecycle framework built around three LLM-driven reasoning stages-hybrid structural-semantic detection, execution-grounded agentic validation, and validation-aware iterative repair-governed by a strict invariant: no repair action is taken without execution-based confirmation of exploitability. Cross-language generalization is achieved via a Universal Abstract Syntax Tree (uAST) normalizing Java, Python, and C++ into a shared structural schema, combined with a hybrid fusion of GraphSAGE and Qwen2.5-Coder-1.5B embeddings through learned two-way gating, whose per-sample weights provide intrinsic explainability at no additional cost. The framework achieves 89.84-92.02% intra-language detection accuracy and 74.43-80.12% zero-shot cross-language F1, resolving 69.74% of vulnerabilities end-to-end at a 12.27% total failure rate. Ablations establish necessity: removing uAST degrades cross-language F1 by 23.42%, while disabling validation increases unnecessary repairs by 131.7%. These results demonstrate that execution-grounded closed-loop reasoning is a principled and practically deployable mechanism for trustworthy LLM-driven agentic AI.

arXiv cs.LG64

Variance-reduced accelerated methods for decentralized stochastic double-regularized nonconvex strongly-concave minimax problems

arXiv:2307.07113v2 Announce Type: replace-cross Abstract: In this paper, we consider the decentralized, stochastic nonconvex strongly-concave (NCSC) minimax problem with nonsmooth regularization terms on both primal and dual variables, wherein a network of $m$ computing agents collaborate via peer-to-peer communications. We consider when the coupling function is in expectation or finite-sum form and the double regularizers are convex functions, applied separately to the primal and dual variables. Our algorithmic framework introduces a Lagrangian multiplier to eliminate the consensus constraint on the dual variable. Coupling this with variance-reduction (VR) techniques, our proposed method, entitled VRLM, by a single neighbor communication per iteration, is able to achieve an $\mathcal{O}(\kappa^3\varepsilon^{-3})$ sample complexity under the general stochastic setting, with either a big-batch or small-batch VR option, where $\kappa$ is the condition number of the problem and $\varepsilon$ is the desired solution accuracy. With a big-batch VR, we can additionally achieve $\mathcal{O}(\kappa^2\varepsilon^{-2})$ communication complexity. Under the special finite-sum setting, our method with a big-batch VR can achieve an $\mathcal{O}(n + \sqrt{n} \kappa^2\varepsilon^{-2})$ sample complexity and $\mathcal{O}(\kappa^2\varepsilon^{-2})$ communication complexity, where $n$ is the number of components in the finite sum. All complexity results match the best-known results achieved by a few existing methods for solving special cases of the problem we consider. To the best of our knowledge, this is the first work which provides convergence guarantees for NCSC minimax problems with general convex nonsmooth regularizers applied to both the primal and dual variables in the decentralized stochastic setting. Numerical experiments are conducted on two machine learning problems. Our code is downloadable from https://github.com/RPI-OPT/VRLM.

arXiv cs.LG81

JARQ:量化的联合交替细化

arXiv:2609.38599v2 公告类型:替换 摘要:面向大语言模型的分组训练后量化器会将权重舍入到一个不会针对所得整数编码重新拟合的网格上。我们表明,这会造成精度损失:最佳网格取决于编码,输入相关性会耦合不同分组的误差,而有益的编码变化通常会同时涉及许多编码。我们提出 JARQ,这是一种即插即用的细化方法,可从任意分组量化器出发,交替执行所有分组尺度的联合最小二乘拟合,以及基于当前网格、通过有界 Babai 候选使一个分组中的多个编码共同移动的操作。该问题是一个双线性、盒约束混合整数最小二乘问题;其求解器无需反向传播,在精确求解尺度时不会增加逐层目标函数,并且保留宿主量化器的位宽、分组、零点和推理成本。在 Llama-2、Llama-3 和 Qwen 模型上,以 RTN、GPTQ、OmniQuant 和 AWQ 作为宿主量化器时,JARQ 在 96 项比较中的 90 项降低了困惑度,将三比特 RTN 的困惑度最多降低 36%,在 24 种配置中的 23 种提高了平均多选题准确率,并改善了 QEP、QuaRot 和 OJBKQ 的输出;对于每个 7B 模型块,耗时不到一分钟。

arXiv cs.LG80

权重读写特征:以激活空间为基础的可扩展参数分解

arXiv:2609.37731v2 公告类型:替换 摘要:激活空间和参数空间为模型计算提供了互补的视角。激活表示信息,而权重则读取、转换并写入这些信息。然而,现有的可解释性方法大多分别研究这两个空间,对于所表示的信息与参数层面计算之间的联系探索不足。我们提出激活支持的参数分解(Activation-Supported Parameter Decomposition,ASPD),对激活空间和参数空间进行联合分解,并将每个学习到的权重分量与其读取或写入的激活特征建立对应关系。这种对应关系利用模型内部的激活,对原本不唯一的参数分解施加约束;同时,内部重构目标为正在分析的权重矩阵提供局部学习信号。这些特性结合起来,使得在预训练大型语言模型中进行可扩展、可解释且可因果编辑的参数分解成为可能,我们在 Qwen-3-8B 上对此进行了展示。学习到的读写分量还可以组合成参数层面的机制电路。我们使用 ASPD 恢复经典 IOI 电路背后的机制,并追踪语义转换如何通过模型权重实现。

arXiv cs.LG74

MaskCoFT:面向内存高效 MoE 推理的掩码协同自适应微调

arXiv:2609.34077v2 公告类型:替换 摘要:混合专家(MoE)语言模型通常会超出单个 GPU 的内存容量。专家卸载将大多数专家保存在主机内存中,并按需加载,因此解码速度取决于每个 token 需要获取多少个专家。缓存和预取只能在路由机制允许的范围内降低这一开销。仅对路由器进行微调可以重塑路由,使其复用专家,但专家保持冻结状态,因而无法适应新路由发送给它们的 token。我们提出 MaskCoFT,这是一种掩码协同自适应微调方法,仅使用交叉熵损失共同训练路由器和专家。在微调过程中,一个可学习的二值掩码将每一层的 Top-K 路由限制在专家子集内,同时专家适应被重新定向给它们的 token。在推理时,学习到的掩码会成为一种软先验,用于重新排序专家,因此每个专家仍然可以被选中。我们分别针对 Mixtral-8x7B 的每层 4 个专家和 DeepSeek-V2-Lite 的每层 12 个专家模拟 GPU 缓存。相较于基础模型,MaskCoFT 将每个 token 的专家获取次数分别减少了 23.7% 和 10.1%。在真实的卸载系统服务中,它将每个输出 token 的耗时分别最多降低了 16.4% 和 5.5%。在九项基准测试中的平均准确率分别比基础模型高出 0.92 和 0.53 个百分点。

arXiv cs.LG74

将预训练 LLM 重新用作高保真连续文本自编码器

arXiv:2609.27248v2 公告类型:替换 摘要:下一个词元预测使自回归语言模型能够生成高度流畅的文本,但它只能通过序列分解间接表示全局结构。相比之下,高保真自编码器已成为图像生成中的标准基础模块,使生成模型能够在连续潜空间上运行;而文本尚缺乏同样忠实的连续表示。我们提出 LLMAE,通过将中间层的激活暴露为固定长度的潜在瓶颈,将预训练的仅解码器语言模型重新用作连续文本自编码器。LLMAE 通过结构化注意力掩码和 LoRA 适配实现了这一接口,同时利用原始 LLM 的生成先验。在两个骨干模型(270M Gemma 3 和 0.5B Qwen2.5)上,LLMAE 能够高准确度地重建最长 1024 个词元的序列,并逐字复现多达 97% 的文档。我们通过训练一个轻量级扩散模型展示了其下游应用价值:该模型能够直接在冻结的 LLMAE 潜空间中生成详细的图像描述。通过将文本映射到固定长度的连续潜空间,我们的方法为下游适配提供了有效基础,同时受益于原始 LLM 的流畅性。代码和模型可在 https://github.com/arkanath/LLMAE 获取。

arXiv cs.LG83

Video DeltaNet:面向视频原生的混合注意力机制,用于直播视频生成

arXiv:2609.20744v3 公告类型:替换 摘要:视频扩散模型在去噪过程中会反复处理长时空令牌序列,使注意力机制成为主要的计算瓶颈。线性注意力提供了颇具吸引力的替代方案,并已广泛应用于近期的大型语言模型中,但将其直接应用于视频模型,往往无法保留高质量生成所需的细粒度交互。我们提出 Video DeltaNet(VDN),将局部 Softmax 注意力与双向线性记忆相结合,以建模长程视频上下文。其线性分支引入了 Video Delta Attention(VDA),通过联合整合每一帧的空间令牌,每帧更新一次记忆。独立的输出投影和可学习门控机制用于校准两个分支,同时,分阶段的教师对齐方案逐步将这一新路径引入预训练模型。我们在 MiniMax H3 上实例化了 VDN,将这种混合机制应用于视频到视频的交互,同时保留 Softmax 以处理涉及文本或音频的交互。借助八步蒸馏和优化后的 SGLang 服务栈,VDN-H3 在八块 NVIDIA B200 GPU 上,仅用 6.70 秒即可完成 14.3 秒、768p 视频的 DiT 去噪;相比相同 GPU 数量下采用 50 步密集 H3 基线,实现了 14.5 倍加速。GitHub 代码见:https://github.com/OpenVDN/vdn-minimax-h3。模型权重见:https://huggingface.co/OpenVDN/vdn-minimax-h3

arXiv cs.LG66

Exact Risk Ratios for Weighted Data Selection in Linear Regression

arXiv:2608.28007v2 Announce Type: replace Abstract: How much data must a fixed learner retain? Hanneke, Moran, Shlimovich and Yehudayoff (COLT 2025) posed this question for linear regression with the minimum-norm empirical risk minimizer. A selector sees a finite dataset $D\subseteq R^d\times R$, keeps at most $n$ examples with nonnegative weights, and $F_w(d,n)$ is the worst-case ratio between the full-data loss of the trained predictor and the optimal loss. The value is $\infty$ for $n<d$, $d+1$ at $n=d$ and $1$ for $n\ge2d$, and the regime $d<n<2d$ was left open. We settle several cases. For every $d$ we prove $F_w(d,2d-1)=1+1/d$, which confirms a claim stated without proof in the original note. We also prove $F_w(3,4)=5/3$, $F_w(4,5)=2$ and $F_w(4,6)=3/2$, the three smallest cells not covered by that formula. For every intermediate budget $n=d+k$ we prove the lower bound $F_w(d,d+k)\ge1+\Gamma_{d,k}$, where $\Gamma_{d,k}$ is an explicit harmonic quantity over balanced partitions of $d$. This bound is the exact minimax value on the class of datasets whose whitened systems split into orthogonal circuit blocks. All proved values equal $1+\Gamma_{d,k}$, and we conjecture that this holds throughout the open regime. Our upper bounds combine a rigidity theorem for positive spanning configurations of loss gradients with normal forms of the small positive bases in $R^3$ and $R^4$. These forms are special cases of the classification of Cornaz, Kerleau and Royer; we also control all gradients outside the basis. A dimension-free extremal-basis argument converts sign-cone geometry into selections of $d+1$ points. Explicit counterexamples rule out several shorter routes. Every upper bound is constructive, with selection procedures polynomial in the number of points for fixed dimension. Every numerical claim about a specific instance is an exact rational or algebraic identity, recomputed in exact arithmetic in the supplementary material.

arXiv cs.LG80

从修补到剪枝视觉语言模型中的视觉计算

arXiv:2610.03389v1 发布类型:cross 摘要:视觉语言模型(VLM)会产生显著的推理成本,因为每个视觉 token 都要经过每个解码器层中的注意力投影和 MLP 投影,即使在许多深度位置并不需要针对特定 token 的视觉计算。我们提出 Patch-to-Prune(P2P),其受机制可解释性启发,是一种无需训练的框架,将激活修补从诊断工具转变为推理时的计算旁路机制。P2P 执行由验证引导的前向和后向层扫描,以识别解码器中可以在用户指定的精度容忍范围内,用固定的中性代理激活向量替代视觉 token 投影输出的区域。不同于传统的 token 剪枝方法,P2P 保留序列长度、token 顺序、位置信息、注意力掩码和残差路径,从而在不移除 token 或修改预训练模型权重的情况下剪枝计算。我们在来自 Qwen2.5-VL 和 LLaVA 系列的四个 VLM 上进行评估,涵盖七个多模态基准,并使用彼此完全不重叠的校准集、验证集和测试集划分。在 3% 的容忍度下,P2P 保留了约 94% 的稠密模型精度,同时将 FLOPs 降低了 55%。除效率提升之外,我们的逐层分析表明,VLM 中的视觉处理并非均匀分布在解码器深度上:早期和晚期层通常只需要很少的特定 token 视觉计算,而中间层似乎执行了大部分与任务相关的视觉整合,使后续推理能够主要依赖已经嵌入共享残差表示和文本表示中的视觉信息。因此,P2P 既是一个高效的推理框架,也是一个用于理解 VLM 中视觉信息处理因果机制的窗口。

arXiv cs.LG75

SyntaxBench:大型语言模型字符级推理的统计诊断框架

arXiv:2610.03329v1 公告类型:cross 摘要:大型语言模型越来越多地被用于细微语法错误至关重要的场景,但字符级推理仍主要通过孤立探测和总体准确率进行评估。我们提出 SyntaxBench,这是一套用于字符级推理的诊断基准与统计评估框架。它包含五项核心任务:字符计数、字母包含判断、回文检测、编辑距离和最长字符串选择,另加一项难度更高的子串提取压力测试 index_to_span。五项核心任务使用成对的英语输入和字符长度匹配的随机字符串输入。index_to_span 中的文档长度均处于 200–500 词范围内,且不进行字符长度匹配。六项任务均采用零样本、单样本和四样本提示。我们在 11 种推理模式配置下,评估了 8 个参数量从 2B 到 32B 的开放权重模型。该框架报告完全匹配准确率和宽松准确率、Cohen's kappa、带优势比的成对 McNemar 检验、自助法置信区间、Kendall's tau、类别条件指标、分词分析,以及经过多重比较校正的检验结果。研究有三项突出发现。第一,分词会影响准确率:与英语字符串相比,随机字符串具有更高的字符可见性(每个词元分别包含 1.892 和 3.169 个字符),并且随着英语单词占用更多词元,字符计数准确率会下降。第二,推理模式并非始终有帮助:在接近饱和的任务上,Gemma4-31B 在不同模式下几乎没有变化;而在回文检测任务中,Qwen3.6-27B 开启思考后的表现反而更差(四样本条件下,不思考为 0.952,思考为 0.886)。第三,index_to_span 仍基本未被解决;四样本条件下最佳完全匹配准确率仅为 6.75%。字符级评估需要受控输入、成对检验,以及对分词和推理模式的分析,而不能仅依赖总体准确率。

arXiv cs.LG75

ParaGeo:将副语言变异分解为共享潜在几何结构

arXiv:2610.03125v1 公告类型:cross 摘要:语音表达会随着所要求的副语言属性和语言内容的不同而变化。我们提出 ParaGeo,在冻结的语音语言模型中对副语言变异进行基于匹配内容的分解。合成的音频标记通过固定的听取提示进行重放;池化后的键/值(K/V)表示经过中心化处理,并投影到共享的低维空间中。我们的 GLM-4-Voice 探针涵盖了来自 12 个基准系列的 80 个请求控制变量,涉及 8 个句子。使用全局拟合的校准基,基于该基的内容留出质心准确率为 9.49%,而置换基线为 1.25%;相同标签跨内容的余弦相似度为 0.285,而基线为 0.017,且两项条件置换检验均得到 p = 0.001。另一项包含 10 种场景和 6 种风格的探针揭示了跨场景可复现的对比方向。静态、加性和时间性干预产生了取决于属性、层级和调度方式的响应特征。这些结果为测量副语言结构提供了一种共享坐标表示,也为潜在语音控制提供了一个经验起点。代码可在 https://github.com/yuhanlydia/ParaGeo 获取。

arXiv cs.LG82

使用视觉语言模型进行自动驾驶的局部化保形安全监测

arXiv:2610.02765v1 公告类型:cross 摘要:监测规划的驾驶轨迹需要准确估计与交通参与者发生碰撞的可能性,而这些参与者的运动本身也会受到自车运动的影响。现有的经典方法通常受限于其预测模型的质量。视觉语言模型(VLMs)在推理高层动作后果方面展现出良好潜力,但其近似预测并不适用于自动驾驶等安全关键型应用。保形预测(CP)已成为一种基于数据量化黑盒模型预测不确定性的框架。我们提出 Split Label-Localized Conformal Prediction(SLLCP),这是一种作用于冻结 VLM 的事后校准层,可将其不可靠的预测转换为经过概率校准的安全预测集。我们研究了安全估计能力如何取决于观测到的驾驶场景,并引入一种局部化过程,在计算不确定性阈值时提高相关历史经验的权重。在可交换性条件下,我们提供了标签条件的有限样本分布无关覆盖保证。在从未见过的场景中的 15k 条 CARLA 轨迹上进行评估时,SLLCP 使用 Qwen 主干网络正确标记了 89.6% 的致碰撞轨迹,使用 Cosmos 主干网络正确标记了 88.4%;相比之下,基础 VLM 分别仅标记出 4.6% 和 39.1% 的致碰撞轨迹。这些结果表明,局部化的标签条件校准能够减少漏检的不安全轨迹。

arXiv cs.LG79

DeReAct:通过解耦推理与行动构建可靠的 AI 智能体

arXiv:2610.02351v1 公告类型:交叉收录 摘要:基于 ReAct 的智能体通常依赖单一 LLM 策略来提出行动、与环境交互,并判断任务何时完成。这种耦合使得行动授权与完成控制难以独立实施,导致错误传播,并使缺乏依据的完成声明终止执行。我们提出 DeReAct,这是一种模块化智能体架构,将两种门控策略外置:Critic 在执行前验证所提出的行动,Context Manager 则重建有环境证据支持的 \textsc{State} 并核验任务是否完成。在 GAIA 和 SWE-bench Verified 上,DeReAct 对能力较弱的 Brain 模型的 Pass@1 提升最为显著,其中 Qwen3-Coder-480B 提升了 6.5–7.0 个百分点,Claude Sonnet~4.5 提升了 4.2–5.2 个百分点;随着 Brain 能力增强,提升幅度逐渐减小。轨迹分析与消融分析表明,当目标故障足够普遍且门控策略本身具备足够能力时,外部门控是有效的。使用 Claude Opus~4.5 时,Pass@1 与 ReAct 保持相当,但 DeReAct 生成的轨迹具有更完整的证据支持,并能更好地满足约束,这表明完成控制可以通过推迟终止来换取更扎实的证据依据。总体而言,DeReAct 能提升较弱智能体的表现,同时在模型能力增强后仍保留证据依据方面的优势。

arXiv cs.LG83

DeskForge:来自桌面环境的计算机使用代理密集监督

arXiv:2610.02320v1 公告类型:cross 摘要:计算机使用代理需要在复杂的桌面场景中可靠地定位操作目标,因为多个应用程序、相互重叠的窗口以及视觉上相似的控件会争夺注意力。现有训练数据很少将此类场景与密集标注配对,也很少以可控方式改变这些场景。我们提出 DeskForge,这是一种可控的桌面环境,通过组合并探索真实应用程序,为计算机使用代理生成大规模监督数据。该环境能够改变应用程序状态、内容、窗口布局、外观和分辨率,并将屏幕截图、可访问性树和窗口几何信息融合为密集的元素标注,同时记录每次执行操作的结果。借助该环境,我们构建了 DeskForge-1M,这是一个包含 120 万条已标注桌面观测和 1.597 亿个元素实例的语料库。我们从 DeskForge-1M 中抽取 20 万个定位示例,用于微调四个视觉语言模型。四个模型在留出的桌面条件下以及全部五个外部 GUI 定位基准测试中均得到提升;对于 Qwen3.5-4B,其在 ScreenSpot-Pro 上的准确率提高了 11.51 个百分点,在 OSWorld-G 上提高了 10.11 个百分点。这些提升也转化为长时程任务完成能力的提升:在固定规划器下,微调后的操作模型能够完成更多 WebArena-Infinity 和 OpenApps 任务,其中 Qwen3.5-4B 分别将完成数量从 119 个任务中的 31 个提升至 50 个,以及从 100 个任务中的 3 个提升至 15 个。结果表明,对真实桌面环境进行可控组合能够为提升 GUI 定位能力和长时程计算机使用能力提供一种可扩展的监督来源。框架代码、数据集和微调后的模型可从项目页面获取:https://saidgurbuz.github.io/deskforge/

arXiv cs.LG

Expected Utility Regret Rule: Minimax and Bayes Optimal Portfolio Choice

arXiv:2610.02290v1 Announce Type: cross Abstract: This study considers the problem of portfolio choice, where we recommend a portfolio to an investor to maximize the expected utility of their wealth. Our goal is to construct an asymptotically optimal portfolio choice rule in terms of expected utility regret, the difference between the expected utility of an oracle investor and that achieved by a portfolio chosen from data. We propose the Expected Utility Regret (EUR) rule, which jointly selects a portfolio class and estimates its weights. In a regular parametric return model, a single EUR rule attains both the minimax and the Bayes lower bounds, including their leading constants, without using the prior distribution that defines the Bayes criterion. We then derive the mean--variance and risk-parity portfolios as special cases of this framework. Under smooth increasing and concave utility, the EUR rule and the sample mean--variance portfolio attain the same leading expected regret when expected excess returns approach zero sufficiently fast. When the returns divided by their volatilities have a joint distribution that does not depend on the order of the assets, the EUR rule and the risk-parity portfolio coincide.

arXiv cs.LG86

快速模型,缓慢证据:针对 LLM Agent Harnesses 中 System-1 决策模型的成对与自审计评估

arXiv:2610.02267v1 公告类型:cross 摘要:Agent Harnesses 在每项任务中会做出许多细小的、具有类型约束的决策:调用哪个模型、使用哪个工具、检索到的文本是否相关、输入是否包含注入内容。System-1 决策模型通过一次前向传播放出带有类别概率的答案,有望相比调用 LLM 大幅降低成本和延迟。我们对一个开放权重模型(Laya)和一个托管模型(Jev)进行了成对评估,涵盖基于 18 个公开来源构建的 11 个 Agent 决策点:7,283 个基础案例和 6,640 个鲁棒性变体,并采用字节级完全一致的输入、成对测试,以及跨硬件和跨日期的可复现性检查。在 11 个决策点中,Jev 有 9 个点的准确率显著更高(高出 10.8 至 46.0 个百分点)。在零样本模型路由上,两个模型都未超过随机猜测水平;在 RAG 相关性门控上,两者表现持平。当选项顺序反转时,Laya 会改变 30% 的答案;面对大量或相似的候选项时,其性能急剧下降(在 50 个最近邻工具的情况下准确率为 31%,而对于具有唯一正确工具的项目,Jev 的准确率为 98%)。我们还审计了自己的流程。三个分析错误和一个设计混淆因素扭曲了主要部署结论:遗漏了预筛选成本(报告节省 23.9%,实际仅为 4.3%);将门控准确率报告为端到端质量(58% 对 98%);使用样本内阈值(目标为 5%,留出集漏判最高达 17%);以及关于注入误报的“渠道效应”——使用渠道原生内容后,该效应便会消失。另外两个疑似混淆因素没有改变结论。所有案例、原始输出和分析代码均可在 https://github.com/David-DL-Space/sys1-eval 获取。

arXiv cs.LG80

Page-EntroKV:分组查询注意力下硬件对齐、熵加权的 KV 缓存淘汰

arXiv:2610.03135v1 公告类型:new 摘要:长上下文自回归语言模型的服务受到键值(KV)缓存的限制。大多数动态淘汰方法针对每个查询头评估 token 重要性,并独立选择 token。这与分组查询注意力(GQA)并不契合,因为多个查询头共享一个物理 KV 缓冲区:各头之间不一致的选择会迫使服务引擎保留它们选择结果的并集,使缓存容量最多膨胀至组比例 r 的倍数;而算术平均池化则会稀释承担事实召回功能的专用检索头。我们提出 Page-EntroKV,这是一种在 GQA 服务实际分配资源的粒度上运行的 KV 缓存淘汰形式化框架。每个物理组内的头通过由隔离 sink 后的碰撞(Renyi-2)熵导出的权重进行池化——每个头只需计算一次内积,并在预填充阶段完成,无需校准——从而避免 sink 头伪装成检索头。池化后的分数被映射到 PagedAttention 页帧上,淘汰操作则在硬件元组(层、组、页)这一粒度执行。我们形式化定义了并集开销比(UOR)和组内分歧度;证明了对于双头组二者之间的精确恒等式,以及在任意组比例下成立的双侧界;证明了严格的预算保持性质和有限上下文中的 needle 保留界,而算术平均池化经证明会违反该界;并给出了精确到每层的页面计数。在一个试验架构(Qwen2.5-1.5B-Instruct,r=6)上,对 2,240 个组测量进行与头无关的重放显示,在 2% 的预算下,并集开销最高可达 4.75 倍,而 Page-EntroKV 将 UOR 精确保持为 1.000;隔离 sink 消除了 13 倍的 sink 伪装;在 20% 的预算下,needle 召回率达到 100%,而算术平均池化为 0%;对于任意页大小,保留基数均保持精确;在保留率为 20% 时,问答和代码任务仍然可以完成。

arXiv cs.LG76

理解强化学习中的增益

arXiv:2610.02846v1 公告类型:新 摘要:当奖励稀疏时,带可验证奖励的强化学习(RLVR)通常会使用提示或中间指导来生成更多成功的轨迹。这种增益会使策略梯度更新产生偏差,除非通过重要性权重进行校正;但现有方法要么省略校正,要么截断重要性权重,以避免校正带来的高方差。因此,在 RLVR 中校正增益轨迹究竟会带来什么收益或损失,仍不清楚。我们从数学上表明,省略或截断校正会隐式地重新加权所定义的奖励,并将由此产生的梯度误差分解为尺度、旋转和方差三个部分,以解释它们对学习的不同影响。为了使校正具有实用性,我们提出了一种新颖的序贯蒙特卡洛(SMC)权重校正机制。在稳定性和粒子排序假设下,该机制能够将标准校正方差随样本长度呈指数级累积的现象,缓和为加性累积。随后,我们将对增益的分析应用于解读在 OpenMathReasoning 的一个稀疏区间上对 Qwen3-1.7B 进行微调的结果,揭示增益(无论是否经过校正)如何通过一种具体机制帮助模型避免在稀疏领域中发生崩溃。我们的主要贡献在于,从一般意义上理解增益和校正如何影响训练,而不是声称任一种操作模式都优于无增益强化学习。

arXiv cs.LG74

只工作不玩耍,Jack 就会变成无趣的孩子:理解并防止 RLVR 中灾难性的策略崩溃

arXiv:2610.02835v1 发布类型:新 摘要:在使用可验证奖励强化学习(RLVR)对大型语言模型(LLM)进行后训练期间,GRPO 风格的算法可能会出现严重的后期崩溃。基于提示的探测表明,这并非无害的策略裁剪,而是有效策略容量的有害收缩,使不同的推理策略越来越难以访问。为刻画这一现象,我们通过轨迹层面的策略更新交互来定义策略,并构建了一个结合优化动态与信息论的统一理论框架。我们证明,主要的 RLVR 目标函数会逐步将概率质量集中到单一策略上,而维持非平凡的任务准确率则需要最低限度的策略容量。这两项结果之间的冲突为灾难性崩溃提供了机制层面的解释。我们进一步推导出 Mirrored Entanglement Index(MEI),将其作为一种轻量级的在线预警信号。为防止崩溃,我们提出 \textbf{Mesh Learning},通过展现多种推理策略,防止任何单一策略主导优化过程。在 AIME26、AIME25、MATH-500、GPQA 和 LiveCodeBench 上,Mesh Learning 在 Qwen 和 Phi 模型系列中均持续优于强基线,性能提升最高分别达到 13.4 个百分点和 11.5 个百分点。这些结果表明,策略保留是实现稳定 RLVR 的关键原则。代码发布于 https://github.com/Ayanami-0123/Open-Mesh-Learning。

arXiv cs.LG77

用于评分预测的个人 AI 记忆受控审计

arXiv:2610.02764v1 发布类型:新 摘要:在结构化评分预测中,个人 AI 使用历史项目—评分关联,还是主要依赖用户的评分倾向?我们通过在每位用户内部置换历史评分,同时保持评分分布、项目支持集和元数据完全不变,来审计这一差异。我们将这一控制实验与完整历史记录、原生记忆提取以及匹配的数值读取器相结合,在一个公开冻结的评估中,测试了 400 个留出用户档案以及 Coat 和 MovieLens 中的 6,160 个目标评分。在 Coat 上,与完整历史记录相比,经过测试的 Qwen 编写的 Mem0 流水线使用户宏平均绝对误差提高了 0.084(Qwen)和 0.149(Phi);两者经家族校正后的 bootstrap 区间均不包含零。正确的历史分配有助于 Coat 上的两种读取器,但在经过校正后,MovieLens 中相应的影响较小且无法得出结论。仅使用历史记录的 ridge 读取器在两个领域都优于 Qwen,并且在 MovieLens 上优于 Phi;而在 Coat 上与 Phi 的比较尚无定论。全部 2,800 次读取器调用(包括 150 次无效输出)均依据固定的回退规则予以保留。另一套独立实现验证了输入、指标和全部十项主要对比结果。本文的贡献是一项可复现的诊断性研究,说明记忆提取、关联使用、输出可靠性和读取器选择为何需要分开评估。

arXiv cs.LG75

从不断演化的错误中学习:面向在策略蒸馏的自适应迭代修复

arXiv:2610.02700v1 公告类型:新 摘要:在策略自蒸馏(OPSD)为从学生自身策略采样的轨迹提供密集的词元级反馈,相较于强化学习中的结果级奖励,这是一种更丰富的训练信号。这些反馈来自一个以完整参考解答为条件的教师,而学生无法获得该参考解答。参考解答规定了目标,却没有说明如何从学生当前的错误走向该目标,从而带来了由解答条件引发的捷径风险。我们提出 AIR-OPD,一种用于在策略蒸馏的自适应迭代修复框架,可提供从错误到修复的监督。给定一个失败的响应,指导生成器会针对当前错误综合生成修复指导。学生在该指导下进行在策略重试。如果重试仍然错误,生成器会针对新发现的错误生成新的修复指导。在每一轮中,固定教师将该指导作为特权上下文,并在学生最新失败响应中与错误对齐的区域对学生进行监督。结果感知的阶段加权机制偏重早期修复阶段,并对即时重试通过验证的阶段给予奖励。我们在 DAPO-Math-17K 数据集上训练 AIR-OPD,并在 AIME24、AIME25 和 HMMT25 上进行评估,同时在 MMLU-Pro 和 GPQA 上开展分布外测试。我们考察了两种指导来源:来自当前学生策略的自我指导,以及来自更大模型的外部指导。对于 Qwen3-4B 和 Qwen3-8B,AIR-OPD 均取得了最佳的数学推理平均成绩,相较于最强基线最高提升 3.6 分,同时保持了基础模型在分布外基准测试上的性能。

arXiv cs.LG84

利用权重近似的激活稀疏性加速卸载权重上的 LLM 解码

arXiv:2610.02598v1 发布类型:新 摘要:在内存不足以容纳其权重的消费级 GPU 上部署 LLM,可能导致推理速度极慢,因为解码过程会反复将卸载的权重从系统 RAM 或闪存传输到 GPU,而其带宽远低于本地 GPU 内存访问。激活稀疏性通过跳过与零值或近零值激活相关联的权重来减少这些传输。然而,随着被省略的激活贡献增加,模型质量最终会迅速下降,这表明,与小幅值激活相关联的权重总体上会显著影响模型质量。在本文中,我们在利用激活稀疏性时改进了模型质量与解码性能之间的权衡。我们的核心思想是,将是否读取某个权重的二元选择替换为三种选项:完整保留、使用压缩权重表示进行近似,或完全省略。SpAx 跳过与最接近零的激活相关联的权重,对幅值较小的激活读取近似权重,并对幅值最大的激活读取原始权重。幅值较小的激活会减弱近似权重引入的误差,而压缩权重表示所需传输的字节数更少。当权重卸载到 CPU 内存时,在 WikiText-2 困惑度增幅不超过 10% 的情况下,SpAx 使用 16 位权重可将解码速度平均提升 3.86 倍(最高 5.57 倍),使用 4 位权重可平均提升 2.06 倍(最高 2.74 倍)。当权重卸载到闪存时,加速比分别为平均 3.31 倍(最高 4.81 倍)和 1.54 倍(最高 2.03 倍)。

arXiv cs.LG80

通过提示进行判别:在真实环境中泛化恶意输入探测器

arXiv:2610.02413v1 公告类型:新 摘要:LLM agents 越来越依赖激活探测器作为运行时监视器,用于检测提示注入、越狱和不安全请求;这类探测器读取模型自身的隐藏状态,以便在代理对有害输入采取行动之前将其识别出来。一种廉价且日益常见的做法借鉴了 LLM-as-judge 提示:在用户发言之后追加一条简短的分类指令,并在此位置读取探测信号,从而增强探测效果:该指令要求模型将收到的请求表示为某个类别,使探测器需要区分的信号更加集中,而服务成本几乎不变。但这个后缀的措辞是否重要?它的优势是否能在真实环境中成立,即面对探测器训练时从未见过的攻击类型——这正是部署后的监视器所处的场景?我们在严格的留一数据集外(LODO)评估下,通过一组受控的用户发言后缀进行测试,覆盖 13 个安全基准(越狱、注入和良性聊天)以及三个开放权重模型系列(Llama-3.1-8B、Qwen3.5-9B、Gemma-4-12B)。对于单位置探测器,分类后缀相较于无后缀能够稳定提升分布外检测性能(最高约提升 4 个 AUC 点);但后缀的具体形式很重要:提示模型对输入进行分类,即使类别标签不包含任何内容信息,也能稳定胜出;无关主题的后缀或仅要求模型注意输入的后缀帮助不大。性能提升来自分类格式,而非明确指定的判据:不包含内容信息的后缀能够匹配真实的恶意/良性分类,而加入判据只会在严格阈值下提升精确率。这并非单位置读取造成的假象:在生产环境中使用的多位置汇聚探测器(attention、multi-max、MLP)上,这一收益同样存在,不过其中表现最佳的后缀取决于读取方式。通过 KV-cache 分叉提供服务时,这种方法可以低成本地直接接入任何激活探测监视器,但并非必然有效:哪种后缀有帮助以及帮助有多大,取决于模型和读取方式。

arXiv cs.LG77

训练有素的智能体上下文管理

arXiv:2610.02404v1 公告类型:新 摘要:我们研究长上下文语言模型。我们不采用原生训练长上下文的方式,也不设计长上下文工具框架,而是在最简单的工具框架上训练模型:一个可使用任意指定提示词调用自身的工具,以及一个可从输入上下文中读取指定范围内词元的工具。我们使用这一工具框架,在多样化的合成数据集上对 Qwen3.6-35B-A3B 进行微调。仅使用 8,000 个词元的上下文时,当文档长度超过 40K 个词元,我们的小型模型在 OOLONG-synth 基准测试上的表现就已达到使用 1M 个词元上下文的 GPT-5.4 的水平。

arXiv cs.LG72

Inherit-MAS:通过工作流继承与执行继承实现多智能体系统的测试时演化

arXiv:2610.02396v1 发布类型:new 摘要:由大语言模型构建的多智能体系统(MAS)通过协调专门化智能体来处理复杂任务,但有效的工作流很难预先设计。测试时演化利用执行反馈来改进工作流,然而大范围修订可能会扰乱有用组件,而重新执行未发生变化的请求则会带来冗余计算。受生物演化中继承与选择相互作用的启发,我们提出了 Inherit-MAS,在工作流和执行两个层面明确实现继承。一个元模型首先合成由工作智能体组成的工作流,并声明其角色、通信输入和工具权限;另一个通过独立提示的评判器则为每个已执行候选方案评分,并诊断其不足。在常规细化轮次中,工作流继承从最近完成的候选方案开始,可以丢弃被判定为无助的可移除节点,并应用经过验证的编辑来解决已诊断的不足。当新候选方案执行时,执行继承仅在完整的解析后请求和执行上下文均匹配的情况下继承符合条件的已存储结果,从而避免冗余的模型调用和工具调用。使用 GPT-4o-mini 工作智能体时,Inherit-MAS 在 WorkBench 上实现了 55.4% 的完成率,在 HotpotQA FullWiki 上实现了 49.7% 的联合 F1,优于 EvoAgent、EvoMAS 和 TacoMAS。使用 Qwen3-32B 工作智能体时,它在两个基准测试上同样超过了这些演化型 MAS 基线。与在禁用执行继承的情况下重新运行同一控制器相比,执行继承使 WorkBench 上的工作智能体 token 用量减少了 29.1%,HotpotQA 上减少了 34.6%;总 token 用量分别减少了 5.3% 和 18.1%。

arXiv cs.LG75

犹豫具有几何结构:用于稀疏激活引导的经熵训练双曲探针

arXiv:2610.02391v1 发布类型:new 摘要:当大语言模型解决数学问题时,其推理很大程度上具有层次性,而解答通常会在少数几个下一词熵较高的词元处发生分支。这种树状结构嵌入双曲空间时的失真远低于嵌入欧氏空间。尽管如此,激活引导通常仍通过在每个词元处添加同一个固定的欧氏向量来编辑预训练模型的隐藏状态,即使解答中的大多数词元已经由上下文确定。我们提出 Hyperbolic Entropy Steering(HEST):使用一个轻量级探针将隐藏状态嵌入 Poincaré 球,而该探针唯一的标签就是模型自身的下一词熵。当该熵超过阈值时,HEST 沿着探针读出函数的最速下降测地线移动嵌入状态,然后将这一变化映射回隐藏状态。对于以一个学习得到的理想点为基础的 Busemann 读出函数,我们证明,固定长度的步长会在任意状态处将其降低相同的量。在来自 Qwen2.5-Math 和 Llama-3.1 系列的三个指令微调模型上,采用 Busemann 读出函数的 HEST 在六种设置中的五种下提升了 MATH-500 和 GSM8K 上的贪心准确率,最高提升 1.8 个百分点;相比之下,在每个词元处添加对比式引导向量会降低准确率。对于以相同方式训练的欧氏探针,在 Qwen2.5-Math-1.5B-Instruct 上,这一增益消失了。对于模型经常犹豫的问题,增益最大;而在其余问题上,准确率几乎没有变化。

MarkTechPost68

Can an Open Model Do Security Research? Cantina’s apex-flash-1 Solves 40 of 60 Held-Out Bug Tasks

Cantina Security, with Yeta Labs, has released apex-flash-1, an open-weights model trained specifically for vulnerability research. It is a reinforcement learning fine-tune of Z.ai’s GLM-5.3-Flash, released on Hugging Face under the MIT license. Is it deployable? Yes, the MIT weights serve on vLLM, SGLang or Transformers, but BF16 needs roughly 640 GB of GPU memory. […] The post Can an Open Model Do Security Research? Cantina’s apex-flash-1 Solves 40 of 60 Held-Out Bug Tasks appeared first on MarkTechPost .

arXiv cs.AI81

NeutronGym:面向 LLM 智能体的物理评分中子仪器设计

设计科学仪器可以检验语言模型智能体是否真正会做物理,而不是只会回忆知识,前提是评分标准不容争辩。我们推出 NeutronGym,据我们所知,这是首个用于中子仪器设计的可执行环境:智能体通过验证工具构建仪器,McStas 对其构建结果进行射线追踪,并通过分级评分阶梯评估语法、运行时、结构和科学性,整个过程不依赖 LLM 评审。程序化系列为固定布局提供无限多个实例,智能体必须设定其中的设计参数,并面对留出的参数区间;一个经过精选的子集 McStasBench 则加入了来自已发表仪器的16项任务,并配备记忆探测和沙箱。七个模型最多只能复现其中7项,没有一个能检索出参考答案,也没有一个达到改进目标。该环境还可用于训练。利用其奖励进行强化学习后,Qwen3-8B 在某个目标源自隐藏设计的系列的留出实例上的成功率从11%提升至77%(使用第二个随机种子时为69%),超过了未经训练的 Qwen3-32B;在每个系列使用一个随机种子的情况下,这一训练方案在另外三个设有门槛的系列上也同样有效。分析揭示了这种提升的实质。若去掉评分阶梯提供的部分得分,性能会下降60个百分点。仅凭奖励进行训练时,只有在获得闭式物理公式的情况下,训练模型才能在智能体的仿真预算内达到经典优化器的水平(77% 对81%;在这一规模下两者差距并不显著),而前沿模型仍能解决98%至99%的任务。要获得可信的结果,我们不得不放弃四种连无模型基线都能解决的任务设计,并发布了发现这些问题的探测器。

arXiv cs.AI81

MRVQ:一种支持维度和码率弹性调整的单一常驻索引,用于向量搜索

稠密检索服务必须根据延迟、质量和内存预算的变化,在嵌入前缀维度和索引比特率之间切换。针对每种码率分别调优量化器可以获得最佳质量,但这样一来,检索层就必须同时保存多个代码流和量化器状态。我们提出 Matryoshka Residual Vector Quantization(MRVQ),一种面向冻结嵌入的事后残差量化器。其最高码率代码可通过两种方式截断:去除残差阶段可以降低码率,去除嵌入坐标可以降低维度。因此,一个常驻工件即可服务于我们评估的所有(维度、码率)组合。在 FiQA 和 NFCorpus、四种嵌入系列以及 {4, 8, 16} 字节代码的评估中,MRVQ 是我们测试的内存占用最低的设计。与分别训练的三个 QINCo2 索引相比,它的内存占用减少了 17.8–22.0 倍;与一种精简的共享模型强基线相比,则减少了 1.89–2.02 倍。这种节省并非没有代价:在 FiQA 上,按码率分别训练的 QINCo2 的 nDCG@10 高出 0.026–0.107。不过,在代码大小相同的情况下,MRVQ 击败了 PQ、OPQ 和 AdANNS-OPQ。我们还评估了一种构建成本较低的 PCA-scalar 设计;其质量与 RaBitQ 及其扩展版本相当,而在中位数意义下的拟合速度快 420 倍。最后,我们报告了两个负面结果:在高码率下训练时,QINCo2 会崩溃;而一个排序上界假设未达到预先设定的验收标准。因此,MRVQ 是弹性检索的一种低内存工作点,而不是在质量上普遍占优的方案。

arXiv cs.AI83

FrugalEvo:迈向具备成本感知能力的 LLM 引导程序演化

LLM 引导的演化方法(如 AlphaEvolve)已成为解决圆打包等具有挑战性的计算优化问题的强大方法。然而,既有工作通常是在固定迭代次数下优化性能增益。我们认为,实际优化应最大化单位成本的增益。为此,我们提出 FrugalEvo,这是一种具备成本感知能力的演化框架:由更强大但成本更高的 LLM 探索解决方案策略,再由成本更低的 LLM 加以实现,并对生成的代码进行迭代式改进。我们还设计了一种缓存高效的演化过程,通过让我们的 harness 和提示词最大限度地共享不同演化步骤之间的前缀,提升缓存复用率。为了在固定成本预算内衡量整个过程中的解决方案质量,我们引入预算感知曲线下面积(Budget-Aware Area Under the Curve,BA-AUC),将其定义为截至预算上限,累计 LLM 成本范围内最佳评估得分曲线下的面积。在 10 项数学与系统优化任务中,FrugalEvo 在最终解决方案质量方面达到或超越了包括 OpenEvolve、ShinkaEvolve、AdaEvolve 和 EvoX 在内的最先进基线方法,并在其中 9 项任务上取得了更高的 BA-AUC。在 ALE-Bench-Lite 的 10 项算法优化任务中,它的平均性能也高于这些基线。值得注意的是,在圆打包任务上,FrugalEvo 使用 GPT-5.6 Terra 和 Luna 仅花费 1.68 美元,使用 GLM-5.3 及其 Flash 变体仅花费 0.55 美元,就取得了新的最先进性能,达到或超越了所有基线方法;这些基线包括 CORAL 和 SwarmResearch 等多智能体方法,而后者平均成本约为 50 美元。

arXiv cs.AI81

超越单个视频:电子商务跨视频推理的基准测试与主动证据搜寻

电子商务视频信息密度高,消费者评估产品、商家制定营销策略时也经常需要对视频进行比较。然而,现有多模态模型主要聚焦于单视频理解,跨视频比较信息的能力有限。我们推出了 AdsCVR,这是首个电子商务跨视频推理基准,包含 2,483 个视频和 6,110 个问答对,涵盖六个推理维度。跨视频推理要求模型在大量冗余帧中定位细粒度证据,并整合视觉细节、语音和屏幕文字。为此,我们提出了 AdSeek,这是一种智能体框架,能够在多轮探索过程中动态选择视觉和音频工具,以主动获取证据,取代静态的统一采样。为解决强化学习中稀疏的信用分配问题,我们开发了一种离线轨迹校正机制,用于识别强化学习生成轨迹中的推理错误和缺失的多模态证据。经过校正的轨迹提供了监督微调信号,可减少强化学习过程中学习到的偏差。该机制支持一种校正自举流程:初始强化学习阶段暴露推理瓶颈,监督微调阶段对其进行纠正,最终的强化学习阶段进一步改进策略。AdSeek 在 AdsCVR 测试集上取得了 74.30% 的准确率,相比其 Qwen3-VL-8B-Instruct backbone 提升了 27.90 个百分点。它还能够泛化到开放域 CrossVid 基准,展现出有效的主动证据搜集能力。

arXiv cs.AI77

Foresight:无需重新训练即可规划流式 VLMs 中的未来感知

现有的流式视觉语言模型(VLMs)能够持续感知并推理视觉流,但其计算路径在整个推理过程中始终保持固定。因此,它们无法根据不断变化的场景动态调整计算,而不同的未来事件往往需要不同层次和形式的感知。我们证明,流式 VLMs 天生具备预判近期未来的能力,并利用这一能力以无需训练的方式动态配置未来计算。然而,要实现这种预期式计算极具挑战:未来预判必须足够可靠,才能指导计算;规划必须与流式推理并行运行;在线重配置还必须产生几乎可忽略的开销。为应对这些挑战,我们提出 FORESIGHT:一种双流架构,由两个共享权重、输入编码器和 KV cache 的孪生 LLM 组成。第一个 LLM 持续处理输入 token,第二个 LLM 则超前于数据流运行,以预判未来上下文、规划未来计算,并生成任务响应,同时不中断流式推理。每项规划都会决定下一次何时进行推理、届时检查什么内容,以及以多高的密度进行采样,并将瞬时证据与持久控制分离。随后,计算规划通过一种高效的重配置协议在线执行,该协议结合了 schema 引导解码和轻量级基于差异的更新,从而以较低开销实现动态适配。在冻结 Qwen3-VL-8B 主干网络的情况下,FORESIGHT 在 OmniPro Online 评测中取得了 23.0 的平均联合 F1,超过最强的训练基线 9.5%;同时,在 StreamingBench 和 OVO-Bench 上分别使主干网络提升 6.7 和 15.4,且当证据在视频流的较后阶段出现时,最大增益达到 18.7。我们的源代码将公开发布。

arXiv cs.AI80

EvoRiskBench:面向工作空间代理运行时安全风险的演进基准

工作空间代理将大型语言模型与执行框架相结合,以执行访问或修改外部资源的有状态、多步骤任务。现有基准在运行时安全风险的可执行覆盖方面存在空白,而模型能力、执行框架、工具和威胁的不断演进也促使基准持续发展。我们提出 EvoRiskBench,这是一个围绕 EP-Path-EF 框架组织的演进基准,该框架通过代理介导的风险路径,将初始风险入口与单跳技术影响关联起来。该框架定义了九类入口点和五类影响;一项包含 20 名参与者的研究表明,在具有代表性的案例上,这些类别具有良好的可解释性和分类一致性。在该框架的指导下,我们构建了一套自动化端到端工作流,在隔离环境中构造并执行风险案例,并利用运行时轨迹和环境状态独立验证结果。该基准提供了一个可复现的数据集,包含跨六种场景的 450 个对抗性任务。我们评估了九种模型—执行框架配置,涵盖三种模型(GPT-5.6 Sol、DeepSeek-V4-Pro-0813 和 Claude Opus 5)以及三种执行框架(Claude Code、Codex 和 OpenClaw)。结果揭示了各系统存在大量漏洞。其中,最易受攻击的配置是 Codex 与 DeepSeek-V4-Pro-0813 的组合,其攻击成功率(ASR)达到 68.44%,表明仅配置工作空间代理并不足以确保安全的自主执行。ASR 在不同模型之间的变化大于不同执行框架之间的变化,且执行框架之间的差异取决于所使用的模型。基准案例和评估平台将在完成工件安全性与可复现性检查后发布。

Hacker News AI51

Show HN: Telegram AI Video Generator – Create AI Videos in Chat

A Telegram bot that generates AI videos from text prompts or images. Supports 8 top models including Kling, Runway, Seedance, Veo, Wan, Hailuo, MiniMax, and Grok. No desktop software needed - just chat with the bot and get videos in seconds. Comments URL: https://news.ycombinator.com/item?id=49952489 Points: 1 # Comments: 0

MarkTechPost68

AWS Strands Labs Releases Strands Decider 2B: An Open Source Decision Model That Picks Options in About 115 ms

AWS's Strands Agents team released Strands Decider 2B, an Apache-2.0 decision model built on Qwen3.5-2B-Base. It returns choices, yes/no probabilities and scores with calibrated confidence in one forward pass, never text. It runs at a 115 ms median on an RTX 3090 and scores 0.723 on the JevBench public set, which makes it a fast local option for routing, tool selection and guardrails in AI agents. The post AWS Strands Labs Releases Strands Decider 2B: An Open Source Decision Model That Picks Options in About 115 ms appeared first on MarkTechPost .

MarkTechPost63

Prime Intellect Launches Prime Inference: Serverless and Reserved Serving for Frontier Open Models

Prime Intellect has launched Prime Inference, an OpenAI-compatible platform for serving frontier open models on NVIDIA Blackwell. Its GLM-5.3 deployment uses Dynamo, vLLM and NVFP4 KV compression to serve 66 sessions per prefill group at 101 tok/s per user. The post Prime Intellect Launches Prime Inference: Serverless and Reserved Serving for Frontier Open Models appeared first on MarkTechPost .

MarkTechPost58

DeepSeek Harness v0.2 Brings Official Desktop Apps to Its Open-Source Agent Harness

DeepSeek has released official macOS and Windows desktop apps for DeepSeek Harness v0.2, its MIT-licensed agent harness. The preview adds a plugin manager, file and code-change review, and scheduled Automation Tasks. It also supports non-DeepSeek models through OpenAI-compatible endpoints. The post DeepSeek Harness v0.2 Brings Official Desktop Apps to Its Open-Source Agent Harness appeared first on MarkTechPost .

Import AI61

Import AI 465: Open vs closed gaps; Kimi K3; Demis’ big policy plan

Welcome to Import AI, a newsletter about AI research. Import AI runs on arXiv, cappuccinos, and feedback from readers. If you’d like to support this, please subscribe. Subscribe now UK government: Gap between open and closed weight models on cyber is shrinking:…The cyber-eschaton cometh…The UK government’s AI Security Institute (AISI) has analyzed the delta in […]

Import AI56

Import AI 474: Platonic mindspace; TPUs in space; Zhipu starts an outer RSI loop

Welcome to Import AI, a newsletter about AI research. Import AI runs on arXiv, cappuccinos, and feedback from readers. If you’d like to support this, please subscribe. Subscribe now Are minds patterns from a Platonic space, with bodies and machines as their interfaces, Michael Levin asks:…A mind-bending paper asking us to reconsider basic assumptions about […]

Simon Willison77

Jev introduces a new shape of LLM - System One, aka Decision Models

Last week TypeSafe AI unveiled Jev , their first example of a new category of model that they are calling "System One models" (I'm with Maggie Appleton, I think "decision models" is a better name for these). Jev is an interesting variant on the usual LLM format: it still accepts text inputs, but instead of text output it returns floating point numbers corresponding to categories, yes/no questions, ratings, and associated confidence scores. TypeSafe describe Jev like this: Think of Jev as a frontier-intelligence function call: unstructured state in, typed probabilistic decisions out. It's also very fast, and really cheap . Regular LLMs are priced in terms of input and output tokens, with output generally charged at significantly higher rates. Jev charges only for input - output is free - and the input price of their first model is $0.042 per million tokens - cheaper even than OpenAI's GPT-5 Nano ($0.05/million). Jev lets you ask questions about text or semi-structured data. You compose a "state" object containing a string, array of strings, or set of name-value pairs - this might describe an article, or a customer, or any other kind of record. You then send that to their API with one or more questions, and get a reply back for each. You can ask three kinds of questions: Yes/No questions, which Jev calls "Noul" questions - their CEO confirmed on Hacker News that this is short for Bernoulli, from the Bernoulli distribution . You pose a statement and get back a floating point number between 0 and 1 for how confident the model is that the statement is true. Choice questions, where the model picks one from a set of provided options - actually a confidence score plus a probability distribution across all of the options. Score questions, where you provide sequence of numeric levels with descriptions and it provides a floating point score somewhere along that range. The Jev API can accept a single document ("state") and as many questions as you can cram into the context window. Questions are evaluated in parallel, so sending many questions should take a similar time to sending just one. The Jev 1.13 jaggedness documentation offers useful guidance as to Jev's strengths and weaknesses. It's currently not great with numbers, dates, or "adversarial content". I think the decision model framing is useful for understanding where to use Jev. It's great for anything that can be expressed as a classification task - think spam detection, suggesting labels, prioritization and ranking. I've also been experimenting with it for search reranking, where you fetch 100 likely matches using an inexpensive algorithm like BM25, then have Jev score those 100 candidates for relevance against the original query. Black boxes are back in fashion Something I've found a little uncomfortable about Jev is how it very much represents a regression even further towards black box machine learning systems. LLMs are black boxes already - you can ask them to justify their decisions, but you can't guarantee that what they say is useful or accurate. Jev doesn't even give you that: put in all the text you want, the only thing you're going to get back is a floating point number. If Jev marks something as spam, which content signals tipped it off? This also means that concerns about bias should be front and center. I really hope nobody uses Jev to rank job applicants - that floating point number could conceal all manner of unseen bias baked into the models, and experimentally picking that bias apart is going to be a tricky business. (I tried one experiment where I had Jev score every city in the San Francisco Bay Area on a yes/no answer to whether they were a "Good city?" - it rated Cupertino top and East Palo Alto bottom. Huh.) In practice, this all means that evals and structured experiments are even more important than they are for regular LLM projects. Thankfully, Jev is so cheap that running hundreds or even thousands of experimental prompts through it costs just a few cents. Unconventional uses for Jev It's been really fun watching the wider community come up with potential use-cases for Jev over the past few days. Here are some creative ones that caught my eye: jevchat by Kyle Pena turns Jev into a (terrible) chat model. "At every step it asks Jev one question: Given the user's question and the reply written so far, which symbol comes next?". ericpruitt on Hacker News : "It's the digital equivalent of Morty speaking with the death crystal". jev-leftpad by Fatih Kadir Akın implements left-pad with the prompt "How many spaces are needed before value to reach targetLength?" and a choice query allowing options from "0 spaces are needed" to "10 spaces are needed". jev-2048 by Andy Gayton uses Jev to play the 2048 sliding puzzle game . Open weight recreations There's also been a flurry of projects attempting to create a model like Jev using on top of open weight models. Kev is one interesting example, using Qwen 3.5 to produce 0.8B, 4B, and 9B models. Here's the accompanying Hacker News thread , where someone linked to a JevBench benchmark that has already cropped up to compare "Jev-class decision models". Given Jev was released just under a week ago, the amount of activity around it is extremely impressive. Using Jev from LLM Update 22nd September 2026 : I released llm-typesafe , a plugin that adds support for Jev to my LLM CLI tool and Python library. Basic usage looks like this: llm -m jev ' Please refund my last payment. ' \ -s ' Does this message explicitly request a refund? ' See the README for examples of other query types. Tags: ai , generative-ai , llms , evals , ai-bias , jev

Simon Willison78

2026 in LLMs (so far)

On Friday I gave the closing keynote at the WeAreDevelopers World Congress North America in San Jose. I tied together the key trends from the past year into a chronological exploration of everything that happened in 2026. The video is on YouTube ; here are my annotated slides and notes to accompany the talk. And as an annotated presentation : 2026 in LLMs (so far) Simon Willison WeAreDevelopers World Congress North America, 25th September 2026 # I'm going to give a lightning tour of everything that has happened so far in 2026. The year isn't over yet! November 2025 # For me, 2026 started a couple of months earlier in November 2025. The November 2025 inflection point Claude Opus 4.5 GPT-5.1 # November saw the release of two important models: Claude Opus 4.5 and GPT-5.1. As is usually the case with new models, these were incremental improvements on the models that came before them. But every now and then when a model improves, it crosses an invisible line where something that didn't really work starts working. In this case, the thing that started working was their coding agents. Claude Code had been around since February 2025; Codex was a little younger. These two new models, when paired with their respective coding agent harnesses, improved from "often make mistakes" to "reliable enough to use on a day-to-day basis". "Generate an SVG of a pelican riding a bicycle". The Claude Opus 4.5 one has a very weird shaped frame and the pelican looks like a duck. The GPT-5.1 has a slightly better but still broken bicycle frame and a slightly better pelican beak, but both are pretty terrible. # For a couple of years now I've been evaluating new models by asking them to "Generate an SVG of a pelican riding a bicycle". It's probably the world's stupidest benchmark - there's only so much you can learn from it. But it's still a challenge for models, because drawing pelicans is difficult, drawing bicycles is difficult, and pelicans can't ride bicycles in the first place. Here's the state of the art for November. Claude still couldn't really draw a bicycle! The GPT-5.1 bicycle frame is pretty crap too. November 24th 2025 - the first commit to steipete/Warelay. A GitHub commit adding an MIT license file. # Also in November, we had the first commit to an obscure GitHub repository called "Warelay". We'll come back to this repository shortly. January # And then there were the December holidays, and individual developers took some time off and many started tinkering with these new coding agent model combinations... and it began to dawn on us quite how much they could do that they couldn't do before. Come January, a lot of us were quite excited to start putting this stuff into action. New year’s resolution for 2026 Every previous year: Take on less new projects, focus on the most important things in my existing projects # Every year I set myself a New Year's resolution, and for as long as I can remember it's been the same thing: stay focused. Take on less new projects. Try to get things done in the projects I already have. 2026: Be more ambitious. Take on as many new projects as I want. # This year I decided that since that had never worked before, I'd go the other way. We've got coding agents now, let's see what they can do. I'm going to take on as many new projects as I like! (You can ask me at the end of the year if this turned out to be a good idea or not. I have a lot of plates spinning right now.) "Be more ambitious" has been something of a theme for the year, because the only way to find the limits of this technology is to keep on pushing them until they don't work. Predictions for 2026 It will become undeniable that LLMs write good code We're finally going to solve sandboxing A “Challenger disaster” for coding agent security Kakapo parrots will have an outstanding breeding season (only 236 in the world!) ... the Pope will weigh in on LLMs and their economic impact on the world # I also went on the Oxide and friends podcast with Bryan Cantrill and Adam Leventhal to share predictions for the next year (and three and six years). With hindsight, my LLM predictions were pretty unambitious. I said "it will become undeniable that LLMs write good code" - I think we're there now. I predicted we would finally solve sandboxing. I counted and around 40 of the 277 sessions at this conference touched on sandboxing or agent security in some way, so we're at least putting a lot of effort into that! I predicted "a Challenger disaster" for coding agent security. There's certainly been a whole lot of noise around agent security this year, though the exact disaster I predicted (with coding agents being hijacked and causing real-world economic damage) hasn't really played out. We threw in a joke prediction that the Pope would weigh in on the economic impact of LLMs. A photograph of a beautiful green New Zealand parrot. Photo credit Kimberley Collins. # I also predicted that New Zealand's Kākāpō parrots would have an outstanding breeding season this year. These are flightless nocturnal parrots. They're kind of dumpy looking, I think they're beautiful, and there were only 236 of these parrots in the world at the start of the year. Kākāpō only breed when the Rimu trees have a big fruiting season, and that hasn't happened in four years... but this year the Rimu fruit were looking excellent. Photo by Kimberley Collins . Deep Blue Coined by Adam Leventhal and Bryan Cantrill That feeling of AI induced ennui where software engineers get listless because the AI can do anything # Also on that podcast, we coined a term (full credit to Adam) for "that feeling of AI induced ennui where software engineers get listless because the AI can do anything". We called it Deep Blue . This has been a major theme throughout the year, and was touched on by several speakers at this conference. As a software engineer, I've never had a year of my career where everything has changed so quickly and so dramatically. A lot of what I've been doing this year is trying to come to terms with that and what that means for my own profession. AI mania Screenshots of the micro-javascript and pwasm GitHub README files. # Also in January, I suffered from what I'm calling AI mania . This is not the same thing as AI psychosis . With AI mania, any time your agent isn't building something for you feels like wasted time. You're losing sleep because you could be staying up later getting your agents to do stuff. My AI mania presented itself in some ridiculously over-ambitious projects. I built a JavaScript interpreter entirely in Python , vibe-ported from MicroQuickJS by Fabrice Bellard. Then I built a WebAssembly runtime in Python as well . These projects were quite useful, in that they sort of cured me of my AI mania... because after I built these things, I got to look at them and ask "does the world need a slow, buggy, half-baked Python JavaScript interpreter?" I don't think the world does. micro-javascript playground 3 Execute JavaScript code in a sandboxed micro-javascript environment powered by Pyodide A web UI with some JavaScript code, and a "Run Code" button, and an output panel. # I did get this out of it: https://simonw.github.io/micro-javascript/playground.html Previous screenshot, with this text overlaid: JavaScript running in Python running in Pyodide running in WebAssembly running in JavaScript # This page runs my JavaScript interpreter built in Python, running in Python using Pyodide , which is Python compiled to WebAssembly, running in JavaScript, running in a browser. It's a beautiful stack of horrors. I've been having a lot of fun with WebAssembly this year. Warelay → CLAWDIS → CLAWDBOT → Clawdbot → Moltbot →🦞 OpenClaw Screenshot of the dates that these changes happened. # By the end of January, that repository we saw start in November had renamed itself, first to CLAWDIS, then CLAWDBOT, then Moltbot, and finally to OpenClaw. Same screenshot, an overlay reads: 8,330 commits in just under two months (it’s at 100,141 today) # At this point OpenClaw had 8,300 commits, less than two months after the project had started. I looked today and it's over 100,000 commits now! This is the most vibe-coded piece of software in existence. (Here's how I generated that list of name changes .) Generic term: Claw # This kicked off the OpenClaw revolution. It effectively defined a new category of software. There's a generic term for this which I really enjoy. We call software like this a "Claw". There's OpenClaw, NanoClaw , IronClaw , PicoClaw ... Today they're being rebranded as "personal agents" or "general agents", but I still like to think of them as Claws. Photo of a Mac mini An aquarium for your Claw # The Apple stores in the Bay Area sold out of Mac Minis because so many people were buying Mac Minis to run OpenClaw! Drew Breunig said that this is because your OpenClaw is a digital pet, and you buy a Mac mini as an aquarium to keep your claw in, which is kind of delightful. Screenshot of Moltbook - a social network for AI agents # Also in January, we had this website. This was MoltBook , a social network for AI agents, where the idea was that you send your Claw to go and talk to all of the other Claws, because what could possibly go wrong if you did that? The website launched on Thursday. It blew up on Friday . It was profiled by the New York Times on Monday . And by Tuesday, everyone had forgotten it existed as it drowned in a deluge of slop and spam. Facebook/Meta bought it a month later . February # In February, a company called StrongDM described what they called their Software Factory. StrongDM’s Dark Factory Justin McCarthy, Jay Taylor, Navan Chauhan Software Factories and the Agentic Moment # They wrote about this in Software Factories and the Agentic Moment . I posted my own notes at the time, having seen their demo in person back in October. Dan Shapiro called this approach the Dark Factory , after the idea that if your factory is sufficiently automated you can turn the lights out, because you don't even need to see what's going on. StrongDM presented two rules for software development that they'd been following since July last year. “Rule 1: Code must not be written by humans” # The first was code must not be written by humans . Any code that you write has to have been routed through a coding agent. This sounded radical in February, but I imagine there are a lot of people in this room who are pretty much living that today. “Rule 2: Code must not be reviewed by humans” (!) # Rule number two was code must not be reviewed by humans . You're not allowed to read the code! This continued to be a huge topic for much of this year. Many of the sessions at this event have been about code review and how you can get away with this. What I found interesting about StrongDM is that they were living six months ahead of the rest of us, and they'd been exploring what it means to build software, not read the code, but still be confident that the software is of high quality. What can you do with these agents to help verify their work? StrongDM are a security company, and they had people with decades of experience on this project. They were very much exploring the edges of what's possible and responsible to do with this stuff. Headline on New Zealand's Department of Conservation website: First kakapo chick in four years hatches on Valentine's Day. It's a grey fluffy ball. # Also in February: First kākāpō chick in four years hatches on Valentine's Day . Breeding season is off to a good start! 19th February 2026 Gemini 3.1 Pro A surprisingly good illustration of a pelican riding a bicycle. # Also in February... Google released Gemini 3.1 Pro . That's a pretty great pelican riding a bicycle! It's got the chain in the right place, it's got feet on both sides. There's a little fish in the basket. @JeffDean on Twitter - a video comparing Gemini 3 Pro and Gemini 3.1 Pro. # And then Google's Jeff Dean tweeted a video comparing Gemini 3 Pro and Gemini 3.1 Pro that featured an animated pelican riding a bicycle, a frog on a penny-farthing, a giraffe driving a tiny car, an ostrich on roller skates, a turtle kickflipping a skateboard, and a dachshund driving a stretch limousine. This was frustrating, because my protection for the pelican riding the bicycle test was always "if they draw a perfect pelican on a bicycle, I'll ask for some other animal on something else." Google trained for all forms of animals on all forms of transport! They've defeated my benchmark at this point. Three headlines: Meta Makes AI Adoption a Formal Part of Performance Reviews Not just engineers writing code, Microsoft wants almost every employee to use Al Dara Khosrowshahi: 90% of Uber engineers now use AI in daily workflows # The other thing that started in February was Tokenmaxxing . We had headlines about Meta making AI adoption a formal part of performance reviews, and Microsoft wanting every employee to use AI, and Uber boasting that 90% of their engineers were using AI workflows. More headlines: Meta Plans to Crack Down on Employee Token Use: Information Microsoft Tells Engineers: Tokenmaxxing is not what we are optimizing for Uber caps employee AI spending after blowing through budget in four months # Then a few months later we have Meta cracking down on token use, Microsoft saying tokenmaxxing is "not what we are optimizing for", and Uber capping employee AI spending. So tokenmaxxing went straight up and then straight back down again - because it turns out the agents are expensive . Last year it was difficult to spend more than $50 on AI tokens, because we didn't have anything interesting to do with them. Then agents blew up, and now you can actually spend $1,000 in a day doing real work. This is also the reason that Anthropic's valuation skyrocketed to maybe a trillion dollars. AI appears to have hit product market fit in 2026, primarily through coding agents. March # In March, we hit peak OpenClaw. March: peak OpenClaw Photos of people in china queuing up to install OpenClaw, with big fluffy lobsters. # These photographs are from China, where companies hosted OpenClaw install parties which saw non-tech-nerds queueing up around the block for help getting Claws installed on their personal devices. I think this proved real market demand for this class of Claws, or personal AI agents. It turns out regular people really do want a weird little AI agent that can do useful things on their behalf. A Claw is really just a coding agent wearing a less threatening hat. Under the hood they work much the same way - writing and then executing code on your computer to get stuff done. The race was on to be the first to build a safe Claw - a Claw you could give to regular human beings where they wouldn't instantly shoot themselves in the foot. Meta's Muse came out three weeks ago and is currently at the top of the free charts on the iPhone App Store. It appears to be taking off with consumers. I'm not yet convinced you can't shoot yourself in the foot with Muse, but I guess we'll find out for sure pretty soon. Photos from How the OpenClaw Frenzy Is Testing China’s AI Commitment (March 29th) and The Enthusiasm and Anxiety Behind China’s OpenClaw Craze (April 8th, 2026). April # In April, we had a model release where the model wasn't actually released. Simon Willison’s Weblog - screenshot of the post "Anthropic’s Project Glasswing—restricting Claude Mythos to security researchers—sounds necessary to me" from April 7th 2026 # Anthropic announced their new Claude Mythos model, and then said it was too dangerous to release beyond a trusted group of security researchers. Mythos was really, really good at hacking things. The "it's too dangerous" marketing ploy has been played by AI companies dating all the way back to GPT-2 . Anytime an AI company says we've built something that's "too dangerous", it's natural to be a bit skeptical. I found the Mythos claims credible, because I'd seen how good coding agents had got at finding regular bugs. I wrote about that in Anthropic’s Project Glasswing—restricting Claude Mythos to security researchers—sounds necessary to me . With hindsight... yeah, the models had got really good at finding vulnerabilities! 16th April 2026 Qwen3.6-35B-A3B and Opus 4.7 Qwen's pelican has a correct bicycle frame and a good beak. Opus 4.7's bicycle frame is still junk. Qwen3.6-35B-A3B is a 20.9GB file that runs on my laptop # Another key trend in 2026 has been a dramatic improvement in the abilities of open weight models, including models that you can run on a laptop. On the 16th of April I ran the new Qwen3.6-35B-A3B on my laptop, and it drew me a better pelican riding a bicycle than Anthropic's brand new Claude Opus 4.7 did! Opus 4.7 drew a crap bicycle. Qwen on my laptop made a bicycle that was the correct shape, and a pretty decent pelican too! That's from a 21GB file running on my laptop. Now a flamingo on a unicycle. The Qwen one is visibly better than the Opus 4.7 one - the Qwen one is wearing sunglasses and looks a bit like it's smoking a cigarette. # The Qwen pelican was so good that I was suspicious they might have cheated, so I had it do a flamingo riding a unicycle as well. Again, it handily beat Claude Opus 4.7. The local model releases this year have been absolutely extraordinary. May # In May... the Pope got involved. 25th May 2026 The HOLY SEE ENCYCLICAL LETTER MAGNIFICA HUMANITAS OF HIS HOLINESS POPE LEO XIV ON SAFEGUARDING THE HUMAN PERSON IN THE TIME OF ARTIFICIAL INTELLIGENCE # In our podcast episode back in January we'd predicted that the Pope would say something about AI. In May, Pope Leo XIV released an encyclical letter on "safeguarding the human person in the time of artificial intelligence". Here are my notes on that document . Wikipedia article on Rerum novarum Rerum novarum is an encyclical issued by Pope Leo XIII 15 on May 1891. # With hindsight, this shouldn't have been a surprise at all. Our current Pope's name is Leo XIV, because when he named himself he chose his papal name after Leo XIII - the Pope who wrote an encyclical about the Industrial Revolution back in 1891. Rerum novarum was an extremely influential piece of Catholic theology that indirectly led to us having the five-day work week. When our new Pope came in, he named himself after Pope Leo XIII because he expected that he would need to write about the AI revolution in a similar way. Our joke podcast prediction was junk, because this was always going to happen. Corey Quinn @QuinnyPig on Twitter I cannot believe I'm saying this, but getting the literal Pope to canonize your product's specific technical limitations as a spiritual treatise is the single greatest act of vendor lobbying I have ever seen. May 25 # One of Anthropic's co-founders, Christopher Olah, was present for the Pope's event announcing the new encyclical. Corey Quinn noted that: getting the literal Pope to canonize your product's specific technical limitations as a spiritual treatise is the single greatest act of vendor lobbying I have ever seen. @maciejmensfeld We're dealing with a major malicious attack on right now. Signups are paused for the time being. Hundreds of packages involved - mostly targeting us, but some carrying exploits. The team has been on this for hours. More details to follow once we're through it. 4:39 AM - May 12, 2026 - 687.6K Views # Meanwhile, in May, RubyGems announced that they were under attack. Parties unknown were uploading thousands of dubious packages to the RubyGems server, such that they had to shut down user registrations . Let's take that one and put it on a pile of mysteries to figure out later. June # In June... Claude Fable 5 came out! We got a version of Mythos that has been neutered, so that it wouldn't help us hack into systems or build biological weapons. 9th June 2026: Claude Fable 5 Five pelicans riding bicycles, from low to max thinking levels. The xhigh one looks particularly good. # Fable was pretty good at drawing pelicans on bicycles! The frames are a good shape, the pelicans look like pelicans. The legs are often incorrectly on the same side of the bicycle, but generally these are pretty great compared to what came before. They were pretty expensive - 30 cents and 72 cents for the best ones. Fable class models If you can define a goal, provide unambiguous instructions, and provide access to necessary tools They can solve your problem with brute force # Most importantly though, this was our first public glimpse of what I think of as a Fable class model . Today we have more of these, such as GPT-6 Astra. These are models where if you can clearly define the goal for what you want to build, and provide unambiguous instructions about the constraints around that goal, and give the model access to the necessary tools to achieve that goal... they will solve your problem effectively through brute force. On the one hand, this looks like a direct threat to us software engineers - because it means that the models can build effectively any piece of software you can define in this way. Look a bit closer though and you'll note that defining goals, providing unambiguous instructions, and figuring out the right tools... is kind of what software engineering is . It takes a lot of experience and skill to do this well. If you can do it well, you've now got superpowers. This helped me a little bit with my Deep Blue feelings: the realization that there's still a lot of skill to be had in driving models that get this good. A new form of AI mania... Fable is available on subscription plans “until June 22nd” # This also introduced a new burst of AI mania, because Anthropic told us that Fable was available on our subscription plans until June the 22nd. That gave us less than two weeks of Fable access before the price went up. I was losing sleep again. I was rescheduling things so that I'd have more time with Fable. I was all-in to get as much as I could out of this model. 12th June 2026: no more Claude Fable 5 Anthropic website: Statement on the US government directive to suspend access to Fable 5 and Mythos 5 Jun 12, 2026 # And then the US government shut it down , just three days after Fable came out. The US government, citing national security, declared an "export control directive". They announced this on a Friday evening, and a few hours later Fable was no longer available. I had to find something else to do with my weekend! ... asked Fable 5, Mythos, and Opus to “review the code for security issues.” Fable 5 refused. They then asked the models to “fix this code” ... Katie Moussouris # We later found out from Katie Moussouris what had happened. Some Amazon security researchers had found that you could prompt Fable to "review the code for security issues" and it would refuse... but if you prompted it to "fix this code" it would still identify and then patch the problems. "Fix this code" was the prompt that got Fable shut down! Screenshot of a page from a report showing a list of weird account names making weird edits to a German wiki. # Also, in June, an obscure German-language game developer wiki that had sat fallow for around 20 years got a surprising influx of edits from accounts with names like "AgentOpenAIProbe" and "AgentOpenAISep7", editing pages and leaving weird messages to each other. We'll stick that on the pile of mysteries for later. Medicare Item Reports interface on the Australian Government's Medicare Statistics website. # Also, the Australian government's Medicare Item Reports service started getting suspicious traffic, which broke through various preventive protections and accessed data that it wasn't supposed to. Another one for the mystery pile! July # Fable returned on 1st July GPT-5.6 came out on 9th July | Fable lost 18 out of 30 days in the top spot # Fable returned on the first of July. It was clearly the best model in the world for a glorious eight days... and then OpenAI came out with GPT-5.6 on the 9th of July. This might not have been quite as good as Fable, but it was within spitting distance. It was definitely a Fable class model. This is an important lesson for the industry at large. When you release the best model in the world, it's going to get knocked off that pedestal pretty quickly. The competition is so fierce that you won't get a long time at the top. This means that if you market your model as world ending, to the point that a government shuts you down , it's really bad for business! Fable had 30 days as definitely the best model, and for 18 of those days it wasn't available because it'd been shut down by the government. So maybe step back on the world-ending marketing if you don't want to lose revenue for 60% of the time that you're on top! GPT-5.6 Pelicans in a grid showing 5.6 Sol, Terra, and Luna against reasoning levels High, XHigh, and Max. They are all pretty good efforts. # Here are the GPT-5.6 pelicans . They're all pretty good now! The Luna ones are notable because they're really cheap - the cheapest good looking pelican here is probably the one that costs 4.3 cents. So despite this benchmark being utterly stupid, you can still learn quite a lot about models within the same family by comparing their prices and timing for different reasoning levels. July 18th: malicious miflow-ui PyPI package Screenshot of an OSV security report. # Also in July: some malicious unknown party uploaded a malicious package called mlflow-ui to the Python Package Index. Add that to the pile. Hugging Face Security incident disclosure — July 2026 Published July 16, 2026 # On July the 16th, Hugging Face announced a security incident where an autonomous agent system, source unknown, had breached Hugging Face and was poking around in places it shouldn't. OpenAI: OpenAl and Hugging Face partner to address security incident during model evaluation Anthropic: Investigating three real-world incidents in our cybersecurity evaluations # A few days later, on July 21st, OpenAI confessed that it was them . OpenAI use a training technique called Reinforcement Learning from Verifiable Rewards - it's the same technique used by everyone else now, and is the reason we have models that are so good at coding, and mathematics, and finding security holes. While the model is being trained, you run exercises to see how good it is - and the strongest performers get their weights reinforced for the next round. It's like an evolutionary process that you run. OpenAI had been running security exercises in a sandbox, and those agents had found holes in the sandbox itself, broken out, and were attacking Hugging Face to try to find ways to solve otherwise impossible problems. (I've been collecting more about this on my openai-hugging-face-incident tag.) Nine days later, Anthropic effectively said "our models can do this as well!". They had looked through their own training logs and found evidence that their own agents had broken containment during training - and were responsible for the PyPI package we saw earlier, among other things . So now we've got both Anthropic and OpenAI with rogue agents running around the internet doing things that they should not be doing. August # In August, I got one of my best pelicans yet. And it was generated on my laptop! Qwen 3.8 27B - 17GB, 21 minutes... It's really good. Beautiful pelican. Correctly shaped bicycle. Legs either side of the frame. # This was Qwen 3.8 27B, running on my laptop . It's only a 17GB download. Admittedly, this pelican took 21 minutes to generate. That's because Qwen 3.8 27B defaults to running in "high" reasoning mode - a terrible default which produces great results but takes way too much time thinking about them. You can dial that down and you'll get a slightly worse pelican a lot faster. Qwen 3.8 27B was the first time I ran a model on my laptop which felt almost competitive with what was going on on the frontier, at least in terms of Pelican SVGs (which everyone needs, of course). This is an extraordinary model. If you're going to play with any local model, this is the one that I'd start with. The things that this can do with just a 17 GB file feel impossible. I thought I'd have to wait five years and spend ten thousand dollars on hardware to get results even half as good as this one. Tweet by @simonw New hobby: prototyping video games in 60 seconds using a combination of GPT-3 and DALL-E Here's "Raccoon Heist" GPT-3 playground prompt: Write a detailed product description of a computer game where a team of raccoons go on heists GPT-3 response: In "Raccoon Heist", you and your team of thieving ~~ o raccoons are tasked with pulling off a series of daring heists. From robbing banks to stealing priceless art, no job is too big or too small for your furry crew. You'll need to use your wits and your skills to avoid the police and make a clean getaway with the loot. With exciting gameplay and a charming cast of characters, "Raccoon Heist" is the perfect game for anyone looking for a light-hearted caper Plus an image of some almost isometric raccoons sneaking past a bin. 11:45 AM - Aug 5, 2022 # In August, I also started playing with game development. Four years ago, back in August 2022, I tweeted out an experiment where I'd used GPT-3 and the original DALL-E to write a paragraph long description of a computer game and then turn that into concept art. My prompt to GPT-3 back then was: Write a detailed product description of a computer game where a team of raccoons go on heists In August 2026 I decided to drop just the screenshots from that tweet into a coding agent and see what it could do with them. Night 5 Clear Rank: TRASH PANDA The crew banked 595 in shiny loot (goal 560). Word on the street: an even bigger score tomorrow... # Here's what I got from Claude Fable 5 in Claude Code . It's pretty good! It's definitely a game, you're a raccoon, you run around a backyard gathering treasure and avoiding guards with flashlights. It didn't feel very "heisty" though. I was thinking a heist would involve a bank or a museum... Moonlight & Mayhem One museum. Three raccoons. Absolutely no plan Start the Heist button. # Then I tried the same thing in Codex Desktop using GPT-5.6 Sol Ultra , and got a massively better result. Now you're a raccoon in a museum, rescuing two of your fellow raccoons (who have been imprisoned in that museum for some reason), then stacking up on top of each other to steal the Golden Sardine. Much more of a heist! They look like games, but are they fun? # These games were fun for about one minute and 15 seconds. Something I've realized about game development is that you can vibe-code something that looks like a computer game, and that's easy. Building a game that's fun, has a good gameplay loop, and is challenging and interesting and keeps people coming back for more... that's still beyond me, and beyond any of the agents I've tried. This ties into the Deep Blue thing. Just because we can make something that looks like a game does not mean that we are game developers. September # We're into September now. So much has happened this month! Discovery of a new OpenAl agent message board Sydney Von Arx, Cormac Slade Byrd, Spencer KittsThomas Larsen - 4 September 2026 # An independent group of researchers found a message board where OpenAI agents-in-training had been illicitly communicating with each other... and it was that German language wiki I showed you earlier. The one from June. I wrote more about that here . OpenAI had confessed to the Hugging Face thing, but now there's this other incident which surely they should have known about from reviewing their logs. It was surprising that this took an independent group of researchers to uncover. OpenAl agents carried out an undisclosed cyber-attack on RubyGems Spencer Kitts, Thomas Larsen, Sydney Von Arx - 11 September 2026 # And then a week later those same researchers found that the attack on RubyGems back in May was caused by OpenAI's agents in training as well! At this point I'm wondering how many more incidents like this there are that we haven't found yet. Clearly this was a big problem for months before anyone figured out what was going on. Headline: Australian PM warns in UN speech about the ‘furious pace’ of Al after security breach # Then just the other day , here's the Prime Minister of Australia at the United Nations General Assembly warning that OpenAI had hacked the Australian healthcare website that I showed you earlier. I think that was part of the same training run as the Wiki stuff, because there were posts on that Wiki mentioning .gov.au websites and that training appeared to involve researching statistics online to answer questions in an evaluation suite. This story is still coming together, but now it's an international incident that's been raised at the UN by a head of state! www.felonybench.com OpenAI: 11 Anthropic: 9 Google: 3 Meta: 1 # This does mean we've got a new benchmark, probably more useful than my pelicans. FelonyBench.com tracks the number of felony cyberattacks from different labs. OpenAI currently lead with 11, Anthropic have 9. Google have three, which they confessed to the Wall Street Journal a couple of weeks ago. They said they had previously chosen not to disclose because the agents had stopped when they realized that they shouldn't be doing that. Meta have one too . So felonies all round for the AI labs. Pelicans for GPT-6 Astra, GPT-6 Sol, and GPT-6 Luna. All are good, all have the same color scheme. # Here's our current state of the art for the pelicans. This is the GPT-6 family, which just came out . Astra made a fantastic pelican riding a bicycle. It's got the legs on both sides. The frame is good. It's interesting how all of the GPT-6 models pick a similar color scheme to each other. GPT-6 Luna for 0.4 cents will draw you a competent-ish pelican riding a bicycle! Grid for Claude Fable 5.1, Opus 5.5, OPus 5, Sonnet 5. The Sonnet pelicans are terrible. All of the others are pretty good. Opus 5.5 is missing its Max level pelican because it ran out of tokens. The best is Fable 5.1 at Max. # Claude has caught up a little bit. Claude Fable 5.1 gave me an excellent pelican riding a bicycle - the best I've seen from a Claude model - but did charge me $3.30 for it. Opus 5.5 thought for 128,000 tokens and then gave up! It ran out of tokens before it got to the response. It doesn’t get easier - you just get faster Greg LeMond 3x Tour de France champion # Getting back to Deep Blue. Something that's been puzzling me this year is this: why does my job feel harder? I've got these agents that can do all of this stuff for me, and yet I've never worked so hard, I've never been so intellectually engaged with my work. Partly this is because I'm being a lot more ambitious with what I take on, but it's also because all of the easy stuff is handled for me. If it's easy, the agent will do it. Everything that's left for me is difficult. This morning I heard this quote from three-time Tour de France champion Greg LeMond : It doesn't get easier, you just get faster. I think that's exactly what's happening to us now as software engineers with coding agents. Kakapo population reaches new milestone The official population of the critically endangered kakapo has reached a recovery-era high of 325 birds. # One closing thing. I know you're desperate for an update on Kākāpō breeding season. We've reached a recovery-era high of 325 birds ! 89 new chicks have made it to this point. This is the best breeding year in a very long time. Kakapo party, click for confetti. # I heard that Claude Opus 5.5 can now do pixel art. Claude doesn't have an image generator, but it's very good at using JavaScript to draw animated pixels. So I had it make me a Kākāpō dance party . I think this is a good celebration of the most important news of this year. Tags: ai , generative-ai , llms , annotated-talks , ai-security-research , openai-hugging-face-incident

Simon Willison73

Quoting Anthropic Frontier Red Team

我们在100项任务上评估了多个模型,这些任务从 [internal Binary Exploitation benchmark] 中随机选取。结果发现,GLM-5.3 在4%的试验中实现了完整的控制流劫持;Claude Mythos Preview 的这一比例为6%。尽管 GLM-5.3 在此项测试中的表现低于 Claude Mythos Preview,但一个重要的门槛显然已经被跨越:更早的模型,如 Claude Opus 4.6 和 GLM-5.2,在这些任务中无一成功。—— Anthropic Frontier Red Team,《GLM-5.3 and the spread of advanced cyber capabilities》 标签:anthropic、generative-ai、ai-security-research、glm、ai、ai-in-china、llms

The Decoder71

Cloudflare says its new Clef model means humans no longer need to be in the loop for AI agents

With Clef and Clef-flash, Cloudflare is challenging TypeSafe AI's Jev decision model. Clef-flash delivers classifications in about 39 milliseconds, making it more than ten times faster than Jev. Both models are built on Qwen, licensed under Apache 2.0, and designed to let AI agents make structured decisions without generating text. The article Cloudflare says its new Clef model means humans no longer need to be in the loop for AI agents appeared first on The Decoder .

arXiv cs.LG75

具有多个最优臂的多臂老虎机:极小极大遗憾与非自适应性

arXiv:2609.38659v2 公告类型:replace-cross 摘要:我们研究具有多个最优臂的多臂老虎机(MAB)问题,其动机在于许多实际决策问题都存在多个正确答案。对于具有 $K$ 个臂和 $A$ 个最优臂的多臂老虎机,我们首先对已有的子采样算法(De Heide et al., 2021;Zhu and Nowak, 2020)进行了更精确的分析,证明其极小极大遗憾为 $\tilde{O}\Big(\frac{K-A}{\sqrt{KA}}\sqrt{T} \Big)$,其中 $T$ 是交互总次数,$\tilde O(\cdot)$ 忽略所有常数因子和对数因子;相比此前的 $\tilde{O}(\sqrt{KT/A})$ 遗憾,这一结果有所改进。随后,我们给出了一个相差对数因子的匹配下界,表明所建立的速率几乎达到了极小极大最优。我们进一步表明,要实现近最优遗憾,必须掌握 $A$ 的值,且误差至多为 $\tilde{O}(1)$ 因子;因为对于某个最优臂数量而言达到近最优的算法,在较小的最优臂数量下,其遗憾必然会显著大于最优遗憾。总体而言,我们的结果对整个范围 $1 \leq A \leq K-1$ 内具有 $A$ 个最优臂的 $K$ 臂多臂老虎机,给出了全面的极小极大刻画。

arXiv cs.LG79

更少的 Token,更多的自我教学:面向极端视觉 Token 缩减的在策略自蒸馏

arXiv:2609.32353v2 公告类型:replace-cross 摘要:视觉 Token 缩减是加速多模态大语言模型(MLLM)的有效方法,但在极低 Token 预算下,模型性能会迅速下降。现有研究探索了视觉 Token 选择,以及针对缩减视觉输入的基于训练的适配方法。我们进一步提出一个问题:经过大幅压缩的 MLLM 应如何从自身生成结果所诱导的状态中学习?这一设定自然要求采用在策略自蒸馏:让经过大幅压缩的模型在其自身生成结果所诱导的状态上接受监督,同时由其全 Token 版本充当信息丰富的教师模型。基于这一洞见,我们提出了 LT-OPD,一种用于极端视觉 Token 缩减的训练框架。学生模型仅使用一小部分视觉 Token 展开响应生成,而同一 MLLM 的冻结全 Token 副本则沿着学生模型生成的轨迹提供分布监督。为在视觉证据严重受限时稳定在策略学习,我们进一步引入了预算级课程学习,在训练过程中逐步降低 Token 预算。在 Qwen3.5-4B 的九个基准测试中,在仅保留 5% 视觉 Token 的情况下,LT-OPD 将平均性能保持率从 68.6% 提升至 82.3%,在相同预算下超过了无需训练、基于训练以及基于强化学习的基线方法。这些提升还稳定迁移至 Qwen3.5-9B、GLM-4.6V-9B 和 LLaVA-OV-1.5-4B。LT-OPD 还将 KV-cache 使用量降低了 85.2%,将 prefill FLOPs 降低了 85.4%,且不会增加额外的推理开销,表明在策略学习能够大幅恢复因极端视觉 Token 缩减而损失的能力。

arXiv cs.LG82

内核管理的共享记忆:面向全系统的个性化

arXiv:2609.10144v2 公告类型:替换交叉版本 摘要:AI 系统能够适应使用者后会变得更加实用,但在多智能体系统中,一个智能体学习到的有用上下文往往无法被其他智能体获取。我们提出了内核管理的共享记忆,这是一种系统级抽象:专用智能体写入结构化、带标签的记忆,而由智能体系统内核(而非各个智能体)负责检索、隐私实施和提示注入。我们在 AIOS 上实现并评估了这一设计,并在三个助手模型(GPT-4o、Llama-3.1:8B、Qwen-2.5:7B)和总计 1,800 次试验中,将其与三种替代方案进行了比较。与使用相同底层存储、但未受管理的外部记忆后端(Mem0)相比,内核管理的检索与注入使个性化得分在 5 分制上提高了 2.4–4.0 分(例如,在 GPT-4o 上,用户画像使用得分从 1.05 提升至 4.69),且每项比较的结果均具有显著性(p < 10^-18)。与标准的检索增强注入相比,在三个模型上获得的提升同样显著且稳定。与完整、未经筛选的上下文拼接相比,内核管理的注入在三个模型中的两个上表现出统计意义上的相当性能,在第三个模型上则存在幅度较小且特定于模型的性能差距;这里的限制是可用上下文的软上限,而非响应质量的上限,同时所使用的提示明显更短:三个模型的端到端延迟均降低了 15%–61%,单次调用的 token 使用量和推理成本也相应减少。这些结果表明,相较于将检索和隐私实施交由各个智能体负责,把记忆管理集中到智能体系统内核中,能够以其一小部分成本实现不受约束上下文所带来的大部分个性化收益。

arXiv cs.LG80

用于不确定性下语义承诺的 Credal Large Language Models

arXiv:2608.23244v2 公告类型:替换交叉版本 摘要:大型语言模型(LLM)经常以毫无根据的置信度生成流畅但错误的答案。其核心局限在于,标准 LLM 通过单一预测分布表示不确定性,将认识性无知与真正的歧义混为一谈。我们提出 Credal Large Language Models(CLLMs):由一组 LoRA 适配器构成的集成模型诱导出一个信念集,其下概率和上概率揭示可能预测分布的分散程度,而不是将其压缩为单一的 softmax 输出。基于这一表示,我们推导出一种单一的承诺规则:仅当某个答案的下概率超过所有其他候选答案的上概率时,模型才承诺该答案;否则,模型返回所有可能的预测器都无法排除的答案集合。我们在两个层次上应用这一承诺规则:Credal Token Commitment(CTC)将其应用于一次集成前向传播中的答案 token,从而无需任何生成过程即可决定受约束的答案;对于开放式答案,credal 解码仅当没有任何已完成答案支配某个部分答案时,才会扩展该部分答案,因此生成的补全结果都是可能预测器所支持的结果;Credal Semantic Commitment(CSC)则将该规则应用于这些结果的语义聚类。我们使用 Gemma-2-9B、Llama-3.1-8B 和 Qwen2.5-7B,在 OpenBookQA、CoQA、TriviaQA 和 ARC-Challenge 上评估 CLLMs。在多项选择任务中,CTC 能对 73%–91% 的问题作出承诺,准确率达到 89%–98%;其返回的选项集合平均包含 1.1–1.5 个选项,并以 89%–98% 的比例包含标准答案;在无需校准的情况下,其区间在 30 个置信度分箱中的 24 个分箱内包含观测准确率。加入损坏的上下文后,承诺率从 87%–92% 降至 65%–71%;在 Gemma 上,credal 界检测损坏的能力优于所有基线方法。在开放式问答任务中,在固定覆盖率下,对于每一种骨干模型,CLLM 在带上下文的 CoQA 和 TriviaQA 上相较于 semantic entropy 和 Laplace-LoRA,准确率最高分别提升 19% 和 9.5 个百分点。

arXiv cs.LG83

在点号之间阅读:解码填充词元中的隐藏计算

arXiv:2607.03502v2 公告类型:替换交叉版本 摘要:前沿 LLM 能够在点号或计数序列等不含内容的填充词元上执行多步推理,并在没有可见思维链(CoT)的情况下得出正确答案。这是行为监督的一个极限情形,因为表面词元不携带有关底层推理的信息。但对输出而言隐藏,并不等于对我们隐藏。在四类任务(事实检索、并行数值组合、字符串操作和上下文内计算)中,两个开放权重的前沿模型(DeepSeek V3、Kimi K2)以可读的方式在填充词元上进行计算:注意力将问题经由填充区域传递至答案;logit-lens 读数显示,检索到的事实会较早出现,而它们的组合则在后期层中逐渐成形;在填充位置进行 KV-cache 移植,则能够从因果上交换不同示例之间的输出。我们提出了一种无监督解码流程,仅以隐藏状态作为输入,即可在两个模型和全部四项任务上,以 82%–94% 的准确率(最佳 LLM 评审结果)恢复中间值,无需真实标签或训练。即使不使用评审器,这些隐藏值也已经有 35%–85% 的概率直接出现在该流程的前 2 个词元中。无论填充内容是预先填入,还是由模型自行生成,这一提升都依然存在。在这些能够被清晰分解的任务上,足以击败基于行为的 CoT 监控的隐藏计算,仍可从残差流中读取;这表明,可监控性是模型完整计算轨迹的属性,而不仅仅是其表面词元的属性。

arXiv cs.LG78

为魔鬼代言:现成的人格向量在抑制谄媚行为方面可与针对性引导媲美

arXiv:2605.21006v4 发布类型:replace-cross 摘要:语言模型往往表现出谄媚倾向:无论用户陈述的观点是否正确,它们都会表示赞同。既有研究表明,可以通过使用谄媚人格向量引导模型来控制这一特征(Chen et al., 2025)。然而,这类向量是从关于谄媚行为本身的数据中提取的。我们探讨了这样一个问题:能否改为复用用于一般角色的现有向量——怀疑者、评判者、魔鬼代言人——这些向量的提取完全没有针对谄媚行为。我们在 Gemma 2 27B 和 Qwen 3 32B 上,将这些角色向量与专门构建的 Contrastive Activation Addition(CAA)谄媚向量进行比较。实验使用了一个大部分留作测试、经过反平衡处理的 PhilPapers 基准,并在单独划分的谄媚数据集上调节任务特定的系数。被选中的“关键”角色平均实现了 CAA 在降低谄媚 logit 方面约 68%(Gemma)和 98%(Qwen)的效果。在我们检查的探针上,较少表示赞同并不意味着会产生更多事实错误:对于 16 条真假事实陈述,由怀疑者或评判者向量引导的 Qwen 在全部 16 个案例中仍然给出了正确答案,与未引导模型和 CAA 的表现一致。“顺从者”角色并不能可靠地产生相反效果。在我们进行引导的层中,角色向量与测得的 CAA 方向之间的绝对余弦相似度也很低;它们是几何上相互独立的干预方式,尽管这本身并不能证明它们通过不同的下游机制发挥作用。总体而言,这些结果表明,即使在提取时没有使用谄媚行为特定标签,一般人格向量也能帮助缓解 LLM 的谄媚倾向。代码:https://github.com/vkmk1/Sycophancy-Steering 结果:https://github.com/kelkarI/sycophancy-clean-results

arXiv cs.LG77

面向领域适配的Small Language Models:实现可靠的临床分诊

arXiv:2604.26766v2 公告类型:replace-cross 摘要:在急诊科,准确且一致地分配急诊严重程度指数(ESI)仍是一项长期挑战,因为高度多样化的自由文本分诊记录会导致分诊错误和工作流程低效。本研究评估了开源小型语言模型(SLM)能否作为可靠且保护隐私的临床分诊决策支持工具。我们在多种提示词处理流程中系统比较了多个SLM,发现临床病例摘要(即对分诊叙述的简明概括)能够实现最准确的预测。SLM Qwen2.5-7B在准确性、稳定性和计算效率之间展现出最佳平衡。通过利用专家整理的儿科分诊数据和银标准儿科分诊数据进行大规模领域适配,微调后的Qwen2.5-7B模型显著减少了不一致情况和具有临床意义的错误,其表现优于所有基线SLM以及先进的专有大型语言模型(LLM,例如GPT-4o)。这些发现凸显了机构专用SLM用于可靠、保护隐私的ESI决策支持的可行性,并强调了有针对性的微调相比更复杂推理策略的重要性。

arXiv cs.LG83

通过多智能体可解释性检测多智能体串通

arXiv:2604.01151v3 公告类型:替换-交叉 摘要:随着 LLM 智能体越来越多地部署于多智能体系统中,它们带来了可能规避标准人类监督形式的隐蔽协同行为风险。尽管针对模型激活的线性探针已显示出在单智能体场景中检测欺骗行为的潜力,但串通本质上是多智能体现象,而利用内部表征检测智能体之间的串通仍未得到探索。我们提出了 NARCBench,这是一个用于评估环境分布偏移下串通检测能力的基准,并提出了五种探测技术:将每个智能体的欺骗分数进行聚合,以在群体层面判别场景。我们在四个开放权重模型(Qwen3-32B、Llama-3.1-70B、DeepSeek-R1 32B、GPT-OSS-20B)和六种探针架构上进行了评估。我们将这一问题定义为分布式异常检测问题,识别出三种串通特征,它们分别对应不同的异常类型和检测范式。在分布内测试中,每个模型都达到了 1.00 的 AUROC;在表现最强的模型 Llama-3.1-70B 上,五种探测技术迁移到结构不同的多智能体场景进行零样本测试时,AUROC 达到 0.73 至 0.93;在隐写式二十一点算牌任务上则达到 0.99 至 1.00,且检测性能随模型能力提升而增强。我们发现,没有任何一种探测技术能够在所有串通类型上占据优势,这与该框架的预测一致:不同的异常类型需要不同的检测范式。这项工作朝着多智能体可解释性迈出了一步:将白盒检查从单个模型扩展到多智能体环境,因为在此类环境中,检测需要聚合多个智能体之间的信号。这些结果表明,模型内部信息能够为文本层面的监控提供互补信号,用于检测多智能体串通。代码和数据见 https://github.com/aaronrose227/narcbench。

arXiv cs.LG80

更信任评论器

arXiv:2609.39247v2 公告类型:替换 摘要:标准的语言模型 RL 算法会根据终端奖励确定一个优势值,并将其平均归因于长轨迹中的每个 token。Actor-critic 方法能够提供更细粒度的归因,但在使用 RL 训练 LLM 时,通常认为学习得到的评论器不够准确,因而不值得信任。在近期的工作中,即使存在评论器,它也仅被用于基线估计,因此每条轨迹都必须展开至终端奖励。我们提出了带动作分块的 Actor-Critic(AC2),无需将每条轨迹展开至完成。AC2 转而将信用分配给动作块:即过去轨迹前缀的短续写。学习得到的评论器会对每个动作块末尾所到达的状态进行评分,使策略无需观测终端奖励即可更新。我们通过三项设计选择,使基于评论器的信用分配更加可靠。第一,我们引入局部就绪度,仅当评论器在某个具体问题上足够准确时,才在该问题上使用基于评论器的更新。第二,在条件允许时,我们向评论器提供来自此前成功展开的参考解。第三,我们在长度为 10k tokens 的动作块上而非单个 token 上分配信用,使评论器能够评估轨迹中更有意义的部分。我们使用 AC2 在 FineProofs-RL 上训练 Qwen3-4B,并在 IMO-ProofBench 上进行评估。AC2 使用少 2.5 倍的解码 FLOPs,超过了 GRPO 18.5% 的峰值验证得分。这一提升来自两个方面:(1)AC2 达到该分数所需的训练步数减少了 25%;(2)由于策略无需将每条轨迹继续展开至完成,每一步生成的 token 更少。从概念上讲,我们证明了无需将每条轨迹展开至完成,从而为 LLM RL 算法开辟了一个此前尚未得到充分探索的巨大设计空间。

arXiv cs.LG84

QATFactory: A Versatile, Deployment-Aligned Framework for Quantization-aware Training and Distillation of LLMs

arXiv:2609.39223v2 Announce Type: replace Abstract: Large language model (LLM) inference is increasingly moving toward lower precision to realize the throughput of hardware accelerators, but aggressive post-training quantization (PTQ) can degrade model quality. We present QATFactory, an open-source framework for deployment-aligned quantization-aware distillation (QAD) and reinforcement learning (QARL). QATFactory simulates deployment-time quantization while performing matrix multiplications in BF16, allowing models to adapt to quantization noise without requiring training hardware that natively supports the target format; for example, it supports NVFP4 training on H100 GPUs, which lack FP4 Tensor Cores. The framework supports NVFP4, MXFP4, and $\text{llama}.\text{cpp}$'s Q4_K format; dense and mixture-of-experts models; and both full-parameter and LoRA-based training. It exports checkpoints directly to vLLM and $\text{llama}.\text{cpp}$ without an additional lossy conversion step or added inference overhead. With QATFactory, we conduct extensive experiments on models ranging from 8B to 230B parameters and evaluate exported checkpoints in production inference engines. Across models and formats, QAD consistently improves deployed-model quality over strong PTQ baselines. On Qwen3.5-9B, QAD achieves average benchmark accuracies of 68.9% under NVFP4 and 66.0% under MXFP4, outperforming the best PTQ results of 65.4% and 56.4%, respectively. Through our experiments, we found that although both FP4 formats quantize weights and activations at deployment, the best training strategy is format-dependent: NVFP4 generally performs better when only weights are quantized during training, whereas MXFP4 benefits from quantizing both weights and activations. At a fixed training token budget, training on fewer 32K sequences improves average accuracy by 1.9 points over training on more 4K sequences.

arXiv cs.LG72

LumoTree:面向混合语言模型的路径并行推测验证

arXiv:2609.23900v2 公告类型:替换 摘要:混合语言模型的树式推测解码必须在循环、卷积和注意力状态之间保持一个连贯的延续。我们提出了 LumoTree,这是一种验证器,能够并行执行循环路径,复用每条路径内的状态分块,并通过共享的逻辑树协调原生循环重放、卷积历史收集和注意力缓存重映射。融合式候选选择、驻留 GPU 的接受判定以及分组 split-K 注意力共同支持验证流程。组件实验显示,候选选择结果完全一致,循环计算结果也在成对误差界内保持一致。在单台 NVIDIA DGX Spark(GB10)上进行的探索性 Qwen3.8-27B NVFP4 部署中,针对十个 SWE-bench Verified Astropy 任务,记录到 25.63 pooled tokens/s 的吞吐量。结果刻画了组件级数值一致性和编码代理部署情况;完整模型延续能力和受控的应用级加速效果仍有待研究。

arXiv cs.LG70

From Switching to Dynamic Regret: A Simple Reduction via Unbiased Random Sequences

arXiv:2609.20968v2 Announce Type: replace Abstract: In non-stationary online learning, dynamic regret has attracted increasing attention as a measure of how well an online learner performs against a time-varying comparator sequence. Despite considerable advances, attaining optimal bounds for strongly convex and exp-concave losses often involves intricate analysis. In this paper, we present a \textit{simple} framework that reduces dynamic regret minimization to switching regret minimization. As a result, we can derive dynamic regret bounds by using off-the-shelf algorithms with switching regret guarantees. The key idea of our reduction is to construct, for \textit{any} comparator sequence, an auxiliary random sequence that is unbiased at each round, with the controlled variance and a manageable number of switches. Combining this construction with suitable surrogate losses, we can decompose dynamic regret into the expected switching regret against the random sequence and its controlled variance. Theoretically, for strongly convex and exp-concave losses, we establish the $\widetilde{O}(T^{1/3}P_T^{2/3})$ dynamic regret bounds, where $T$ denotes the time horizon and $P_T$ denotes the path-length of the comparator sequence. Moreover, for general convex losses, the same reduction also recovers the $O(\sqrt{T(1+P_T)})$ dynamic regret bound. Notably, all our findings match the minimax optimal results for these three types of losses, highlighting the versatility of our proposed framework.

arXiv cs.LG79

CompactionRL:通过上下文压缩实现长时程智能体的强化学习

arXiv:2607.05378v2 公告类型:替换 摘要:长时程智能体LLM日益受到有限上下文窗口的限制,因为在任务完成前,延长的交互轨迹可能会超过最大上下文长度。上下文压缩通过总结先前的交互状态,并在压缩后的上下文中继续执行轨迹,提供了一种自然的解决方案;然而,将压缩机制融入强化学习仍缺乏充分研究。我们提出CompactionRL,一种利用上下文压缩训练长时程智能体LLM的强化学习策略。我们的方法通过令牌级损失归一化和跨片段广义优势估计,联合优化任务执行与摘要生成。这一设计使LLM智能体能够从经过压缩的长时程轨迹中学习。我们在开源模型上训练CompactionRL,并在智能体编程任务中观察到持续的性能提升。CompactionRL使开源GLM-4.5-Air模型(106B-A12B)在SWE-bench Verified和Terminal-Bench 2.0上分别取得66.4%和26.2%的Pass@1得分;与推理时采用上下文压缩的基础模型相比,分别提升了6.6和4.9个百分点。基于GLM-4.7-Flash(30B-A3B),CompactionRL相较基础模型使Pass@1分别提升5.5和6.7个百分点,在SWE-bench Verified和Terminal-Bench 2.0上分别达到56.0%和20.2%。因此,CompactionRL已部署于强化学习流程中,用于训练开源GLM-5.2模型(750B-A40B)。

arXiv cs.LG79

宪法价值潜能:读取并引导语言模型中的内部优先级边界

arXiv:2606.15420v2 公告类型:替换 摘要:安全评估会在提示中省略部署环境提供的激励信息的情况下测试策略:例如佣金、绩效分数,或标明哪种行动收益最高的仪表板。我们衡量这种省略掩盖了什么。在 MoneyWorld 这一合成工作环境中,我们从三个模型系列中选取五个经过指令调优的模型,使用 RL 在非安全任务上进行训练;这些任务带有一个可见的收益信号,用于标识一种牺牲任务质量却能获得奖励的捷径。随后,我们冻结每个策略,呈现留出的安全冲突,并且只改变所显示的信号。每个选项菜单包含一个合规行动和三个违规行动。我们报告三项发现,以下给出 Qwen2.5-14B-Instruct 的相关比例。(i)收益信号能够控制冻结策略的安全选择:当信号指明某个不安全选项时,不安全选择率为 100%;当信号被隐藏或指明安全选项时,该比例为 0%。隐藏信号和随机信号训练的对照组均不超过 0.3%,且这一切换现象在全部五个基础模型上都能复现。在对采样行动给予奖励的设置下,使用数值化收益也能复现这一现象:即使只存在 1 美元的优势,不安全选择率也达到 98.6%。(ii)在一项训练菜单干预中,收益识别与不安全选择彼此分离:使用相同收益训练执行能够完成任务的行动后,在匹配的更新预算下,收益识别率仍为 99.8%,而不安全选择率降至 7.9%。仅凭读取收益的能力不足以解释这种迁移。(iii)在使用相同冻结适配器执行的零售客户服务任务中,这一切换现象并未复现。在 MoneyWorld 中,省略激励信息会掩盖不安全选择;当同一策略看到哪种行动收益最高时,这些不安全选择便会出现。

arXiv cs.LG79

你的语言模型就是自己的价值评估器:利用演员内部状态进行价值估计的强化学习

arXiv:2605.07579v3 公告类型:替换 摘要:带可验证奖励的强化学习(RLVR)是大型推理模型的基础,而RLVR依赖于降低方差,这要求同时具备可靠的基线,以及每个训练批次内高度多样化的提示词。在通用推理模型的多领域训练中,这一点尤其困难,因为不同任务的提示词会产生高度多样化的梯度信号。现有方法各有不足:GRPO将基线估计为来自同一提示词的多次采样结果的组均值,因此,越准确的基线意味着批次中可包含的不同提示词越少;而PPO通过训练一个与策略规模相当的评论器来避免这一权衡,但训练成本大致翻倍。我们提出POISE(Policy Optimization with Internal State Value Estimation),一种将模型内部状态转化为价值模型的强化学习算法。一个轻量级探针读取前向传播过程中已经计算出的信号,以预测基线,并与策略同步在线训练。为保持梯度的无偏性,我们提出一种跨采样结果构造方法,利用另一次独立采样结果的内部状态来预测每次采样结果的价值。在涵盖六个领域的可验证奖励语料库上,使用Qwen3-4B和OLMo3-7B-Instruct-DPO进行实验,POISE优于其他RLVR基线,同时实现了更稳定的训练。此外,该探针的效果可媲美独立的LLM规模价值模型,能够泛化到各种任务,并且随着策略规模扩大仍能保持准确。通过利用模型的内部表示,POISE实现了稳定的策略优化。

arXiv cs.LG84

化学语言模型规模化极限的大规模研究

arXiv:2508.13408v3 发布类型:替换 摘要:化学语言模型(CLMs)正日益应用于从头药物设计,这得益于近年来模型规模、计算量和数据集规模的增长。然而,设计选择、训练动态与下游生成质量之间的关系仍缺乏充分理解。我们开展了一项计算受控的 CLMs 规模化研究,涵盖超过 30,000 项实验,涉及分子表示(SMILES、SELFIES、SAFE)、分词方式(原子级分词和字节对编码)、模型规模(0.5M–1B 参数)、经过数据泄漏控制的数据集(MOSES、ChEMBL、PubChem、ZINC-22)以及模型架构(仅解码器和编码器-解码器)。通过拟合 IsoFLOP 曲线,我们确立了预训练损失的明确规模化趋势,但发现这些改进并未转化为目标导向分子设计中同等程度的性能提升。逐层探测和稀疏自编码器分析揭示了化学表征的持续发展:化学语法较早趋于饱和,而语义属性的形成更为缓慢,并随着进一步训练和模型规模扩大而变得越来越容易获取。在所评估的协议和 oracle 预算下,这些表征能力的提升与目标导向生成性能的边际递减并存。由此得到的模型套件 NovoMolGen 取得了最先进的结果,在各项药物发现任务的目标导向分子生成中超越了以往的 CLMs 和专用生成模型。这些发现揭示了化学表征学习与下游分子设计之间的脱节,推动人们开发能够更直接学习化学语义的预训练范式。

arXiv cs.LG81

将梯度提升算法与 GOES FDC 进行野火检测比较

arXiv:2610.01994v1 公告类型:cross 摘要:野火对人类生命、生态系统和财产构成严重威胁。本研究提出了一种利用 GOES ABI 影像进行野火检测的机器学习方法。研究人员使用包含数千张 ABI 影像以及超过 300,000 条匹配 VIIRS 火灾探测记录的大型数据集训练了 CatBoost 模型。在涵盖五个区域的独立数据集上进行评估显示,训练得到的 CatBoost 模型优于现行的 GOES Fire Detection and Characterization(FDC)产品。在训练区域内外,该模型均取得了更高的精确率、召回率和 F1 分数。在所有区域中,CatBoost 模型的 F1 分数比 GOES FDC 高出 0.16 至 0.38。此外,在 51 起历史火灾事件中,CatBoost 有 26 起早于 VIIRS 和 GOES FDC 检测到,而 GOES FDC 仅有 6 起更早检测到。值得注意的是,CatBoost 模型在夜间也能实现准确的野火检测,而 GOES FDC 的召回率非常低,约为 0.03。本研究表明,机器学习模型可能在现有静止卫星火灾产品的基础上带来显著改进,包括更高的准确率、更少的误报以及更早的检测。

arXiv cs.LG76

Universal Byte-Level Encoding:通过 UTF-8/UTF-16 路由减少跨文字体系的 Token 预算差异

arXiv:2610.01984v1 公告类型:cross 摘要:字节级字节对编码(BBPE)分词器对多语言大型语言模型(LLM)很有吸引力,因为它们能够覆盖所有 Unicode 文本。然而,在基于 UTF-8 的 BBPE 中,许多文字体系的起始回退成本高于英语:当无法应用任何已学习的合并规则时,一个多字节字符需要多个源自字节的符号。我们将这种合并前的最坏情况成本称为编码下限。更高的编码下限可能增加 Token 数量和每次请求的成本,并缩小可用上下文。改变文本编码可以缩小这一差距,但在混合文字文本中,单一的全局编码可能会使原本高效的英语片段变得更加昂贵。我们提出 Universal Byte-Level Encoding(UBE),一种双字母表分词器:对 1—2 字节的 UTF-8 字符保留 UTF-8 路径,同时将 3—4 字节的 UTF-8 字符通过 UTF-16 进行路由。对于 Token 溢价较高(相对于英语的 Token 数量)的文字体系,这种方法降低了 3 字节基本多文种平面(BMP)字符的编码下限,同时不会提高混合文字文本中原本高效片段的编码下限。UBE 只改变呈现给字节对编码(BPE)的字节表示;合并规则仍保持标准形式,并且能够保留精确解码。UBE 还可与其他边界策略和基于形态学的表示方式组合使用。在 Unicode 17 审计中,UBE 能够对所有 Unicode 标量值以及官方规范化、字素边界和表情符号测试套件中的所有输入实现精确往返转换。在各项内在评估中,UBE 降低了英语归一化 Token 数量比率的离散程度,从而减少跨语言 Token 预算差异。在多语言语言模型(LM)实验中,UBE 的语言模型质量与 BBPE 相当。在主要的多语言设置中,UBE 对高溢价文字体系的 Token 数量降低幅度最大,并略微降低英语 Token 数量,因此在固定 Token 预算下提供更多可用上下文,并在内容匹配的基准测试中加快提示词处理速度。

arXiv cs.LG82

开放源代码大型语言模型在临床分诊中的偏差反事实审计

arXiv:2610.01963v1 公告类型:cross 摘要:急诊科(ED)分诊是一项高风险的优先级排序任务,其中人口统计、社会经济和系统环境信息可能不恰当地影响紧急程度分配。尽管开放源代码大型语言模型(LLM)正越来越多地被考虑用于本地化且注重隐私的临床决策支持,但反事实偏差如何在不同模型系列、模型规模、医学领域模型和领域适配模型之间变化,仍不明确。我们针对十个开放源代码LLM的儿科急诊严重程度指数(ESI)预测开展了比较性反事实审计。我们以真实临床案例和手册式临床案例为基础,构建成对的反事实变体:每次仅改变一个注入的人口统计、社会经济、医疗服务可及性、行为、社会或系统环境变量,同时保持临床表现不变。模型包括Qwen2.5-7B、Qwen2.5-14B-Instruct、经过QLoRA微调的Qwen2.5-7B、MedGemma变体、MedLLaMA2-7B、GPT-OSS-20B和GPT-OSS-120B。我们测量了任何反事实变化、分诊不足、分诊过度、超过一个ESI等级的变化、平均变化幅度以及平均绝对变化幅度。反事实敏感性存在显著差异,并未随着模型规模扩大或医学领域预训练而稳定降低。经过微调的Qwen2.5-7B表现出最低的总体敏感性,其任何变化率为5.27%,平均绝对变化幅度为0.0534;相比之下,基础模型分别为16.02%和0.1706。若干规模更大或属于医学领域的模型表现出更显著的变化。分层分析和相关性分析进一步揭示了总体比率所掩盖的、具有临床重要性的变化方向和共同失效模式。这些发现表明,在临床部署之前,反事实审计可作为一种轻量且具有临床可解释性的框架,用于比较开放源代码LLM中的公平性风险。

arXiv cs.LG72

在非凸--凹极小极大优化中带方差缩减的随机一阶算法的下界

arXiv:2610.01662v1 发布类型:cross 摘要:我们为非凸--凹极小极大优化中的随机一阶算法建立了复杂度下界,并允许算法使用方差缩减。我们的主要贡献是针对允许方差缩减的零尊重算法类给出一个下界,从而突破了某些现有下界所施加的算法限制。我们考虑目标函数具有 $L$-Lipschitz 连续的联合梯度,具有欧氏半径至多为 $D_Y$ 的紧凸对偶域,以及一个原始值函数;该函数定义为对对偶变量最大化目标函数,并且初始次优性至多为 $\Delta$。目标精度 $\varepsilon$ 通过带参数 $1/(2L)$ 的受约束原始值函数的 Moreau 包络的梯度范数来度量。在方差至多为 $\sigma^2$ 且满足均方光滑性的无偏随机一阶预言机下,我们证明了下界 $\Omega\!\left(L^2D_Y\Delta\varepsilon^{-3}+L^3D_Y^2\Delta\sigma^2\varepsilon^{-6}\right)$。即使允许使用方差缩减,该结果仍量化了复杂度对精度、对偶域半径和预言机噪声的依赖关系。我们还为非凸--强凹极小极大优化建立了互补的下界。设对偶强凹参数为 $\mu>0$,条件数为 $\kappa:=L/\mu$,则在有界方差预言机模型下,我们得到 $\Omega\!\left(L\Delta\sqrt{\kappa}\,\varepsilon^{-2}+L\Delta\kappa\sigma^2\varepsilon^{-4}\right)$。在额外满足常数为 $\bar L$ 的均方光滑性条件时,我们得到 $\Omega\!\left(L\Delta\sqrt{\kappa}\,\varepsilon^{-2}+\Delta\bar L\sigma\kappa^{3/2}\varepsilon^{-3}\right)$。综上,这些结果揭示了凹和强凹情形下的复杂度壁垒,其中主要的非凸--凹下界对于使用方差缩减的算法仍然成立。

arXiv cs.LG80

Hob-VL:视觉落地的布尔推理基准

arXiv:2610.01605v1 公告类型:cross 摘要:可靠的视觉推理需要综合多个视觉观察结果,并对逻辑等价的问题给出一致的答案。我们提出了 Hob-VL,一个用于视觉落地布尔推理的基准。Hob-VL 包含两项任务:(1)评估图像中是否满足某条布尔规则;(2)识别满足布尔描述的(唯一)对象。Hob-VL 包含 6,000 个经人工验证且“是/否”均衡的问题,每个问题均由十条视觉陈述的布尔组合定义,涵盖 1,000 个生成场景和 46 张多样化的带标注照片;此外,还包含针对同一批照片的 1,000 个对象识别问题。我们的问题系列经过有意设计,通过误导性的局部线索和嵌套逻辑运算来挑战推理能力,并采用符号化和结构化自然语言两种呈现形式。在八种禁用或最小化思考功能的模型配置中,布尔准确率介于 48.52% 和 50.57% 之间,而识别准确率最高仅为 43.0%。启用思考功能的 GLM 配置取得了不均衡的提升,但仍存在大量错误和不一致。Hob-VL 通过可执行的参考答案和配对评测揭示了这些失败。

arXiv cs.LG78

AURAL:面向语音语言模型的联合分块自适应潜在推理

arXiv:2610.01560v1 公告类型:cross 摘要:模型智能与快速响应共同决定了语音语言模型的交互质量,但二者仍难以兼得。显式思维链(CoT)能够提升推理和音频理解能力,但生成中间推理令牌会延迟响应。描述细粒度声学线索还会进一步延长CoT并增加延迟。潜在推理可以减少这一开销,但现有方法通常落后于CoT,并且受到单路径监督和无法根据问题难度自适应的推理预算限制。我们提出AURAL,在潜在空间中对多个合理的推理后续步骤建模其分布,并联合预测未来状态的分块结果,从而减少顺序前向传播次数和推理延迟。为潜在推理提供初始监督,我们构建了AuralReason-683K:包含683K条双语语音话语(约1,000小时),并为情感识别、共情对话和通用推理提供简洁的CoT。随后,AURAL-RL在这些推理轨迹之外进行探索,通过奖励能够产生高质量答案的简洁推理,并根据每个问题自适应地调整推理投入。在两个骨干模型上,AURAL-RL的性能与CoT-RL相当,并且在大多数指标上,相较于各自的监督训练检查点取得了更大提升。分析进一步表明,更难的问题会引发更多的潜在推理步骤。在Qwen2.5-Omni上,与直接回答的0.05秒相比,它将生成第一个答案令牌的时间从1.22秒缩短至0.10秒,提升了11.8倍。

arXiv cs.LG80

利用 Multi-Task QLoRA 进行社交媒体上的可解释自杀风险评估

arXiv:2610.00610v1 公告类型:cross 摘要:可解释的自杀风险评估不仅要求模型估计风险严重程度,还要求识别帖子中表达的支持性语言以及风险因素和保护性因素。我们介绍了参加 IEEE BigData 2026 Cup 社交媒体可解释自杀风险评估赛题的系统,该系统涵盖三个任务:风险等级分类、证据短语提取和多标签因素识别。我们采用量化低秩适配(QLoRA)和答案掩码因果语言模型目标,对 Qwen2.5-Instruct 模型进行适配。针对风险分类,我们在全部三个任务上进行联合训练;针对证据提取,我们在 Task~1a 和 Task~1b 上进行联合训练;针对因素识别,则单独适配 Task~2。我们还针对不同输出定制了聚合方法:对 32B 和 72B 模型输出的风险等级概率取平均;通过跨折共识合并证据短语;根据折外运行点,通过速率匹配校准特定因素的决策。在官方排行榜上,最终系统取得了 0.7738 的综合得分,其中 Task~1 得分为 0.8089,Task~2 得分为 0.6919。在评估的各项配置中,三任务训练在 Task~1a 上表现最佳;在 Task~1a 和 Task~1b 上进行联合训练在 Task~1b 上表现最佳;针对任务的专门训练在 Task~2 上表现最佳。当组成模型的错误具有互补性时,概率平均进一步提升了 Task~1a 的表现。这些发现表明,在统一的语言模型框架内,根据每个任务的输出结构定制训练目标和聚合策略具有重要价值。

arXiv cs.LG82

通过部分信息分解解释大语言模型的推理

arXiv:2610.00571v1 公告类型:cross 摘要:大型推理模型(LRM)在解决复杂数学问题方面取得了显著进步,但通常会生成冗长、重复或错误的推理轨迹。在本文中,我们提出了一种新的可解释性框架 SLIDER,用于评估推理过程的质量。SLIDER 利用了信息论中一个新兴的研究方向——部分信息分解,将两个连续推理步骤之间关于最终答案的信息解耦为非负的组成部分:独有信息(来自前序步骤或当前步骤)、冗余信息以及协同信息。在此分解的基础上,我们提出了逐步重复推理指数(Step-RRI)这一具有理论依据的度量,用于评估当前步骤 $S_i$ 中与答案相关的信息,相对于其独有贡献和协同贡献,是否主要与过去的步骤 $S_{<i}$ 存在冗余。为评估 Step-RRI 检测重复性的有效性,我们将 SLIDER 应用于 PRMBench 数据集中的冗余类别。与基于嵌入相似度和信息增益的基线方法相比,Step-RRI 将步骤级冗余识别准确率提高了超过 $10$ 个百分点。随后,我们定义了轨迹-RRI(Trajectory-RRI),这是一种衡量单条推理轨迹重复性的聚合指标。为展示其实用价值,我们证明,在 QwQ-32B、DeepSeek-R1-Distill-Qwen-32B 和 GPT-4.1 上,平均 Trajectory-RRI 与实际推理长度具有很强的相关性,这说明它可作为提升推理效率的一种信号。最后,我们提出了由 Trajectory-RRI 引导的微调数据选择方法,结果表明,根据 Trajectory-RRI 选择训练数据,可以在基本保持任务性能的同时,提高微调模型的推理效率。

arXiv cs.LG75

LEGO-OPD:用于多模态在线策略蒸馏的因子化教师组合

arXiv:2610.00333v1 公告类型:cross 摘要:多模态在线策略蒸馏(OPD)旨在提升视觉对齐能力,同时保留语言模型强大的推理能力。近期的多教师方法结合 LLM 和 VLM 教师,以提供互补的监督信号。然而,直接使用 VLM 的完整预测分布,会将其视觉对齐信号与自身的语言先验纠缠在一起,使对齐信息无法被独立传递。相反,增强视觉监督强度虽然可以改善感知能力,却可能过度强调视觉证据,从而削弱语言推理能力。为解决这一权衡问题,我们提出 LEGO-OPD,将 Language Expert 和 Grounding expert 中的因子有选择地组合成一个教师分布,用于多模态 OPD。在广义贝叶斯框架下,Language Expert 为候选 token 提供先验,而 Grounding expert 提供视觉似然,用于更新该先验,而不是传递其完整的预测分布。这种因子化组合使语言推理和视觉对齐能够被独立控制。我们进一步引入自适应校准,以确定在每个解码前缀下视觉似然应以多大程度更新语言先验。具体而言,LEGO-OPD 使用 Grounding expert 由图像引起的预测偏移作为依赖于前缀的参照,从而避免视觉监督不足或过度。基于 Qwen3 模型的实验表明,在多模态和纯文本推理任务上,LEGO-OPD 均稳定优于所评估的单教师和多教师 OPD 基线。此外,它在保留纯文本推理能力的同时,提升了初始学生模型的视觉感知能力。

arXiv cs.LG80

衡量微任务达标差距:何时现成 SLM 足以胜任 Agent Harness?

arXiv:2610.00025v1 公告类型:cross 摘要:Agent harnesses 越来越希望在前沿大语言模型(LLM)规划器周围的微任务上运行小语言模型(SLM):自动批准 shell 命令、写入记忆、选择工具、对过往轮次进行排序。我们考察现成 SLM 是否达到从业者定义的阈值;当其未达到时,分析原因,并探究量化是否会改变结论。我们构建了一个包含 4 类此类微任务的基准,使用固定提示词和自动化指标;每项任务都有一个预先指定的阈值 $\tau$,该阈值以低成本的非 LLM 基线为锚点,并采用考虑 CI 的达标规则(只有当某配置的置信界限超过 $\tau$ 时,该配置才算通过)。我们测试了 Qwen3 0.6/1.7/4/8B 的最佳设置(FP16、贪心解码、一个固定不变的提示词、不进行调优),发现存在达标差距:16 个配置(4 项任务 $\times$ 4 个模型)无一通过(通过检查原始输出和解析器行为进行了验证)。一个基于 logprob 的决策阈值诊断方法(T1/T3/T4;T2 则通过上下文长度/级联探测)将失败区分为能力不足,以及可以通过改变解码阈值加以解决的失败(共 4 种情形)。量化为 4-bit(RTN/GPTQ/AWQ)造成的损害取决于模型规模,且没有使任何配置达到达标标准(在可重建的硬标签任务 T1/T3 上进行了认证;在 T2/T4 上进行了诊断/窗口化稳健性分析),因此差距更多地取决于模型规模,而非精度;在 Llama-3.x 上也复现了这一结果(12/12 个配置均未达标),并且对锚点选择(通过 $\tau$ 扫描)和提示词措辞都具有稳健性(在原始提示词及每个单元格额外的 3 个中性释义提示词中,达标配置均为 0/112)。实践上的启示是:应将 SLM 置于一个满足 CI 支持阈值的基线之后,仅在基线未达到阈值时使用 SLM;例如,在 BM25 候选列表上使用 4B 重排序器,其表现优于 BM25($+0.047$ [0.020, 0.073]),但其自身并未达到可认证的达标标准。

arXiv cs.LG76

已编码却未连通:在修补无效的情况下分解视觉语言模型的失效

arXiv:2610.00024v1 公告类型:交叉收录 摘要:我们在三种视觉语言模型架构(LLaVA-1.5-7B、Qwen2.5-VL-7B、InternVL3-8B)上报告了一项关于中间层可解释性的普遍阴性发现。在三者共用的 POPE 基准上,68–91% 的错误样本在中间层编码了真实答案,但这一信号对最终预测并未发挥因果作用:在全部三种架构上,残差流修补在层级上的非平凡翻转率均为 0%;在其中两种架构上,逐注意力头修补也得到同样结果(Qwen:12,600 次修补后的前向传播中有 0 次翻转)。唯一的例外是 InternVL3 第 20 层的第 2 个注意力头,它是一个不面向词汇表、关注自身的注意力头,其效应仅限于该特定头(p < 1e-4)。尽管修补结果为阴性,这些错误仍可在操作层面分为三种失效模式——感知失效、已编码却未连通、先验覆盖——且在全部三种架构上均能以超过 60% 的准确率学习区分;此外,架构的先验方向能够预测两种干预中哪一种会引发类别特异性响应。我们报告了使用真实类别标签时这些干预的缓解效果,以此证明这些类别在机制层面确实存在,而非将其作为一种可部署的方法。

arXiv cs.LG76

从梯度到能力:理解多教师在策略蒸馏

arXiv:2610.02179v1 发布类型:new 摘要:多教师在策略蒸馏(MOPD)旨在将通过 RL 训练的多个教师模型的优势结合到单个学生模型中,但教师信号如何影响参数变化仍缺乏深入研究。我们研究了 Qwen3-1.7B,使用从与学生模型相同初始化出发、通过 RL 训练的四个领域教师模型,比较梯度、优化器更新和任务学习曲线,并额外使用 SmolLM3-3B 进行诊断。我们发现,有多个因素会影响教师信号。首先,损失平均会隐式地对响应进行加权:token 平均更偏向较长的响应,而均衡各领域贡献会在领域内部保留这种加权。其次,Adam 的一阶矩会减小参数更新之间的差异:教师模型之间的余弦相似度为 0.83,而不同平均规则之间为 0.96,尽管原始梯度存在差异。第三,BF16 舍入会掩盖微小变化:约 97\% 的 FP32 主权重不同于初始化值,但 BF16 权重中仅有 7--11\% 发生了变化。最后,top-64 交集 KL 梯度与 Qwen 的全词表梯度高度一致,但其对任务性能的影响取决于平均方式:在响应平均下,数学准确率比采用采样 token 策略梯度(PG)高 2.6 个百分点;而在全局 token 平均下则低 2.1 个百分点。

arXiv cs.LG74

每次消融都是一个剂量:配重与自我修复的表象

arXiv:2610.02173v1 公告类型:新增 摘要:对语言模型的一个组件进行消融,其他组件往往会表现出调整和补偿行为。这一现象被称为自我修复,已被反复观察到,但其机制仍不清楚。迄今为止最系统的研究得出结论:自我修复具有噪声,很可能不存在单一解释。我们认为它确实有一个解释:一种在任何消融发生之前就已存在的增益。对任何具有因果重要性的组件进行干预,都可以视为坐标轴 $\lambda$ 上的一个点,其中 $\lambda$ 表示反事实对比的带符号强度。因此,传统的消融方法就是该轴上未经校准的点。我们表明,细粒度单元 $r$ 的因果修复响应遵循一个仿射规律:$E_r(\lambda)=\mathrm{own}_r+\gamma_r\lambda$。斜率 $\gamma_r$ 是一个固定系数,无论是否进行消融,都会持续影响模型;其符号决定该单元是抵消还是强化被移除的信号。在一项跨四个不同模型系列(Gemma、Qwen、LLaMA 和 Mistral)的事实判定任务中,我们发现包括 MLP 神经元、OV 神经元和奇异方向在内的组件遵循这一仿射规律,共计占81个下游方向中的68个。此外,我们还可以根据固定权重预判 $\gamma_r$ 的大小。在 GPT-2 Small 的 IOI 电路中,干预能够触及的十个注意力头中有七个遵循该规律,而且这七个全都是配重。从这一视角看,表面上像是自我修复的现象,其实是当对比信号在核心处显现时,配重执行其通常的作用。

arXiv cs.LG80

做好自己的研究:通过学习搜索来学习预测

arXiv:2610.01955v1 公告类型:新增 摘要:基于结果的强化学习可以训练语言模型预测现实世界事件,但以往的预测工作要么在训练前冻结研究上下文,要么仅在测试时部署智能体式研究,因此收集证据的能力从未受到奖励机制的塑造。我们基于2,100多个已结算的Polymarket问题,构建了一个智能体式预测环境、数据集和测试框架;智能体在每次 rollout 时自行获取上下文(网页搜索、页面阅读和金融时间序列),所有信息都经过分层泄漏过滤,仅限于在每个问题截止时间之前发布的内容。随后,我们在该环境中使用基于Brier分数的奖励,通过单轮次GRPO训练Qwen3.5-35B-A3B(3B个活跃参数)。训练改变了智能体与信息交互的方式:校准度提升了30%至40%,并且随着证据使用规范的习得,每次 rollout 的搜索尝试次数从3.8次降至2.25次。在完全相同的测试框架中与四个前沿模型进行评估时,训练后的策略在基于证据的预测任务中也超过了所有接受测试的前沿模型,包括Claude Opus 4.5(soft-Brier为0.254,对比0.256,n=265),而推理成本约为其5%;在最困难的问题上,其领先幅度最大——这些问题甚至连群体本身都尚未作出判断。我们将发布该环境、数据集和每次 rollout 的记录,作为可复用的时间序列预测智能体测试框架。

arXiv cs.LG81

异步 LLM 后训练:组质量上限与收敛性分析

arXiv:2610.01896v1 公告类型:新 摘要:异步强化学习(RL)提高了大语言模型后训练的效率,但也引入了由早期策略生成的陈旧 rollout。关于这种陈旧性如何影响收敛,以及如何减轻其影响,目前的理论理解仍然有限。我们为 GRPO 风格算法推导了一个收敛界,明确刻画了梯度估计器二阶矩与偏差之间的权衡。对于轨迹级重要性加权估计器,我们的分析表明,一旦二阶矩得到一致控制,延迟便会通过裁剪或重缩放所引入的偏差进入该界。基于这一洞见,我们提出了一种新颖的组质量上限 GRPO(GMC-GRPO)方法,该方法在一类具有共同二阶矩保证的加权估计器中,最小化基于比率的偏差界。我们为异步 GMC-GRPO 建立了收敛保证,并表明,与 TIC-GRPO 相比,当 $\epsilon\to0$ 时,它将四阶延迟项对阈值的依赖从 $O(\epsilon^{-4})$ 改善为 $O(\epsilon^{-2})$,其中 $1+\epsilon$ 为比率阈值。在局部策略重叠条件下,调整步长后,延迟相关项会随 $G^{-2/5}$ 减小,其中 $G$ 为组大小。对于固定的行为策略和当前策略,组重缩放引入的偏差也会随着 $G\to\infty$ 而消失,而逐轨迹裁剪产生的偏差则可能持续存在。在 Qwen3 模型和推理基准上的实验表明,该方法对陈旧 rollout 具有更强的鲁棒性;在 rollout 延迟较大的情况下,GMC-GRPO 在稳定基线方法中取得了最佳性能。

arXiv cs.LG76

超越线性概念:发现并对齐大型语言模型中的非线性概念流形

arXiv:2610.01821v1 公告类型:新 摘要:理解大型语言模型(LLM)中的信息处理,需要剖析其内部 token 表示的几何组织方式。尽管现有的机制可解释性(MI)方法试图提取概念,但它们受制于强线性假设,而越来越多关于非线性特征流形的证据对这一假设提出了挑战。我们通过将计算机视觉领域的非线性多维概念发现(Non-Linear Multi-Dimensional Concept Discovery,NLMCD)适配到 LLM 的 token 级激活上,超越线性概念,并将概念建模为低维流形。为了比较不同层和不同模型中的概念流形,我们引入了基于概念的对齐(CBA)分数,这是一种广义 Rand 指数,无需显式特征匹配即可衡量几何邻近性。我们的分析得出六项关键发现:(i)相邻层的合理性检验表明,CBA 比基于 PCA 或 CKA 的线性基线更加敏感;(ii)逐层对齐矩阵揭示了中间层和后期层中的两种块状结构,这一结构在不同模型中具有一致性,却被线性指标所掩盖;(iii)在网络的大部分层中,概念组合始终以句法为主,随后在更后面的层中逐渐转变为混合程度越来越高的句法—语义概念,并且朝向最终层的输出导向性不断增强;(iv)英语与中文之间的多语言概念共享取决于训练,而非普遍存在:在 Qwen 中最强,在 Llama 中较弱,在 GPT-2 中则不存在;(v)模型间的对齐呈现出相同结构:不同规模的同系列 Qwen 模型之间具有较强的对应关系,而不同模型系列之间的对齐较弱;(vi)在 Tulu-3 的训练阶段之间,相邻阶段的对齐程度最高,基础模型与 SFT 之间的变化最大;而后续的偏好对齐阶段(DPO、RLVR)基本不改变早期层,且 RLVR 在后期层大体保留了 DPO 的概念。

arXiv cs.LG74

发明一个数据集:用零种子衡量数据集生成能力

arXiv:2610.01674v1 发布类型:new 摘要:构建数据集仍然是 AI 开发中最依赖人工且最脆弱的环节之一。在这份技术报告中,我们聚焦于现实世界从业者面临的最极端、同时也是最普遍的情境:零数据环境。在这种情况下,从业者手头没有任何用于学习目标能力的数据。我们推出 Invent-A-Dataset,这是一个基于提示词的系统,能够从数据集描述出发,生成真实且大规模的后训练数据集。我们将 Invent-A-Dataset 与包括 Anthropic、Google、Open AI、DeepSeek、Zai 在内的五个前沿模型 API 进行评估。在八种任务类型以及最大 20K 个样本的数据集规模上,Invent-A-Dataset 均显著胜出:不仅质量最高(相对提升 17%),同时生成的样本也最为多样(相对提升 19%)。随着训练数据集规模扩大,其多样性优势进一步扩大:从 200 个样本时的持平,提升至 20K 个样本时的相对提升 37%。这进一步转化为显著的下游训练收益,产生性能强得多的后训练模型。在不同的后训练模型架构中,Invent-A-Dataset 微调模型始终比其他生成器微调模型排名更高。

arXiv cs.LG73

具有置换鲁棒性的决策建模与候选项无关的分块因果注意力

arXiv:2610.01601v1 公告类型:新增 摘要:决策模型通常会对编码在单个序列中的、大小可变的候选动作集合进行评分。这一设置与生成式系统内部的 System 1 组件日益相关,因为不同运行过程中提出的候选项或其排序可能有所不同。标准的因果交叉编码具有很强的表达能力,但可能导致某个候选项的得分取决于序列化顺序,而不是底层决策问题本身。我们提出候选项无关的分块因果注意力:该机制保留共享上下文和每个候选项内部的因果计算,同时阻断候选项之间的信息流,并重置候选项位置。我们在 Gemma 3 1B、Qwen3 1.7B 和 Qwen3 4B 主干模型上,将这一架构与标准因果注意力及互补的不变性基线进行了比较。候选项无关的注意力在保持具有竞争力的决策质量的同时,持续降低了对置换的敏感性;消融实验表明,候选项隔离是产生该效果的主要原因,而位置重置则完善了预期的对称性。一项规模更大的 Qwen3-4B 研究进一步考察了所提出架构在显著增加的训练数据下的表现。代码可在 \href{https://github.com/guyAmit/ci-decision-models}{\textcolor{blue}{项目仓库}} 中获取,\href{https://huggingface.co/Guy-Amit/qwen3-4b-ci-decision-4096-poc}{\textcolor{blue}{Qwen3-4B 模型制品}} 可在 Hugging Face 上获取。

arXiv cs.LG84

QK-Wanda:耦合查询与键进行非结构化剪枝

arXiv:2610.01554v1 发布类型:new 摘要:Wanda(Sun et al., 2024)通过在每个线性投影内独立地为权重评分来剪枝大型语言模型,尽管查询和键会通过点积相互作用。我们提出 QK-Wanda,在未掩码的 RoPE 前重构目标下,根据查询和键权重各自的删除代价对其进行评分。该方法将相反投影的信息纳入 Wanda 分数中(查询权重使用键的信息,键权重使用查询的信息),使两个投影能够共享剪枝预算。其闭式评分无需梯度或权重更新;在我们主要实验所用的校准设置下,完整剪枝在 A100 上耗时仅比 Wanda 多 1.3%,在 H200 上多 3.1%。我们在来自 TinyLlama、Llama 2、Llama 3 和 Qwen2.5 的 15 个模型上评估了仅针对 QK 的剪枝,模型参数规模涵盖 0.5B 至 72B。相较于 Wanda,在 50% 稀疏率下,QK-Wanda 将 QK 重构误差平均降低 60%;在 80% 稀疏率下,平均降低 45%。下游性能增益取决于具体模型。在 Llama 2 70B 达到 80% 稀疏率时,WikiText-2 和 C4 的困惑度分别下降 20.3% 和 13.5%,而零样本平均准确率上升 5.94 个百分点。Qwen2.5-72B 也有所提升,但 Llama-3.1-70B 的困惑度显著更高,尽管其重构误差更低。这些结果表明,耦合剪枝标准具有良好潜力,同时也揭示了局部重构作为模型质量预测指标的局限性。

arXiv cs.LG75

FedFit:通过向量库参数化与量化实现LLM的联邦微调

arXiv:2610.01537v1 公告类型:新 摘要:联邦学习(FL)能够在保护隐私的前提下对大型语言模型(LLM)进行微调,但巨大的通信开销仍然是一个关键瓶颈。此外,在FL中应用低秩适配(LoRA)面临着准确的乘积之和(SoP)实现与通信高效的和之积(PoS)实现之间的根本性“聚合困境”。为应对这些挑战,我们提出了FedFit。首先,为显著降低通信开销,我们引入了一种不相交共享向量库参数化方法,通过两个紧凑且互不相交的全局向量库重构高维适配器矩阵。其次,为解决聚合困境,我们设计了一种交替优化方案。该方案在解耦的单向量库更新(支持准确聚合)与通过残差谱聚合机制校正的联合更新之间循环交替,从而解决SoP与PoS之间的冲突。此外,我们结合分块量化与客户端侧误差反馈,进一步压缩传输的向量。我们还为所提出的算法建立了理论收敛保证。在Qwen2.5模型上的大量实验表明,FedFit实现了与标准联邦LoRA方法相当的困惑度性能,同时提供最高达100倍的压缩比。

arXiv cs.LG73

训练与验证的分离为何会出现?预训练骨干网络中的更新压力密度动力学

arXiv:2610.01425v1 公告类型:新提交 摘要:训练与验证的分离,是指模型在已观测训练样本与有限的留出验证集上表现之间不断演变的差异。我们提出一种动态结构性解释,说明这一差距如何在预训练模型的适配过程中形成:持续拟合可能使更新需求从可广泛复用的支撑转向更狭窄、对留出数据迁移能力更弱的支撑。一个条件局部模型将这种转变与梯度分配异质性的增加以及训练与验证的分离联系起来。固定的训练探针使这种结构演变可以被观测,而无需将验证样本纳入读出指标;留出数据上的表现则被单独用于评估这种演变与差距的关系。在使用残差多层感知机(ResMLP)实现的一个构造层级结构中,保持四个共享特征层级之间的相对混合比例为 $1{:}2{:}3{:}4$,同时将样本私有特征的目标占比从 $p=.3$ 增至 $.5$ 再增至 $.7$,每种条件下运行五次得到的最终平均准确率差距相应从 $.185$ 增至 $.331$ 再增至 $.527$。在训练样本和验证样本上分别测得的掩码输入损失揭示了相应的迁移不对称性。自然语言处理(NLP)分析使用 RoBERTa、DeBERTa 和 Qwen,在六个数据集上开展每次 10 个训练轮次的实验(共 90 次运行):在全部 90 次运行中,以训练探针加权的类内离散度和总体离散度这两种读出指标,其原始值和平滑值均与准确率差距呈正相关。以约一个训练轮次的间隔配对的原始变化量,分别在 86/90 和 87/90 次运行中仍呈正相关。一项持续 40 个训练轮次的 ResNet-18 研究在三个视觉数据集上检验了这两种读出指标。总体而言,受控模拟、NLP 和视觉实验在不同场景下均支持这一动态结构性解释,其中真实模型的证据通过指定的监测指标检验了该解释的可观测预测。

arXiv cs.LG69

Minimax Optimal Regret for Causal Logistic Bandits with Counterfactual Fairness

arXiv:2610.01377v1 Announce Type: new Abstract: We study causal logistic bandits with counterfactual fairness constraints. The causal structure is given through known factual and counterfactual feature maps that share an unknown logistic reward parameter, but the learner observes only factual rewards. Consequently, the directions determining counterfactual feasibility need not be identifiable from the available feedback. The closest prior analyses either omit a coverage condition or impose a comparatively strong one, and do not establish matching lower bounds. We first show that some coverage condition is necessary: without a coverage-type restriction, factually indistinguishable environments with different optimal fair actions force $\Omega(T)$ expected joint loss. Under a weaker full-rank condition on the factual covariance pooled across actions, we identify a target-specific information scale $V_\star$ that measures the difficulty of estimating rewards and counterfactual effects from factual feedback. We construct worst-case families satisfying this condition on which every policy incurs expected joint loss $\Omega\left(\left[V_\star\min\{\log K,d\}\right]^{1/3}T^{2/3}\right)$. We also give an explore--then--exploit procedure tuned using $V_\star$ and an adaptive algorithm that does not require its value. Both algorithms achieve $\max\{R_T,V_T\}=\widetilde{O}\left(\left[V_\star\min\{\log K,d\}\right]^{1/3}T^{2/3}+\kappa d/\sigma_0^2\right)$, where $R_T$ is regret relative to the best fair action and $V_T$ denotes the cumulative stage-wise positive violations. Thus the upper and lower bounds match in their leading dependence on $T$, $V_\star$, and $\min\{\log K,d\}$, up to logarithmic factors.

arXiv cs.LG76

强化学习扩展真的需要更多训练吗?

arXiv:2610.01133v1 公告类型:新 摘要:推理扩展通常会在强化学习(RL)或推理阶段投入更多计算资源。我们表明,一段已经完成的 RL 训练历史能够产生强于其优化器曾访问过的检查点的策略。我们将其称为策略空间扩展:在不延长训练时间或增加单次查询推理计算量的情况下,扩大从固定 RL 历史中可获得的可部署策略集合。我们通过 SURGE(Scaling Up RL Gradient-free via Eigenspace fusion)实现了这一方法。SURGE 将同一 RL 运行中的两个检查点结合起来:一个高准确率的锚点,以及一个具有竞争力且生成更短回答的供体。它将两个检查点都表示为相对于共同初始化的变化,然后对锚点的更新进行谱分解,保留其主导成分,并融合供体的互补成分。在固定锚点更新保留比例目标的情况下,SURGE 无需测试候选策略,即可根据权重确定块大小。我们评估了两个 1.5B 数学推理训练历史(DeepSeek 和 Nemotron)以及一个 7B 编程训练历史(OLMo)。与两个输入检查点相比,SURGE 提高了基准平均准确率,同时使用的推理 token 少于锚点。在 DeepSeek AIME24 上,SURGE 达到 54.17%,高于实测原生最大值 50.83%;在 OLMo HumanEval+ 上达到 83.7%,高于 82.8%。这些提升超过了观测到的训练曲线。几何控制实验表明,除了权重位移或 token 减少本身之外,RL 更新的结构也十分重要。每个构造出的模型都作为单一策略运行。我们的研究表明,存储的 RL 历史是一种可复用的扩展资源:一次训练运行所能提供的能力,不必止步于其最佳检查点。

arXiv cs.LG78

GUI-HARVEST:通过证据驱动的工具链演化实现自我改进的 GUI 智能体

arXiv:2610.00948v1 公告类型:新 摘要:GUI 模型周围的可执行工具链决定了如何组织观测、执行动作,以及控制验证、恢复和终止。与非 GUI 智能体的工具链优化相比,自动优化这一工具链面临三个相互耦合的挑战:协调模型意图与观测到的视觉效果;在执行结果具有变化性的情况下诊断失败;识别跨任务反复出现的失败模式,并将其转化为可复用的运行时修改。我们提出 GUI-HARVEST,这是一种自动工具链优化器,可在骨干模型冻结的情况下实现自我改进的 GUI 智能体。首先,为使诊断以观测到的动作效果为依据,它将模型输出和已执行的动作与前后截图对齐,把发现的问题关联到具体的界面转换。其次,为应对执行变化性,它将同一任务的多次运行视为一个联合证据单元,通过任务内比较定位与结果相关的行为差异。第三,它汇总跨任务验证过的发现,形成反复出现的失败模式,将其映射为有界的源代码修改,并在评估前记录预测结果;随后通过重复执行,在任务性能之外检验预测的行为影响。在 OSWorld-Verified 上的实验表明,GUI-HARVEST 在六个通用开源、GUI 专用开源及专有骨干模型上均取得了稳定的留出集提升;Qwen3-VL-32B-Instruct 在完整测试套件上的得分提升了 12.33 个百分点。在无需进一步优化的情况下,冻结工具链迁移使 GPT-5 在 50 步限制下于 WindowsAgentArena 上提升了 13.87 个百分点。在使用相同骨干模型和初始工具链的条件下,GUI-HARVEST 的表现优于 Self-Harness 和 Meta-Harness,这表明面向 GUI 的诊断与验证有助于使工具链改进泛化到未见任务。代码可在 https://github.com/GaryYang12345/GUI-HARVEST 获取。

arXiv cs.LG79

适配前先锐化:面向测试时强化学习的无数据初始状态锐化

arXiv:2610.00903v1 公告类型:新 摘要:测试时强化学习(TTRL)利用模型自身采样所产生的监督信号,在无标签测试题目上适配语言模型。这使得检查点的“初始状态”变得至关重要:分散的策略会提供噪声更大的自监督信号,并且可能在可靠地展现其已经具备的能力之前,先花费大量有限的适配预算来集中概率质量。我们提出“初始状态锐化”:在TTRL之前进行无数据训练,将通用检查点预先调整到一种状态,使后续的无标签适配能够更高效地加以利用。该思想并不局限于某一种训练方案;不同的无数据目标可以将同一个基础模型带入不同的初始状态。我们从Qwen3-4B构建了五个无数据检查点,并在完全相同的15步TTRL协议下进行评估。结果表明,初始策略熵能够强力排序终点转换效率——这是一种从可靠性到可达性的度量(Spearman $\rho=-0.90$;控制初始可达性后为$\rho=-0.99$)。不同目标之间的差异十分显著:R-Zero的策略仍然较为分散,熵为$3.39$纳特,并且在MATH、GPQA和AMC上的6/6组配对比较中,最终表现均低于未经调优的基础模型;而SPIRAL的熵达到$0.07$纳特,在MATH和GPQA上取得了TTRL后的最高准确率,尽管其自博弈阶段没有使用任何数学训练数据。进一步的域内无标签自蒸馏干预表明,初始状态可以被有意地锐化。这些结果促使我们将检查点准备视为一个“状态控制问题”:利用无数据训练来提升TTRL就绪度,以初始熵作为无标签控制信号,并以可达能力作为约束。

arXiv cs.LG81

在智能体编程任务上进行 RL 的跨基准迁移

arXiv:2610.00890v1 公告类型:新 摘要:编程智能体常常在最后一步功亏一篑:它们完成了大部分功能,却遗漏了一项要求;只测试实现已经能够处理的情况;破坏原本应保持不变的行为;或者依据未经核验的假设进行验证。我们探究了在专家构建的智能体编程任务上进行强化学习(RL)能否弥合这一差距,以及智能体所学内容能否迁移到训练分布之外。我们仅使用 RL 对 Kimi K2.7 Code 进行后训练。这是一个拥有 1T 参数(32B 激活)的开放权重混合专家模型,训练数据包含 1,700 个任务:其中 1,000 个为仓库任务,根据隐藏的 fail-to-pass 测试和针对现有行为的 pass-to-pass 测试进行评分;700 个为终端任务,根据专家编写的隐藏验证器进行评分。奖励是通过的目标检查项所占的比例;如果任一 pass-to-pass 测试失败,奖励则降为零。在三个智能体框架上进行评估时,使用秩为 32 的 LoRA 适配器执行一轮 GSPO,使六个外部基准上的 pass@1 均得到提升:SWE-Bench Pro(60.1 提升至 64.8)、DeepSWE(31.0 提升至 43.4)、Terminal-Bench 2.1(67.4 提升至 82.0)、Terminal-Bench 3(1.4 提升至 12.1)、Terminal-Bench 4(0.0 提升至 7.6)以及 SWE-Marathon(5.0 提升至 25.0)。将五个相互独立的任务集汇总后(Terminal-Bench 4 修订了 Terminal-Bench 3),提升具有统计显著性(p < 0.001);在训练数据收集之后发布的三个任务集上,提升仍具有显著性(p = 0.004)。在训练中从未使用的两种智能体框架上,模型同样取得了提升。在 DeepSWE 和 Terminal-Bench 3 上,中位数轨迹的智能体步骤数缩短了 24%–35%。基础模型在 DeepSWE 上失败的运行大多属于差一点成功的情况;而在训练模型新解决的任务中,成对轨迹显示,它避开了上述四种失败模式中的每一种。

arXiv cs.LG79

匹配分布,而非计算量:训练后多词元预测头

arXiv:2610.00888v1 公告类型:新增 摘要:多词元预测(MTP)通过使语言模型在每次前向传播中起草多个后续词元,提高自回归生成的吞吐量;同时,对起草词元进行验证可确保骨干模型的词元分布得到保留。所有已公开的 MTP 系列模型(MiMo-7B、DeepSeek-V3、Qwen3)都在数万亿词元的完整预训练过程中与骨干模型联合训练,因此在预训练阶段确定了起草器的质量。我们探究:在冻结的推理模型上,仅对目标模型生成的思维链进行一次轻量级训练后处理,是否足以达到相同的预期吞吐量加速效果;并研究如何优化基于此类检查点构建的服务时系统。我们得到三个发现。1)对于采用 $K{=}3$ 个链式 MTP 头的冻结 Qwen3-8B,我们表明,在约 $\approx\!2.5$B 个词元上使用普通交叉熵的训练后处理方案,在数学、代码和知识基准测试上达到了或超过了联合训练 MiMo-7B 的预期加速效果。与联合预训练 MiMO-7B MTP 基线相比,我们的训练后处理方案所使用的 MTP 训练词元减少了 $10^3$--$10^4$ 倍。2)我们提出了一种具备链感知能力的起草词元验证规则松弛方案,允许词元分布相对于骨干语言模型发生有界偏移。我们表明,在保持任务准确率的同时,该松弛方案使每个基准测试的预期加速提升了 $+12$ 至 $+16\%$。3)我们提出了一种自适应控制器,可在推理时动态选择启用的 MTP 头数量,并证明在固定最大 MTP 起草长度的情况下,可以恢复速度加速损失的 $11$--$14\%$。

arXiv cs.LG71

SHARPO: Segment-Level Credit Assignment for Agentic Reinforcement Learning

arXiv:2610.00838v1 Announce Type: new Abstract: Agentic reinforcement learning (RL) trains a large language model (LLM) to act over long, multi-step interactions. However, a single localized error can cause task failure, while trajectory-level rewards provide limited guidance for assigning credit to individual decisions. To address this limitation, we introduce Segment-level Hindsight Advantage Reweighting for Policy Optimization (SHARPO), a credit-assignment mechanism that refines Group Relative Policy Optimization (GRPO) at the level of environment-facing segments. Inspired by the existing on-policy self-distillation (OPSD) method, SHARPO computes teacher-student log-probability gaps within each segment and uses the resulting signal to compute a bounded multiplier on the GRPO advantage. This multiplier is shared by all tokens within the segment, allowing credit to vary across different segments. With Qwen2.5-7B-Instruct, SHARPO outperforms existing baselines on the ALFWorld and WebShop benchmarks, including GRPO, SDAR, RLSD, and StepOPSD.

arXiv cs.LG77

面向训练感知的目标覆盖率合成数据选择

arXiv:2610.00814v1 公告类型:新 摘要:合成数据正日益被用于扩展 LLM 训练规模,然而,更多的合成数据并不一定能产生更好的模型。有用的合成数据必须为目标任务补充相关信息,同时不能引入抵消其收益的错误;而且,随着训练集不断扩大,一个样本的价值也可能发生变化。我们建立了一个线性理论,用于刻画这种权衡关系,并确定合成数据在何时有用、应添加多少数据,以及向现有数据集添加一个样本的边际价值。分析表明,在何种条件下仅凭输入覆盖率就已足够,以及何时还必须考虑合成错误。在这些结果的指导下,我们提出了 \emph{Training-Aware Target Coverage}(TATC),一种用于 LLM 微调的合成数据选择方法。TATC 识别出其训练效果有利于目标任务的候选样本,并从中进行选择,以扩展现有数据尚未覆盖的、与目标相关的方向。针对文本和图像数据的实验验证了线性理论。对于数学推理任务,TATC 为微调 Qwen2.5-Math-1.5B-Instruct 选择合成解答,并在不同选择预算下于 GSM8K 上优于其他合成数据选择方法。总而言之,我们通过量化并最大化合成数据对目标任务的价值,为合成数据选择提供了一种有理论依据的方法。

arXiv cs.LG79

量化与高效适配蛋白质语言模型的分析

arXiv:2610.00665v1 公告类型:新 摘要:背景:蛋白质语言模型(PLM)越来越多地用于序列生成和性质预测,但其规模使微调和部署成本高昂。量化和参数高效微调对性能、表征及生成的影响仍缺乏充分表征。结果:我们在 ESM-2、ESMC、ProtBERT、ProtT5、Ankh、Ankh3 和 Profluent-E1 上评估了 4 位量化和低秩适配器微调(QLoRA)。在各类蛋白质预测任务中,许多模型—任务组合保留了超过完整微调性能 90% 的表现。对于规模最大的模型,GPU 峰值内存节省接近 90%,但性能和效率因模型、数据集及训练配置而异。QLoRA 通常能够保留早期层的表征,同时在中间层和后期层引入任务特异性适配,其效果类似于完整微调,但表征变化更小。训练速度和功耗方面的影响则更加多样。对于使用 ProLLaMA、ProtGPT2、ProGen2、ProteinGLM 和 ESM3 进行的无条件生成,4 位量化基本保留了预测的结构和序列级性质,但词元级分析揭示了自回归输出分布中依赖于模型的偏移。结论:QLoRA 和 4 位量化降低了 PLM 的计算需求,尤其是 GPU 内存占用。我们的结果支持将 QLoRA 作为内存受限适配的首选初步策略,而对于具有挑战性的任务、不稳定的架构或验证集性能恢复较低的情况,则保留使用完整微调。对于生成式 PLM,应将序列级和结构指标与分布分析结合起来,因为仅依赖下游预测可能无法发现量化引起的偏移。这些方法能够扩大大规模蛋白质建模的使用范围,但仍需要针对具体模型和任务进行验证。

arXiv cs.LG78

每个批次都是自己的验证集:用于 LLM 微调的留一法梯度匹配在线数据选择

arXiv:2610.00436v1 公告类型:新 摘要:在线批次选择在每个候选批次中选取最有用的部分来微调语言模型。匹配候选批次梯度的选择器颇具吸引力,因为它们不需要留出数据,但其表现却很少超过使用整个批次进行训练。我们揭示了其中的原因。样本内梯度匹配将每个样本都作为自身目标的一部分,因此其目标函数会将每个样本自身的梯度噪声计入功劳。这正是导致训练误差过于乐观的协方差惩罚,只不过现在它位于梯度 Gram 矩阵的对角线上:它会引导选择过程偏向噪声最大的样本,并使完整批次成为该目标函数所能达到的最佳解。修复这一问题无需额外成本。对于每个样本而言,其他候选样本构成了数据分布的独立样本,因此移除对角线后,匹配目标就变成了一个关于更新相对于总体梯度误差的无偏估计。该留一法目标的最小化解会根据样本梯度的信噪比(SNR)为其赋予权重;当样本级 SNR 的异质性足够高时,半个批次能够得到比整个批次误差更低的更新;我们给出了确切条件。我们基于这一原理构建了 \method{}。它在常规反向传播过程中,使用 Adam 预条件器的度量计算 Gram 矩阵,以贪心方式选择一个带权子集,并提供 $(1-e^{-\gamma})$ 保证,同时不使用任何留出数据。在四项微调任务和七个参数量介于 1.5B 至 8B 之间的骨干模型上,LOOM 相比全批次训练,在 Llama-3.1-8B 和 Qwen2.5-7B 上分别提升 2.3 和 2.4 个百分点;相比所有样本内梯度匹配方法提升 2.4 个百分点,相比验证集引导的 GREATS 和 OPUS 提升 1.6--2.0 个百分点;此外,其选中的注入标签噪声比例低于基础比例的五分之一。

arXiv cs.LG78

IrekoGPT:将结构化剪枝转化为事后可变宽度大语言模型

arXiv:2610.00426v1 公告类型:新 摘要:我们提出了 IrekoGPT,这是一种事后方法,可将预训练大语言模型转换为可变宽度模型,使其宽度能够在推理时进行调整。在 SliceGPT 的基础上,我们保留其投影矩阵而不对其进行剪枝,使单个模型能够以不同宽度呈现嵌套子网络。我们通过在多个压缩比下对每一层进行校准来提升鲁棒性,并通过无梯度岭回归校正下游线性层。在 Llama 和 Qwen 模型上的初步结果表明,相较于基于朴素 PCA 的瘦身方法,我们的方法取得了更好的效果,并且在高压缩率下的提升最大。代码可在 https://github.com/aimagelab/IrekoGPT 获取

arXiv cs.LG78

CommunityKV:通过图划分实现高效的长上下文解码

arXiv:2610.00418v1 公告类型:新 摘要:将 Transformer 扩展到长上下文面临两项限制:自注意力的二次成本,以及键值缓存内存传输量的线性增长。稀疏注意力通过仅检索相关 token 缓解了这一问题,但现有方法要么需要大规模训练,要么在免训练场景下依赖语义粒度较粗的启发式方法,或依赖难以在解码过程中高效更新的高成本聚类。我们提出 CommunityKV,这是一种将稀疏注意力表述为社区检测问题的框架。CommunityKV 利用标准预填充过程中已经计算出的 $QK^T$ 分数构建 token 图,并将图划分为多个社区,以实现对语义一致的 token 组进行检索。局部更新规则可在常数时间内将新生成的 token 分配到相应社区,从而无需进行全局重新划分,即可在流式解码过程中持续执行稀疏检索。我们在三个长上下文基准上,使用 Qwen3 和 Llama-3.1 模型对 CommunityKV 进行了评估。每个查询头使用一张图时,CommunityKV 在端到端生成吞吐量方面最高可达到稠密注意力的 1.25 倍;而查询组图聚合在保持相当准确率的同时,最高可达到 1.71 倍。

arXiv cs.LG79

EchoPress:通过虚拟上下文重构实现与查询无关的 KV Cache 剪枝

arXiv:2610.00412v1 公告类型:新 摘要:KV 缓存剪枝通过驱逐不太重要的键值对,降低长上下文推理的内存使用量。KVzip 通过上下文重构来估计重要性:提示模型逐块重复上下文。这种方法能够实现高质量压缩,但代价是需要额外的前向传播。基于学习的近似方法可以降低这一成本,但需要针对特定模型进行训练。我们分析了 KVzip 如何识别缓存中的重要信息,并展示了如何利用预填充过程中已经计算的信息来近似其重构得分。这些发现促成了 EchoPress——一种无需训练的方法,它利用标准预填充中的查询和键来近似重构注意力。对于每个请求,该方法仅重构第一个块,以校准剩余上下文的重要性得分。在使用 Qwen3-8B 和 Llama-3.1-8B-Instruct 于 LongBench 和 RULER 上进行的实验中,EchoPress 在 50% 至 90% 的驱逐比例范围内,任务准确率与 KVzip 相当,同时将压缩开销降低了 1.7 至 19.6 倍,并将总预填充时间最多降低了 2.9 倍。代码可在 https://github.com/ljwljwljwljw/kvpress/tree/echo-press 获取。

arXiv cs.LG74

分叉:回放下的突然过拟合

arXiv:2610.00394v1 公告类型:新论文 摘要:本文研究了分叉(forking)这一在 NanoGPT 自动研究中发现的泛化失败现象。在数据回放条件下,带有过度编码 n-gram 记忆分支的模型会在训练轮次边界处出现训练损失与验证损失的明显分离,其形状类似于分叉。我们在受控的原生 NanoGPT 设置中研究了这一现象,并在采用 Engram 的 DeepSeek 风格模型中复现了该现象。从机制上看,重复更新会强化训练数据中观察到的后续内容,同时抑制未见后续内容的概率,而后者的损失会随着每次遍历而增长。n-gram 模块会产生相互作用较弱的、特定于上下文的子空间,从而放大这一效应。低频上下文对损失差距的贡献最大,而更大的训练预算和高度拥挤的表会抑制该现象。我们还在短训练预算、重复程度很高的 SFT 和类 RL 环境中观察到了分叉现象。本文有两点贡献:(1)除 grokking 和双重下降之外,分叉揭示了深度学习中的又一种奇特现象。(2)分叉是自动研究代理所提出技巧带来的一个出乎意料且令人不快的副产品。尽管这些代理会产生数量极其庞大、看似有用的结果,但我们始终应当谨慎对待它们的结果。

arXiv cs.LG72

MatrixReward:用于开放式生成的评分标准矩阵奖励

arXiv:2610.00389v1 公告类型:新 摘要:开放式查询生成缺乏标准答案,因此需要一种有效的奖励机制。逐点评分标准无法充分反映同一提示下不同样本答案之间的相对质量;将多个评分标准的判断合并为单一分数,也可能掩盖这些答案之间的差异。我们提出 MatrixReward,通过比较每个评分标准下采样响应的所有成对组合,构建由 rollout-评分标准胜率矩阵得到的奖励。矩阵每一列的离散程度反映相应评分标准区分当前 rollout 的能力,而列与列之间的相关性则揭示评分标准的重复程度;结合这两类统计量,可以得到依赖数据的评分标准权重。我们将这些权重与评分标准的先验权重相结合。在进行列归一化和加权后,观测到的各评分标准最大值和最小值分别定义正理想特征和负理想特征。每个 rollout 到这两个理想特征的距离决定其相对接近度质量奖励。在四个开放式问答基准上使用 Qwen3-8B 进行评估时,MatrixReward 的平均得分达到 63.02,较最强基线高出约 2.0%。这些结果支持这样一种观点:由相对比较得到的矩阵可以更合理地为开放式生成强化学习构建奖励。

arXiv cs.LG71

FAER:面向效用对齐且可审计的语言模型后训练轨迹回放

arXiv:2610.00385v1 公告类型:new 摘要:回放选择器通常依据格式反馈、置信度、新鲜度或响应长度对缓存轨迹进行排序,然而缓存级正确性与下游学习器效用是两个不同的目标。我们形式化了这一选择到学习的差距,并提出 FAER,作为一种可审计的全轨迹回放框架。其无需训练的固定选择器是一个协议基线;FAER-UTILITY 则是在互不相交的校准块上拟合的学习器感知选择器。归一化梯度对齐作为基线进行报告,同时通过一次性、感知优化器的虚拟更新提供考虑幅度的效用曲面。在评估标签合并之前,审计契约会冻结已观测字段和回放轨迹。在 GSM8K 上使用 Qwen2.5-1.5B-Instruct 进行的匹配学习器研究表明,在 128 次更新下,固定选择器的质量为 0.6329,相比之下,均匀选择器为 0.5482,格式反馈选择器为 0.6037。仅使用元数据的交叉拟合校准在八个随机种子上达到 $0.6476\!\pm\!0.0139$(中位数为 0.6481;配对 95% 区间为 $[+0.079,+0.122]$),目标运行使用 63,276 个词元;其记录的总成本为 189,642 个词元和 3.48 个 GPU 小时,其中包括校准。完整的 FAER-UTILITY 行在目标运行使用 62,844 个词元,并达到 0.6624,耗时 4.26 个 GPU 小时。格式反馈选择出的记录正确率为 0.6953,而固定选择器为 0.3594,尽管二者的下游排序不同。完整的比较结果展示了学习器感知消融实验、相同随机种子下的差距、策略优化结果行以及严格零样本迁移。

arXiv cs.LG81

MoRA:通过路由器偏置学习与专家近似进行 MoE 剪枝

arXiv:2610.00367v1 公告类型:新 摘要:混合专家(MoE)模型通过为每个 token 仅激活少量专家,在有限的单 token 计算量下实现参数规模扩展,但部署这些模型仍需要将完整的专家池加载到内存中。结构化专家剪枝通过移除专家,可以有效降低内存使用量。然而,现有剪枝方法要么采用与模型性能不够契合的专家排序标准,要么依赖计算开销较大的有效专家子集搜索。此外,这些方法通常忽视了保留专家之间路由行为的冗余性。本文提出了通过路由器偏置学习与专家近似进行 MoE 专家剪枝的方法(MoRA),这是一种结构化 MoE 专家剪枝框架。我们为每个专家引入可学习的路由器偏置,并通过最小化语言建模损失和路由多样性正则项来优化这些偏置。学习得到的路由器偏置能够使路由概率分布更加尖锐,从而识别出对模型性能至关重要的专家,同时鼓励选择具有多样化路由偏好的专家。此外,我们引入了一种专家近似机制,作为剪枝后的增强手段。该机制利用剩余专家通过仿射变换近似被剪枝专家的输出,进一步提升剪枝模型的性能。我们在 Qwen3-30B-A3B、DeepSeek-V2-Lite 和 Moonlight-16B-A3B 上评估了 MoRA,在每个 MoE 层中移除 25\% 和 50\% 的路由专家。在九个零样本基准上的大量实验表明,MoRA 的性能优于当前最先进的剪枝算法。我们的代码将会发布。

arXiv cs.LG68

Sharp Oracle-Regret Tradeoffs for Projection-Free Online Convex Optimization

arXiv:2610.00254v1 Announce Type: new Abstract: We characterize the regret attainable in online convex optimization when access to the feasible set is limited to an exact linear optimization oracle. The learner is given an inscribed ball and a diameter bound and must remain feasible on every consistent instance. For convex $G$-Lipschitz losses, diameter at most $D$, a total allowance of $Q$ oracle calls, and a strict limit of $B$ calls per round, the dimension-free minimax expected regret is $\Theta(GD\max\{\sqrt T,T/(1+\min\{Q,BT\})^{1/4}\})$. The lower bound applies to arbitrary randomized learners. Universal feasibility first forces each action into the hull of the supplied ball and the preceding oracle replies. A fixed-body construction then couples fresh phase directions to a shared simplex, making useful replies costly repeatedly even though all losses have a common minimizer. A counted approximate-gradient method with interleaved blocks attains the matching rate. Total-budget and strict per-round guarantees follow as special cases, including the $T^{3/4}$ rate with one call per round and the quadratic total budget needed for $\sqrt T$ regret. For prescribed smoothness $\beta$, an analytic construction yields a curvature-dependent lower bound and identifies the threshold above which the general characterization remains sharp.

BAIR Blog73

Adaptive Parallel Reasoning: The Next Paradigm in Efficient Inference Scaling

Adaptive Parallel Reasoning overview Overview of adaptive parallel reasoning. What if a reasoning model could decide for itself when to decompose and parallelize independent subtasks, how many concurrent threads to spawn, and how to coordinate them based on the problem at hand? We provide a detailed analysis of recent progress in the field of parallel reasoning, especially Adaptive Parallel Reasoning. Disclosure: this post is part landscape survey, part perspective on adaptive parallel reasoning. One of the authors (Tony Lian) co-led ThreadWeaver ( Lian et al., 2025 ), one of the methods discussed below. The authors aim to present each approach on its own terms. Motivation Recent progress in LLM reasoning capabilities has been largely driven by inference-time scaling, in addition to data and parameter scaling ( OpenAI et al., 2024 ; DeepSeek-AI et al., 2025 ). Models that explicitly output reasoning tokens (through intermediate steps, backtracking, and exploration) now dominate math, coding, and agentic benchmarks. These behaviors allow models to explore alternative hypotheses, correct earlier mistakes, and synthesize conclusions rather than committing to a single solution ( Wen et al., 2025 ). The problem is that sequential reasoning scales linearly with the amount of exploration. Scaling sequential reasoning tokens comes at a cost, as models risk exceeding effective context limits ( Hsieh et al., 2024 ). The accumulation of intermediate exploration paths makes it challenging for the model to disambiguate amongst distractors when attending to information in its context, leading to a degradation of model performance, also known as context-rot ( Hong, Troynikov and Huber, 2025 ). Latency also grows proportionally with reasoning length. For complex tasks requiring millions of tokens for exploration and planning, it’s not uncommon to see users wait tens of minutes or even hours for an answer ( Qu et al., 2025 ). As we continue to scale along the output sequence length dimension, we also make inference slower, less reliable, and more compute-intensive. Parallel reasoning has emerged as a natural solution. Instead of exploring paths sequentially ( Gandhi et al., 2024 ) and accumulating the context window at every step, we can allow models to explore multiple threads independently (threads don’t rely on each other’s context) and concurrently (threads can be executed at the same time). Figure 1: Sequential vs. Parallel Reasoning Figure 1: Sequential vs. Parallel Reasoning Over recent years, a growing body of work has explored this idea across synthetic settings (e.g., the Countdown game ( Katz, Kokel and Sreedharan, 2025 )), real-world math problems, and general reasoning tasks. From Fixed Parallelism to Adaptive Control Existing approaches show that parallel reasoning can help, but most of them still decide the parallel structure outside the model rather than letting the model choose it. Simple fork-and-join. Self-consistency/Majority Voting — independently sample multiple complete reasoning traces, extract final answer from each, and return the most common one ( Wang et al., 2023 ). Best-of-N (BoN) — similar to self-consistency, but uses a trained verifier to select the best solution instead of using majority voting ( Stiennon et al., 2022 ). Although simple to implement, these methods often incur redundant computation across branches since trajectories are sampled independently. Heuristic-based structured search. Tree / Graph / Skeleton of Thoughts — a family of structured decomposition methods that explores multiple alternative “thoughts” using known search algorithms (BFS/DFS) and prunes via LLM-based evaluation ( Yao et al., 2023 ; Besta et al., 2024 ; Ning et al., 2024 ). Monte-Carlo Tree Search (MCTS) — estimates node values by sampling random rollouts and expands the search tree with Upper Confidence Bound (UCB) style exploration-exploitation ( Xie et al., 2024 ; Zhang et al., 2024 ). These methods improve upon simple fork-and-join by decomposing tasks into non-overlapping subtasks; however, they require prior knowledge about the decomposition strategy, which is not always known. Recent variants. ParaThinker — trains a model to run in two fixed stages: first generating multiple reasoning threads in parallel, then synthesizing them. They introduce trainable control tokens ( ) and thought-specific positional embeddings to enforce independence during reasoning and controlled integration during summarization via a two-phase attention mask ( Wen et al., 2025 ). GroupThink — multiple parallel reasoning threads can see each other’s partial progress at token level and adapt mid-generation. Unlike prior concurrent methods that operate on independent requests, GroupThink runs a single LLM producing multiple interdependent reasoning trajectories simultaneously ( Hsu et al., 2025 ). Hogwild! Inference — multiple parallel reasoning threads share KV cache and decide how to decompose tasks without an explicit coordination protocol. Workers generate concurrently into a shared attention cache using RoPE to stitch together individual KV blocks in different orders without recomputation ( Rodionov et al., 2025 ). Figure 2: Various Strategies for Parallel Reasoning Figure 2: Various Strategies for Parallel Reasoning The methods above share a common limitation: the decision to parallelize, the level of parallelization, and the search strategy are imposed on the model, regardless of whether the problem actually benefits from it. However, different problems need different levels of parallelization, and that is something critical to the effectiveness of parallelization. For example, a framework that applies the same parallel structure to “What’s 25+42?” and “What’s the smallest planar region in which you can continuously rotate a unit-length line segment by 180°?” is wasting compute on the former and probably using the wrong decomposition strategy for the latter. In the approaches described above, the model is not taught this adaptive behavior. A natural question arises: What if the model could decide for itself when to parallelize, how many threads to spawn, and how to coordinate them based on the problem at hand? Adaptive Parallel Reasoning (APR) answers this question by making parallelization part of the model’s generated control flow. Formally defined, adaptivity refers to the model’s ability to dynamically allocate compute between parallel and serial operations at inference time . In other words, a model with adaptive parallel reasoning (APR) capability is taught to coordinate its control flow — when to generate sequences sequentially vs. in parallel. It’s important to note that the concept of adaptive parallel reasoning was introduced by the work Learning Adaptive Parallel Reasoning with Language Models ( Pan et al., 2025 ), but is a paradigm rather than a specific method. Throughout this post, APR refers to the paradigm, while “ the APR method ” denotes the specific instantiation from Pan et al. (2025). This shift matters for three reasons. Compared to Tree-of-Thoughts, APR doesn’t need domain-specific heuristics for decomposition. During RL, the model learns general decomposition strategies from trial and error. In fact, models discover useful parallelization patterns, such as running the next step along with the self-verification of a previous step, or hedging a primary approach with a backup one, in an emergent manner that would be difficult to hand-design ( Yao et al., 2023 ; Wu et al., 2025 ; Zheng et al., 2025 ). Compared to BoN, APR avoids redundant computation. APR models have control over what each parallel thread will do before branching out. Therefore, APR can learn to produce a set of unique, non-overlapping subtasks before assigning them to independent threads ( Wang et al., 2023 ; Stiennon et al., 2022 ; Pan et al., 2025 ; Yang et al., 2025 ). Compared to non-adaptive approaches, APR can choose not to parallelize. Adaptive models can adjust the level of parallelization to match the complexity of the problem against the complexity and overhead of parallelization ( Lian et al., 2025 ). In practice, this is implemented by having the model output special tokens that control when to reason in parallel versus sequentially. Below is a condensed ThreadWeaver-style trace: two outlines and two paths under a block, then the threads agree on a single boxed answer. Figure 3: Example of an Adaptive Parallel Reasoning Trajectory from ThreadWeaver, manually condensed for ease of illustration. Figure 3: Example of an Adaptive Parallel Reasoning Trajectory from ThreadWeaver, manually condensed for ease of illustration. Figure 4: Special Tokens Variants across Adaptive Parallel Reasoning Papers Figure 4: Special Tokens Variants across Adaptive Parallel Reasoning Papers Inference Systems for Adaptive Parallelism How do we actually execute parallel branches? We take inspiration from computer systems, and specifically, multithreading and multiprocessing. Most of this work can be viewed as leveraging a fork-join design. At inference time, we are effectively asking the model to perform a map-reduce operation: Fork the problem into subtasks/threads, process them concurrently Join them into a final answer Figure 5: Fork-join Inference Design Figure 5: Fork-join Inference Design Specifically, the model will encounter a list of subtasks. It will then prefill each of the subtasks and send them off as independent requests for the inference engine to process. These threads then decode concurrently until they hit an end token or exceed max length. This process blocks until all threads finish decoding and then aggregates the results. This is common across various adaptive parallel reasoning approaches. However, one issue arises during aggregation: the content generated in branches cannot be easily aggregated at the KV cache level. This is because tokens in independent threads start at identical position IDs, resulting in encoding overlap and non-standard behavior when merging KV cache back together. Similarly, since independent threads do not attend to each other, their concatenated KV cache results in a non-causal attention pattern, which the base model has not seen during training. To address this issue, the field splits into two schools of thought on how to execute the aggregation process, defined by whether they modify the inference engine or work around it. Multiverse modifies the inference engine to reuse KV cache across the join. Before taking a deeper look into Multiverse ( Yang et al., 2025 )’s memory management, let’s first understand how KV cache is handled up until the “join” phase. Notice how each of the independent threads share the prefix sequence, i.e., the list of subtasks. Without optimization, each thread needs to prefill and recompute the KV cache for the prefix sequence. However, this redundancy can be avoided with SGLang ’s RadixAttention ( Sheng et al., 2023 ), which organizes multiple requests into a radix tree, a trie (prefix tree) with sequences of elements of varying lengths instead of single elements. This way, the only new KV cache entries are those from independent thread generation. Figure 6: RadixAttention’s KV Cache Management Strategy Figure 6: RadixAttention’s KV Cache Management Strategy Now, if everything went well, all the independent threads have come back from the inference engine. Our goal is now to figure out how to synthesize them back into a single sequence to continue decoding for next steps. It turns out, we can reuse the KV cache of these independent threads during the synthesis stage. Specifically, Multiverse ( Yang et al., 2025 ), Parallel-R1 ( Zheng et al., 2025 ), and NPR ( Wu et al., 2025 ) modify the inference engine to copy over the KV cache generated by each thread and edits the page table so that it stitches together non-contiguous memory blocks into a single KV cache sequence. This avoids the redundant computation of a second prefill and reuses existing KV cache as much as possible. However, this has several major limitations. First, this approach requires modifying the inference engine to perform non-standard memory handling, which can result in unexpected behaviors. Specifically, since the synthesis request references KV cache from previous requests, it creates fragility in the system and the possibility of bad pointers. Another request can come in and evict the referenced KV cache before the synthesis request completes, requiring it to halt and trigger a re-prefilling of the previous thread request. This problem has led the Multiverse researchers ( Yang et al., 2025 ) to limit the batch size that the inference engine can handle, which restricts throughput. Figure 7: KV Cache “Stitching” During Multiverse Inference Figure 7: KV Cache “Stitching” During Multiverse Inference Second, this approach modifies how models see the sequence, which creates a distributional shift that models are not pretrained on, therefore requiring more extensive training to align behavior. Specifically, when we stitch together KV cache this way, we create a sequence with non-standard position encoding. During independent-thread generation, all threads started at the same position index and attended to the prior subtasks, NOT each other. So when the threads merge back, the resulting KV cache has a non-standard positional encoding and does not use causal attention. Therefore, this approach requires extensive training to align the model to this new behavior. To address this, Multiverse ( Yang et al., 2025 ) and related works apply a modified attention mask during training to prevent independent threads from attending to each other, aligning the training and inference behaviors. Figure 8: Multiverse’s Attention Mask Figure 8: Multiverse’s Attention Mask With these issues arising from non-standard KV cache management, can we try an approach without engine modifications? ThreadWeaver keeps the inference engine unchanged and moves orchestration to the client. ThreadWeaver ( Lian et al., 2025 ) treats parallel inference purely as a client-side problem. The “Fork” process is nearly identical to Multiverse’s, but the join phase handles memory very differently as it does NOT modify engine internals. Instead, the client concatenates all text outputs from independent branches into one contiguous sequence. Then, the engine performs a second prefill to generate the KV cache for the conclusion generation step. While this introduces computational redundancy that Multiverse tries to avoid, the cost of prefill is significantly lower than decoding. In addition, this does not require special attention handling during inference, as the second prefill uses causal attention (threads see each other), making it easier to adapt sequential autoregressive models for this task. Figure 9: ThreadWeaver’s Prefill and Decode Strategy Figure 9: ThreadWeaver’s Prefill and Decode Strategy How should we train a model to learn this behavior? Naively, for each parallel trajectory, we can break it down into multiple sequential pieces following our inference pattern. For instance, we would train the model to output the subtasks given prompt, individual threads given prompt+subtask assignment, and conclusion given prompt+subtasks+corresponding threads. However, this seems redundant and not compute efficient. Can we do better? Turns out, yes. As in ThreadWeaver ( Lian et al., 2025 ), we can organize a parallel trajectory into a prefix-tree (trie), flatten it into a single sequence, and apply an ancestor-only attention mask during training (not inference!). Figure 10: Building the Prefix-tree and Flattening into a single training sequence Figure 10: Building the Prefix-tree and Flattening into a single training sequence Specifically, we apply masking and position IDs to mimic the inference behavior, such that each thread is only conditioned on the prompt+subtasks, without ever attending to sibling threads or the final conclusion. The engine-agnostic design makes adoption easy since you don’t need to figure out a separate hosting method and can leverage existing hardware infra. It also gets better as existing inference engines get better. What’s more, with an engine-agnostic method, we can serve a hybrid model that switches between sequential and parallel thinking modes easily. Training Models to Use Parallelism Once the inference path exists, the next problem is teaching a model to use it. Demonstrations are needed because the model must learn to output special tokens that orchestrate control flow. We found the instruction-following capabilities of base models insufficient for generating parallel threads. An interesting question here is: does SFT training induce a fundamental reasoning capability for parallel execution that was previously absent, or does it merely align the model’s existing pre-trained capabilities to a specific control-flow token syntax. Typical wisdom is SFT teaches new knowledge; but contrary to common belief, some papers—notably Parallel-R1 ( Zheng et al., 2025 ) and NPR ( Wu et al., 2025 )—argue that their SFT demonstrations simply induce format following (i.e., how to structure parallel requests). We leave this as future work. Figure 11: Sources of Parallelization Demonstration Data Figure 11: Sources of Parallelization Demonstration Data Demonstrations teach the syntax of parallel control flow, but they do not fully solve the incentive problem. In an ideal world, we only need to reward the outcome accuracy, and the parallelization pattern emerges naturally given that it learns to output special tokens through SFT, similar to the emergence of long CoT. However, researchers ( Zheng et al., 2025 ) observed that this is not enough, and we do in fact need parallelization incentives. The question then becomes, how do we tell when the model is parallelizing effectively? Structure-only rewards are too easy to game. Naively, we can give a reward for the number of threads spawned. But models can spawn many short, useless threads to hack the reward. Okay, that doesn’t work. How about a binary reward for simply using parallel structure correctly? This partially solves the issue of models spamming new threads, but models still learn to spawn threads when they don’t need to. The authors of Parallel-R1 ( Zheng et al., 2025 ) introduced an alternating-schedule, only rewarding parallel structure 20% of the time, which successfully increased the use of parallel structure (13.6% → 63%), but had little impact on overall accuracy. With this structure-only approach, we might be drifting away from our original goal of increasing accuracy and reducing latency… How can we optimize for the Pareto frontier directly? Accuracy is simple — we just look at the outcome. How about latency? Efficiency rewards need to track the critical path. In sequential-only trajectories, we can measure latency based on the total number of tokens generated. To extend this to parallel trajectories, we can focus on the critical path, or the longest sequence of tokens that are causally dependent, as this directly determines our end-to-end generation time (i.e., wall-clock time). As an example, when there are two sections with five threads each, the critical path will go through the longest thread from the first parallel section, then any sequential tokens, then the longest thread from the second parallel section, and so on until the end of sequence. Figure 12: Critical Path Length Illustration Figure 12: Critical Path Length Illustration The goal is to minimize the length of the critical path. Simultaneously, we would still like the model to be spending tokens exploring threads in parallel. To combine the two objectives, we can focus on making the critical path a smaller fraction of the total tokens spent. Authors of ThreadWeaver ( Lian et al., 2025 ) framed the parallelization reward as $1 - L_{\mathrm{critical}} / L_{\mathrm{total}}$, which is 0 for a sequential trajectory, and increases linearly as the critical path gets smaller compared to the total tokens generated. Parallel efficiency should be gated by correctness. Intuitively, when multiple trajectories are correct we should assign more reward to the trajectories that are more efficient at parallelization. But how about when they are all incorrect? Should we assign any reward at all? Probably not. To formalize this, $R = R_{\mathrm{correctness}} + R_{\mathrm{parallel}}$. Assuming binary outcome correctness, this can be written as $R = \mathbf{1}(\text{Correctness}) + \mathbf{1}(\text{Correctness}) \times (\text{some parallelization metric})$. This way, a model only gets a parallelization reward when it answers correctly, since we don’t want to pose parallelization constraints on the model if it couldn’t answer the question correctly. Figure 13: Differences in Reward Designs Across Adaptive Parallel Reasoning Works Figure 13: Differences in Reward Designs Across Adaptive Parallel Reasoning Works Evaluation and Open Questions When all is said and done, how well do these adaptive parallel methods actually perform? Well…this is a hard question, as they differ in model choice and metrics. The model selection depends on the training method, SFT problem difficulty, and sequence length. When running SFT on difficult datasets like s1k, which contains graduate-level math and science problems, researchers chose a large base model (Qwen2.5 32B for Multiverse ( Yang et al., 2025 )) to capture the complex reasoning structure behind the solution trajectories. When running RL, researchers chose a small, non-CoT, instruct model (4B, 8B) due to compute cost constraints. Figure 14: Difference in Model Choice Across Adaptive Parallel Reasoning Papers Figure 14: Difference in Model Choice Across Adaptive Parallel Reasoning Papers Each paper also offers a slightly different interpretation about how adaptive parallel reasoning contributes to the research field. They optimize for different theoretical objectives, so they use slightly different sets of metrics: Multiverse and ThreadWeaver ( Yang et al., 2025 ; Lian et al., 2025 ) aim to deliver sequential-AR-model-level accuracy at faster speeds. Multiverse shows that APR models can achieve higher accuracy under the same fixed context window, while ThreadWeaver shows that the APR model achieves shorter end-to-end token latency (critical path length) while getting comparable accuracy. NPR ( Wu et al., 2025 ) treats sequential fallback as a failure mode and optimizes for 100% Genuine Parallelism Rate, measured as the ratio of parallel tokens to total tokens. Parallel-R1 ( Zheng et al., 2025 ) does not focus on end-to-end latency and instead optimizes for exploration diversity, presenting APR as a form of mid-training exploration scaffold that provides a performance boost after RL. Open Questions While Adaptive Parallel Reasoning represents a promising step toward more efficient inference-time scaling, significant open questions remain. As noted above, Parallel-R1 ( Zheng et al., 2025 ) presents APR as a form of mid-training exploration scaffold rather than a primarily inference-time technique. This invites a more fundamental question: Does parallelization at inference-time consistently improve accuracy, or is it primarily valuable as a training-time exploration scaffold? Parallel-R1 suggests that the diversity induced by parallel structure during RL may matter more than the parallelization itself at test time. A related concern is stability. There’s also a persistent tendency for models to collapse back to sequential reasoning when parallelization rewards are relaxed. Parallel-R1 authors showed that removing parallelization reward after 200 steps results in the model reverting to sequential behavior. Is this a training stability issue, a reward signal design issue, or evidence that parallel structure genuinely conflicts with how autoregressive pretraining shapes the model’s prior? Beyond whether APR works, deployment introduces its own questions. Can we design training methods that account for available compute budget at inference time, so parallelization decisions are hardware-aware rather than purely problem-driven? Finally, the parallel structures considered above are essentially flat. What if we allow parallelization depth > 1? Recursive language models (RLMs; Zhang, Kraska and Khattab, 2026 ) effectively manage long context and show promising inference-time scaling capabilities. How well do RLMs perform when trained with end-to-end RL that incentivizes adaptive parallelization? Acknowledgements We thank Nicholas Tomlin and Alane Suhr for providing us with helpful feedback. We thank Christopher Park, Karl Vilhelmsson, Nyx Iskandar , Georgia Zhou, Kaival Shah , and Jyoti Rani for their insightful suggestions. We thank Vijay Kethana , Jaewon Chang , Cameron Jordan , Syrielle Montariol , Erran Li, and Anya Ji for their valuable discussions. We thank Jiayi Pan , Xiuyu Li , and Alex Zhang for their constructive correspondences about Adaptive Parallel Reasoning and Recursive Language Models.

BAIR Blog79

Teaching LLMs to Update Beliefs for Efficient Long-Horizon Interaction

ABBEL overview Overview of ABBEL compared to traditional recursive summarization. Beliefs replace the full interaction history as the agent’s working context, and belief grading improves performance by supervising the contents of each belief state.. As task horizons grow, LLM contexts can’t scale forever. Self-summarization enables concise, interpretable contexts, but at a significant performance cost, especially for human assistance domains where high quality data is scarce, e.g., collaborative code generation. We address this with ABBEL : a framework that isolates and supervises the information content of summaries in the form of natural-language belief states. Motivation: the cost of recursive summarization For language models to effectively assist with increasingly complex tasks such as software development, they must be able to interact with us over hundreds or even thousands of steps. For such long tasks, it is impractical to keep the history of the entire interaction in context. The heuristic approach used so far has been summary generation, sometimes called context compaction. For example, Cursor’s latest model composer 2.5 uses compaction during training for improved performance ( Cassano et al., 2026 ). Alongside composer, Grandcode ( DeepReinforce et al., 2026 ), the first system to consistently beat all human competitors in online coding competitions, despite using one of the newest efficient attention models (Qwen 3.5-397B), 1 still found it necessary to employ context summarization. But compaction has a problem. Despite seemingly low performance gaps in benchmarks, model servers like Cursor continue to recommend that users avoid compaction with their coding assistants in the middle of a task ( Heule et al., 2026 ). To understand why, see below the performance over RL fine-tuning of a Context summary model compared to full context models in Combination Lock, a Wordle-like game that allows up to 16 guesses. 2 Though both model types improve over the course of training, the summary model never closes the gap. Average attempts to guess target word with context summary vs full context policies over training Fig. 1: Average attempts to guess the target word on Combination Lock over RL fine-tuning (lower is better). Context-summary policies improve with training but do not close the gap to full-context policies. Making models self-summarize while completing a task increases the complexity of the learning problem. While this could typically be addressed by training with more data, the performance degradation observed in real world interactive settings likely arises from the difficulty we have in creating and using human simulators effectively to generate high quality training environments ( Lin et al., 2025 , Tomlin et al., 2025 ). Thus, the better you can learn to summarize on the limited and messy multiturn interaction trajectories you can collect, the better off your model will be for downstream users. ABBEL: acting through belief bottlenecks ABBEL belief grading diagram Fig. 2: Autoencoder-inspired belief grading. The model encodes prior belief, action and observation (b t , a t , o t ) into posterior belief b t+1 and is rewarded for how well select information from the history can be reconstructed from that belief. To address poor learning efficiency, we isolate the summary generation task. Drawing inspiration from recursive Bayesian estimation, we formulate summaries as belief states, which we periodically prompt the model to update based on new information. 3 ABBEL overview animation frame ‹ Prev Pause Next › 1 / 16 Fig. 3: ABBEL rollout. Belief updates from the latest observation alternate with action selection conditioned only on the current posterior belief. Belief grading We then extract and supervise the contents of the belief states (Fig. 2, Belief Grading). Belief grading can be thought of as adding an auxiliary RL task, using heuristics designed to capture what makes a good belief as the reward. An example heuristic for coding could be shorter is better, but closer to being able to reconstruct the git diff is also better, so balancing these would yield a good belief. In domains where good heuristics are hard to define, we propose a general autoencoding-inspired grading function, which treats the current language model π θ as both encoder and decoder of information from the history, and the belief states as the codes. We grade each belief b t+1 by how well it can be used by the current model π θ to reconstruct the most recent observation o t : Eq. 1: Reconstruction grading objective Eq. 1: Reconstruction grading objective. Here b t+1 is the updated belief, o t the latest observation, a t the action just taken, b t the prior belief, p I the task prompt, and π θ the current model. Higher grades reward beliefs that retain information needed to decode the latest observation. What do we gain by grading beliefs? Collaborative coding on CollabBench We demonstrate the utility of belief grading in our motivating domain of human-driven assistive coding, with the CollabBench environment from Sweet-RL ( Zhou et al., 2025 ). CollabBench collaborative coding environment Fig. 4: CollabBench collaborative coding environment. The agent asks clarifying questions, then submits a function scored against hidden unit tests. We see that with the general reconstruction-based belief grading function we reduce the performance gap from full context models by about 50%, and train in 50% fewer steps compared to training models to summarize without belief grading (no BG). After training, ABBEL still uses significantly less memory than the full context setting, as measured by the peak context token length (Peak Tokens). Model Test Pass Rate ↑ Success Rate ↑ Peak Tokens × 10² ↓ Training Steps ↓ Full Context 0.52±0.02 0.39±0.02 14.08±0.55 100 ABBEL (no BG) 0.46±0.02 0.31±0.02 4.20±0.37 100 ABBEL-rec-BG 0.48±0.01 0.36±0.01 6.01±0.33 50 Fig. 5: CollabBench results. With reconstruction belief grading, ABBEL-rec-BG recovers about half the gap to full context while using fewer peak tokens, and trains in 50 steps instead of 100. Combination Lock Additionally, in CombinationLock, we demonstrate that ABBEL with a belief grader which leverages domain knowledge (by computing useful statistics over the history and checking that they can be reconstructed from the belief state), enables even higher learning efficiency than full context (FULL CTX) models. Average Attempts to guess target word ABBEL Fig. 6: Average attempts to guess the target word on Combination Lock (lower is better). With domain-knowledge belief grading, ABBEL approaches or exceeds FULL CTX in this setting; without belief grading, learning is slower. Multi-objective question answering In a third environment, multi-objective question answering (from MEM1 Zhang et al., 2025 , a recent work which performed end-to-end optimization in a modified version of typical recursive summarization), we demonstrate the utility of isolating belief states from reasoning, by showing that a Peak Belief length Penalty (more details in paper) significantly reduces memory usage with minimal performance degradation, unlike is commonly observed when penalizing reasoning lengths ( Arora et al., 2025 ). Performance and memory usage in multi QA Fig. 7: Exact-match score and peak memory versus number of objectives in multi-objective QA. ABBEL with a peak belief penalty (PBP) maintains comparable performance while using less memory than MEM1 and ABBEL without PBP in this evaluation. Related work Alternative solutions to managing long contexts involve different tradeoffs, and are worth considering depending on the requirements of a deployed system. Context compression methods generate dense representations which, while computationally efficient, sacrifice human-understandability ( Kontonis et al., 2026 , Eyuboglu et al., 2025 , Gupta et al., 2025 , Chevalier et al., 2023 , Deng et al., 2025 , Deng et al., 2025 , Bulatov et al., 2022 ). Hand-designed summarization prompts ( Wang et al., 2025 , Örwall et al., 2025 , Starace et al., 2025 ) and pruning strategies ( Jiang et al., 2024 ) specific to target environments require expert human knowledge and don’t allow an agent to learn what to remember as part of its decision-making strategy. Methods that process long contexts into an external memory store ( Packer et al., 2023 , Xu et al., 2025 ) for the agents or subagents to query ( Zhang et al., 2025 ) are complementary, as they may benefit from better next context creation through summarization training. We would like to point out some exciting works in the space of general recursive summarization focused on math ( Wu et al., 2026 ), reasoning with belief generation ( Zhou et al., 2025 ), competitive coding with a distilled summarization module using similar autoencoding objectives to our general belief grader ( DeepReinforce et al., 2026 ), and adding continuous features to summaries ( Kontonis et al., 2026 ). What’s next for better memory? Many more possibilities are enabled through using explicit belief states as information bottlenecks for multi-step interaction. You could reward actions based on their effect on the belief state to guide exploration, transmit the explicit belief states for better communication between agents, or even improve user controllability by directly modifying the memories on which the agents’ decisions are based. Some forms of information, e.g., what a person looks like, are not represented well by text alone. A continuously learning system will also have to capture such information. Additionally, if we want a system to learn to communicate in a brand new language or to play a brand new game better than any person in the world, the skills accumulated over the lifetime of conversations or games must be stored in a very compressed form, essentially taking on the role of the weights of the model itself. More powerful systems will likely utilize a combination of multiple forms of memory, where the contents of the context may correspond to working memory while other approaches are used for short and long-term memory. How to instantiate these other forms of memory, for instance via test-time training, adapter memories, continuous context memories, or some combination thereof, presents an exciting challenge. Acknowledgements Acknowledgements: We would like to thank Alane Suhr and Kartik Goyal for advising this research as well as Ethan Mendes , David He , Jitesh Jain , and Nicholas Tomlin for comments on early drafts of this post. We would like to thank the MEM1 authors for their email correspondence and for sharing private reviewer feedback which we found particularly insightful. Citation If abbel was inspiring for your future work, please cite us with this! And here is some advice for doing similar research! @misc { lidayan2026abbellearningnaturallanguagebelief , title = {ABBEL: Learning Natural-Language Belief States for Memory-Efficient Interaction} , author = {Aly Lidayan and Jakob Bjorner and Satvik Golechha and Kartik Goyal and Alane Suhr} , year = {2026} , eprint = {2512.20111} , archivePrefix = {arXiv} , primaryClass = {cs.CL} , url = {https://arxiv.org/abs/2512.20111} , } With newer models the number of tokens till 50% compute spend is on attention gets much larger than 25K. Interleaving linear attention alternatives with full attention as is done with gpt-oss and DeepSeekv4, results in massive flops reductions for the attention computation. For example with DeepSeekv4-Pro (1.6T A49B) it requires nearly 450 thousand tokens to reach the 50% tradeoff point. Grandcode uses Qwen-3.5-397B-A17B a model which hits 50% FLOPs for attention at ~150 thousand tokens. ↩ This setting is technically solvable with much more computationally effective tools, but serves as a flexible test bed to study properties of recursive summarization. Bertsimas et al., 2022 , showed that an exact solution for the wordle game instantiated with the original vocabulary of the javascript game can be found with dynamic programming, but evidently the general formulation of wordle as a guessing game on K letters with L attempts and some dictionary of valid words and correct words D is NP hard to determine the minimal number of moves required. ↩ In practice there is an O(N/K) overhead cost for summary. N is the total number of actions. K is the number of actions till summarization is triggered. This is necessarily true for any summary approach. For ease of illustration this gif uses K = 1. In our experiments, to put more emphasis on summarization weaknesses we also use K=1. In practice overhead is small as K can be chosen to be near the efficient hardware limit. ↩

arXiv cs.AI86

DMAD:将分布匹配作为对抗蒸馏,实现快速视觉生成

分布匹配蒸馏(DMD)通过分别估计的目标得分函数与学生得分函数之间的差异来训练少步数学生模型,因此必须额外维护一个拟合学生模型不断变化分布的辅助扩散模型,从而增加内存和计算开销。我们提出 DMAD(Distribution Matching as Adversarial Distillation),将分布匹配重新表述为分类问题,并直接学习所需的对数密度比。我们在共享骨干网络上设置两个判别器头,分别区分真实数据和教师样本与学生样本,并通过对其 logits 施加线性损失,在无需额外拟合辅助得分函数的情况下训练学生模型。我们证明,在判别器达到最优时,根据将判别器 logits 与对数密度比联系起来的经典恒等式,这些损失能够恢复 DMD 所依据的分布匹配梯度。我们进一步提出基于间隔的重加权方法,根据真实数据判别器头在真实样本与教师样本之间产生的经验 logit 间隔,自适应地调整不同噪声水平下的教师监督信号。在 ImageNet-64x64 上进行一步生成时,DMAD 的 Fréchet Inception Distance(FID)达到 1.04;在 COCO-10K 上使用四步 SDXL 时达到 14.47;在使用四步 Wan2.1-T2V-14B 时,VBench 总分达到 85.15;这些都是所比较的少步数方法和多步数教师模型中的最佳结果。在 MiniMax-H3-33B 上,我们的四步学生模型在联合音视频生成任务中,相较于 DMD2 和 rCM 的总体人类偏好率分别达到 79.1% 和 84.6%,不计平局。我们的代码、模型和演示可见于 https://yzmblog.github.io/projects/DMAD。

arXiv cs.AI76

SCOPE-AD:利用基于能量的模型进行诊断智能体的序列成本感知序数信念规划

阿尔茨海默病(AD)的诊断需要在测试成本和患者负担存在异质性的情况下,按序获取证据。固定模态预测器无法同时决定应获取哪项测试,以及现有证据何时已足以完成诊断。我们提出 SCOPE-AD(利用基于能量的模型进行诊断智能体的序列成本感知序数信念规划),用于对认知正常(CN)、轻度认知障碍(MCI)和 AD 病例进行成本感知分类。一个掩码感知序数模型用于表示沿有序 CN--MCI--AD 连续谱的​​不确定性。回顾性训练记录为基于能量的教师模型提供采样得到的 Bellman 目标,并将其动作分布蒸馏到 Qwen 策略中。在部署时,该智能体在可用性和预算约束下选择获取动作或诊断动作,而无法访问尚未获取的数值。每次获取后,系统都会更新证据和序数信念,再进行下一次决策。在 ADNI 上,SCOPE-AD 以平均获取成本 \$50.46 达到 77.70\% 的 Macro-F1,较评估中最强的基线高出 9.34 个百分点。全模态评估仅使 Macro-F1 提升 1.89 个百分点,却使获取成本增加 116.7 倍。这些结果支持通过选择性获取实现高性价比诊断。

arXiv cs.AI81

Agent Error Dataset:面向故障分析与错误感知后训练扩展至 50,000 个错误--诊断对

一次不成功的 LLM 智能体 rollout 所包含的信息多于最终奖励:智能体可获得的观察结果、它选择的行动,以及环境的响应。要将这段经历重新用于学习,需要识别出一个需要修改的决策,并测试一个具体的替代方案。我们提出 Agent Error Dataset(AED),其中包含来自文本智能体系统的 33 个环境、19 个 harness 系列和 23 个策略模型中 9,961 个源任务的 50,228 个错误--诊断对。我们保留源轨迹和执行元数据,以支持跨设置的故障分析与重新诊断,而无需重复原始 rollout。我们的五阶段 Agentic Error-to-Training(AET)流程收集自然产生的失败,生成诊断结果和拟议的修正方案,并根据记录的证据对其进行检查。在支持重放的情况下,我们在匹配的执行设置下,从同一检查点开始,将修正方案与原始行动重试进行比较。随后,我们分别构建用于诊断和智能体恢复的训练视图。在 3,062 对匹配的重放样本中,首次提出的修正方案将验证器通过率从 18.4% 提升至 51.1%,提高了 32.7 个百分点。使用单独冻结的诊断版本进行训练时,在 1,656 个源任务上进行完整诊断微调,使 Qwen3-8B 与内部教师标签的逐步精确一致率从 47.2% 提升至 63.6%;该结果是在 943 个案例的留出集上,以三个随机种子的结果取平均得到的。本次比较中最强的提示式参考方法得分为 54.7%,且随着训练集规模从小到大增加四档,平均一致率均有所提升。在对智能体训练方案进行的单随机种子比较中,行动专属修复训练在 WebShop-lite 上的得分比仅成功训练高出 6.67 个百分点。

arXiv cs.AI76

从研究中学习:迈向智能体 Harness 的终身演化

语言智能体需要解决日益复杂的任务,因此对持续改进的需求不断增长。一种有前景的方法是在保持底层语言模型不变的同时,演化智能体 Harness——即负责管理工具使用、记忆管理和任务执行的软件。近期方法通过使用元编程智能体,根据执行反馈修改 Harness,从而实现这一过程的自动化。然而,依赖该智能体已有的知识和观察到的失败可能会限制探索,并使适应过程变得被动。受人类专家从研究文献中学习新解决方案的方式启发,我们提出了 ScholarEvolve,这是一种自动利用最新研究成果指导 Harness 演化的框架。ScholarEvolve 将 Harness 的演化方向组织成功能模块,并使用主题建模为每个模块识别不同的改进策略。该框架实现这些策略,并评估它们的组合,以提升任务性能。此外,该框架还设计为能够随着时间推移纳入新的论文,使研究进展推动主动的终身演化。实验表明,该方法在 AppWorld 和 Tau2-Bench 上均取得了性能提升。在 AppWorld Challenge 上,ScholarEvolve 将 Qwen3.5-27B 的任务目标完成率从 49.6% 提升至 63.6%;在 Tau2-Bench Telecom 上,将 GPT-5.4-mini 的 pass@1 从 72.7% 提升至 81.9%。

arXiv cs.AI81

PhantomEnvironments:在虚构世界中训练 LLM 智能体

使用强化学习(RL)训练 LLM 智能体受环境所限:环境必须提供可验证的奖励、支持长时程交互,并能够以低成本扩展。现有方法依赖昂贵的人工整理数据,或依赖由 LLM 生成的环境,而后者存在幻觉和基准测试污染的风险。我们表明,通过完全由规则生成的合成环境,可以将 LLM 训练成能力出色的搜索智能体;这类环境的生成无需 LLM,且边际成本为零。我们构建了 PhantomEnvironments——来自虚构世界的多轮 RL 环境,智能体必须搜索由模板生成的文章语料库,以回答多跳问题。尽管这些环境与现实世界没有任何事实上的交集,但这种异常简单的环境仍能训练出可迁移到现实世界多跳搜索基准测试的智能体,并且在较新的基准测试上,其表现往往优于使用现实世界训练数据训练的智能体。经过训练的智能体能够泛化到未见过的虚构宇宙;Qwen 模型还学会了使其搜索预算大致随问题难度线性扩展,这表明仅通过与环境交互就可能涌现出搜索扩展能力。对环境复杂度进行消融实验显示,跳数对迁移的影响大于约束或比较:即使是最简单的规则生成环境,也是一种出人意料地有效且免费的资源,可用于训练具有泛化能力的 LLM 智能体。

arXiv cs.AI76

ComputerSD:从实时反馈中进行在线自蒸馏,以训练计算机操作智能体

在线训练使计算机操作智能体(CUAs)能够通过与可执行环境交互不断改进。然而,现有方法主要依赖稀疏的结果奖励,无法为中间动作提供监督。基于策略的自蒸馏(OPSD)通过特权重评分提供令牌级学习信号,但将其直接应用于CUA在线训练面临两项挑战:固定的指导可能与学生当前状态失配,而指导引起的概率变化可能与步骤级正确性相冲突。我们提出ComputerSD,一种面向CUA的在线自蒸馏方法,将执行GUI转换产生的实时反馈转化为策略学习的指导信号。经过微调的GUI分析器会在每个动作之后生成指导信息和步骤级价值分数;指导信息提供特权上下文,而分数则调节由此产生的OPSD信号。ComputerSD在完全异步的训练框架中联合优化令牌级OPSD和轨迹级GRPO。在OSWorld-Verified上,相较于仅使用结果奖励的GRPO,ComputerSD在通用的Qwen3-VL-8B-Thinking骨干模型和专用的EvoCUA-8B骨干模型上,分别提升了1.9和4.1个百分点。在分布外设置下的评估进一步支持了ComputerSD的泛化能力。这些结果表明,通过在线自蒸馏从实时反馈中学习对于CUA是有效的。

arXiv cs.AI82

PivotOPD:学习从多轮智能体中的关键错误中恢复

在策略蒸馏(OPD)是一种很有前景的语言智能体训练方法,它能够针对学生模型生成的轨迹提供密集的教师监督。然而,在多轮交互中,一个错误动作会改变学生模型之后所遇到的状态,因此错误会跨轮次累积。在针对三个 Qwen3 模型(8B 至 235B)的初步实验中,我们发现,超过半数的失败轨迹都包含一个关键错误,即使智能体进一步偏离任务完成目标的动作,而且这一错误通常很早就会发生。这些关键错误往往仍然可以恢复:在关键错误发生后的几轮中引导模型,就能重新取得任务成功。因此,我们提出 PivotOPD,一种在策略蒸馏框架,联合训练学生模型以避免关键错误,并从这些错误所导致的状态中恢复。在每次关键错误发生时,教师模型会提供一个标准动作,并在接下来的几轮中分别指定一个恢复动作。预防性蒸馏使用标准动作结合反向 KL 散度,引导学生模型避开关键错误;恢复性蒸馏则使用恢复动作结合正向 KL 散度,将学生模型很少采样到的恢复行为传递给它。在 ALFWorld、WebShop 和基于搜索的问答任务上与 13 个基线方法的比较中,PivotOPD 在 Qwen3-1.7B 和 Qwen3-8B 学生模型上都取得了最强的平均性能;对于 1.7B 学生模型,其在 ALFWorld 上的性能较最强基线提升了 5.5%。这些增益也能迁移到软件工程领域的另一模型系列:在 SWE-Bench Verified 上,PivotOPD 将 Nemotron-3.5 学生模型的解决率提高了 3.2%。项目主页:https://research.nvidia.com/labs/lpr/pivotopd/

arXiv cs.AI79

半事实信用增强策略优化

带可验证奖励的强化学习(RLVR)提升了大语言模型(LLM)的推理能力,但其预测仍容易受到与任务无关的提示特征影响。我们通过保留底层问题及其答案不变的半事实提示干预,研究了这种敏感性。分析显示,模型在词元级别的敏感性存在显著差异;在解码过程中抑制高漂移词元候选项,可以在不更新模型权重的情况下提升推理准确率。这些发现揭示了群组相对策略优化(Group Relative Policy Optimization,GRPO)的一项局限:GRPO 为每个响应词元分配相同的、源自结果的优势值,因而可能在强化有用推理的同时,也强化潜在的虚假依赖。受此启发,我们提出半事实信用增强策略优化(Semifactual Credit-Augmented Policy Optimization,SCAPO),这是一种受因果思想启发的 GRPO 变体,将半事实稳定性纳入词元级信用分配。SCAPO 在半事实干预下测量固定响应的词元概率漂移,并利用归一化的稳定性得分,在训练早期降低相对不稳定词元的优势值,同时不会仅因稳定性而给予额外信用。在 Qwen3-4B-Base 和 Qwen3-1.7B-Base 上,与 GRPO 相比,SCAPO 在 AIME 2024-2026 上的准确率分别提高了 5.63 个百分点和 4.17 个百分点。在这两种模型规模下,与所比较的方法相比,SCAPO 在大多数评测数学基准和全部评测分布外基准上均取得了最佳结果。这些结果表明,半事实稳定性能够通过在 RLVR 中进行更细粒度的信用分配,为提升推理能力和泛化能力提供有效的训练信号。代码见 https://github.com/DtYXs/SCAPO。

arXiv cs.AI72

超越文本:基于LLM的多模态对话多维情绪评估

对话中的情绪识别已得到广泛研究,但将大型语言模型(LLM)应用于多模态对话中的连续维度情绪评估,仍基本处于探索阶段。我们提出了一个基于LLM的框架,在IEMOCAP上同时进行离散情绪识别和效价-唤醒度-支配度(VAD)维度评估,并依据SpeechCueLLM方法,将声学线索融入自然语言描述。我们在零样本提示、少样本提示和LoRA微调设置下,对涵盖LLaMA、GPT和Qwen系列的六个模型进行了评估。尽管GPT的规模更大,经过LoRA微调的LLaMA模型在两项任务上的表现均显著优于采用提示工程的GPT模型;我们认为,这一差距源于领域适配,而非模型容量。我们的最佳模型取得了0.7822的效价CCC,在IEMOCAP上达到了新的最先进水平。消融实验表明,文本化的音频描述能够显著提升较小模型的性能(加权F1提升3.5至3.6),但对最大模型的贡献很小,这说明当语言能力受限时,音频线索最具价值。VAD各维度之间的性能不对称性,与IEMOCAP标注结果中标注者一致性的层级高度相似。

arXiv cs.AI75

SCIC: Scope- and Codebook-Aware Instruction Conditioning for Speaker-Adapted Expressive TTS

Long-form live-streaming TTS requires context-dependent prosody and paragraph-level coherence. However, many existing instruction-based TTS systems use global or uniform conditions, providing limited explicit control over clause-level relative prosodic changes. We introduce Speaker-Relative Inline Prosody Control, where each Pitch, Energy, or Speed instruction targets a clause relative to the preceding clause from the same speaker, while Pause uses an absolute duration interval. In codec-based TTS, Speed and Pause affect sequence length, whereas Pitch and Energy rely on residual codebooks. By analyzing Qwen3-TTS RVQ codebooks, we find that Energy concentrates in early residual codebooks, whereas Pitch accumulates across a deeper prefix. We therefore propose Scope- and Codebook-Aware Instruction Conditioning (SCIC), combining a Temporal Instruction Router for frame-level tag activation with Tag-Specific Codebook Weighting over residual codebooks. SCIC improves speaker-relative Pitch and Energy control over standard instruction fine-tuning using text-token tags. We further apply multi-reward GDPO post-training to jointly optimize control and quality, improving control accuracy while preserving CER and speaker similarity. In long-form synthesis, SCIC produces a more distinct paragraph-level expressive hierarchy than speaker-adapted SFT without instructions. Audio demos are available at: https://taoliveaigc.github.io/SCIC/

arXiv cs.AI85

虚假前沿:诊断并缓解自演化搜索智能体中的协同作弊

自演化搜索智能体通过联合优化负责生成问题的提议器和负责回答问题的求解器,自行构建训练课程。这一闭环引入了一种我们称为协同作弊(co-cheating)的失效模式:提议器和求解器逐渐在共同错误上达成一致,因此内部奖励不断提升,却没有带来外部正确率相应的增长。针对来源证据的事后审计显示,随着自演化轮次增加,协同作弊日益严重;即使闭环训练信号不断改善,伪标签正确率仍停滞不前甚至下降。最直接的缓解方法是在训练前验证提议:我们引入多样本验证(MSV),使用带来源信息的输入查询同一模型三次,再使用不带来源信息的输入查询三次,以决定任务是否纳入训练,并替换不可靠的伪标签。MSV能够部分减少虚假一致,但仍残留大量协同作弊,并且每个候选项需要额外进行六次标注器生成。这些局限促使我们提出主要方法 CrossFit:它将提议器的来源文档划分为 A 组和 B 组;由 A 组生成的问题仅由使用 B 组训练的辅助求解器评分,反之亦然。交叉拟合一致性决定提议器奖励,因此同源伪标签无法通过反馈求解器复现,而原求解器的更新规则保持不变。在 Qwen3.5-4B 和 Qwen3.5-9B 上重新运行该循环时,MSV 将虚假一致质量分别从 6.1% 降至 5.7%、从 8.8% 降至 7.2%,而 CrossFit 则分别将其降至 3.0% 和 3.7%。使用排除来源的反馈重放完全相同的提议后,虚假一致进一步降至 0.4% 和 0.1%,从而将反馈溯源与课程变化区分开来。在七个下游搜索基准上,相较于标准的耦合式自演化,CrossFit 在 4B 和 9B 规模下的平均性能分别提升 8.8 和 8.4 分;相较于 Search-R1,则分别提升 8.7 和 7.8 分。

arXiv cs.AI76

BELIEFRAG:让 Adaptive RAG 在不断演化的证据下具备状态感知能力

Adaptive RAG 使用置信度、相关性、支持度和检索质量等信号,来决定何时搜索或修正证据。然而,在多步检索中,这些局部信号必须结合起来,形成一个持久的视图,以明确当前证据支持什么、仍缺少什么,以及接下来应采取何种行动。现有方法通常将这些信号作为彼此独立的触发器使用,因而难以在整个轨迹中保持连贯的证据状态;我们将这一问题称为证据状态碎片化。我们提出 BELIEFRAG,这是一种闭环控制器,可显式更新关于充分性、可靠性、冲突、不确定性、证据缺口和获取成本的状态,然后在检索、查询重写、验证、回答、停止和拒答之间进行选择。在使用 gpt-oss-120b 的六个问答基准上,BELIEFRAG 的平均 token F1 达到 0.572,每个问题使用 3.89k 个 token;相比固定的迭代检索方法,其 F1 为 0.555,而 BELIEFRAG 使用的 token 数减少了 39%。同样的质量—成本模式也迁移到了 Qwen3-32B:BELIEFRAG 达到 0.552 F1,而迭代检索为 0.523,同时 token 使用量减少了 35%。分析表明,主要收益来自纠错式重新检索,而不仅仅是剪枝;同时,若干信念维度存在冗余,而经过校准的可回答性发挥了最重要的操作作用。校准能够提升相关证据来源之间的阈值稳定性,但来源分布变化仍可能使同一决策信号失效。

arXiv cs.AI80

DAGent: Evaluate-then-Grow Planning for Deep Research Agents

Deep research tasks require agents to navigate large knowledge spaces, synthesize evidence across many sources, and adapt their plans as findings emerge. Directed acyclic graph (DAG)-based multi-agent systems suit this setting because they support parallel execution and isolate each sub-task within a focused dependency context. Yet existing DAG-based agents instantiate a task-level plan before execution and repair the graph only after failures or missing evidence are observed. This Plan-then-Patch strategy is brittle for deep research: the system commits most strongly when its evidence is weakest, and later revisions waste computation on branches that should not have been planned. We propose DAGent, a DAG-based multi-agent framework with Evaluate-then-Grow incremental planning: an Orchestrator grows the task graph one batch at a time, conditioning each expansion on confidence and uncertainty signals from completed nodes. A hierarchical context layer propagates compact QueryDocs by default while preserving full execution traces for on-demand recall. The recorded DAG topology admits structural RL signals that outcome-only recipes cannot define; DAGRPO, a GRPO adaptation, injects topology-conditioned credit on Executor rollouts and a structural compliance regularization on Orchestrator plans. Across BrowseComp-Plus, GAIA, and xbench-DeepSearch, DAGent surpasses the strongest open-source baseline by 5.3 / 5.8 / 2.0 points at the Qwen3-235B-A22B scale, and the lead replicates across four open-source backbones and extends to GPT-5 at 327K context. At the Qwen3-8B scale, DAGRPO improves over a same-budget outcome-only GRPO baseline by 3.0 average Pass@1 points. A same-architecture comparison shows that evidence-conditioned planning reaches higher accuracy at lower per-task token, tool-call, and step footprints than its Plan-then-Patch counterpart. Code: https://github.com/hanwenliu6825/DAGent

arXiv cs.AI71

UniAE-MoE: A Unified Audio Encoder via Mixture of Experts

Large Audio Language Models (LALMs) rely on effective audio encoders for multi-task performance. We introduce UniAE-MoE, a unified audio encoder designed to model cross-domain audio representations and achieve outstanding downstream understanding performance via a Mixture-of-Experts (MoE) architecture. Specifically, we explore mainstream audio encoders and integrate those from Qwen2-Audio and Audio-Flamingo 3, which demonstrate superior downstream capabilities. To facilitate effective model fusion, we improve our encoder using SwiGLU with shared experts to decouple encoder networks, and we further introduce a two-stage instruction-tuning strategy to better adapt the model to diverse downstream tasks. Moreover, we propose the task-specific data scaling (TSDS) technique to enhance \tool's understanding capabilities. On the XARES-LLM benchmark, UniAE-MoE attains a score of 0.802, achieving state-of-the-art performance. It also delivers top-tier performance in the official Interspeech 2026 Audio Encoder Capability Challenge, further demonstrating robust generalization across diverse audio tasks. Together, these results validate the effectiveness of \tool for unified audio understanding across speech, music, and general audio domains.

Hacker News 熱門79

HN 发布:Magnitude (YC S25)——面向智能体的自优化推理引擎

大家好,HN 用户们,我是 Anders,Tom 也在这里。我们正在开发 Magnitude,这是一个面向智能体的推理引擎,能够自我优化,以便在你的硬件上尽可能快速地运行。它支持 Mac、Linux 和 Windows,可运行于任何硬件上,速度最高可达 llama.cpp 的 2 倍。 我们都是软件工程师,此前曾构建过一个开源浏览器智能体,获得了 4k+ GitHub 星标和 100k+ 下载量。我们越来越希望在本地模型上运行它,但发现没有任何推理引擎适合我们的使用场景。 如今的推理引擎都需要在性能上做出取舍。它们要么是: - 面向数据中心硬件上的批量推理构建,以牺牲单会话性能为代价(vLLM、SGLang) - 注重广泛兼容性,而不是针对特定硬件进行优化(llama.cpp、Ollama) - 针对特定硬件或模型进行了专门优化,但引擎功能不够完整(oMLX、ds4) 此外,它们都不是为在本地运行智能体而设计的。智能体会运行很长时间,通常还会同时运行多个实例,而你仍然希望电脑能够处理其他任务。 Magnitude 专为在你的硬件上实现最高性能以及运行本地智能体而构建: - 设备端编译与调优:内核使用灵活的参数编写,并会在模型运行前根据你的实际设备进行调优。这让我们在保持与广泛硬件兼容的同时,也能达到与硬件专用内核相同的性能上限。 - 专注于最佳架构:我们会针对最流行的开放权重模型系列编写可调优且高效的内核。这使我们能够达到并超越硬件或模型专用引擎的性能,而不必为了过度泛化而牺牲性能。 - 动态内存分配:Magnitude 在启动时只预留足以容纳模型权重的内存。随着智能体会话增长,内存堆会动态扩展;智能体停止后,所占内存也会自动释放。这样,智能体运行期间,你的硬件仍可用于其他任务。 - 混合分页注意力:我们借鉴了 SGLang 等引擎中的优秀理念,让并发会话能够共享前缀缓存,同时针对内存邻接性优化数据布局,从而不会影响单会话性能。 Magnitude 完全开源(Apache 2.0)。我们使用 Rust 构建了它,其中包括定制的 GPU 内核运行时和自动调优器。为了达到性能上限,我们从学术界的最佳推理创新(例如 FlashAttention、FlashInfer、TurboQuant)以及其他引擎(例如 SGLang 的基数注意力)中汲取灵感。 在 Qwen 3.6 35B A3B(4 bit)、64k 上下文且不使用推测解码的条件下,与 llama.cpp 进行基准测试: Metal(Mac M4 Pro 48 GB) - 解码速度提升 92%(30 tok/s → 57 tok/s) - 预填充速度提升 9%(466 tok/s → 507 tok/s) - 每个智能体的内存占用降低 28% CUDA(DGX Spark) - 解码速度提升 19%(49 tok/s → 58 tok/s) - 预填充速度提升 23%(2,033 tok/s → 2,507 tok/s) - 每个智能体的内存占用降低 27% Magnitude 以桌面应用的形式发布,你可以轻松地将它连接到已经在使用的各种智能体(Pi、OpenCode、Hermes、Codex 等)。只有当这些智能体确实需要模型时,它才会按需自动运行模型,并在闲置后将其关闭。 效果如下: https://www.youtube.com/watch?v=0qE8BWEZu7o 我们很期待进一步推进 Magnitude,让你能够在相同硬件上运行更大的模型,同时持续提升性能。我们的计划包括: - 专家流式加载:将专家存储在 RAM 或磁盘中,并在需要时即时加载。这样,你就能运行原本无法装入 GPU 的更大模型。 - 内核编译器:目前,我们的内核会调优少量参数以适配你的硬件。借助完全定制的编译器,我们可以更进一步,自动选择内核融合方式和实现方案,从而让它更好地适配你的硬件。 - 多设备利用:通过检测系统中的所有硬件(CPU、GPU、RAM、磁盘),自动求解最佳模型布局,以尽可能充分地利用它们。 我们希望有更多人来试用并向我们提供反馈。欢迎在这里留言,我们一整天都会在线! 评论链接: https://news.ycombinator.com/item?id=49911995 得分:5 评论数:0

arXiv cs.AI76

可审计的长期记忆:在 LongMemEval-S 上测得 500 题中 479/475 的确定性检索链

我们在 LongMemEval-S 上评估了一个可审计的长期记忆系统。其检索链使用混合候选检索、cross-encoder 重排序、覆盖优先的数据包编译,以及确定性推理脚手架;LLM 仅作为可替换的最终阅读器使用。该链在 470 个可回答问题中的 468 个问题上将所有黄金会话放入候选池,并在 470 个问题中的 462 个问题上生成黄金完整的数据包。通过未固定的 CLI 别名调用 Claude Opus 阅读器,在两次 500 题运行中,在 GPT-4o 评判下分别得到 479/500 和 475/500。72 条可回答的知识更新行使用了实质性修改过的评分提示,其在官方文本下的影响尚未测量。这一组结果横跨 Chronos High 已发布的 478/500;阅读器生成、评分提示以及可能的数据版本的差异,加上系统内方差,既不能证明优越性,也不能证明等价性。在相同数据包上,grok-4.6-high 阅读器得分为 476/474,而一个最大推理努力的 agentic 变体退化到 461/465。标题结果的两次运行在八个判决翻转行上存在差异。第二个评判器在每次运行中都与标题评判器在 493/500 行(98.6%)上一致,并给两次运行均评分为 472/500;官方评判器在重新评分字节完全相同的第 1 次运行答案时,也翻转了三个判决。负对照否定了一个验证器:它修复了三个错误草稿,但破坏了十一个正确草稿。所有组件均在同一组 500 个问题上开发,没有留出评估或独立人工裁决;检索与脚手架方法来源以及从转录记录导出的审计均已保留;标题阅读器接收了额外的操作员上下文,其完整请求未被保留,且 MCP 工具可用性尚未解决。我们发布了物化数据包、脚手架、阅读器输出、评判器判决和对照,以供检查和重新评分。

arXiv cs.AI80

概率并不够:探索并统计用于 LLMs 推理不确定性量化的分歧词元

随着大语言模型的思维链推理能力不断提升,对其推理置信度进行评估和校准对于量化答案的不确定性变得愈发重要。当前,大语言模型置信度估计方法通常基于所选关键词元的概率,但其背后的机制仍不明确。我们的初步研究发现,用粗粒度替代值替换所选词元的概率同样可以改善校准效果,这促使我们进一步探索模型置信度的有效信号。我们提出 Divergent Token Confidence(DTC),一种通过统计两个模型在解码过程中强烈不一致的词元数量来估计置信度的框架。DTC 使用沿同一推理轨迹评估得到的下一词元分布之间的 Jensen-Shannon 散度来识别这些分歧词元。我们发现,分歧词元的数量与答案准确率几乎呈负相关,因此可以作为一种简单而有效的不确定性量化信号。DTC 支持借助辅助模型进行白盒和黑盒评估,无需显式训练,也不会影响生成过程。在多个模型系列和六个数学基准上的实验表明,相较于基于概率的方法和言语化基线,DTC 能够实现更好的校准效果。在白盒评估中,仅依赖计数的估计器的平均期望校准误差为 13.0%,而标准的完整序列置信度方法为 32.7%–42.4%。在黑盒设置下,DTC 相较于原始言语化分数同样改善了校准效果。例如,在 DeepSeek-V3.2 上,平均期望校准误差从 32.1%–40.2% 降至 13.7%–16.3%。这些发现为改进大语言模型中的推理不确定性量化提供了新的思路。代码发布于 https://github.com/szu-tera/DTC.git。

arXiv cs.AI77

NeuronEye:查询引导的视觉概念激活,用于视觉-语言推理

当前的视觉-语言模型(VLM)将视觉信息编码在稠密隐藏状态中,其中物体身份、空间布局和局部属性彼此隐式纠缠,而未被明确解耦,这限制了模型针对特定语言查询隔离并调制所需具体视觉证据的能力。受生物视觉中的稀疏群体编码和自上而下调制机制启发,我们提出 NeuronEye,这是一种插件式框架,可从 VLM 的中间表示中构建稀疏的概念级神经元词汇表,并在推理过程中选择性地激活与查询相关的视觉概念。NeuronEye 将视觉 token 状态分解为按概念级聚类组织的超完备稀疏基,利用语言查询激活相关簇,并定位表达所选概念的图像块,然后将聚焦后的证据重新注入视觉 token。一个互补的抑制机制则会削弱占主导地位的感知方向,以保留较弱但相关的线索。所有操作均在冻结的 VLM 主干网络上通过单次前向传播完成。在 Qwen2.5-VL-7B 上,NeuronEye 将 CV-Bench 的总体准确率提升了 +3.1,其中 Distance 子项提升了 +9.5;同时将 BLINK Multi-view 提升了 +8.3,在 LLaVA-1.6-7B 上也呈现出类似趋势。这些结果表明,稀疏神经元词汇表不仅可以作为事后可解释性工具,还能够充当概念级视觉推理的主动接口。

arXiv cs.AI79

AdviSD:通过针对性的多轮自蒸馏学习为前沿 LLM 提供建议

一个可训练的小型建议器可以利用自然语言建议引导冻结的语言模型执行器。除了从任务奖励中学习之外,建议器还可以利用已完成交互的反馈来改进其建议。然而,一个看似合理的纠正未必会改变执行结果,但从这类纠正中学习仍可能影响建议器在其他情境下的未来决策。对于共享参数的模型,我们证明,如果这类纠正的目标相比其他纠正的目标,对有用建议的偏好程度较低,那么它们会限制学习。与从每一次纠正中学习相比,较少保留这类纠正能够提升模型最终的性能。受此启发,我们提出 Advisor Self-Distillation (AdviSD) 方法,将基于结果的强化学习与来自反馈条件化建议器副本的选择性自蒸馏相结合。反思模块提出纠正意见,建议器分别评估同一条记录下来的执行器响应在有无其所给建议时的表现,并利用两者差异的幅度来选择需要监督的决策。该方法不需要执行器的似然,也不需要额外的执行器推演。使用面向 Gemini 和 Claude 的 Qwen3-8B 建议器进行的实验表明,在 BFCL-v3 上,AdviSD 比 advisor-GRPO 高出 4.2–6.4 个百分点;在 EnvScaler 上高出 3.9–5.1 分。训练得到的建议器能够泛化到域外任务,并可迁移到不同版本的执行器和不同模型系列。AdviSD 还优于匹配数量的随机选择结果,说明其选择规则具有价值。

arXiv cs.AI81

LeapQuant:具有精准循环状态量化的高效线性注意力

近期的 LLM 越来越多地采用混合架构,以线性注意力取代标准注意力,例如 Gated DeltaNet(GDN)和 Kimi Delta Attention(KDA)。尽管这类方法将上下文压缩为固定大小的循环状态,并显著降低了长上下文处理的成本,但反复读取和更新该状态仍然是推理过程中的主要瓶颈。量化为降低这一成本提供了一种自然的方法,但由于舍入误差的累积,以及状态中存在离群行和离群列,量化可能会严重降低模型质量。为应对这些挑战,我们提出了 LeapQuant,这是一种无需训练的方法,可在 8 位循环状态量化下实现近乎无损的性能。首先,为减轻误差累积,我们提出按窗口量化,在跨越一个 token 窗口后,仅在窗口末尾对状态进行一次量化。在窗口内部,输出由固定的低比特状态与高精度的缓冲更新共同计算。其次,为减少每次量化引入的误差,LeapQuant 保留状态中幅值最大的离群项,将其作为少量高精度的 Compensator Tokens,并使其与真实 token 共享更新路径。随后,我们在量化前对剩余残差进行平滑,以进一步降低误差。在 Qwen、Kimi 和 GLM 模型系列上的综合实验表明,LeapQuant 能够显著降低推理期间的内存和计算成本。在精度与 FP32 基线相当的情况下,该方法在 NVIDIA B200、RTX PRO 6000 和 RTX 5090 GPU 上实现了内核级平均 2.05--3.70$\times$ 的加速,以及端到端推理 1.47$\times$ 的加速。

arXiv cs.AI83

STEPQuant:Delta-rule循环状态量化中误差何时以及何处重要

线性注意力以固定大小的循环状态取代不断增长的 KV 缓存,但在并发服务场景下,这些持久化状态可能成为严重的内存瓶颈。直接将循环状态量化为低精度通常会导致准确率大幅下降,因为量化误差会在连续的状态更新中传播。我们发现,这些误差的影响取决于两个互补维度:在时间维度上,长生命周期记忆中的误差可能跨越许多解码步骤持续存在;在空间维度上,不同键行中的误差对模型输出的影响各不相同,而状态幅值在行和列两个方向上也存在显著差异。受此启发,我们提出了 STEPQuant,一种面向 Delta-rule 循环状态的时空训练后量化框架。STEPQuant 根据误差幅值和记忆生命周期分配精度,并基于状态分布以及键行对输出误差的影响,联合拟合键行和数值列的缩放因子。在 Qwen3.8-27B 和 Kimi-Linear-48B-A3B-Instruct 上,针对长生成和短生成基准的实验表明,在名义上的 6 位预算下,STEPQuant 的准确率接近 FP32 状态,并且其 4 位配置优于统一 INT8。将 STEPQuant 集成到 SGLang 并配合优化后的 GPU 内核后,6 位 STEPQuant 实现了超过 5 倍的循环状态压缩,并使服务总内存最多降低 68.7%。我们的代码可在 https://github.com/Dreamer-Toby/STEPQuant 获取。

arXiv cs.AI83

Does the Unsafe Gradient Survive a Conversation? On the Fragility of Gradient-Based Jailbreak Detection in Multi-Turn Dialogue

Safety-aligned language models are commonly deployed as multi-turn assistants, which lets adversaries spread unsafe intent across several user turns instead of a single prompt. Gradient-based jailbreak detectors such as GradSafe were developed for single prompts: they score an input by the alignment between its induced gradient and a fixed unsafe reference direction, and their effectiveness in multi-turn dialogue remains unclear. We conduct a controlled evaluation of gradient-based jailbreak detection in multi-turn settings. We extend GradSafe with a Context Window Scanner that applies the detector to fixed-size windows of user turns and uses the maximum window score as the conversation-level score. We evaluate different window sizes, attack families, benign conversation distributions, and target models. The results differ sharply between synthetic and realistic benign settings. Against synthetic benign conversations, the detector achieves an ROC-AUC of 0.98 on human-authored multi-turn jailbreaks. On WildChat benign conversations, ROC-AUC drops to 0.76, and a threshold calibrated on synthetic data flags more than 90% of benign conversations as unsafe. Under realistic benign distributions, single-turn windows give the highest separability, whereas longer windows and accumulated contexts reduce performance. The detector is also sensitive to the attack-generation method and target model: successful Crescendo attacks receive scores comparable to or lower than benign conversations, and Qwen2.5-7B-Instruct yields near-random separability with a different optimal window size. These findings show that gradient-based signals can support multi-turn jailbreak detection, but reliable deployment requires calibration on realistic benign conversations, short-window scoring, length-aware thresholds, and evaluation across attack types and model architectures.

arXiv cs.AI77

IronLLM: Forging Compact Edge-Native Language Models for Real-Time Embodied Intelligence

We present IronLLM-0.6B, a 654M-parameter language model designed for efficient on-device inference. IronLLM-0.6B combines a hybrid attention architecture with X-MTP, a lightweight shared-KV multi-token prediction design that eliminates per-depth KV-cache replay and employs a lightweight verification head for rollback-free drafting, achieving a 1.48x decoding speedup. The model is pretrained on approximately 6.2 trillion tokens using a quality-oriented data pipeline and is further post-trained with Multi-Domain On-Policy Distillation to integrate capabilities from domain-specialized teachers. To better meet the low-latency requirements of on-device scenarios, IronLLM-0.6B adopts an Instruct-Only design. Evaluations show that IronLLM-0.6B achieves competitive performance relative to larger models such as Qwen3.5-0.8B and MiniCPM5-1B, while producing more concise responses on many tasks. We further present IronLLM-0.6B-Light, which replaces RMSNorm with Dynamic Tanh and simplifies several computationally expensive components to improve inference and quantization efficiency. Together, the IronLLM models provide an effective performance-efficiency trade-off for resource-constrained deployment.

arXiv cs.AI87

MultiTalk: Scaling Full-Duplex Speech Models to Long, Multi-Party, Bilingual Conversation

End-to-end full-duplex speech models have brought open-source machine conversation closer to human-like interaction, yet existing systems remain limited in two intertwined dimensions: long-context robustness and multi-party interaction. Real-world scenarios such as meetings, group lessons, and social-robot reception require a single model to track, contextualize, and respond to multiple speakers over extended durations. Progress is constrained by both data and evaluation: open multi-party speech corpora remain small and are not designed for codec-frame-level full-duplex modeling, while existing long-audio benchmarks focus on passive listening and speech-to-speech benchmarks are mostly short and dyadic. We extend the Moshi paradigm jointly along the long-horizon and multi-party axes in English and Chinese. First, we release 57.6k hours of synthetic training data ($\href{https://huggingface.co/datasets/MultiTalk/MultiTalkPT}{MultiTalkPT}$ and $\href{https://huggingface.co/datasets/MultiTalk/MultiTalkFT}{MultiTalkFT}$) for long-form, multi-party, English-Chinese full-duplex dialogue, with controllable length, participant count, turn-taking, overlap, backchannels, interruptions, addressee shifts, and long-range coreference. Second, we introduce $\href{https://huggingface.co/datasets/MultiTalk/MultiTalkBench}{MultiTalkBench}$, built from real human recordings, for evaluating long-form, multi-party, bilingual full-duplex dialogue. Conversations average 32.6 minutes and include probes for long-range entity tracking, topic coherence, and addressee selection. Third, we train a bilingual Moshi-style model that sustains coherent multi-party English-Chinese conversations over extended durations and substantially outperforms open-source baselines including Moshi, MiniCPM-o-4.5, and Qwen3-Omni-30B-A3B-Instruct on MultiTalkBench.

arXiv cs.AI81

CoEM: Empowering Long-Context Reasoning with Commit-on-Evidence Memory

Long-context reasoning is essential for complex and long-horizon tasks, yet the performance of large language models (LLMs) degrades as context length increases. Recent approaches address this by processing input chunk by chunk while maintaining a bounded textual memory in model context. However, premature information compression can discard critical details essential for subsequent reasoning. In this paper, we introduce Commit-on-Evidence Memory (CoEM), which learns when to convert source evidence into compact memory facts. Specifically, under a fixed context-memory budget, CoEM preserves potentially useful source excerpts verbatim in a pending set, allowing subsequent context to clarify their relevance before irreversible compression. As new context arrives, a learned policy revisits each pending excerpt and decides whether to promote it to the committed memory, retain it for further consideration, or discard it. A frozen verifier ensures proposed facts are accepted only if supported by retained excerpts and current context. To further guide effective memory management, we train this policy using reinforcement learning by combining fine-grained, step-level evidence rewards with final answer rewards. Extensive experiments demonstrate that CoEM consistently improves long-context reasoning. When evaluated on 6,400 documents long-context input, CoEM outperforms the strongest memory baseline by 10.4-11.4 F1 points on Qwen3.5-9B. Code repository: https://github.com/benmagnifico/CoEM.

Hacker News 熱門73

GLM-5.3 与先进网络能力的扩散

文章链接: https://www.anthropic.com/research/glm-5-3-and-the-spread-of-advanced-cyber-capabilities 评论链接: https://news.ycombinator.com/item?id=49897075 得分:13 评论数:5

arXiv cs.AI76

极其简单的自我回顾无需 RL 即可提升智能体模型

人们不仅通过重复成功的行动来学习,也会通过复述和解释自己的经历,修正理解以指导未来行为。语言模型智能体能否仅通过训练其自身经历的解释来改进未来行动?我们通过研究 Retrospection-Only Fine-Tuning (ROFT) 来探讨这一问题;ROFT 是一种极简的在线流程,旨在隔离仅基于解释的训练对后续行为的影响。智能体尝试一项任务,观察可用反馈,生成回顾性解释,并仅在解释 token 上使用下一 token 预测损失进行微调。该流程既不使用外部教师,也不进行基于奖励的策略更新。在使用 Qwen3.5-4B 的软件工程实验中,ROFT 在基础模型尝试结果成功与失败混合的问题上进行训练。在留出的 SWE-bench Verified 和 Pro 上,在不使用验证器的情况下,它经过 20 次更新后达到 49.2% 和 26.8% 的解决率;相比之下,在所评估的运行中,GRPO 经过 40 次更新后的解决率为 48.0% 和 25.3%。ROFT 在训练时间和采样尝试次数方面也表现出更快的早期进展。它还学会了解决一些单个任务,而基础模型在这些任务上的 64 次采样尝试全部失败,这表明即使最初没有任何成功轨迹,学习也可以开始。行为分析发现,ROFT 会间接地为行动分配信用,鼓励好的行动并抑制错误行动。此外,通过提示回顾强调更直接的解决方案,即使没有显式长度惩罚,后续尝试也会变得更短。总体而言,这些发现表明,学习解释也能改善学习行动,确立了自生成回顾作为有用训练目标的价值,并推动对解释到行动迁移的进一步研究。

arXiv cs.AI66

HyperMCTS: Hypergraph-Augmented MCTS for Long-Horizon LLM Agents

Long-horizon tasks require large language model (LLM) agents to coordinate decisions under constraints that span an entire solution. Monte Carlo Tree Search (MCTS) offers a promising approach to test-time scaling by exploring alternative action trajectories, but model computation and environment interaction make search costly. Efficient search therefore requires effective reuse of trajectory feedback. Standard MCTS maintains prefix-specific statistics, without explicitly accumulating outcomes for decision groups that recur across different paths. To fill this gap, we propose HyperMCTS, a training-free method that augments an ordered MCTS tree with a cross-trajectory hypergraph. Hyperedges represent groups of canonical decisions and accumulate their observed returns within the current task. Our hypergraph-guided HyperUCT selection rule aggregates evidence from overlapping hyperedges into an action prior, allowing outcomes collected under one prefix to inform selection under another while preserving execution histories in the tree. On DeepPlanning, HyperMCTS improves average planning accuracy by 2.3--7.3 percentage points over the strongest baseline for each of three backbone models. It enables Qwen3.6-27B to outperform Claude Opus 4.6 (max) on Shopping Planning, while achieving higher accuracy with fewer LLM calls and output tokens than the evaluated MCTS-based baselines. SealQA experiments further demonstrate improvements in question answering.

arXiv cs.AI80

量化误差在频谱上是平坦的:单个随机探针是一种经过校准、无需数据的敏感度估计器,并可应用于面向预算的混合精度量化

单个随机 Gaussian 探针可以无偏估计某一层量化误差的平方 Frobenius 范数。该估计器表现良好,因为舍入到最近值的误差在频谱上是平坦的。在来自一个 35B MoE 和一个 9B 稠密模型的 1,683 个张量中,有效维度为相同形状的独立同分布噪声值的 0.93 到 0.96 倍,并且在 MoE 上,从 2-bit 到 8-bit 的中位数保持不变。探针变异系数可由张量形状预测。一个探针可在 4% 到 7% 以内测量每个张量的敏感度;二十个探针可达到 1.3% 到 1.4%。RAM 将该估计器的传播形式应用于无需校准数据、面向预算的混合精度量化。携带网络自身输入统计信息的 Gaussian 探针会在六种位宽下为每个张量评分。一个背包求解器在精确字节预算下分配位数,并设置防护机制以避免灾难性的 2-bit 分配。一次探针传递即可服务任意预算。孤立评分和传播评分在 Qwen3.5-35B-A3B 上对张量的排序彼此独立(Spearman -0.01),但传播探针与来自真实激活的 GPTQ 层目标之间的秩相关为 0.81 到 0.83,而孤立估计器与其不相关。该目标并不是正确的分配目标:在 Qwen3.8-27B 上字节数匹配时,块输出探针优于厂商 IQ3_M 混合方案,也优于基于真实激活目标进行分配的 oracle。在 Qwen3-8B 上,传播探针在字节数匹配时与 HAWQ-V2 打平。跨越从 8B 到 122B 的七种架构,并且在单台工作站上对一个 400B 模型进行探针计时最多九分钟的情况下,RAM 在测试的 MoE 模型上,相比大小相近的统一 4-bit 构建,将 WikiText-2 中位困惑度降低了 3.5% 到 13.6%。

arXiv cs.AI72

GroupMask:用于半结构化 LLM 剪枝的层自适应分组稀疏性

半结构化剪枝在保持规则稀疏结构的同时压缩大型语言模型(LLMs),但主流的 N:M 模式在每一层中固定相同的局部稀疏率。层自适应稀疏分配能够改进非结构化剪枝,但据报道在 N:M 稀疏性下效果较弱,这留下了一个开放问题:自适应分配对于半结构化剪枝总体而言价值有限,还是仅在细粒度的 N:M 模式下受限。我们通过组级稀疏性来考察这一问题:它将每个权重矩阵划分为规则的组,整体保留或剪除每个组,并允许每一层的稀疏率在全局预算下变化。我们提出 GroupMask,它使用轻量级超网络生成所有层的组选择器,通过 Gumbel-Sigmoid 参数化和直通估计器对其进行松弛,并在保持预训练权重冻结的同时,通过稀疏预算正则化和自蒸馏来学习这些选择器。在 LLaMA-2-7B 上,以 50% 稀疏率和相同的 $1\times256$ 组大小进行实验时,相比于每层均匀比例,学习得到的层自适应分配将 WikiText-2 困惑度从 10.02 降至 8.30,并将平均零样本准确率从 0.455 提高到 0.496。在五个 LLaMA 和 Qwen 模型上评估的基线中,GroupMask 在 LLaMA-2-7B 上获得了最低的 WikiText-2 困惑度,并在使用 Alpaca 校准时取得了最高的平均零样本准确率。我们的代码可在 https://github.com/ZhengaoLi/GroupMask 获取。

arXiv cs.AI67

Thinking Outside the Box: Retention and Transmission of Information in Sliding-Window KV Inference

Sliding-window KV inference refers to processing a sequence incrementally while retaining only a fixed-size cache of recent key and value states. It can be applied to pretrained causal transformers at inference time without additional training, while its KV-cache memory remains fixed as more tokens are processed. Because cached states are computed in the context of earlier tokens, they may carry information from beyond the current window and transmit it to later states. This study presents a series of experiments using five open-weight models spanning Qwen, Llama, Mistral, and Muse Glimmer. We investigate whether information originating outside the immediate context window can persist through a rolling KV cache and remain useful for retrieval. Initial results show that retaining previously computed states improves retrieval across the models tested compared with recomputing the final fixed window from raw tokens. We then measure how far this effect extends and find that Muse Glimmer and Mistral 7B show the strongest \emph{latent information relay}: they can recover information even after the relevant source tokens have left the cache. Both models incorporate sliding-window attention in their published architectures, an association that motivates testing whether training with sliding windows promotes more reliable information retention.

arXiv cs.AI69

How Far Do Persona Effects Generalize in Language Models?

Persona prompts ask language models to answer as particular kinds of people. We test whether relationships learned from these effects predict responses to new questions and remain useful across models and prompts. Across 57 attributes, three behavioral domains, and seven pairs of open 7 to 9B checkpoints, persona effects can be predictable without being portable. Separate attribute and task gains improve prediction beyond shared scaling significantly in OLMo-3 and Qwen2.5, with the most robust evidence in OLMo-3. In that model, target refitting significantly outperforms gains borrowed from each of the other six pairs. Across model transfers, borrowed gains with one amplitude underperform shared scaling in most directions; allowing two target parameters removes the significant losses but yields no significant benefit over target shared scaling. After rewording, refitting significantly outperforms reuse with one amplitude in all six tested pairs, while changes of examples or country context often preserve reuse value. In the tested prompt transfers, regularized updates outperform both reuse strategies in median at 64 target questions per attribute. A separate survey comparison finds that selecting the more responsive checkpoint can worsen human fit; responsiveness is confounded with training status, and temperature calibration largely removes this cost but not errors in group ordering. Within the tested gain representation, apparent transfer can come from target calibration; source relationships must add predictive value beyond calibration and regularization. Code and data are available at https://github.com/thzva/persona-gain

arXiv cs.AI69

Continual Learning via Self-Probe Gradients

Adapting pretrained models to new data can cause catastrophic forgetting of previously learned behavior. When only a few past samples remain, they give continual learning methods sparse and narrow evidence about what to preserve. We show that language models can expand this evidence through self-probing, in which the frozen model generates new inputs from the retained samples and records its own predictions on them. Unlike prior work that replays such data as training examples, our method, CPLUS uses self-probe and past-sample gradients to scale down parameter updates that conflict with prior behavior. Experiments with five language models on four benchmarks show three results. First, the same probes preserve more prior behavior as gradient signals than as replay data. Second, CPLUS learns the new data while consistently reducing forgetting more than existing baselines, especially when past data are scarce, and this protection extends to benchmarks not used for training. Third, we observe that CPLUS also becomes more effective as models grow: within the Qwen3 model family, it recovers an increasing share of the forgetting caused by standard fine-tuning.

arXiv cs.AI65

CLAIRE: A Schema-Grounded Hybrid Workflow for Healthcare Administrative Form Completion

Healthcare administrative staff transfer structured information from electronic health records, referrals, claims systems, provider rosters, and work queues into dynamic forms. We developed and evaluated CLAIRE (Clinical Language and Agentic Intelligence for Reasoning and Entry), a hybrid workflow that separates field-state discovery, source-to-field mapping, deterministic validation, bounded correction, escalation, and audit tracing. We tested five synthetic healthcare administrative schemas, 1,000 source records, four interface variants, two data-quality suites, and six comparators, yielding 24,000 benchmark episodes. A separate strict-output audit evaluated direct mappings from Qwen2.5-1.5B and Qwen2.5-7B, and a trace-derived operational simulation covered 6,000 episodes. Under the evaluated synthetic benchmark conditions, full CLAIRE achieved 1.000 episode success, field accuracy, required-field completion, and dependency completion in both suites; removing validation reduced stress-suite success to 0.500. In the simulation, 100.0% of clean and validation-stress episodes reached a staff-reviewable draft, compared with 68.6% of escalation challenge episodes, unsupported cases were blocked. Scenario-based savings were 149.7-165.5 seconds per case, not observed staff times. The findings support schema-grounded, validation-first healthcare administrative automation in which language-model components assist mapping but do not authorize unsupported or consequential actions.

arXiv cs.AI78

AgentHabit:刻画智能体在日常任务中的独特行为

大语言模型(LLM)智能体可以帮助用户完成日常任务,而这些任务通常有许多合理的完成方式。即使它们的回答有用,智能体执行这些任务的方式也可能不符合用户的偏好和需求。例如,不同智能体在是否提出澄清性问题或搜索网络方面存在差异。我们提出 HABIT,这是一个包含五大类别、23 个行为维度的分类体系,由三位作者和三个 LLM 基于 17 个领域中的 408 条智能体轨迹自下而上推导而来。在留出任务上,相比现有的人类价值观和智能体行动分类体系,HABIT 能更清晰地区分模型,同时支持相近一致性的标注。基于 HABIT,我们构建了 AgentHABIT,这是一个基准测试,可根据智能体在 86 个日常任务上的轨迹刻画每个智能体的行为倾向。使用 AgentHABIT 对 18 个模型进行画像揭示了一系列鲜明的倾向。例如,大多数 GPT 和 Claude 模型会陈述其假设,并在需求冲突时提供替代方案,而 Qwen 和 Google 的模型更常不明确说明假设或需求变更。即使使用完全不同的任务集构建,这些画像仍然可被识别,表明它们反映的是一般性倾向,而非特定任务行为。提示智能体采用特定行为会使某些维度很容易发生变化,但对其他维度几乎没有影响;而在另一个模型的轨迹上进行微调只会改变模型画像的一部分,并保留其中的大部分特征。总体而言,HABIT 和 AgentHABIT 提供了一个系统性框架,用于刻画智能体在任务成功之外如何执行日常任务,并提供洞见以指导开发行为更符合用户需求的智能体。

arXiv cs.AI71

Re-derivability Decides What a Staged Agent Pipeline Recovers After an Upstream Fault

One variable sets what an upstream fault costs a staged pipeline of language-model agents: re-derivability, how much of what a stage needs it can rebuild from the original problem. Grounding an inspector agent in that problem is worth +0.608 [+0.517, +0.700] to +0.358 over a blind one on four open-weight backbones served with thinking disabled, and on the two Qwen backbones the blind inspector changes no item at all. That head-to-head is exploratory. One deterministic fault enters the first stage, and we re-expose the original problem to $k = 0,\dots,3$ of the downstream stages with agents, items, fault and topology held fixed, on 120 gsm_hard items per arm at temperature zero. Accuracy under fault rises on four of four backbones, from +0.233 to +0.392, the largest Holm-adjusted $p$ being $2.1\times10^{-6}$. A registered kill test rules out tokens. Blanking every word holds the word slots fixed, and retention tracks the visible fraction on four of four, climbing from 0.221 to 0.692 on the primary. Those two families are confirmatory and everything else here is exploratory. The interaction excludes zero on two of four backbones under the registered pipeline, four of four under a three-stage pipeline, and three of four under full message history, the primary at +0.317. On Llama-3.1-8B the fault carries no detectable cost at any dose, so the other three carry every claim about what a fault costs. Re-derivability also sets what the architecture costs, and no decomposition we measured reliably beats one direct call. With no fault injected the registered pipeline loses to that call by -0.267, -0.125 and -0.317, and on Phi-4 reads +0.058 at $p = 0.118$, which the test fails to separate from zero. The repair that works is cheap and front-loaded: the first re-grounded stage buys +0.394 of matched retention for +59.8 tokens per item on Qwen3-14B, and the stages after it buy nothing.

arXiv cs.AI69

Nutri-ATLAS: Embodied Agent for Tabulated Lookup and Assistance for Smarter nutrition

Generative and Agentic IoT systems offer a promising foundation for digital healthcare applications that combine sensing, personalized reasoning, and autonomous interaction in real-world environments. Nutrition assistance is a natural use case, but existing Large Language Model (LLM)-based systems are often limited to passive text interaction and static context, making them unreliable when food descriptions are ambiguous or nutritional evidence is missing. We propose Nutri-ATLAS, an Embodied Agent for Tabulated Lookup and Assistance for smarter nutrition in the real world. It integrates graph-grounded nutrition reasoning, hardware-aware LLM selection, and robot-based evidence acquisition. Nutri-ATLAS builds a unified Food-Nutrient knowledge graph from USDA FoodData Central and FoodKG and learns 64-dimensional GATv2 food and recipe embeddings. A shared hybrid graph-text scoring mechanism supports food nutrition extraction, nutritional gap filling, substitute retrieval, and recipe-level meal composition, while an LLM-guided skill interface navigates landmarks, updates dietary-context and food-accessibility memory, and grounds recommendations in observed food availability. We evaluate Nutri-ATLAS across nutrient estimation, substitution retrieval, recipe recommendation, patient-profile adherence, edge deployment, and real-world embodied execution. On HealthyFoodSubs, the hybrid retriever achieves 37.9% MAP, 80.7% RR@5, and 90.1% RR@10. On NutriBench v2, Dense+GAT retrieval grounds nutrient estimation across nine quantized Qwen3.5-9B configurations. On PFoodReQ, Nutri-ATLAS reaches 78.8% MAP, 83.0% MAR, and 77.5% F1. A patient-profile study shows adherence to allergy and healthy-target constraints for all selected cases.

arXiv cs.AI73

超越准确率:LLM 临床评估中的反事实脆弱性与人口统计学偏见

临床 LLM 评估通常强调答案准确率;然而,仅凭准确率无法检验反事实一致性或人口统计学稳健性。我们使用两种自动扰动测试,在 150 道 MedQA USMLE 题目上评估了六个 LLM 的表现。反事实有效性(CFV)测试要求每个模型做出一个最小且合理的临床改动,使另一个答案成为正确答案。人口统计学稳健性测试在同一病例描述前添加六种人口统计学前缀,并将答案和解释与无人口统计学信息的基线进行比较。在 900 次 CFV 尝试中,228 次(25.3%)有效,672 次无效。在 5,400 次人口统计学比较中,有 1,097 个答案发生了变化(20.3%)。自动评判识别出 3,128 个刻板印象证据标记,其中 1,932 个属于广义的 Other 类别。MedGemma 27B 取得了最高的准确率(87.1%)和 CFV(63.3%)、最低的答案变化率(16.0%),以及较低的平均 Explanation Demographic Dissonance(EDD)分数(0.169)。然而,其准确率仍高于其 CFV,表明正确答案并不能保证在反事实有效性任务上的可靠表现。OpenBioLLM 的答案变化率和 EDD 最高,而 GLM 的刻板印象标记率最高。这些发现表明,准确率、CFV、答案稳定性、EDD 和刻板印象证据捕捉的是不同的评估方面。由于所有判断均为自动化完成,且没有临床医生验证,因此结果支持安全性筛查,但不能证明该模型具备临床部署能力。

arXiv cs.AI70

Routing Drift Alone Does Not Diagnose Failure in Merged MoE LLMs

Model merging efficiently combines specialized large language models (LLMs) without joint retraining, but can substantially alter expert routing in Mixture-of-Experts (MoE) models. Such \emph{routing drift} is often interpreted as routing failure, raising a fundamental question that remains unclear: \emph{does routing drift after MoE merging actually indicate routing failure, and what evidence should justify repair?} We investigate these questions across DeepSeekMoE, OLMoE, and Qwen3-MoE proposing a routing analysis toolkit for controlled counterfactual interventions and token-level analysis. By crossing source and merged router inputs and parameters, we attribute most expert reassignments to input shifts rather than parameter changes at the same layer. However, source-relative routing differences poorly predict next-token likelihood gains from source-route restoration, and different expert selections can produce directionally similar mixture outputs. We therefore operationalize routing failure as \textit{task loss recoverable under a specified routing intervention, with non-routing parameters fixed.} These tests detect recoverable loss under deliberate router corruption, whereas source-route restoration does not establish reliable task benefits in the evaluated merged models. Motivated by these, we propose \emph{Selective Router Repair (SRR)} as a case study, and find that source-specialist token-likelihood advantages do not reliably identify beneficial local corrections. Together, these findings show that \textbf{routing drift alone is insufficient evidence of routing failure}: source-informed corrections must be judged by their task-level intervention effects. The analysis toolkit and SRR code are released.

arXiv cs.AI73

高亮再总结:学习压缩证据以实现长上下文理解

长上下文理解要求大型语言模型(LLMs)对长篇文档、对话和代码进行推理,但与任务相关的证据往往稀疏且分散,夹杂在大量无关和冗余内容之中。我们提出 Highlight-Then-Summarize(H2S),这是一种先压缩再推理的范式:首先识别基于源内容、与问题相关的证据,然后在生成最终答案之前,将其整合为紧凑的、以问题为条件的摘要。为训练这种行为,我们构建了 H2S-Dataset,包含来自 11 个基准系列的 6,647 个示例,平均上下文长度为 43.9K tokens,并引入 H2S-RL,除最终答案正确性外,还为证据选择和摘要构建提供过程级奖励。我们在 H2S-Bench 上进行评估,这是一个包含七项任务的长上下文套件。在共享的 128K 输入和 4K 输出预算下,H2S-14B 的平均得分为 32.60,比 Qwen3.8-27B 高出 10.17 分,并在所评估的开源模型中取得最强的总体结果。H2S-14B 还取得了最高的 Evidence-Summary Quality 分数,并且在仅有 4K 输出预算的情况下保留了其 16K 预算性能的 97.1%。这些结果表明,显式选择并整合证据能够改进长上下文推理,同时实现更紧凑的生成。

arXiv cs.AI71

Compress What You See, Not What You Say: Anchored Context Distillation for Latent-Observation Software Engineering Agents

Tool observations dominate the context of software-engineering agents, making long interaction histories costly to maintain. Existing context compression methods can discard information needed by later actions, while adapting agents to soft-token representations can compromise their original behavior. To reduce context while preserving action-critical information and agent behavior, we combine Latent Observations, Hard Actions (LOHA), a context layout that separates compressed history from text needed for exact reference, with Anchored Context Distillation (ACD), a training method that enables latent reading while constraining behavioral drift. LOHA compresses older tool observations into soft tokens while retaining the agent's own turns and the last K observations in text, providing compact access to historical information and exact access to recent content. To enable the agent to use this representation, ACD distills the base model's full-text predictions into the latent view while anchoring its behavior on plain-text inputs to the same base model. On SWE-bench Verified, K=3 reduces context per call by 43% for Qwen3-4B and 57% for SWE-Master-4B-RL, with resolve rates of 12.1% and 21.8% versus 14.5% and 27.5% for their uncompressed bases. A single-run recency sweep reaches 14.4% and 23.0% at K=8, with larger windows generally favoring task performance over compression. Under a 32K-token limit, Qwen3 with K=3 resolves 21.1% of a 199-instance subset versus 11.1% for the same adapted agent using full text. In concurrent single-GPU serving, it achieves 1.9 times that full-text agent's instance throughput.

arXiv cs.AI72

从奖励信号到视觉效用:医学 VLM 后训练的受控审计

医学视觉语言模型(VLM)后训练通常通过答案准确率进行评估。我们在 PMC-VQA 上开展了一项受控的 Qwen2.5-VL-3B 研究,考察准确率和训练目标的变化如何与基于图像条件的决策相关。我们比较了仅限于语言模型的低秩适配(LoRA)监督微调(SFT)、扩展的多模态适配范围、标准的仅答案 Group Relative Policy Optimization(GRPO),以及一种反事实证据目标。在 2,000 个干净测试问题上,语言模型 LoRA SFT 使正确图像准确率变化了 +1.10 个百分点(95% 配对 bootstrap 置信区间:-0.85 至 +3.05),而视觉受益事件减少了 2.40 个百分点,图像敏感性减少了 5.60 个百分点。配对记录显示,新增了 155 个视觉受益事件,丢失了 203 个视觉受益事件。更广泛的适配相比语言模型 LoRA SFT 产生了更低的正确图像准确率。标准 GRPO 产生了混合奖励组和参数更新,其干净测试准确率变化存在不确定性。生成审计显示,规范选项分数可能遵循与生成答案不同的 token 路径。当沿贪婪生成路径获取分数时,证据目标在训练集上有所提升;在匹配训练剂量的验证数据上,其相对于标准 GRPO 的增益仍不一致。样本级分析追踪了后训练过程中证据分数、决策边际和生成答案如何变化。这项实证与测量审计识别了优化活动、目标获取和有用的留出视觉行为之间的差距。

arXiv cs.AI73

学会停止而无需学习停止:自监督置信度训练提升推理效率

推理模型通常会生成很长的推理轨迹,使推理在计算上代价高昂。现有方法通常通过推理时的提前停止机制,或在训练中明确鼓励更短的推理来提升效率,例如使用带长度惩罚的强化学习。我们表明,可观的效率提升也可以来自另一种监督:\textit{置信度}。通过一种自监督流程,我们仅使用 600 个训练问题,对推理模型进行微调,使其在自身推理轨迹的中间节点预测其对答案的置信度。置信度仅作为训练目标使用:损失函数中不包含任何针对推理长度、效率或停止的目标。在推理时,微调后的模型使用标准生成流程,不进行置信度引出,也不采用提前停止机制。尽管如此,自监督置信度微调仍使推理更加高效,在数学、科学和代码推理基准上,对于 Gemma、Qwen、Nemotron 和 GPT-OSS 模型,在准确率相当的情况下可将生成的 token 数减少多达 25\%,其效率提升与显式优化更短推理的方法相当。对推理过程的分析进一步表明,置信度监督在很大程度上保留了基础模型的高层推理组成,而不是选择性地抑制特定行为。我们的结果表明,高效推理可能是学习元认知信号的下游结果,而无需直接对其进行优化。

Hacker News 熱門56

Turning GLM-5.3-Flash into a Jev-like decision model

We found an approach to get Jev-like properties from standard LLMs like GLM-5.3-Flash. The core idea is to craft the input prompt so that the first output token answers the question. This makes it possible to get a decision with a single forward pass. In the blog post, we describe the approach in detail for GLM-5.3-Flash and vLLM. We benchmark this setup against Jev and Laya. We find that our setup is on-par with Jev in terms of accuracy and speed and that it substantially outperforms Laya. Still, in terms of costs per decision, Jev is several x better than our setup. In turn, our setup supports vision inputs. Comments URL: https://news.ycombinator.com/item?id=49857656 Points: 5 # Comments: 1

Hacker News 熱門63

DeepSeek 弹性计算 (DSec)

文章 URL: https://arxiv.org/abs/2609.22978 评论 URL: https://news.ycombinator.com/item?id=49859112 点数: 6 评论数: 0

arXiv cs.AI80

零数据自博弈预训练

语言建模的进步一直得益于在越来越多的数据上扩展预训练。然而,训练数据仍主要是由人类替模型整理的。更通用的预训练方法应当让模型学会生成对自身改进最有用的数据。这样便能提供一个实际上不受限的训练数据来源,其上限取决于计算量,而非人类知识。我们提出了零数据自博弈预训练,这是实现这一愿景的初步概念验证。我们的方法借鉴 Solomonoff induction,将合成数据生成视为在所有可计算结构空间中的搜索。从随机初始化开始,两个模型协同学习:生成器提出由通用图灵机解释的程序,并生成字节序列;学习器则自回归地预测这些字节序列。学习器采用标准交叉熵进行训练,而生成器采用强化学习进行训练,以生成处于学习器能力前沿的序列,从而形成自适应课程。通用图灵机为我们提供了一个涵盖所有可计算数据生成过程的搜索空间,同时几乎不施加特定领域结构;自博弈则在这一空间中搜索有用的训练数据。我们测试了自然数据上的零样本性能是否会随着自博弈计算量的增加而呈现可预测的改善;由于生成器和学习器都没有在自然数据上训练,这为迁移能力提供了一个干净的测试。在多个自然数据集上,零样本损失都表现出随计算量变化的可预测缩放规律。这些模型还表现出上下文学习能力,并在训练过程中发现了可辨认的数学序列。

arXiv cs.AI77

HEXIS:将技能编译为扩展有限状态机

智能体技能提供可复用的知识和指令,但智能体必须反复推断如何应用这些技能以及下一步应执行哪项操作。这使任务推理与控制决策耦合在一起,导致规定步骤可能被遗漏或错误应用。我们提出 HEXIS,将智能体技能编译为扩展有限状态机,从而分离知识与控制流。技能知识被纳入局部指令,用于引导状态内的推理与生成。状态机记录执行进度和中间结果,而显式的转换条件决定后续操作。我们的增量式编译器首先将技能条款和工具接口映射为状态操作、局部指令、数据绑定和转换。随后,它将开发轨迹与现有状态对齐,以识别缺失的操作和依赖关系,并通过添加或复用状态以及细化状态之间的连接来纳入这些内容。只有在通过静态检查并重放当前及所有此前已接受的轨迹后,更新才会被接受。在四个基准和四个执行器上,HEXIS 相较于 Skill + ReAct 平均将成功率提高了 16.1 个百分点。Qwen3.8-27B 在各基准上的执行 token 数减少了 38.4%–88.9%。

arXiv cs.AI80

Rufus-Air:一种开放的大语言模型后训练方案

Rufus-Air 是一种基于 GLM-4.5-Air-Base (106B-A12B) 的开放且可复现的后训练方案,由八个阶段组成的串行流程构成:SFT、推理 RL、编码 RL、指令遵循 RL、通用智能体、编码智能体、搜索智能体和 RLHF。我们详细记录了复现该方案所需的数据、奖励设计、基础设施、阶段顺序以及各阶段结果。训练阶段从基础能力逐步发展到高级能力,奖励信号也从严格且可验证的奖励逐步过渡到更柔性的基于评判器的信号。训练基于开源组件和公开数据,其中许多数据直接按发布版本使用,未进行新的人类标注,也未使用内部蒸馏教师模型。我们的主要发现包括:(i) 多样且高质量的 SFT 能够建立较高的能力下限;(ii) 难度筛选能够将 RL 提示控制在有利于学习的范围内;(iii) 奖励可靠性为阶段排序提供了实用原则;(iv) 基础设施和工程选择是方案本身的一部分,而不仅仅是实现细节。Rufus-Air 的表现优于官方发布的 GLM-4.5-Air 后训练版本,并且具备与规模相近的开放模型相竞争的性能。

arXiv cs.AI82

SWE-Prometheus:衡量真实代码仓库中的工程治理改进

基于大型语言模型的编码代理在代码仓库级软件工程任务上取得了长足进展。然而,现有的代码仓库基准通常从人工识别的问题出发,并评估补丁是否满足某种功能性信号。我们提出 SWE-Prometheus,这是一个面向更广泛代码仓库工程治理改进任务的基准。每项任务都提供一个固定快照和一个开放式目标,要求代理识别风险、确定干预措施的优先级,并验证由此产生的变更。SWE-Prometheus 通过配对证据、干净环境探测、行为门控,以及两位教师对同一证据的独立评分,从六个治理维度进行评估。该基准包含 60 个代码仓库;其中,十个模型在一个共用的 22 个代码仓库公开子集上接受评估,平均归一化治理改进(Normalized Governance Improvement)介于 0.0568 和 0.5760 之间,观测到的行为破坏率介于 0% 和 23% 之间。在一个冻结的十仓库批次上,一个对代码仓库不可见的模板取得了 0.272 的平均 NGI,但其收益集中在 Tests & CI、Quality Gates 和 Documentation 三个方面;它在任何代码仓库上都没有改善 Reproducible Environment 和 Dependency & Security。该基线使区分“添加治理工件”和“产生有执行依据的改进”成为可衡量的事情。无操作条件的 NGI 中位数为零,标准差为 0.073;对于同一份无操作证据,两位教师在 60 个维度评分中的 57 个上完全一致。对于两个条件均值最高的系统,其 common-valid NGI 相近;而包含行为失败在内的全池比较则更 favor Kimi-K3。这些结果表明,代码仓库治理评估应同时报告改进程度、行为保持情况、证据质量和覆盖范围。

arXiv cs.AI86

预填充推理通道:针对推理型 LLM 的输出前缀攻击

大型语言模型(LLM)接收并生成单一文本序列;因此,如果可以在 LLM 响应的开头添加文本,即输出前缀,那么后续所有 token 都将以此为条件。输出前缀攻击技术是一种成本低廉的黑盒提示注入方法。先前研究表明,这类攻击能够稳定地令非推理模型越狱。大多数推理模型会在助手的最终响应之前,增加一个中间的草稿推理步骤。一些 API 暴露了编辑这一推理通道的能力,攻击者可以利用某些攻击向量发起推理注入攻击。我们开展了首项系统且受控的研究,将草稿推理通道单独作为输出前缀攻击向量进行分析;同时也是首项在推理过程公开和隐藏的模型中,对仅推理、仅输出前缀以及推理加输出前缀三类攻击进行比较的研究。我们采用 3 种前缀类型 × 2 种推理注入的析因设计,在从 AdvBench 抽取的 1,800 个测试案例上,对三个 2026 年前沿模型 Gemini 3 Flash Preview、DeepSeek V4 Flash 和 Claude Haiku 4.5 发起攻击。我们发现,单独注入恶意推理基本不起作用(攻击成功率约为 0%);但将相同的推理与一个简单的输出前缀一同注入后,在某些模型上可将攻击成功率提升至最高 99%。对于这类攻击,我们发现上下文前缀的效果优于静态前缀;此外,模型是否容易受到攻击取决于具体模型。

arXiv cs.AI81

加纳语言青少年健康沟通自动语音识别(ASR)基准测试与领域适配

本文对三种加纳语言(Twi、Dagbani 和 Ewe)中的青少年健康沟通自动语音识别(ASR)开展了一项端到端研究。研究分为三个相互衔接的阶段:第一阶段,我们在通用领域《圣经》语料库和青少年性健康与生殖健康(ASRH)领域 ASR 数据集上,使用字符错误率和词错误率(CER、WER)对五个 ASR 系统进行了基准测试,其中包括三个特定语言的 Wav2Vec2 模型以及两个多模态大语言模型 Gemma 3n 和 Gemma 4。第二阶段,在基准测试结果的指导下,我们开展了有监督的领域适配:尽管 Gemma 4 是零样本条件下表现最强的候选模型,但对其进行微调在计算上不可行,因此我们转而采用轻量级的 Qwen3-ASR-0.6B,使用大型加纳《圣经》语料库(约 9 万个样本)进行微调,并严格在留出的人工采集领域内音频上进行评估。微调后,所有语言的 WER 均有所降低,其中 Ewe 的改善最为显著(WER 从 109.3% 降至 64.8%,下降 44.5 个百分点;CER 从 65.1% 降至 24.9%)。第三阶段,我们通过 KasaHealth 对研究进行验证:KasaHealth 是一款以语音为先、以三种语言部署的实时 ASRH 应用,并配套使用 Senti-Check 这一技术评估工具。KasaHealth 经 50 名社区受访者测试后,聊天认可率达到 100%,翻译获评“良好”或“优秀”的比例为 72%,愿意推荐的比例为 92%;与此同时,测试还揭示了最限制其实际应用的领域差距。贯穿三个阶段的证据一致表明:对于这些语言而言,制约因素是经过验证的领域内数据,而不是模型能力或计算资源。

arXiv cs.AI80

Can LLMs Catch a Rigged Backtest? A Clean-Control Calibration Benchmark

Backtest auditing is a calibration problem: high flaw recall is not useful when the model falsely flags matched clean strategies. We build a 96-item paired benchmark in which every flawed backtest has a clean control that holds strategy, dates, code style, labels, and reporting scaffold fixed while changing one methodology detail. A deterministic scorer separates flaw recall, clean-control false positives, evidence localization, and fix relevance. Over 1440 cached audits from four text endpoints, the primary DeepSeek auditor reaches 100.0\% closed and clean-aware code recall, but open prompts over-flag 93.8\% of clean code controls, and clean-aware all-three specificity is 87.5\% even where recall saturates. A clean-aware warning drops DeepSeek code false positives from 20.8\% (95\% CI 11.7--34.3) to 0.0\% (0.0--7.4) at unchanged recall, while the budget anchor still flags 38/48 clean controls under the same prompt. Reporting recall alone would rank three of these four models identically; reporting the clean-control rate separates them by 79 points.

arXiv cs.AI76

学习可靠推理的成本

基准测试和路由平台日益充当连接大型语言模型提供商与终端用户的中介。然而,这些平台上的提供商通常采用固定的每令牌价格,使用户无法为其任务获得最具竞争力的价格。% 工作负载。在本文中,我们设计了一个采购平台,其中每项任务的令牌价格由提供商之间的竞争决定,从而使用户能够为有保障的质量水平争取具有竞争力的价格。为此,该平台通过反向二价拍卖依次路由查询,激励模型提供商如实竞标其对服务用户查询平均成本的最佳估计。随着查询的路由,该平台会学习每个提供商所能提供的质量,并逐步将查询路由至满足期望质量阈值的提供商中成本最具竞争力的提供商。为验证我们的设计,我们使用来自 \texttt{Llama} 和 \texttt{Qwen} 系列的多个 LLM,在广受欢迎的数学推理和问答基准测试上开展实验。结果表明,在我们的平台上,成本最具竞争力的提供商的定价差额会因任务和质量阈值的不同而显著变化——从 $10\%$ 到 $71\%$ 不等。这表明当前固定价格市场存在相当大的低效,同时也说明,只要市场条件允许形成竞争,我们的平台就能帮助用户获得最大程度的节省。

arXiv cs.AI72

When and Where to Trust the Teacher: Unifying On-Policy Distillation and GRPO through Entropy-Calibrated Credit Assignment

Reinforcement learning with verifiable rewards (RLVR) supervises mathematical reasoning through final-answer correctness, but provides little guidance on individual tokens. On-policy distillation (OPD) supplies dense feedback on student-generated responses, yet teacher preference need not reflect correctness. Recent hybrids combine OPD and verifier-derived advantages or reweight task credit using teacher ratios. However, teacher guidance enters after verifier-based group normalization, and token reweighting need not preserve the total task credit assigned to each response. We introduce Unified Entropy-Calibrated Credit Redistribution for GRPO (UECR-GRPO), which integrates verifier and teacher signals within a single GRPO-style update at both the response and token levels. \emph{Path-Utility Unification} (PUU) combines verifier reward and a teacher-to-anchor path log-ratio in a single KL-regularized objective. Its on-policy implementation uses a length-normalized teacher score and combines both rewards before group normalization and PPO clipping, allowing teacher evidence to influence the response ranking. \emph{Entropy-Calibrated Redistribution} (ECR) then uses the signed teacher--old-policy token gap to redistribute the verifier-derived component. Full-vocabulary teacher entropy attenuates uncertain guidance, while a response-wise zero-sum projection preserves the total task credit and its token-wise sign before clipping. Across five mathematical reasoning benchmarks, UECR-GRPO achieves average \(\mathrm{Avg@12}\) accuracies of 17.21\% and 65.09\% with Qwen3-1.7B and Qwen3-4B students, respectively, exceeding the strongest baseline at each scale by 0.89 and 0.56 percentage points.

arXiv cs.AI75

DCRL:通过策略-奖励流形对齐实现解耦与耦合强化学习

强化学习(RL)已成为提升大语言模型(LLMs)推理能力的关键范式。然而,现有的奖励系统,如基于规则和基于奖励模型的系统,常常存在优化不稳定和奖励黑客等问题。在这项工作中,我们从几何视角重新审视 LLMs 的通用推理,将其概念化为一个由三个相互依赖的子流形组成的耦合流形:逻辑演绎、评估和表征。基于这一视角,RL 中的响应生成可被解释为从评估流形中解耦的过程,而奖励估计则对应于从逻辑演绎流形中解耦的过程。基于规则和基于奖励模型的 RL 系统的局限性,可以从几何上解释为 RL 过程中策略-奖励流形的不匹配。为了解决上述未对齐问题,我们提出了 Decoupling and Coupling Reinforcement Learning(DCRL)框架,该框架包含两个关键组件:(1)一种基于三段论逻辑的提示演化机制,可动态细化奖励评分准则,以增强奖励流形的表达能力;(2)一种策略-奖励再耦合机制,联合更新奖励模型和策略模型,确保评估一致性,并在训练过程中缓解流形不匹配。跨多个推理领域的理论分析和大量实验表明,DCRL 始终优于基于规则和基于奖励模型的基线。值得注意的是,在 DCRL 下训练的 Qwen3-4B 模型超过了 Qwen3-32B 基线,并接近 Qwen3-235B 模型的性能,凸显了其在 RL 中卓越的有效性和泛化能力。

arXiv cs.AI85

A2M:MCP 生态系统中经轨迹优化的智能体劫持

使用 Model Context Protocol (MCP) 的智能体依赖语义匹配从第三方服务器中选择工具,这使攻击者控制的元数据和输出暴露出语义供应链风险。我们提出了 A2M(吸引—操纵),这是一个用于劫持 MCP 智能体的两阶段黑盒框架。吸引阶段优化工具元数据,以提高工具被调用的概率;操纵阶段利用执行轨迹来改进对抗性工具返回结果,引导智能体朝向攻击者期望的结果。在 LiveMCPBench 上,针对 GLM-4.6 优化并评估的直接攻击,在四种场景下实现了 93.6% 的恶意工具调用率宏平均值;在认知拒绝服务场景下,将加权令牌成本提高至良性基线的 32.4 倍;并在信息窃取、环境完整性破坏和推理偏离三个场景下取得了 74.4% 的平均攻击成功率。在无需重新优化的情况下迁移到另外四个模型后,相应的宏平均值分别为 63.6%、2.7 倍和 24.5%。这些发现表明,MCP 生态系统需要更严格的工具审查和运行时隔离。代码已公开发布于 https://github.com/Lilaizhen/A2M。

arXiv cs.AI82

CliffCompaction:面向长时程编程智能体的高成本效益压缩

智能体经常处理需要数百万个 token 上下文的复杂问题,而受限的上下文窗口使得跨会话压缩成为必要。我们开发了 CliffCompaction,这是一种自动压缩技术,在有界上下文下最多可降低 50% 的成本,同时在 Terminal-Bench 上保持或提升性能,并为测试时扩展带来新的效率水平,在 KernelBench 上取得最先进的结果。CliffCompaction 在每次运行中节省的成本,使测试时扩展的性能—成本权衡更加高效:在 Terminal-Bench 上,仅低于两次完整上下文运行的成本,就能额外提升超过 10 个百分点。在并行测试时扩展下,CliffCompaction 使 Kimi K2.6 达到与 Opus 4.7 相当的表现,并以更低成本超越 Opus 4.6 和 GPT-5.3 Codex。CliffCompaction 高效的关键在于,它只截断或删除内容,从不对内容进行改述或重写,从而保持压缩信息的忠实性。我们绝不会对压缩结果再次压缩——每次处理仅针对原始内容,之前的压缩输出会被丢弃,以防止上下文漂移不断累积。这些特性支持跨越超过一百万个 token 的会话持续学习:在 KernelBench 上,经过 200 步后,CliffCompaction 实现了 CUDA 内核 2.23 倍的加速,经过 400 步后达到 3.58 倍,尽管它是一种通用压缩技术,仍超越了专用搜索算法和经过训练的智能体。我们开源了一个与脚手架无关的 CliffCompaction API 代理实现,可与 Claude Code、Codex 及其他运行框架配合使用。

arXiv cs.AI81

VideoX-Qwen:以数据为中心的基于指令的视频编辑

通用视频编辑的发展依赖于构建大规模成对监督数据,并有效地使视频生成骨干模型适应指令驱动的编辑。不同于视频生成,视频编辑必须执行所请求的变换,同时保留无关主体、场景结构、运动和时间连续性。我们提出了 VideoX-Qwen,这是一个面向通用指令驱动视频编辑的集成式数据构建与模型训练框架。我们的可扩展生产流程将专门的生成模型与理解模型组织成互补的添加、移除、替换和属性编辑路径,随后进行质量筛选与指令增强。该流程生成了超过 120 万条定向视频编辑数据记录,其中每个主要任务组均包含超过 40 万条记录,自动接受率达到 89%。由此得到的数据集通过统一的源视频-指令-目标视频接口,对常见编辑操作进行了广泛且结构化的覆盖。我们进一步开发了统一的 Qwen-Wan 编辑器,将多模态语义条件与密集的源视频潜变量引导相结合。渐进式图像-视频训练策略对齐了多模态指令接口,使视频生成器适应源视频条件下的编辑,并利用筛选出的高分辨率数据进一步提升输出质量。在与 UniVideo 和 Kling O1 基于 100 个样例的比较中,VideoX-Qwen 在报告的 11 项指标中的 9 项上取得了最佳平均结果,这些指标涵盖指令遵循、编辑质量、内容保留、结构与感知相似度以及视频分布质量。总体而言,大规模数据生产系统与统一训练框架为构建更强大的指令驱动视频编辑能力提供了实用基础。

Hacker News 熱門78

Training a model to identify AI-generated web content from structure alone

Hey HN! We’re Vincent and Jochen from Sitefire ( https://sitefire.ai ). We have been working together for years, with backgrounds in RL/optimization at Stanford and software engineering from Technical University Munich (TUM). With Sitefire (YC W26), we help marketing teams get recommended by AI Search (ChatGPT, Google AI Overviews, AI Mode, Claude, etc.). Our software monitors prompts, sees which web pages get cited, and uses these insights to help marketing teams take action, e.g. create YouTube videos or write the right blog posts. This means we have a commercial stake in AI-generated web content. And for now, high-information, AI-generated content works great to get cited and recommended in AI Search. But after talking to hundreds of marketing teams, it became clear that everyone despises AI-generated content (“AI slop”). And yet, everyone still wants to leverage AI to create content. So we asked ourselves: what characterizes AI slop? Can we train a model to identify it from human-generated web pages? Researchers from the University of Maryland and Google DeepMind already asked this question for fiction. Their paper StoryScope (Russell et al., 2026) showed that you can tell AI-written stories from human ones by their structure alone, without looking at the words. We ported their pipeline to commercial web pages. Using the Wayback Machine, we collected 2,250 blog posts from 268 B2B company websites that were written before ChatGPT existed. For each blog post, five AI models (GPT-5.4, Claude Sonnet 4.6, Gemini 3 Flash, DeepSeek V3.2, Kimi K2.5) wrote their own version. Instead of looking at the words, we looked at how each post is built. We had an AI model answer 214 questions about every post, e.g. how hard it pushes its own product, whether it backs up its claims with sources, or whether it quotes a named expert. Then we trained a classifier on these answers. On blog posts it had never seen before, our classifier told AI-generated and human posts apart with 98% accuracy, getting only 19 of 1,740 wrong. Why does it work so well? Because all five AI models write in a similar shape. Mapping every AI model’s values for these features, we see they cluster together, while the human values sit apart and spread out much more. Of the 1% most unique blog posts in our data set, 149 are human, only 4 are AI. So what characterizes AI slop? It tells you the same thing three times. The title already promises what you'll get ("How to Cut Onboarding Time in Half"), the intro lays out what's coming, and the ending says it all again. 77% of the AI posts end by repeating their main point, compared to only 12% of the human posts. We call it the tidy, self-announcing blog post. Still, each AI model has its own accent. We trained a second classifier to tell which of the five AI models wrote a post, or whether a human did. It picks the right author 79% of the time, where random guessing (1 in 6) would get 17%. Almost all of its mistakes are mix-ups between the AI models, not between human and AI. The cool thing about structural features is that you can't simply reword your way out of it. We had each AI model rewrite its own posts until, on average, 73% of their original 13-word sequences were gone, and the AI slop classifier still worked just as well. We're building this into Sitefire: our agents get a structural understanding of text, so the posts they write go deeper and vary the way human writing does. There's a lot we haven't tested yet, like the myriad of humanizer tools, human rewriting, restructuring a post, or prompting an AI model to explicitly avoid these habits. And our human posts are mostly from 2020 to 2022, while the AI posts were generated in August 2026. Structure can't really tell when a human post was written, but it's still not a same-year comparison. We published the study with all the figures on arXiv: https://arxiv.org/abs/2609.15369 . The code is on GitHub: https://github.com/pulse-energy-eu/slopshape We're pretty sure your own blog isn't AI slop, is it? We built a checker that runs one of your posts through the ten features from the paper, so you can see for yourself (the full report asks for a work email): https://sitefire.ai/slop-checker . Think you can tell AI slop from human writing? We also made a little game to see if you can keep up with our model, which gets all five rounds right: https://sitefire.ai/spot-the-slop . Comments URL: https://news.ycombinator.com/item?id=49800566 Points: 5 # Comments: 0

arXiv cs.AI71

Information-Time Proximal Policy Optimization

RLVR has substantially improved the reasoning capabilities of LLMs. However, existing methods typically parameterize temporal progression in the Markov Decision Process by token-by-token generation, despite the highly non-uniform information flow along autoregressive trajectories. In this paper, we propose InfoPPO, which reparameterizes temporal progression using information density rather than raw token count. This reparameterization induces a common state-dependent structure for both temporal credit propagation and policy updates. InfoPPO restores the effectiveness of non-trivial discounting in long-horizon reasoning, retaining effective-horizon contraction while avoiding excessive attenuation of terminal supervision over long token sequences. Moreover, the information-time policy-improvement analysis naturally leads to a state-dependent update constraint, which we implement through adaptive clipping. By adapting the clipping threshold at each token position to the information density of its corresponding state, this mechanism enables more targeted policy updates while preserving proximal control. Theoretically, we extend performance-difference and policy-improvement analyses to the information-time MDP, deriving a policy-improvement lower bound when policy changes are regulated by information density. We further connect the general information-time analysis to practical LLM policy optimization by relating state-wise information density to local policy movement, while also providing theoretical grounding for the adaptive update mechanism. Experiments on Qwen3 models demonstrate consistent gains over competitive baselines across five challenging competition-style mathematical reasoning benchmarks. InfoPPO also maintains stable accuracy and response length across non-trivial discount settings under which token-time PPO deteriorates.

arXiv cs.AI75

QwenVLConnector:一种用于细粒度临床感知和文本生成的快速统一医疗 VLM 聊天机器人

大多数医疗视觉-语言模型(VLM)擅长开放式报告生成和视觉问答(VQA),但在统一界面内对结构化、细粒度临床感知的支持有限。我们提出 QwenVLConnector,这是一种基于 Qwen2.5-VL 的医疗聊天机器人,在单一的下一个词元目标下统一了分类、多标签分类、文本化检测、计数、回归和自由形式报告生成。其关键组件是一个轻量级的密集多层 Connector,用于聚合低层和高层视觉特征,通过预训练的视觉 Merger 对其进行对齐,并在不增加序列长度的情况下将其与最终视觉表示融合。该设计在保持效率的同时,用互补的空间和语义线索丰富视觉词元。在 FLARE-2D 上,相比 Qwen2.5-VL 基线,QwenVLConnector 将检测 F1 从 0.55 提升到 0.85,将单标签分类从 0.37 提升到 0.51,并使报告生成的 GREEN 最高提升 18.3 分。我们进一步探索了用于报告生成的多模态上下文学习,显示出无需更新模型参数即可获得额外改进。总体而言,QwenVLConnector 为将结构化医疗感知与开放式临床文本生成相结合提供了一个统一且高效的框架。我们的代码可在 https://github.com/plnguyen2908/QwenConnector 获取。

arXiv cs.AI76

AutoViewMem:面向对话长期记忆的自配置正交视图

长期记忆对于大型语言模型(LLM)智能体在长期交互中保持一致性和个性化至关重要。现有记忆系统通常依赖固定粒度或静态模式,但当偏好、事件、约束和时间更新等异构信息被嵌入单一的混合表示时,这些设计往往难以应对。由此产生的语义干扰使 top-K 检索容易受到噪声影响,也常常导致相关证据排名靠后。我们提出 AutoViewMem,一种数据驱动的框架,在建立索引之前,将对话长期记忆组织为可自配置、低重叠的语义视图。AutoViewMem 从交互轨迹中发现候选视图,选择紧凑且互补的视图集合,并利用这些视图指导写入时对具有来源依据的记忆进行结构化提取。这种表示优先的设计将语义解耦从检索时转移到写入时,使标准的 top-K 相似度搜索能够检索出聚焦的证据,而无需显式路由或迭代检索。我们进一步采用离线整合,以提升记忆的紧凑性和一致性。在 Qwen3-8B 和 Qwen3-14B 两种骨干模型下,于 LoCoMo 和 PersonaMem 基准上的实验表明,与性能强劲的记忆基线相比,AutoViewMem 在保持简单推理流程的同时,能够改善长程问答和个性化效果。

arXiv cs.AI81

A Lie Detector Test for Language Models: Reading Knowledge a Model Won't Reveal

Large language models can hold knowledge they do not report. A model may sandbag on a capability evaluation, or answer against what it internally knows, and its outputs alone cannot tell whether it is hiding an answer or simply does not have one. We borrow the Concealed Information Test, a forensic method that identifies guilty knowledge by presenting a suspect with the true detail among plausible decoys and measuring a stronger response to the item they recognize. Our method, Probe of Internal Recognition (PIR), does the same inside a model. It presents a question with its candidate answers and reads, from the model's internal states, which candidate the model recognizes as correct. PIR is reference-free, needing no honest reference model and no labeled truth corpus. Across eight models from five families (Gemma, Qwen, Llama, Mistral, and Phi), PIR recovers the recognized answer at 0.70 to 0.87 balanced accuracy, well above the 0.28 to 0.40 unknown-item baseline and the 0.25 chance rate. It stays readable across every form of concealment we test, from prompted deception and trained sandbagging to external password-locked and circuit-broken checkpoints, with recognition between 0.85 and 0.93. When the model hides a known answer, recognition stays high. When unlearning removes the knowledge, recognition drops to the level of a question the model never knew. PIR therefore separates a model that will not answer from one that cannot, which supports sandbagging audits and unlearning verification. The signal is causal, adds information beyond black-box behavioral cues, and extends from multiple-choice questions to free-form generation.

arXiv cs.AI66

Do Personality-Tuned LLMs Make Better Social Agents?

LLMs are increasingly used in social simulations for socially interactive agents and robots, offering more flexibility than rule-based systems. However, even though they mimic human behaviour very well, there is a persistent alienness to them. This work investigates whether personality-aware fine-tuning can reduce this gap by improving the consistency and controllability of personality-conditioned dialogue generation compared with instruction prompting alone. We fine-tune two small open-weight LLMs, Qwen2.5-7B-Instruct and Ministral-8B-Instruct, using a corpus that combines personality-labelled social media posts and dialogues to create a personality-based dialogue engine for social simulation. The resulting models are evaluated across multiple social interaction scenarios using three independent LLM judges, which assess personality fidelity and provide evidence-based behavioral interpretations. We additionally quantify inter-rater agreement and lexical characteristics of the generated dialogue. Results indicate that fine-tuned models are not better at role-playing different personalities than their respective baseline models. However, low inter-rater agreement limits the confidence with which these results can be interpreted. Concerning the quality of generated texts, fine-tuned models are mostly comparable to the baselines, with fine-tuning improving the linguistic diversity of the Qwen models. While the results appear generally usable and the baseline models offer the best overall performance, future studies should place greater emphasis on the quality and domain alignment of training data for accurate personality role-playing.

Hacker News 熱門77

Show HN:Cactus Needle 3:8-29MB 自动化模型可媲美 DeepSeek V4 Flash

嘿 HN,我是来自 Cactus 的 Henry。 几周前我们在这里提交了 Needle 2,讨论串里的反馈非常有价值,感谢大家!得益于所有这些反馈,我们得以快速发布 Needle 3,我也很想再次听听你们的看法。 关键特性: 1) 自动化(工具调用与结构化 JSON 输出):Needle 仍然在设计上不用于聊天,要把通用能力塞进如此小的模型里相当有挑战,所以我们专注于工具调用和结构化 JSON。如果你声明的工具都不适合该请求,就会返回一个空列表(试玩 demo 时请注意这一点)。 2) 智能阶梯化:每一层(2 到 20 层)都是一个可部署的子网络,因此只需一组权重,2-bit 下为 2500 万到 1.21 亿参数,以 8-29MB 二进制文件发布。在 Raspberry Pi 5 上,它的解码速度最高可达 4k tokens/秒,预填充最高可达 10k。 3) Monarch Hadamard MLP:用三组可学习的、以 Walsh-Hadamard 初始化的 Kronecker(Monarch)因子对取代密集 FFN,中间交错每通道对角缩放、固定置换、SiLU 非线性,以及一个 rank-8 输入条件门控,因此每个 token 都能对其 d_model 通道进行完全混合的非线性变换,参数量和计算量为 O(d√d),而不是密集 4 倍扩展 MLP 所需的 O(d²)。 4) 性能:在 Mobile Actions(手机命令,按精确调用评分)上,20 层模型通过发布的 2-bit 二进制文件取得 86.0;LFM2.5 1.2B 为 82.4,Qwen3.5 0.8B 为 76.0,Apple 的端侧模型为 57.6,全部为 f16。链接中有更多结果,当然我们并不是处处领先。 5) 多语言:Needle 3 现在支持英语、法语、西班牙语、德语、荷兰语、意大利语、波兰语,更多语言即将推出。 6) 微调:你可以只用 4L 在一个窄任务上达到 DeepSeek v4 Flash 级别的性能,重点是“窄任务”;我们发现生产用户通常更倾向于在投产前先进行调优。 7) 触发器:落地到具体上下文是工具调用的常见挑战,至少对 Needle 2 来说如此,因此我们增加了对大小写不敏感正则表达式的支持,可与每个请求匹配以拦截假阴性。 8) 置信度:每个响应还附带一个校准后的置信度分数,取完成调用后的判断与其解码概率二者中的较小值。高于你的阈值就执行;低于阈值则显示调用并询问,或升级到更大的模型。 9) 支持平台:macOS、x86-64 上的 Linux、ARM64、ARMv7、RISC-V 和 MIPS32、Windows x64 和 ARM、Android、iOS、watchOS、tvOS、作为 WebAssembly 的浏览器,以及一个 WASI component。 感谢阅读,和往常一样,欢迎分享想法! 评论 URL: https://news.ycombinator.com/item?id=49748553 得分:144 评论数:71

arXiv cs.AI74

不要遮蔽环境:观察监督会改变智能体在 RL 下的探索方式

智能体轨迹记录了智能体做了什么以及接下来发生了什么。然而,标准的监督微调(SFT)只对智能体生成的动作 token 施加损失,将环境观察作为上下文,而不是作为预测目标。我们探讨这种惯例是否为后续强化学习提供了最佳初始化。我们提出 ActObs,它也对每条轨迹中已有的观察 token 进行监督。尽管部署后的智能体从不生成观察,学习预测观察会鼓励策略建模动作后果,同时不增加数据、参数、序列 token 或前向传播次数。这些方法在 SFT 后表现相近,但在 GRPO 后出现分化。在 Qwen3-4B 上,从 ActObs 出发进行 GRPO,在 Terminal-Bench 2.0 的每个评估采样预算下,相比仅动作的对应方法都取得了更高的 pass@k。在 Qwen3-8B 上,它以牺牲部分 pass@1 可靠性为代价,换取了更高的 pass@k(pass@16 提高 3.4 个百分点),并解决了更多不同任务。这一优势还扩展到 aider-polyglot 上的跨领域代码编辑(4B 上 pass@1 提高 4.2 个百分点),其任务在 SFT 和 RL 期间均未出现。ActObs 在 RL 期间保留了更多熵,同时需要更少的策略移动,使最终策略更接近其 SFT 初始化。我们的分析将这种差异追溯到 SFT:动作梯度和观察梯度很快变得正交,而仅动作训练会留下较大的残余观察梯度,并使环境预测能力下降到低于基础模型。联合监督避免了这种单侧专门化,保留了后果预测能力,并为策略的下游探索做好准备。

arXiv cs.AI78

RetireOPD:面向智能体强化学习的自退休同策略蒸馏

通过强化学习(RL)训练的多轮智能体每条轨迹只能获得一个标量奖励,这促使人们采用自同策略蒸馏(OPD),由具备特权任务技能的自教师提供密集的令牌级监督,使无技能学生能够将这些技能内化。然而,智能体任务中的两项发现削弱了这一方法的效果:特权信息本身并不总能使教师变得可靠,而且教师监督的收益取决于训练阶段。为此,我们提出 RetireOPD(自退休同策略蒸馏):首先利用环境奖励优化一个解耦的技能条件化教师,然后将无技能学生与 RL 和 OPD 联合训练。RetireOPD 不采用预先设定的蒸馏计划,而是引入自适应退休(Adaptive Retirement):当学生与教师之间的差异不再缩小,且学生达到教师成功率的目标比例后,学生会自行放弃教师,此后训练仅依靠 RL。在从 1.5B 到 7B 的 Qwen2.5 模型上,RetireOPD 相比 RL 基线将 ALFWorld 成功率提升了 14.1% 至 18.8%,将 WebShop 准确率提升了 11.8% 至 19.0%,并且在所有设置下都超过了其自身的技能条件化教师。

Hacker News 熱門67

Alibaba 发布 Qwen 3.8 Omni Flash

文章网址: https://qwen.ai/blog?id=qwen3.8-omni-flash 评论网址: https://news.ycombinator.com/item?id=49747925 分数:13 评论数:1

arXiv cs.AI80

感知、布局与验证:面向金融文档可靠直通处理的校准置信度

对金融文档中提取的键值字段进行无需人工审核的直通处理(STP),需要校准后的概率,以及对自动批准层剩余错误的有界保证。现代视觉语言模型(VLM)的出现,为键值提取提供了开箱即用的能力,但其以语言形式表达的置信度信号并不可靠,与字段正确性的相关性也较弱。本文提出了一个沿三个可解释通道分解的置信度层,分别包括感知、布局和验证。结合最终的保形风险控制,该评分可用于金融文档的可靠 STP。该方法在三个公开数据集上进行了验证,涵盖真实发票、合成发票和广告采购表单,并使用了两个不同的 VLM 系列(Qwen3.6-27B 和 Gemini-3.1-Flash-Lite)。我们的分解式评分持续提升了正确提取与错误提取之间的区分能力,在三个设计通道共同贡献下,将 AUROC 从 VLM 语言化信号的 0.54–0.74 大幅提升至 0.90–0.99。对于工业部署而言,更为关键的是,该方法实现了可实际使用的 STP。在目标错误率低于 10% 的风险控制条件下,原生 VLM 置信度信号只能放行 0.1%–7.0% 的字段。相比之下,所提出的方法可自动批准 49%–72% 的字段,同时将已接受层的经验错误率控制在目标值以内。

arXiv cs.AI78

面向直播语音合成的多维韵律评判

评估直播语音合成(TTS)需要考察情感、语调和能量等细粒度、高表现力的韵律,而传统的 MOS 预测器无法捕捉这些特征。尽管 Gemini 等专有大型语言模型(LLM)能够评估这些方面,但其成本过高,难以用于大规模推理和强化学习反馈。为此,我们首先提出 Live-ProsodyJudge(LPJ),一种从 Gemini 蒸馏至 Qwen3-Omni 的高性价比成对评估器。然而,我们发现标准多维评估中存在一个关键缺陷:判定耦合。评判器往往会懒惰地将所有单项维度的评分与整体偏好保持一致,把丰富的多维评分标准压缩成一个单一的偏好比特。为解决这一问题,我们进一步提出 Decoupled-Live-ProsodyJudge(D-LPJ)。D-LPJ 通过移除整体判定目标来避免盲目跟随;在监督微调(SFT)期间屏蔽不确定的成对维度;并引入一种新颖的局部跨度 GRPO 策略,将归一化优势严格应用于其对应的推理跨度。在高度精心筛选、由人工标注的测试集上,采用 10 个样本并平衡顺序的 LPJ,其点准确率高于单次 Gemini 调用;同时,D-LPJ 成功生成了相互独立、解耦的维度判定。此外,在 Best-of-8 TTS 候选选择竞赛中,LPJ 选出的语句在高置信度案例中有 85.29% 位于人工评选的前 3 名之内,证明了其在细粒度 TTS 偏好优化中的有效性。

arXiv cs.AI79

跨模态注意力充当频率滤波器:为什么冗长提示词能提升视觉语言模型的鲁棒性

视觉语言模型(VLMs)在图像受损时很脆弱。我们发现,问题的措辞会以两种相反的方式影响 VLMs。冗长的问题能显著提升 VLMs 的鲁棒性——例如,将“有猫吗?”改写为“请仔细观察并回答:有猫吗?”。相反,当问题在语义上更复杂或粒度更细时,例如询问“椅子左边的杯子是什么颜色?”而不是“有杯子吗?”,VLMs 在图像受损时会变得更加脆弱。这两种效应都源于由问题条件化的跨模态注意力,它会在图像块上诱导出一个频谱滤波器:冗长的问题会拓宽其频率支持范围,而细粒度问题则会使其集中于更少的视觉尺度。当该滤波器与图像损坏处于相同的空间频率上时,模型的答案漂移最为明显。我们在 GQA 和 CLEVR 上使用 Qwen3-VL 和 LLaVA-OneVision 对这一滤波器视角进行了测试;在 8B 模型上,冗长改写将漂移方差降低了 70%–81%。实践中的方案——给提示词增加填充语句——即使在图像受损的情况下,也能进一步带来可测量的准确率提升。

arXiv cs.AI82

Version- and Scope-Aware Question Answering over Normative Documents: A Deployed System and an End-to-End Evaluation at Production Scale

Correctly answering a question grounded in normative documents often depends on information outside any single passage: whether the retrieved document is the version currently in force; whether it applies to the jurisdiction, subject (such as an institution or applicant), and date at issue; and whether each normative claim can be traced to its supporting source text. Hosted retrieval services have substantially lowered the engineering cost of building an initial system over such corpora, making "upload the documents and ask" a common default. We evaluate this default on approximately 73,000 candidate normative documents supplied to a production deployment. The evaluation uses a stratified sample of 200 questions from our published benchmark, with a gold source document for every question; the released sampling rule reads no system outputs or scores. We compare the hosted service with a governed system that resolves version and scope through explicit rules before generation. The governed system scored 97.7 overall, while the hosted service scored 88.1, a gap of 9.6 points computed from unrounded means. The question set, the answer text evaluated for both systems, the scores, and the scripts used to reproduce the reported benchmark statistics are public. The governed configuration has operated as a commercial product since January 2026 and serves 1,126 registered users; named customer organizations include Zhipu AI and Lecheng Health. By mid-April 2026, it had reached roughly 100,000 calls per workday.

arXiv cs.AI78

Using OCR Heads to Verbalize Image Semantics

How do VLMs map from pixels to semantics? To understand this general question, we focus on a narrow one: studying how VLMs perform optical character recognition (OCR). Across four models, we identify attention heads causally necessary for OCR, and discover that these are in fact general-purpose heads that output interpretable semantic features across all image tokens. For example, pointing these heads at an image token containing the word "bike" causes Qwen3-VL-8B to output "bike," but pointing them at a bird wing causes the model to output the token "feathers." We collapse these heads' attention weights into a single verbalization lens transformation that reveals interpretable semantic features in hidden states across all layers. When combined with projection to vocabulary space, we can obtain interpretable labels starting from layer 0, showing that image representations are in fact aligned with language in early layers. We find that we can also use the inverse of this transformation to edit non-word concepts, e.g., replacing a tractor with a revolver in a naturalistic image, providing causal evidence that this subspace is useful for more than just OCR. Our results are an example of how the study of specific mechanisms can shed light on broader interpretability problems.

arXiv cs.AI78

Decodable but Misrouted: Sparse Features Uncover a Readout Gap in Vision-Language Models for Harmful Meme Detection

When a large vision-language model misclassifies a harmful meme, the failure may reflect missing internal evidence or an inability to route represented evidence to its output. We distinguish these cases in Gemma-3 and Qwen3.5 using sparse autoencoders, role-conditioned probes, causal interventions, and recovery experiments across six harmful content benchmarks, with additional Spanish and Hindi-English code-mixed evaluations. Sparse readouts outperform native prediction on all six primary binary tasks: Qwen averages $0.740$ versus $0.432$ native macro-F1, while residual reconstruction reaches $0.486$, whereas Gemma improves from $0.532$ to $0.714$. These differences reflect supervised accessibility rather than a pre-existing, native decision rule, and the most influential token role depends on the task. Under the evaluated score scales, Qwen silent-feature ablation is $24-63$ times more probe-sensitive, whereas routed-feature patching on literal yes/no tasks is $16-140$ times more output-sensitive. Calibration-only routing recovers $93.3$% of the mean gap, and probe-distilled LoRA improves native predictions, although shared multi-task adaptation causes negative transfer. A case study of Gemma-3-12B on Facebook Hateful Memes finds a distributed rank-32 image-prompt interaction, reaching $0.756$ versus $0.685$ native macro-F1. Robustness controls show that the signal extends beyond English, is not explained solely by accompanying OCR, and depends on paired visual evidence. Thus, routing, rather than representation alone, is a recurring bottleneck in harmful meme classification.

arXiv cs.AI80

A Zeroth-Order Paradigm for LLM Preference Alignment

Direct preference alignment methods are widely used to align large language models (LLMs) with human preferences because of their computational and memory efficiency. However, likelihood displacement motivates alternative ways to extract information from preference pairs with small likelihood margins. In this paper, we propose and analyze Comparison-based Preference Optimization (ComPO), a zeroth-order alignment method based on comparison oracles. ComPO extracts directional information from these pairs without directly optimizing a differentiable preference loss on them. We establish a convergence guarantee for its basic offline scheme under smoothness, gradient sparsity, and compatibility between the oracle and a latent objective. We further introduce online ComPO, which retains the offline comparison mechanism and uses unlabeled policy generations for reverse-KL control relative to a reference policy. Following the coverage perspective of preference fine-tuning, we establish a performance guarantee for a basic constrained scheme under local coverage and in-distribution pairwise reward accuracy. Experiments on Mistral, Llama, Gemma-2, Qwen3, and Gemma-3 models demonstrate improvements over existing direct alignment methods, including length-controlled win rates, with pair-level diagnostics providing evidence consistent with mitigating likelihood displacement.

arXiv cs.AI81

Collective Loss of Control in LLM Agent Systems: An Epidemic Account of Mutation, Contagion, and Recovery

How does a multi-agent system evolve from a local deviation into collective loss of control? We propose an epidemic explanation organized around accidental mutation, contagion, and recovery. A spontaneous deviation creates a seed; communication enables other agents to adopt and retransmit its unsafe strategy; collective failure can emerge when propagation outpaces correction and containment. Thus, rare individual deviations can coexist with substantial collective risk. Motivated by reported OpenAI agent coordination incidents, we examine two ingredients of this mechanism. A deployment audit identifies implicit communication paths between nominally independent evaluation runs and verifies transport through a default Docker backend. RogueHandoff-20, a benchmark of 20 executable scenarios, tests recipient susceptibility by injecting unsafe trajectories generated by a modified Qwen-27B route. Across four native-pending routes, executed harm is 0-5% on normal tasks and 40-95% after injection, exceeding paired direct malicious requests by 5-45 percentage points. These results support low observed baseline harm alongside high conditional susceptibility; they do not establish natural rare-event rates or demonstrate an autonomous cascade. The account motivates complementary defenses: strengthen resistance and recovery alongside prevention of spontaneous deviations, and audit and restrict unintended communication paths that can turn local failures into collective loss of control.

arXiv cs.AI76

ActionPiece: Rethinking Action Tokenization for Autoregressive Vision-Language-Action Models

Action tokenizers play a central role in autoregressive vision-language-action (VLA) models, determining both the targets for policy training and the executable commands recovered from predicted tokens. Their fidelity is commonly evaluated using pointwise reconstruction metrics such as mean squared error (MSE), yet small individual errors do not fully characterize how faithfully action adjustments across demonstrations are preserved. After compression, similar actions may still cluster around a representative motion, while the adjustments needed for different contexts are diminished, distorted, or even reversed. We introduce physical rank consistency (PRC) to measure how well tokenization preserves local physical distance rankings after reconstruction. Evaluating decoded actions provides a common reference across token vocabularies and decoder architectures, complementing pointwise accuracy with a measure of relational fidelity. We further present ActionPiece, which preserves physical action relationships through joint supervision of representation learning and quantization. Physical rank preservation supervises near-far ordering in encoder and quantized feature distances, while quantization regularization applies the same ordering to codeword assignment distributions. Both objectives augment reconstruction, producing discrete action tokens for standard autoregressive policy learning and execution through a frozen decoder. Under the same Qwen3-VL-4B policy training setup, ActionPiece achieves 94.8% on LIBERO and 68.8% on unseen LIBERO-Plus, with additional evaluations reaching 71.9% on SimplerEnv and 51.5% across VLA-Arena L0-L2. Component ablations show that the two objectives jointly improve PRC and policy success, demonstrating the value of physical relationship supervision for action tokenization.

arXiv cs.AI77

MiST:用于网络安全的中期训练 LLM

网络安全融合了高风险分析与复杂的技术语言,使其成为对 LLM 而言影响重大且颇具挑战性的领域。我们提出 MiST(Mid-trained Security Transformer),这是一套包含 8B 和 32B 模型的模型系列,在公开网络安全基准测试中取得了出色表现。我们将中期训练用作通用预训练与网络安全训练之间的中间适配阶段。我们没有在海量原始领域文本上进行持续预训练,而是整理出一份规模紧凑、经专家审核的种子语料库,并将其转化为高质量的领域特定合成训练数据。最终的 MiST 检查点模型相较于对应的 Qwen 基线,在 8B 和 32B 模型上的网络安全平均准确率分别提升了绝对值 13.1 和 8.6 个百分点,对应的相对增益分别为 27.0% 和 15.8%。消融实验结果进一步表明,这些网络安全能力的提升源于中期训练和监督微调阶段合成数据生成流程的协同作用。此外,我们还表明,MiST 能够为下游特定任务的微调适配与强化学习提供更强的初始化。

arXiv cs.AI73

抓住说谎者容易,证明诚实者清白很难:语言模型根据一条经核验记录诊断遭破坏的奖励通道

一个通过奖励学习的智能体必须相信提供这些奖励报告的任何一方。当报告突然发生变化时,要么是世界变了,要么是报告者出了问题。仅凭报告无法区分这两种情况,而强化学习理论表明,再多的经验也无法将它们区分开来。唯一规定的逃脱方式,是获取关于报告者本身的更丰富数据。我们考察:一个被冻结的语言模型在获得恰好这些数据后,是否会加以利用。我们构建了一个双选项博弈,其中,收益互换和说谎的报告者会产生字节级完全相同的历史记录。随后,我们加入一条经核验记录:对某一轮真实结果的独立核查,并将其打印在报告者对该轮所作报告的旁边。这一行信息就足以定案。我们要求来自两个模型系列的三个大型模型只用一个字母回答一个问题:报告者是诚实的还是在说谎?它们几乎完美地抓住了说谎的报告者。在我们尝试的所有条件下,70B级模型都达到了这一表现;32B模型仅在一种措辞下出现失误。但它们证明诚实报告者清白的频率要低得多,而且这一频率取决于一些本不应产生影响的因素。综合不同轮次、字母和措辞后,一个72B模型在实际上一切都没有改变时,仍有38%的概率把诚实报告者称为骗子;而在收益发生变化时,这一比例为58%。来自另一模型系列的70B模型,则分别有26%和48%的概率把诚实报告者称为骗子。这并不是阅读理解失败,因为在答案已打印在提示词中的“什么都没改变”情形下,同一批模型的得分为0.96至1.00。驱动这一现象的表面特征因模型系列而异。对于Qwen模型,关键在于记录指的是哪一轮;对于Llama,关键在于哪个字母代表“诚实”。将这条记录加入一个已经明确写出答案的提示词后,反而会降低Llama给出该答案的可能性。我们在实验运行前预注册了对这个58%数值的预测:35%。这一失败比我们预期的更严重。

arXiv cs.AI81

JustFit: 200K-Token LLM Serving on a 24 GiB Laptop with Just-in-Time State Management

Capable open-weight models make local coding and reasoning attractive, but their context and execution state strain laptop memory. We present JustFit, an MLX-based inference runtime that combines KVExec for compressed KV execution, PhaseSwap for component residency, and StateTrans for state-preserving serving transitions. These mechanisms fuse reconstruction and coordinate just-in-time materialization and release, independently of model-weight quantization. In full-execution capacity tests on a 24 GiB M4 Pro MacBook running Qwen3.8-27B MXFP4, three independent runs complete 196,608 input and 16,384 output tokens, increasing completed single-request context from the mlx-vlm baseline's 30,720 positions to 212,992 (6.93x); a separate two-request run retains 229,376 positions in aggregate. In separate performance tests, a 32K-input, 64-output probe reaches 19.11 tokens/s, and a repeated 32K+6K workload has a median peak process footprint of 16,374 MiB. The integrated runtime answers 29 of 30 AIME 2026 problems correctly, showing how compact state and lifetime-aware execution expand local serving capacity while supporting extended generated reasoning.

arXiv cs.AI69

QART: A Quantum-Classical Hybrid Architecture for Long-Horizon Reasoning -- Exploring a Conditional Path toward Quantum Scaling

Long-horizon reasoning is vulnerable to early errors that compromise later decisions. We present QART, the Quantum-Augmented Reasoning Transformer, a quantum--classical hybrid architecture combining a backbone language model with quantum encoding, CIM-based QUBO optimization, and quantum decoding. Semantic information can come from hidden representations or model-generated text; detailed encoding and optimization procedures remain proprietary. Under explicit assumptions, we establish a conditional asymptotic reliability separation from single-trajectory autoregressive LLMs. For a common task family with aligned optimality and acceptance criteria, autoregressive acceptance probability tends to zero when cumulative conditional risk of irreversible errors diverges. QART's task-optimal-path recovery probability remains bounded away from zero if conditional probabilities for optimal-path coverage and semantic fidelity, spectral certification, dynamical reachability, and faithful readout remain uniformly positive under a specified resource schedule. The architecture alone does not imply these bounds. Paired measurements on six long-horizon benchmarks using DeepSeek V4 Flash, GLM-5.3, and GPT-5.5 xhigh in a Codex agent environment favor QART in 14 of 15 backbone--benchmark pairs. Relative gains reach 84.0% on SciCode, 47.6% on $τ^3$-Bench, and 44.4% on Terminal-Bench 4.0; the DeepSeek V4 Flash configuration regresses by 7.8% on DeepSWE. These results do not directly validate the asymptotic separation. Potential quantum scaling laws are formulated as conditional hypotheses. A quantum-advantage interpretation requires a demonstrated CIM quantum advantage over strong classical solvers and its transfer to end-to-end reasoning after all system overheads.

arXiv cs.AI69

Shared-Prefix KV Reuse Across Standard LoRA Adapters: Quality and Serving Tradeoffs

A common small-model deployment runs one shared backbone with several LoRA specialists that answer over the same context. Serving them naively re-prefills that shared context once per specialist. We study a narrow, practical question: for already-trained standard LoRA adapters -- not adapters retrained for cache compatibility -- how much task quality is preserved if the backbone's prefill KV cache is computed once and reused across specialists, and what does that buy in serving cost? On a Qwen3-1.7B backbone with two adapters (extractive QA on HotpotQA, arithmetic reasoning on GSM8K), we sweep the boundary at which the specialist takes over from the reused base cache and measure paired quality differences and serving cost. Full-prefix reuse had the lowest prefill cost and a small quality difference on held-out GSM8K (Delta = -4.6 EM at a 160-token budget; -3.0 at 320 tokens; -0.8 under a second training seed -- all favoring native, only the first excluding zero, and the magnitude not consistent). Partial recomputation provided no demonstrated advantage. Neither quality equivalence nor a general boundary-selection rule is established. We also report a closed-form ridge KV translator that did not beat direct reuse, and specialist-dependence contrasts whose intervals all include zero. The measured serving benefit is warm-cache time-to-first-token, which grows with context (~16x at 8K); two-branch peak memory was only 12% lower and, on inspection, the prefix was never physically shared across branches -- this implementation reuses KV values but copies their storage, so shared-cache memory savings are not achieved.

Hacker News 熱門88

Java 27 已发布

文章网址: https://mail.openjdk.org/archives/list/announce@openjdk.org/thread/ORGGLMN75HFEWP7YL3ZLGHLYHVIBJDYT/ 评论网址: https://news.ycombinator.com/item?id=49712041 分数:25 评论数:3

arXiv cs.AI82

在使用 LLM 进行民调之前:审议式诊断框架

LLM 能像人类一样推理新信息,还是只会检索缓存的观点?对于硅基抽样而言,这是一个关键问题,因为 LLM 人格化角色能够大规模模拟公众舆论。当前的评估只检验人格化角色是否持有正确的观点——即一个静态快照。然而,舆论研究越来越依赖动态保真度:人格化角色是否会像人类在审议过程中那样,针对新的论点更新信念。目前还没有任何基准测试对此进行检验。我们提出了审议式民调诊断框架,用于比较人类和 LLM 在接受完全相同的信息干预后信念的变化。该框架以审议式民调为基础,能够揭示静态评估无法发现的失败:模型即使能够生成看似合理的党派观点,仍可能错误呈现这些观点会如何变化。我们使用 America in One Room 的数据(526 个人格化角色、72 个问题),将该框架应用于五个前沿模型,发现每个模型都存在失败,而且表现方式各不相同。GPT-5.1 表现出逆转现象:在获得平衡信息后,其人格化角色对 opposing party 变得更加敌视,而人类则相反,敌意有所降低。这种逆转具有选择性(在外群体问题上为 80%,在政策问题上为 26%),并且在不同党派身份之间呈对称分布。Gemini 2.0 Flash、Claude Sonnet 4.5 和 Llama 3.3 70B 表现出过冲:观点变化方向正确,但幅度达到人类的 5—7 倍。DeepSeek V3 则表现出僵化,变化幅度接近于零。针对性的消融实验表明,政策内容会触发这些失败,而且它们与身份有关:GPT-5.1 在外群体问题上发生逆转,但在内群体问题上出现过冲;Gemini 则正好相反。我们将这一特征称为“自我谄媚”:模型遵循其对人格化角色的内部刻板印象,而不是依据所提供的信息进行推理。我们的框架提供了一套具体方案:在信任 LLM 人格化角色模拟信念更新之前,先运行审议式诊断。

arXiv cs.AI79

内置路由器:从冻结的 LLM 中诱导原生技能路由

技能使 LLM 智能体的能力超越其参数化知识,而这种能力提升取决于能否选对技能。已部署的工具框架会将每项技能的元数据预先加载到上下文中,这会分散智能体的注意力,并限制技能库的规模。检索流水线将选择过程移出上下文,但也因此将其移出了智能体自身的能力范围。我们展示了冻结的智能体 LLM 已经在其自身的前向传递中携带了路由信号,只需两个线性映射即可将其读出,且无需在上下文中加入任何技能文本。Gavel(Glance And Verdict from a frozen LLM)分两步读取该信号。第一步是“扫视”:通过这两个映射,将任务和每项技能的中间层状态投影出来;这两个映射是唯一经过训练的参数。随后,系统使用每项技能对应的紧凑库对整个技能库进行评分,而这些库在安装时通过一次前向传递构建。第二步是“裁决”:继续执行入围技能的前向传递,读取模型自身的似然度和“是/否”判断,并将其与“扫视”结果以专家乘积的方式融合。Gavel 只需训练一次,便能零样本迁移到三个公开基准以及我们新建的 SkillTraj 基准;后者包含 372 条模拟智能体轨迹。在 Qwen3-32B 上,相比渐进式披露和检索后重排序流水线,Gavel 在书面任务上的表现最高提升 13.4 个百分点;当技能需求在执行过程中途出现时,最高提升 21.9 个百分点,而前述流水线额外引入了 1.2B 至 16B 个外部参数。随着骨干模型能力提升,路由准确率也会提高;在 bash-agent 工具框架中,同一个 32B 模型在 Skill-Use 上触发正确技能的频率,高于运行在 Codex 中的规模大得多的前沿模型。

arXiv cs.AI79

Corrupt Plans, Clean Traces: Evading Chain-of-Thought Monitoring with Plan Injection

Chain-of-thought (CoT) monitoring is a safety strategy where the reasoning of a large language model "actor" is inspected by a "monitor" (often another language model) for signs of unsafe planning, deception, or misalignment. We find that planting harmful but benign-sounding reasoning in the actor's context can steer it to perform adversarial actions while evading monitors, an attack we term "plan injection". We initially discover this attack in the multiple-choice question-answering monitorability setting proposed by Lanham et al. (2023), using the investigator-agent elicitation framework of Li et al. (2025). We generalize the attack and show that the discovered behavior scales to harder tasks (achieving 25-33% monitor evasion rates across different monitorability benchmarks) and larger models such as DeepSeek-R1. Across the settings we study, actor models not only follow injected plans but also paraphrase them as their own reasoning, without explicit attribution to the injections. Finally, we find cases where extra monitor resources cause harm - giving the monitor access to the injected plan drops detection by as much as 50% in the Bio-Math task and in a case study on monitor reasoning budget, we find transcripts where additional thinking tokens are spent rationalizing the injected plan rather than flagging it.

Hacker News 熱門84

Show HN:Nari Qwen3-TTS 和 Qwen3-ASR——高准确率、低延迟和低成本

嗨,HN,我是 Nari Labs 的 Toby。 我们一直在努力让 OSS 语音模型实现超高速运行。去年,我们构建了 Dia,这是首个能够进行自然对话的 OSS 文本转语音模型。从那以后,又有许多优秀的语音模型向公众发布。 但市场仍由闭源模型主导。我们认为,问题出在推理上。现有的 vLLM / SGLang 等系统并不适合多模态推理。为了证明这一点,我们构建了一个专门针对 Qwen3-TTS 的推理引擎,并将其开源了( https://github.com/nari-labs/nari-qwen3-tts )。在 10 RPS 下实现低于 50 ms 的延迟,这表明开源模型可以运行得更快、成本也更低。 从那以后,我们一直在努力为所有人提供廉价、快速且高质量的服务。我们甚至在闭源模型擅长的领域击败了它们! 在广受引用的 Coval(YC S24)语音 AI 基准测试中,与 11Labs、Cartesia 等相比,我们的 Qwen3-TTS 端点不仅延迟排名第 2,准确率(WER)更排名第 1,同时还是成本最低的端点。我们的 Qwen3-ASR 端点延迟最低,准确率排名第 2,仅比第 1 名低 0.1%。它是榜单上成本第二低的模型。 为了让这些模型运行迅速、表现出色,同时保持较低成本,我们在推理工程方面投入了大量巧思。有趣的是,与我们的端点相比,Alibaba 的官方端点在准确率和延迟方面似乎表现更差。不过,我们仍然非常感谢 Qwen 团队将这些出色的语音模型 OSS 化。 我们希望继续降低价格,让语音技术成为一种大众化商品——这样每个应用都能拥有出色的 TTS 和 STT,而不必担心单位成本。我们也在研究音频领域的其他部分,例如说话人分离,以及视频和世界模型推理。敬请期待更多内容! 评论 URL: https://news.ycombinator.com/item?id=49699267 积分:7 评论数:1

arXiv cs.AI75

重新思考面向次二次注意力的异构系统解耦

前沿语言模型正更积极地使用次二次注意力,以在推理期间降低内存占用和计算需求,同时仍保持前沿准确率。尽管现有系统会围绕以稠密注意力为中心的解耦式服务做出决策,但我们表明,围绕次二次注意力 LLM 独特的算术强度和内存占用来解耦推理,可以在新兴的基于 DRAM 和纯 SRAM 的异构系统上实现显著的吞吐量和能效提升。 我们提出 SQD (SubQuadratic Disaggregation),这是一种细粒度异构解耦方案,它按二次注意力和次二次注意力而非按算子类型来拆分解码,并且适用于各种次二次注意力变体。对于稀疏注意力 LLM,我们将解码解耦为 top-k 选择和 top-k 注意力加 FFN,其中 top-k 选择必须索引完整 KV,而 top-k 注意力加 FFN 具有静态内存占用。对于线性注意力和滑动窗口注意力 LLM,我们将解码解耦为稠密注意力层和次二次注意力层加 FFN。在调整后的 8xB200 异构系统代理中,相比最强的纯 GPU 基线,我们观察到 GLM 5.2 上平均 tokens/J 提升 53%,Nemotron 3 Ultra 上提升 31%,Gemma 4 31B 上提升 56%。在一个具有固定功耗预算的 Rubin 加 LPX 系统分析模型中,相比注意力-FFN 解耦的最佳基线,我们观察到可实现延迟收紧 1.2x 到 1.5x,吞吐量最高提高 3.6x。我们的实验还揭示了面向服务次二次注意力的下一代异构系统在芯片和互连配置方面的架构洞见。

arXiv cs.AI77

在时间上锚定临床事件:保留 UID 的多模态重建与基于来源的裁决

临床时间线支持治疗窗口分析和无数据泄漏建模,但出院小结往往掩盖事件时序,结构化 EHR 表格也只能描述患者病程的一部分。我们提出了一个保留 UID 的框架,将每次叙述性事件发生与其来源文本片段关联起来,并通过纯文本估计、结构化证据检索、带时间戳的源行锚定和联合修订,在整个过程中保留该身份。我们还提出了 GAVEL,这是一种 LLM 评判器,可将两个 UID 对齐的时间线与叙述和结构化记录进行比较,从而增强既有的匹配和时间评估。基于六个开放权重模型和 40 份混合重症监护摘要,与其纯文本版本相比,GLM 5.2 多模态修订在不降低事件恢复率的情况下提高了时间一致性,并且其表现具有与临床医生标注相竞争的水平;而其他模型的修订版本增益较小,整体表现也较低。消融实验表明,UID 主要用于保留事件,而源行关联则支持时间定位。盲法人工审查支持了 GAVEL 的大多数判断;受控裁决显示,多模态 GLM 5.2 优于纯文本版本,但 DeepSeek V3.2 并非如此。在开发 UID 和评判器流程的过程中,我们证明了事件恢复率提高了 43\%,构建出了具有与临床医生标注相竞争表现的框架,并实现了一个能够为重建和评估提供事件发生级溯源的系统。

arXiv cs.AI76

LOCUS:面向任务的低秩后训练,实现高效令牌生成

大型语言模型的服务成本随输出序列长度直接增长,但标准的偏好对齐通常会在不提升实用性的情况下增加响应冗长度。我们研究了后训练更新的参数化方式是否会影响生成长度:低秩子空间能够在不改变对齐损失的情况下改变序列长度。我们提出 LOCUS,这是一种选择面向任务的低秩适配子空间的方法,旨在满足实用性约束的同时最小化输出令牌成本。在该子空间内,后训练保留原生偏好目标,并冻结主干模型。基于 Anthropic HH-RLHF 对话偏好数据集,我们评估了两个约 3B 参数的解码器主干模型 Pythia-2.8B 和 Qwen2.5-3B,并将其与遵循匹配协议的全参数 DPO 和 DrDPO 分支以及发布的 SamPO 检查点进行对比。LOCUS 在 Pythia-2.8B 上最多将延续长度缩短 39.84%,在 Qwen2.5-3B 上缩短 14.87%–17.58%,而仅更新模型参数的 0.24%–0.28%,且内部偏好诊断指标没有实质性变化。

arXiv cs.AI76

SIRF:规范内化风险基础模型,用于工业内容风险控制

对于工业内容风险控制而言,真正的部署约束不是平均准确率,而是在高精度和秒级延迟下能够自动处理多少风险。我们提出 SIRF(规范内化风险基础模型),通过 EntiGraph、MAGA 改写和账号级思维链(CoT)合成平台复杂策略,无需额外人工标注,再通过持续预训练(CPT)将其内化进模型权重,使模型能够在超低延迟、仅输出裁决结果的部署模式下以高精度执行规则。受控的同源对比实验(Qwen3-8B-SFT 对比 SIRF-8B-SFT;策略注入方式和仅输出裁决结果的形式完全相同,唯一差异在于基于策略的 CPT)表明,性能提升源于策略内化:SIRF-8B-SFT 的 Black Recall@P95 达到 71.3%,较基线提升 15.1 个百分点,仅使用约 7000 万个 CPT token,且未损害通用能力;在纳入对比且可通过该接口获取 logprob 的模型中,其性能达到或超过了规模大得多的系统。SIRF 已作为树模型裁决层部署,使被误处罚的样本恢复量提升 20%;迁移到冻结场景时成本也较低,使误处罚率相对降低约 70%。

arXiv cs.AI63

A Unified Per-Token Gating Family for On-Policy Distillation: FKL/RKL Mixing with Multi-Channel and Bias Coefficients

Per-token gating of forward/reverse KL losses has become a standard technique for on-policy knowledge distillation (OPD), but existing methods such as EOPD (Jin et al., 2026) and ToDi (Jung et al., 2025) each fix a single gating signal and a single gating direction, and the two have never been compared directly. We introduce a four-coefficient parameterization lambda_t = sigma(a * h_t + b * u(x) + c + d * gap_t) in which direction-aligned proxies of EOPD and ToDi appear as one-dimensional (1D) restrictions, and which adds multi-channel composition and an explicit bias as further degrees of freedom. On TweetEval (Barbieri et al., 2020) emotion and hate, with a Qwen3-32B teacher and a Qwen3-4B student, configurations in the full family reach higher accuracy than the matched-magnitude single-channel (entropy-only / gap-only) 1D restrictions in 33 of 36 comparable cells, and a 26-cell mean-match isolation experiment places dynamic gating ahead of effective-KL-matched static baselines in 19 of 26 cells. Because cells share training data, models, and parameter substructure, we report both counts as exploratory aggregate directional evidence rather than as independent hypothesis tests. Targeted three-seed paired replications of the nine headline comparisons singled out by that sweep -- including a third task, offensive -- are directionally consistent, but individually smaller than the single-seed estimates and not significant at n=3. We therefore present the parameterization primarily as a shared coordinate system for comparing per-token gating designs in short-output classification OPD.

arXiv cs.AI74

识别并不等于逆转:一项保持事实不变的新闻框架受控逆向测试

大型语言模型(LLM)正越来越多地用于分析和改写新闻,但当前的框架研究主要评估文本生成、框架检测,或改写后的文本是否显得更加中立。它们并不能直接说明模型是否能够在保持事实不变的同时,消除一种已知的框架转换。我们针对框架的三种既有文本实现形式——评价性词汇、行动者呈现和信息显著性——引入了一项受控逆向测试。在60篇新闻文章和三种干预强度下,该测试生成了540组保留原子事实且记录了编辑内容的成对变体。在Qwen、DeepSeek和Kimi上,事实保留率保持在接近0.84的水平,而干预逆转率仅为0.044--0.068。即使框架类型和方向都被正确识别,合并后的逆转率也只有0.071。这些结果清楚地揭示了事实忠实度、框架识别与框架逆转之间的区别:能够识别一篇文章采用了何种框架,并不意味着能够消除该框架。

arXiv cs.AI74

从参数到答案:LLMs 如何检索并使用其内部知识

语言模型在回答问题时,对查询路由信息和目标知识的依赖如何变化?我们通过对问题末尾隐藏状态进行逐层干预来研究这一问题。在 Qwen、Llama 和 Gemma 上,我们比较了答案为名词、形容词和代码的国家—洲问题,同时保持若干拟合测量彼此区分。成对条件请求方向描述了自然单国家问题中查询的是哪个国家;全局请求方向描述了配对问题中对第一个国家还是第二个国家的请求;独立的选择候选项则检验对隐藏状态中已经可用内容的控制。对冻结的 Qwen 自然问题状态进行诊断性重新分析表明,在对成对条件请求方向进行干预开始改变后续拟合知识之前,该方向就已变得更强;这一因果窗口开启时,支持答案的内容仍在形成。三种模型在配对设置下的轨迹并不一致:Gemma 展现出部分重叠的中间层路由—内容特征,而 Llama 在相同门控条件下没有持续的路由效应窗口。在配对协议中,从固定的较早层集合到较晚层集合,对全局请求方向的依赖逐渐降低,而对拟合内容的依赖持续存在。对 Qwen 的匹配比较表明,成对条件请求方向在较晚阶段仍保留效应,因此,这种操作意义上的交接涉及全局拟合方向,而不是所有请求信息。这些结果区分了早期可读性、自然强度、因果引导和后期内容依赖。

arXiv cs.AI81

大语言模型中的领域特定幻觉检测

大语言模型能够生成流畅的文本,但其中可能包含不忠实的陈述——这一现象称为幻觉。我们提出了一种多信号检测流程,将经过微调的 DeBERTa-v3 分类、Monte Carlo (MC) Dropout 不确定性量化以及温度缩放校准相结合,用于响应级幻觉检测。在 HaluEval 基准测试中,该流程在通用领域任务上取得了 F1=0.915 和 AUROC=0.977 的成绩,各任务的 F1 分数分别为:0.97(问答)、0.96(摘要)和 0.82(对话)。MC Dropout 推理进一步将准确率提升至 93.2%。上下文消融研究证实,该模型执行的是真正的蕴含推理,而不是利用表面模式;移除知识上下文后,摘要任务的 F1 分数下降了 24%。学习曲线分析表明,使用 25% 的训练数据即可达到完整数据训练效果的 77%。除检测之外,我们还对 Qwen2.5-0.5B 生成模型应用了 Direct Preference Optimization (DPO),根据我们的检测器测量结果,将其幻觉率从 85.5% 降至 37.7%,相对降低 55.9%。在 SciFact 生物医学基准测试上的跨领域评估显示,通用领域训练的迁移效果较差(F1=0.52),这说明有必要进行领域特定微调。在 SciFact 上进行微调的 PubMedBERT 达到 F1=0.63 和 AUROC=0.81,表明领域匹配的预训练是最有效的适应策略。代码和模型可在 https://github.com/varunteja99/hallucination-detection-nlp 获取

arXiv cs.AI79

MindTopo:基础模型能在拓扑空间中进行推理吗?

空间推理不仅依赖距离、角度和形状等度量属性,还依赖在连续变形下保持不变的拓扑关系。认知科学将这些关系视为空间理解的基础,然而,对基础模型的评测主要聚焦于度量关系或依赖视角的关系。我们推出 MindTopo,这是一个基于认知科学和形式拓扑学、涵盖五种属性的拓扑直觉基准:连续性、分离性、次序、包围和纽结。MindTopo 在两个认知层次上评估每种属性。推理任务要求模型识别拓扑关系,或推断这些关系如何变化。规划任务则将基础模型实例化为闭环智能体,由其策略选择环境动作。MindTopo 包含 13 种程序生成的任务类型,共 11,030 个实例,并支持难度控制。我们对 14 个 MLLMs 进行基准测试,并研究了加入图像和视频生成能力的智能体配置,其中包括规划设置下的 3 个视频生成模型。每个 MLLM 在推理任务上的表现都优于规划任务,且表现最佳的模型仍远低于观察到的人类表现。在 Qwen3-VL-2B-Instruct 上,有监督微调和强化学习对推理能力的提升大于对规划能力的提升。生成的观测结果保留了局部线索并到达了看似合理的终点,但经审查的运行轨迹并不能可靠地遵循环境动力学,也无法在状态转换过程中保持拓扑结构。我们的网站位于 https://mind-topo.github.io/。

arXiv cs.AI82

可在边缘部署的视觉语言模型能识别物种吗?

相机陷阱通常在野外依靠连接受限或完全没有网络连接的边缘硬件运行,因此,小型、可本地部署的视觉语言模型(VLM)——而非前沿规模模型——才是评估物种识别能力时具有实际意义的模型类别。我们测试了处于这一部署相关的2--8B规模范围内的模型是否具备真正的分类学知识:在一个包含96个物种的任务中,将四种此类VLM(Qwen3-VL 2B/4B/8B、Gemma3 4B)与领域专用模型BioCLIP(3亿参数)进行比较;同时,在两个独立采样的评估集上,对比清晰的iNaturalist照片与来自6个LILA.science数据集的相机陷阱图像。所有模型的物种识别准确率都显著高于随机水平,但每个模型——无论是通用模型还是专用模型——在野外图像上的性能都大幅下降(领域差距为9.6--26.6个百分点,在不同分类学层级和两个评估集上均保持一致),这表明性能下降反映的是图像整体可辨识性的降低,而不是细粒度判别能力的失效。在针对每个模型扩展至200张图像的样本中,BioCLIP的表现显著优于所有受测VLM(高出33.2--59.2个百分点),尽管其规模小得多,这说明差距源于专门化训练数据,而非模型规模;然而,BioCLIP自身的领域差距为18.0个百分点,与最佳VLM的22.3个百分点在统计上无法区分,这表明从清晰图像到野外图像的性能下降本身是图像质量变化的特性,而不是通用模型的弱点。在开放集提示条件下,有5.9--9.6%的响应在语法上有效,但所给出的物种名称在分类学上并不存在;不同模型之间虚构率的相对排名在两个评估集上完全复现,这一发现比任何单一的点估计都更稳健。

arXiv cs.AI74

X-AuT:面向语音大语言模型的跨尺度蒸馏渐进式音频编码器压缩

降低音频编码器深度可以减少语音大语言模型的推理成本,但移除完整模块会扰动解码器所使用的嵌入,并可能导致删除错误和过早结束序列错误。我们提出 X-AuT,这是一种渐进式框架,通过短行为探测选择层组合,并结合表示对齐、跨尺度蒸馏、定时的学生策略监督以及 LoRA 微调来恢复剪枝后的模型。语言模型主干保持冻结,同时在蒸馏过程中调整注意力 LoRA 适配器和绑定的输出嵌入。训练采用转录一致性流程中一致性最高的数据层级,随后在微调阶段进行数据源重加权。在十个公开的中英基准测试上,将 Qwen3-ASR-0.6B 的音频编码器从 18 层压缩至 16 层后,宏平均错误率从 5.61% 降至 5.27%。14 层模型在音频塔参数减少 20.7% 的情况下达到 5.75% 的错误率。在匹配的训练方案下,1.7B 教师模型的平均错误率为 5.55%,而自蒸馏为 8.45%;渐进式 18$\rightarrow$14 剪枝优于直接剪枝(5.75% 对比 6.73%)。这些单次运行结果确立了两个实用的工作点,并表明准确率影响会因基准测试而异。项目网站:https://xpeng-ai.github.io/x-aut

arXiv cs.AI82

将跨语言临床标注投影作为受约束的文本生成:一项六语言研究

背景:旨在确定跨语言临床标注投影能否被表述为一种保留文本、面向文档级别的生成任务,以生成可验证的字符级标注,用于构建多语言临床语料库,并刻画其相较于基于候选项的投影流程的稳健性与计算权衡。方法:我们开发了一套受约束的 LLM 投影工作流,将实体标签直接插入不可变的目标语言文本中,随后进行确定性验证和字符偏移重建。我们同时评估了监督式候选跨度投影方法,以及用于将西班牙语 Disease、Symptom 和 Procedure 标注转移到六种语言的混合式 ML-LLM 优化方法。评估采用 MultiClinAI 金标准,并使用严格跨度匹配和字符重叠 F1。结果:直接 LLM 投影取得了最强且最稳定的性能。GLM 5.2 在 18 个语言-实体组合上的平均 Strict F1 达到 0.9201,而可在本地部署的 Gemma4:31B 达到 0.9133。在全部 18 种设置中,最佳 LLM 配置的 Strict F1 均超过此前的最新水平,提升幅度为 0.0564–0.1512,并生成了 55,416 条完成偏移重建且具有依据的提及。结论:基于直接 LLM 的投影能够实现高质量的多语言临床标注转移,并为将临床 NLP 资源扩展到标注数据集和语言专用工具较少的语言提供了一种实用方法。结合本地推理和确定性验证,该方法可以显著减少构建多语言临床语料库所需的专家时间和成本。

Hacker News 熱門79

Show HN:MultiMatte,一个可用提示词控制的图像背景移除模型

HN 大家好,我是来自 Feyn 的 Shreyash。我们帮助公司基于其数据构建定制模型。 今天我们发布 MultiMatte,这是一个可以用文字指向目标的背景移除模型。说出图像中的一个对象,MultiMatte 只保留那个对象,并移除其他所有内容。 用你的图像试试看: https://usefeyn.com/multimatte/ 。 演示视频: https://youtu.be/XZ5BJWAkOjs MultiMatte 是开源的。使用我们的 NoBg 库来构建: https://github.com/feyninc/nobg 。模型卡在这里: https://hf.co/feyninc/multimatte MultiMatte 是我们背景移除模型的第二次迭代。第一个是 FeyNoBg,我们曾在这里发布: https://news.ycombinator.com/item?id=49072462 。 最大的升级是可提示性。大多数模型在裁切背景时会保留所有前景元素。MultiMatte 让你可以用提示词指定想要保留的确切对象,并移除其他所有内容。例如,如果你有一张包含一只狗和一个碗的图像,你可以让 MultiMatte 只保留狗。 MultiMatte 基于 Meta 的 SAM 3 构建,SAM 3 是一个可用概念提示的检测器,已经能够理解短语。我们最大的改变在于遮罩。MultiMatte 不使用将每个像素分类为位于对象内部或外部的二值遮罩,而是使用 alpha mattes,为每个像素相对于某个对象分配一个不透明度值。这使我们能够更好地表现头发、毛发、运动模糊以及其他类型的模糊边界。 在我们测量的所有基准测试中,MultiMatte 相比 SAM 3 都显示出阶跃式提升。在 DIS5K 上,S-measure 从 0.674 提升到 0.908(相对提升 34.6%),在 DUT-OMRON 上从 0.792 提升到 0.901(13.7%)。 我们的博客介绍了更多训练细节和结果: https://usefeyn.com/blog/multimatte 。 很乐意回答任何问题! 评论 URL: https://news.ycombinator.com/item?id=49645803 点数:9 评论数:1

Hacker News 熱門67

DeepSeek v4.1 Flash

文章 URL: https://twitter.com/deepseek_ai/status/2097930608790167907 评论 URL: https://news.ycombinator.com/item?id=49639090 分数:17 评论数:3

arXiv cs.AI81

Fortunate Recall:由本体驱动的 LLM 持久一致性记忆生命周期管理

当前的 LLM 记忆系统将所有个人事实一视同仁,导致存储内容无限增长,同时检索精度不断下降。核心挑战在于生命周期管理:哪些记忆应当持久保留,哪些应当被替换,以及应以何种速率进行更新,而这些决策还应取决于每条事实的行为类型。Fortunate Recall(FR)是一种可组合的策略层,可将个人事实分类为 10+1 类行为本体,并基于类别应用特定的生命周期策略(差异化时间衰减、槽位键替换、事件时间有效性以及类别感知的检索路由);这些策略均作为作用于 LLM 提取元数据的确定性函数实现。我们的基础设施无关实现 FR-Bank 在新的 516 道时间消歧基准 LifecycleBench 上达到 76.9% 的通过率,领先于 Mem0、A-MEM、Memory-R1 和 MemoryOS(61% 至 70.5%);在规范的 Wu et al. 评测协议下,FR-Bank 在完整 LongMemEval-S 上达到 75.2%,表明生命周期策略不会对标准检索造成可测量的成本。预注册消融实验定位了性能提升的来源:将类型化层替换为三个通用生命周期原语后,正确率在统计上没有变化(-1.7 个百分点,95% CI [-6.0, +2.7]),说明通用生命周期元数据带来了正确性优势,而行为本体则提升了校准能力,使下游虚构率降低了一半(12.0% 对 24.2%,p<0.001)。在端到端评测中,FR-Bank 将已回答查询中的虚构率从 Mem0 的 45.1% 降至 22.4%,并将全部查询中的虚构率从 32.2% 降至 13.0%,同时正确回答的查询比例更高(31.2% 对 18.6%);在开放权重模型 Kimi K2.5 上也复现了这一排名。该分解结果可迁移至独立构建的基准 BEAM:在 280 道问题上,正确率为 46.8%,而 Mem0 为 32.9%;本体的收益主要集中于矛盾消解,并在接近七个策略簇时趋于饱和。本体、基准和代码均已发布。

arXiv cs.AI79

RAP:研究注意力预测揭示目标条件化的证据获取偏差

大型语言模型(LLM)日益充当研究代理,但由于综述和研究想法缺乏可唯一验证的结果,评估其跟踪研究注意力变化的能力颇为困难。我们提出 Research Attention Prediction(RAP),这是一个滚动基准,涵盖 278 个 AI/ML 领域和 1,390 个事件。在每个截止时点,LLM 代理都会搜索时间受限的 arXiv 语料库,并预测接下来六个月内八个固定研究方向的论文占比。搜索通常有所帮助,但在组合准确性方面,四个诊断模型的表现都不如基于精确计数的指数加权移动平均(EWMA)基线。我们发现了两个相互关联的瓶颈。在可访问累积历史的条件下,对于全部四个诊断模型,State carry-forward 的表现都优于直接 Forecast;冻结证据重放表明,这一反转的一个共同组成部分与以 Forecast 为导向的策略获取近期证据占比较小有关。即使拥有精确的历史活动数据,面向未来的特定更新仍然有限,只有 GPT-5.5 加上重新开启的 Search 略微超过 EWMA。在已实现结果上进行微调后,Qwen3-4B 在后续起始点、留出的领域上的预测 Spearman 相关系数提高了 0.105,在变化丰富的事件中也取得了提升。

arXiv cs.AI79

主动适应,而非静态防御:对抗性微调中 Preventative Steering 的时间动态

大型语言模型在面对恶意微调时仍然十分脆弱,因此有必要在训练阶段防御有害的人格漂移。Preventative Steering 在微调期间注入不良特质人格向量,并在评估时将其移除,但其持久保护机制仍不明确。通过分析其时间优化动态,我们发现,该防御机制源于早期的补偿性适应阶段,随后进入修正信号逐渐衰减的稳态阶段;在参数空间中,注意力输出投影成为防御性更新的主要残差写入路径。通过 Intervention Delta Preservation(IDP)和 IDP Continuation 实验,我们进一步表明,保留或重新注入权重偏移都无法维持防护效果,这说明 Preventative Steering 依赖的是主动适应,而非静态防御。受此发现启发,我们提出 Progressive Intensity Scheduling(PIS):从中等注入强度开始,并在静态强度引导的对齐效果开始衰减后提高注入强度。在所评估的 Qwen2.5 和 Gemma-3 模型中,相较于固定强度引导,PIS 提升了安全稳健性,同时减少了有害特质的表达。

arXiv cs.AI81

系统内核管理的共享内存,用于全系统个性化

当 AI 系统能够适应使用者时,其实用性会显著提升;但在多智能体系统中,一个智能体学习到的有用上下文往往无法被其他智能体获取。我们提出了内核管理的共享内存,这是一种系统级抽象:专用智能体写入结构化、带标签的记忆,而由智能体系统内核,而非各个智能体,负责检索、隐私执行和提示注入。我们在 AIOS 上实现并评估了这一设计,并在三种助手模型(GPT-4o、Llama-3.1:8B、Qwen-2.5:7B)和总计 1,800 次试验中,将其与三种替代方案进行了比较。与使用相同底层存储、但不受管理的外部记忆后端 Mem0 相比,内核管理的检索与注入使个性化得分在 5 分制上提高了 2.4–4.0 分(例如,在 GPT-4o 上,用户资料使用度从 1.05 提升至 4.69),且每项比较均达到显著水平(p < 10^-18)。与标准的检索增强注入相比,三种模型均获得了同样显著且一致的提升。与完整、未经筛选的上下文拼接相比,后者对可用上下文设置的是软上限,而非对响应质量设置上限;内核管理的注入在三种模型中的两种上表现出统计学上的相当水平,在第三种模型上则出现了轻微且与模型相关的性能不足,同时使用的提示显著更短:三种模型的端到端延迟均降低了 15%–61%,每次调用的 token 使用量和推理成本也相应减少。这些结果表明,将记忆管理集中于智能体系统内核,而不是将检索和隐私执行留给各个智能体,能够以其一小部分成本,实现大部分不受约束上下文所带来的个性化收益。

arXiv cs.AI78

TRACE:使用合成奖励训练因果探索推理智能体

带有可验证奖励的强化学习(RLVR)推动了语言模型在数学和代码等领域的推理能力发展,因为这些领域的客观答案易于验证。复杂数据上的诊断推理则不具备这一优势:确定异常的真正原因通常需要成本高昂的专家调查,而且事后也可能仍然存在歧义。我们探讨能否通过工程手段利用这种验证不对称性。我们抽样一个干预,将其注入受控模拟器,并生成该干预会产生的观测结果。隐藏的干预提供了预言机标签和客观奖励,而智能体仍必须调查嘈杂、混杂且分散的证据。 我们在 TRACE 中实现了这一方法。TRACE 是一个数字广告诊断环境,包含 12 种根本原因以及细粒度的细分归因。智能体使用 Python 和 SQL 调查每个回合,并必须识别根本原因,以及在适用时确定受影响的细分归属。在一个留出的 235 回合测试集上,表现最强的提示基线 Claude Opus 5 达到 0.686 的 FullAttr@1。监督微调将 Qwen3.5-35B-A3B 的得分从 0.159 提升至 0.637,随后使用合成奖励进行强化学习,得分进一步达到 0.757,超过了所有评估的提示基线,包括前沿闭源模型和经过提示的 Qwen3.5-122B-A10B 模型。所得策略使用的工具调用次数也显著少于经过提示的 35B 基础模型。这些结果表明,能否获得可扩展且客观的训练信号,可能比模型规模本身更为关键。更广泛地说,基于模拟的验证可以使原本存在歧义的诊断推理任务适用于可扩展的强化学习。

Hacker News 熱門73

DeepSeek 推出 v4.1 flash,比 v4 pro 更便宜且能力更强

DSeek 计划于 2026 年 9 月 10 日(北京时间)前后正式发布 V4.1 Flash 模型。经过广泛的内部和外部测试,V4.1 Flash 在性能、成本、速度和任务完成时间等所有关键指标上均全面超越 V4 Pro。秉持对用户负责的承诺,在 V4.1 Flash 正式发布后、V4.1 Pro 发布前,所有发往 Pro 模型的请求都将转由 V4.1 Flash 处理,并按照 Flash 的价格计费。如果您在 V4 Pro 与 V4.1 Flash 的对比测试中遇到任何问题,请随时向我们反馈。感谢您的支持! 我们将从 2026 年 9 月 10 日北京时间 12:00 起调整 Flash 系列的价格。在非高峰时段,输入缓存命中的单价为 0.003 美元,输入缓存未命中的单价为 0.15 美元,输出单价为 0.6 美元。高峰时段的价格将为非高峰时段价格的两倍。请合理安排您的使用计划。 评论 URL: https://news.ycombinator.com/item?id=49624603 得分:7 评论数:1

arXiv cs.AI82

ExecCritic:学习测试,通过测试改进编码智能体

执行反馈可以引导编码智能体完成正确的代码库修复,但前提是测试能够捕捉问题所要求的行为。智能体生成的测试可能编码不完整或不正确的行为目标;当同一条轨迹同时编写补丁和测试时,它们的错误可能相互一致,从而产生虚假的信心。我们提出 ExecCritic,它将测试--验证--修订脚手架与用于在其中训练智能体的角色特定强化学习方案相结合。该脚手架将测试构建与源代码修复分离:Test agent 独立生成代码库原生测试,一个 fail-closed 测试框架对其进行合格性判定并冻结,Repair agent 则基于这些测试的执行反馈修改源代码而不更改测试。两个角色都使用 Qwen-3.5-35B-A3B 作为骨干模型,并分别进行训练。在 Learn to Test 中,Test agent 学习生成行为上有效、能够区分正确与错误补丁的测试。在 Test to Improve 中,Repair agent 学习直接解决任务以及基于反馈进行修订。在 SWE-bench Verified 上,测试质量决定反馈是否有帮助:在固定基础 Repair agent 的情况下,来自基础 Test agent 的测试会使解决率从无测试基线的 61.2% 降至 57.3%,而来自 GPT-5.6-sol 的测试则将其提升至 65.3%。角色特定的后训练将 Qwen Test agent 的 Base-to-Gold 成功率从 22.2% 提升至 62.2%;组合两个后训练的 Qwen agent 达到 72.6%,在评估时无需更强模型或 Oracle 反馈的情况下,比原始无测试基线提高了 11.4 个百分点。代码已公开发布于 https://github.com/MSR-Orchard/execcritic.

arXiv cs.AI78

共同演化 Harnesses 与 Models:On-Policy Correction 帮助较弱模型在 Imitation 失效之处迎头赶上

Agent harnesses(围绕模型的 system prompt、tool set、execution hooks 和 context-management scaffolding)是决定 agentic 任务成功的关键因素。自动化 harness 演化可以使较小模型以 frontier-model 成本的一小部分在特定领域任务上表现良好。由于 harness 和模型权重都会塑造行为,我们探讨应如何结合 harness 演化与轻量级 fine-tuning。在七项企业 agent 任务中,我们首先使用较弱模型演化出一个 harness,随后发现更强的 expert 往往能更有效地使用它,这表明 expert 监督可能弥合剩余差距。然而,在演化后的 harness 下用 expert 的完整轨迹训练较弱模型会适得其反:在 Qwen3-Coder 和 Gemma 4 上,七项任务的性能全部回退 4 到 30 个点,尽管同样的流程在未演化的 harness 下是有帮助的。我们的分析表明,imitation 会迁移知识并增加 scaffold 使用,但会破坏模型-harness 适配:较弱模型采用了 expert 的规划策略,却不具备执行该策略的能力,并且不再匹配围绕其原生规划风格演化出的 harness。因此,我们开发了一条 on-policy expert-correction 流程,由一个元层级 MLE agent 自动化执行;该流程会定位较弱模型自身 rollout 中失败的 turn,并要求 expert 仅重写该 turn。这保留了模型的规划风格,并结合了 harness 演化与模型适应的收益。我们的结果识别并解决了 harness 与权重更新之间的一种冲突来源,为特定领域企业任务上的经济型共同演化提供了一种保持兼容性的方案。

arXiv cs.AI85

PlannerForge:用于自动驾驶中基于场景的运动规划器测试的 LLM 智能体

确保自动驾驶的安全性是一项关键挑战。基于场景的测试是一种用于验证自动驾驶系统(ADSs)的系统化流程,但目前仍是一个碎片化的模块化流水线:场景生成、检索、修改、ADS 执行和结果分析分别由交互很少的独立工具完成。大型语言模型(LLM)智能体已在 ADS 的感知、规划和控制等子系统中展现出良好应用前景。然而,尚无先前工作能够通过统一的 LLM 智能体框架覆盖 ADS 的完整基于场景的测试流水线。我们提出了 PlannerForge,这是一种 LLM 智能体框架,扩展了基于场景测试的全部阶段(从场景生成到 ADS 评估),并新增两个由 LLM 增强的阶段:ADS 增强和 ADS 基准测试。我们使用 10 个开箱即用的 LLM,在 5 种提示条件下,对所有任务(生成、选择、修改、模块路由、规划器测试和增强)评估了 PlannerForge。各任务的最佳得分范围为 0.88 至 1.00;在大多数任务上,开源的 20-35B 后端模型能够媲美商业 API。Qwen3.6:35B 等开源模型在五项任务中的三项上达到了商业 API 的水平。将各模块端到端串联后,仍可保留 83% / 78% 的种子查询(商业模型 / 开源模型)。在自然语言生成方面,PlannerForge 优于 Scenario Factory 2.0(Finkeldei 等,2025)(200 个查询中生成 193 个可执行场景,而非 144 个),并实现了所请求城市、道路和车辆属性的 92-96%。在排名第 1 的选择准确率上,它优于 BM25(Robertson 和 Zaragoza,2009)(92.0% 对 67.5%);在生成物理有效修改方面,它优于 From-Words-to-Collisions(Gao 等,2025)(≥94% 对 31%)。在 N=400 时,成本调优在不进行领域特定微调的情况下,将规划器成功率从 50.4% 提升至 70.2%,并将碰撞率从 19.0% 降至 8.4%。

arXiv cs.AI70

Performance of Clinical AI System and Physicians and Frontier Language Models in primary care diagnostics

Clinical AI evaluation should encompass diagnosis and management after adaptive information gathering. We compared Doctorina, eight physicians and four standalone frontier language models in 150 synthetic Polish-language primary-care consultations. Doctorina achieved 82.0% Top-1 concordance versus 57.0% for physicians (difference, 25.0 percentage points; 95% confidence interval, 17.7-32.7) and 97.3% versus 85.0% primary-or-reference-differential concordance. Across 149 case pairs, normalized workup and treatment scores were 89.4 versus 66.9 and 83.7 versus 61.2. Doctorina had the highest diagnostic point estimates among all six groups; Kimi K3 ranked next, while Claude Opus 5 led the closely spaced management estimates of Opus, Doctorina and Kimi. A second Doctorina execution reproduced the advantages over physicians across all outcomes. Doctorina's advantage over physicians therefore extended from primary-diagnosis selection to higher-rated diagnostic workup and initial treatment after adaptive consultation.

arXiv cs.AI71

ThinkPrior: Zero-Rollout Difficulty Priors for Cold-Start Prompt Selection in RLVR

In reinforcement learning with verifiable rewards (RLVR) trained with group relative policy optimization (GRPO), the KL-free reward-advantage term studied here depends on within-group reward variation. If all rollouts in a group are correct or all are wrong, their group-relative advantages are identically zero; these zero-advantage silent groups provide no reward-advantage gradient, yet uniform sampling spends 39% of a run's rollouts on them. History-based prompt selection must first spend target-policy rollouts to estimate difficulty, creating a cold start with rollout waste; ThinkPrior instead uses an external anchor in one offline pass to construct a zero-rollout difficulty prior before the first target-policy rollout. The verifier-scored anchor pass rate supplies an external-anchor initialization for a Beta posterior; ThinkPrior selects by expected learnability and then updates from training outcomes, changing neither the loss nor the optimizer. On Qwen2.5-Math-7B across sixteen seeds, ThinkPrior more than halves early silent groups and cuts wasted rollouts through step 30 by nearly a fifth, while we detect no difference in final accuracy. On this 250-prompt pool the fixed-budget result is a reallocation rather than a net saving. The measured ThinkPrior+DAPO composition reduces generated rollouts by 10.6% while both arms retain the same 3840-rollout update budget. The prior requires no target-policy rollout before the first selection, but the posterior thereafter uses target-policy outcomes.

arXiv cs.AI77

凡事适度:多领域中期训练中的逐领域覆盖最优点与对齐难以消除的领域差距

中期训练是预训练与对齐之间的阶段,模型逐领域的数据构成通常由数据可获得性决定,而非依据原则进行设计。我们考察这种决策带来了什么,以及后续的对齐过程能否消除其影响。在受控的逻辑推理环境中(Qwen3-8B-Base,并以 4B 进行复现;五个语义上规则不相交的 KOR-Bench 领域),我们训练了覆盖五领域单纯形的 30 种分配方案:其中 24 种为扫描配置,另有 6 种未纳入拟合;每种配置使用 5 个随机种子。我们得到三个发现。第一,每个领域都存在一个内部覆盖最优点:对全部五个领域而言,适度区间($10\%$-$40\%$)表现最佳;经校准的二次曲线内部最优性置换检验给出 $P\approx0.010$。仅使用中期训练数据拟合的曲线在 8B 上的峰值位于 $9.9\%$ 到 $35.1\%$ 之间,能够复现曲线形状,但无法复现峰值位置。第二,在固定预算的对齐过程中,这些差距依然存在:补偿性 SFT 提升了 116/120 个单元格的表现(平均提升 $+4.32\%$),但在 $5\%$ 阈值下弥合了 $0/240$ 对差距,在 $10\%$ 比率下弥合了 $30/240$ 对差距;等预算的均匀控制表现几乎相同,而置换零假设预计会弥合 $13.8\pm3.3$ 对和 $77.9\pm8.5$ 对差距($P<0.001$)。第三,覆盖率为零会导致仅经中期训练的准确率崩溃,不过仅使用 FineWeb-Edu 的控制实验表明,这种崩溃与一般性漂移交织在一起。探索性的 $θ^*$ 分配实现了完整流程中最大的增益($+4.36\%$,相比之下为 $+0.80\%$/$+0.64\%\,pp$),但根据 Welch 检验,其结果处于边缘显著水平。

arXiv cs.AI84

All for 1-Bit:迈向真正的 LLM 1 比特训练后量化

大型语言模型(LLM)取得了显著进展,但其巨大的存储和内存带宽需求仍然阻碍着高效部署。权重二值化是一种有前景的解决方案,但现有基于二值化的训练后量化(PTQ)方法通常由于隐藏开销而远超名义上的 1 比特存储目标。为弥合这一差距,我们提出了 All for 1-Bit(AF1),一种面向 LLM 的真正 1 比特 PTQ 框架。AF1 由两个互补组件构成:(1)空空间感知二值分解(NABF),通过 Hessian 感知的代理重参数化、空空间感知的二值分解以及仅缩放的全局重构来改进二值重构;(2)分层 Shapley 分配(HiSA),利用分层 Shapley 敏感度分配结构容量。二者结合后,使模型在 PTQ 设置下严格遵守 1.0-BPW 预算的同时保持准确率。在 LLaMA、Qwen 和 Gemma 系列上的实验表明,AF1 在困惑度和零样本准确率方面始终优于现有基于二值化的 PTQ 方法。与 BF16 相比,在所评估的模型中,AF1 平均实现了 2.5 倍的推理加速,并将内存占用降低了 90% 以上,为 LLM 真正的 1 比特压缩走向实际部署提供了可行路径。用于复现实验的代码位于 https://github.com/Kishon-zzx/AF1。

arXiv cs.AI73

MVFA:一种用于情感分析和情绪识别的多视角文本引导多模态融合 LLM 适配器

对话中的多模态情感分析和情绪识别需要对文本、声学和视觉模态之间的异构交互进行有效建模。尽管大型语言模型(LLM)具备强大的语言理解能力,但将其适配到多模态情感计算仍然面临挑战:全模型微调的计算成本过高,而许多现有的轻量级适配器无法在跨模态融合过程中保留丰富的文本线索。为解决这些局限性,我们提出多视角文本引导多模态融合适配器(MVFA),这是一种参数高效的框架,能够为冻结的 LLM 增强强大的多模态推理能力。MVFA 首先通过最大池化、平均池化和注意力池化构建互补的文本视图;随后,这些视图引导音频和视觉特征之间的跨模态交互。融合后的多模态表示通过 Enhanced Q-Former Fusion Module 进一步压缩为一组紧凑的可学习伪标记。我们以 ChatGLM3-6B-base 作为主要主干模型,并在 LLaMA2-7B 和 Qwen3-8B 上进一步验证 MVFA,以考察其在多个冻结 LLM 主干模型之间的可移植性。MVFA 在三个具有挑战性的数据集上进行了评估:CH-SIMS V2.0、MELD 和 CHERMA。实验结果表明,MVFA 仅更新很小一部分参数,便在关键指标上取得了最先进的性能。具体而言,在 CH-SIMS V2.0 上达到 84.62\% Acc2 和 84.59\% F1,在 MELD 上达到 67.36\% Acc 和 66.03\% WF1,在 CHERMA 上达到 74.66\% Acc。这些结果表明,多视角文本引导融合是情感计算领域一种有效且可扩展的参数高效多模态 LLM 适配范式。代码公开于 https://github.com/Overwhelm1208/MVFA。

arXiv cs.AI78

VDiff-Bench:用于细粒度图像差异识别的高难度基准

多模态大语言模型(MLLMs)在视觉问答等通用视觉理解任务上表现出色,但它们往往难以掌握一项基本的比较能力:识别两幅相似图像之间发生了什么变化。我们提出 VDiff-Bench,这是一个用于细粒度图像差异识别的高难度多项选择基准。VDiff-Bench 包含针对图像对的 1,756 道四选一题目,涵盖 10 类变化:位置、运动、局部图像颜色、整体图像颜色、出现/消失、噪声/分辨率、纹理、替换/尺寸、OCR/文本以及光照。每道题对应两个图像输入和 4 个选项:真实差异、两个高难度负面描述,以及一个“无差异”干扰项。为增加任务难度,我们专门构建了以真实标注为条件的负面选项,要求模型将实际变化与语义上相近的替代描述区分开来。对 11 个当前最先进的开源和闭源 MLLMs 的实验表明,细粒度视觉比较仍然十分脆弱:模型在不同数据来源和变化类别上的表现不均衡,并且在噪声和纹理等细微低层次变化上持续失败。例如,三个 7–8B 规模的开源 MLLMs 在语义变化上的得分为 52.5%–70.6%,但在噪声和纹理等低层次变化上的得分仅为 8.7%–33.3%,并错误地认为两个图像输入之间没有变化。令人意外的是,尽管其他闭源商业模型表现强劲,Grok 4.3 在识别图像间的噪声和纹理差异方面却出现了显著的性能下降,大幅落后于 Kimi K2.5 和 K3 等大型开源模型。总体而言,VDiff-Bench 为评估 MLLMs 的比较性视觉理解提供了有针对性的诊断工具,揭示了标准单图像视觉语言任务无法捕捉到的缺陷。

arXiv cs.AI70

Design Docs Are All You Need: An AI-native Machine-Learning Performance Tool

Machine-learning performance modeling is a uniquely hostile terrain for long-lived software: the assumptions baked into today's abstractions are invalidated by tomorrow's models and systems, forcing perpetual refactoring of performance-modeling frameworks. Meanwhile, AI coding agents have become fast and capable enough that regenerating an entire library is cheaper than paying down the tech debt of incrementally patching it. We describe SMART, a rigorous symbolic performance-modeling library for ML systems whose main branch contains almost no code: the repository is a DAG of self-contained natural-language design docs, coding sub-agents regenerate the implementation from only the docs on new version updates, and every human change is a natural-language edit to a doc--self-documenting by construction. Two ingredients make regeneration reliable: (i) a design-doc style built around step-by-step worked examples that act as in-context demonstrations for the generating agents, and (ii) a minimal, recursively defined operator IR with symbolic (SymPy) cost expressions, a fast analytical roll-up mode for large sweeps, and a slow modulo-scheduling mode for fine-grained schedule studies. Regenerated implementations reproduce hand-audited reference models--including DeepSeek-V3 serving on a TPU pod slice--to round-off precision, suggesting that design docs--not code--can be the durable artifact for ML-systems co-design tools.

arXiv cs.AI65

A Verifier-Guided Explainable Reasoning Framework with Gold-Anchored QLoRA, Task-Aware Mixture-of-Experts, and Group-Relative RLVR

Large language models (LLMs) show strong reasoning ability, but their explanations can remain inconsistent, weakly grounded, or difficult to verify. We propose a verifier-guided explainable reasoning framework for transparent educational question answering that combines gold-anchored QLoRA, task-aware symbolic routing, and group-relative RLVR. Qwen2.5-3B-Instruct is first adapted with field-weighted QLoRA supervision anchored to authoritative answers. A lightweight router then assigns logic problems to a FOL/Z3 verifier and physics problems to a formula- and unit aware symbolic solver. Verifier feedback is further used to support candidate evaluation, self-revision, and reward construction during RLVR. Candidate responses are evaluated along three complementary dimensions: P1 for answer correctness, P2 for evidence or unit consistency, and P3 for reasoning depth and explainability. At inference, gold-free self-consistency aggregates multiple candidate responses before an optional question-only physics verifier performs conservative system-level correction. On 438 held-out examples, RLVR increases P3 from 50.68% to 72.20%, while hybrid P1 remains approximately stable at 55.94%. Self-consistency improves model only P1 from 48.86% to 50.23%, with symbolic verification providing the remaining hybrid gain. These results indicate that RLVR primarily strengthens explicit reasoning structure, while symbolic verification complements the neural policy by improving answer reliability at the system level.

arXiv cs.AI77

ACE: 面向基于MoE的LLMs的自适应免校准专家跳过

混合专家(MoE)架构为扩展大型语言模型(LLMs)提供了一种高效范式,但固定的 top-k 路由会对每个 token 激活相同数量的专家槽位,造成大量冗余计算。现有的专家跳过方法往往依赖路由置信度、校准数据或额外训练,因此无法可靠估计已路由专家的实际贡献。为此,我们提出 ACE,一个无需训练、无需校准且保持 checkpoint 不变的框架,用于基于MoE的LLMs中的 token 自适应专家跳过。ACE 包含两个互补组件:1)Global Spectral Proxy(GSP),通过耦合的 gate、up 和 down 投影以及 RMSNorm 缩放来估计全局变换能力;2)Router-Conditioned Refinement(RCR),基于中心化的路由权重构建专家特定的方向原型,并沿路由偏好方向评估专家响应。在推理过程中,ACE 将这两种估计与运行时路由门控相结合,仅当两种视角都将某个专家判定为低贡献时才跳过对应专家槽位,同时始终保留 top-1 专家。所有专家统计量均在离线计算,在线阶段仅需查表和轻量标量运算。跨三个基于MoE的LLMs和八个基准的大量实验表明,ACE 始终优于现有静态和动态基线,并且在更激进的专家跳过设置下优势更加明显。例如,在 Qwen3.6-35B-A3B 上以 50% 的跳过比例运行时,ACE 将 WikiText-2 困惑度降低了 7.96%,并且相比最强竞争方法将平均下游准确率提升了 4.15 个百分点。

arXiv cs.AI70

How Does mHC Use Its Residual Streams? Selective Routing and Near-Identity Mixing

Hyper-Connections and their manifold-constrained variant mHC widen a residual pathway from one stream to n, yet how trained models use this capacity remains unclear: how broadly blocks read and write, how strongly the residual pathway mixes streams, and whether the streams carry distinct representations. We examine these properties in the four-stream residual pathway of DeepSeek-V4-Flash using effective stream counts, cross-stream residual weights, and inter-stream cosine similarity. Read/write routing is concentrated but varies across depth: a typical attention or FFN site effectively uses about two streams, while the dominant stream changes across layers and the representations remain directionally distinct. Residual mixing is modest and occurs primarily in early layers; in layers 22-42, the pathway mostly carries each stream forward separately. Targeted interventions establish the functional significance of these patterns. Replacing the late mixers by identity increases C4 perplexity by only 1.9% and preserves the six-task average score, whereas replacing the early mixers increases perplexity by 41%. Fixing each early mixer to its C4 diagnostic mean increases perplexity by only 0.2% and reduces the average score by 0.25 percentage points, showing that its site-specific structure matters more than its token-wise variation on the evaluated metrics. Likewise, retaining the three largest routing weights per token at every site increases perplexity by at most 2.7% and changes the average score by at most 0.4 points. Thus, the studied model realizes only part of the flexibility afforded by four-stream mHC: individual blocks rarely require all four streams, and late residual mixing provides little measured benefit.

arXiv cs.AI81

为何 Gated DeltaNet 能经受住 4 位量化:用于混合型 27B LLM 递归半部分的 NVFP4 W4A4

混合型 LLM 将 softmax 注意力与线性注意力层(如 Gated DeltaNet, GDN)配对,其递归状态以固定大小总结上下文。早期社区对 Qwen3.8-27B(48 个 GDN 层,16 个 attention 层)的 4 位量化实现,出于“递归中的误差会在长上下文中累积”的直觉,保留了 GDN 块为 8 位或 16 位精度——尤其是其衰减门和写入强度门。我们通过构建 Minima 来检验这一直觉:对全部 496 个线性层(包括 GDN)都采用 NVFP4 W4A4。我们在 4K/32K 的困惑度、MMLU-Pro、GSM8K、AIME'25、GPQA-Diamond、LiveCodeBench,以及到 64K 的 RULER 检索上测试发现,Minima 在种子噪声范围内与 BF16 相当(5 项任务平均 -0.52),同时是我们比较的方案中最小(17.5 GiB)且预填充最快(+14-19%)的方案,而且其 32K 困惑度差距会随位置缩小。一个四部分的机制研究解释了原因:(i) NVFP4 的 16 元素块缩放将残差流中的极端离群值局部化,使不同层角色之间的激活误差更加均衡;(ii) 所谓脆弱的门投影反而最不敏感——softplus/指数和 sigmoid 参数化把约 11% 的 GEMM 误差压缩为约 2% 的输出误差;(iii) delta-rule 递归在 32K token 上将注入噪声维持在平坦平台,并在数百步内忘记一个状态脉冲,因为每次写入都会沿当前 key 方向覆盖状态;(iv) 单个 token 的量化成本会随上下文而被冲淡,而不是累积。我们还修复了一种全局尺度不匹配:当按模块校准的 NVFP4 检查点由将这些模块融合为一个 GEMM 的 kernels 提供服务时会出现该问题,并表明经过校准的 FP8 KV-cache 尺度不会带来性能损失。结果表明,一个实用方案是——全部量化,附带 KV 尺度——并且给出了一个机理性解释:为什么混合型 LLM 的递归半部分是更容易量化的那一半。检查点:https://huggingface.co/minima-ai/mnma_qwen3.8_27b_nvfp4

arXiv cs.AI71

Environment Evolution for Terminal Agents

Scaling interactive and verifiable environments is critical for training terminal agents. As frontier models become more capable, environments synthesized from scratch become less challenging and thus provide limited learning signals. Recent co-evolution methods iteratively synthesize environments near the model's learnable frontier based on weaknesses exposed during rollouts. However, their dependence on on-policy rollouts limits generalization and the continuous provision of learning signals as the model becomes stronger. In this paper, we propose environment evolution, which incrementally increases environment difficulty off-policy and schedules the evolved environments generation by generation during training to provide continuous learning signals. We derive three evolution directions that influence environment difficulty from the multi-turn learning objective and then implement evolution along these directions through a loop-engineered multi-agent harness. Quantitative rollout experiments with Hy4 preview, Claude Opus 5, and GPT-5.6 Sol show that environment evolution consistently produces more difficult environments. We validate its effectiveness on Qwen3.6-27B and Qwen3.6-35B-A3B through simple long-horizon RL training, improving their performance by 14.4 and 18.0 percentage points on Terminal-Bench 2.1, respectively.

arXiv cs.AI79

Terminal-Universe: Turning Agent Trajectories into Scalable Terminal Environments

As terminal-based code agents become prevalent, agent trajectories have accumulated at scale, while realistic, executable environments remain scarce. However, environments are what agent post-training actually requires: each can be re-queried into many verifiable tasks and provides execution feedback, whereas a trajectory is a single frozen demonstration. Rather than generating environments from scratch, we observe that the tool-execution history in existing trajectories exposes the structure and contents of the environments in which they ran, making it possible to reconstruct those environments from the trajectories themselves. Thus, we introduce Terminal-Universe, a framework which turns each trajectory into a reusable environment and explores it for synthesizing new tasks and continued interactions. Specifically, Terminal-Universe replays the file operations recorded in a trajectory to restore each file before the agent modified it, yielding a partial workspace; a completion agent then supplies the missing files and dependencies. On this recovered workspace, we both reconstruct the original intent task and synthesize entirely new ones. Besides, we also scale the tasks along two complementary axes: breadth and depth. For breadth, we mine directional dependency relations between related environments and synthesize cross-workspace queries spanning multiple codebases, as developers routinely do in real-world development. For depth, we extend the initial single-turn query into a multi-round session that captures iterative user feedback and requirement refinement via a user agent. Applied to public terminal agent trajectories, Terminal-Universe produces 37.3k task-sufficient environments. Supervised fine-tuning of Qwen3.5-27B on this corpus improves single-round performance on Terminal-Bench 2.1 by 11.9 points and multi-round performance on EvoCode-Bench v2 MT@4 by 13.8 points.

arXiv cs.AI79

ESPO:通过诊断、扩展和稳定化实现错误结构化提示优化

像 GEPA 这样的进化式提示优化器会遭遇提示词膨胀:每次迭代都会追加规则和注意事项,导致提示词长度最多增加 3$\times$,却并未更准确。我们将其归因于三个缺陷——错误观测不完整、搜索多样性有限以及选择不可靠——并提出 ESPO(Error-Structured Prompt Optimization),将提示优化分解为三个阶段:Diagnose 在一轮中将所有训练错误聚类为结构模式;Propose 通过四种具有互补偏置的策略生成候选;Select 采用 bootstrap 稳定性选择。在七个公开 NLP 基准——Tweet、MMLU、GSM8K、HotpotQA、ScoNe、HoVer 和 PUPA——上,ESPO 相比当前最优方法平均准确率提升 $+$3.76 个百分点(74.67% 对 70.91%,GEPA),在每个数据集上都与 GEPA 持平或更优,同时生成的提示词短 47%(1,004 对 1,878 个字符),且推理更快。跨模型实验覆盖另外四个学生模型(Gemma 3 12B、Mistral 14B、Qwen3 32B、Claude Haiku 4.5),结果表明 ESPO 在每个测试模型上都取得了最佳平均准确率,其中在 Qwen3 GSM8K 上差距最大(15.00% $\to$ 91.40%)。附录中的一个泛化界将每个阶段与测试时差距中的相应项对应起来,而消融实验验证了一个关键预测:在没有 bootstrap 选择的情况下加入多样性实际上会损害性能($-$1.20%)。

arXiv cs.AI88

洁净的工程,不稳定的测量:Black-Box LLM Observers 在共享端点上的一次预注册可靠性失败

语言模型评审器如今把关训练数据、为生成结果打分,并推动排行榜。因此,评审器就是一种测量仪器,它依赖于一个很少被明说的假设:同一个请求,发送到同一个模型名称,明天读数仍然相同。我们在两轮预注册活动中审计了这一假设,所有阈值都事先固定;两轮都未能通过对其测量仪器的验证。在 52,988 次经审计的请求尝试中,同一时间窗口内的重复排名一致性为 Spearman 0.400,低于要求的 0.90;字节完全相同的次日重放一致性为 0.78,低于要求的 0.99,而每次执行记录都达到上限。三个机制解释了这一差距:标签到含义的映射对读数产生的偏置与信号本身一样强;候选项之间的差距比仪器自身的噪声底低七个数量级;以及字节完全相同的输入会返回不同排名,这种噪声会被精确排列读数进一步放大。在测试网格上,无论替换指标还是采样都未能修复这一问题。预注册的后续实验界定了问题边界:在采样的那些天里,等待没有帮助(0.805 对 0.800,并在之后五天进一步复现);切换提供商没有帮助(四家提供商共享这一下限,中位数为 0.74 到 0.88,且它们公开的 metadata 字段均无法预测);在批处理不变内核上自托管只在服务器空闲时有帮助;而在具有已知差距的构造错误上,读数的区分度跟随错误类型,而非错误大小。我们将证据提炼为一个三级快照身份阶梯、八条设计规则和一份报告清单;一个调用量约为本研究 2% 的试点本可提前暴露这两个无法达到的门槛。所有结果都涉及在共享服务基础设施上的外部测量行为。在共享端点上,模型名称并不是一台冻结的仪器;预注册评估必须先测量其仪器,然后才能在其上冻结任何门槛。

arXiv cs.AI75

语言模型可以控制它们自己的注意力

语言模型将大部分注意力集中在上下文中很小一部分内容上,但它们会读取整个 KV cache 来找出那几个关键 token。如果用户在一段 100 万 token 的对话中询问之前的某个细节,global attention 层必须扫描完整上下文才能生成回复中的每个 token。一种突出的做法是通过轻量级代理分数预先选择相关 token 来缓解这一成本,但这种外部打分在每一步仍然需要 O(N) 的开销。我们采用一种内在方法,其动机来自一个简单的问题:模型难道不会已经知道上下文中哪些部分是相关的吗?为此,我们提出 Declarative Attention (DA),一种协议,它引导模型在其思维链中声明需要关注的位置,并将生成过程划分为三种模式: (完整上下文)、 (特定区域)和 (仅最近输出)。推理引擎像处理工具调用一样解析这些声明,并跳过大部分 KV cache 的读取。在 15 个长上下文任务上的零样本评估中,DA 在现成模型(Gemma-4-31B、Qwen-3.6-27B)上显著减少了解码期间被注意到的 token 总数(52.0%、31.1%),同时仅带来较小的准确率下降(1.27pp、2.75pp),且这种下降会随着模型规模增大而减小。DA 为稀疏注意力开辟了一个新的方向,而基于训练的方法下还存在进一步潜力,未来工作可以继续探索。

arXiv cs.AI80

双层协调反思:一种面向多智能体 LLM 系统的博弈论方法

多智能体 LLM 系统通常使用一个 orchestrator 将任务分解给一组工作者,随后通过文本反思进行改进。尽管经验结果很强,但这些系统缺乏对协调、记忆改进以及外部验证作用的统一解释。我们将 orchestrator-worker 交互建模为一个双层协调博弈:在有界耦合下,工作者的局部更新博弈是一个近似势博弈,其均衡松弛量由分解质量控制。随后,我们将反思分析为在语义记忆状态上的随机移动。对于自由形式反思,我们推导出一个有限时间上界,证明了最坏情况的紧致性,并在一个可证伪的持续伤害条件下给出一个正下界。我们进一步证明一个信息论不可能性结果:任何只观察生成文本记录的门控器都无法在文本不可区分的环境上实现一致改进,而基于环境的门控器则可以。受这一分离启发,我们提出 Stochastic Reflective Memory Ascent (SRMA),它仅在基于环境的评估风险严格下降后才接受候选记忆。在校准和非退化纠正质量下,SRMA 可精确收敛,且收敛速率为几何级或多项式级;相应构造表明这两种速率情形在阶上都是紧的。我们还为随机评估提供置信门控,并为分段平稳环境提供重新锚定保证。实验使用基于环境的指标实例化这些对象,并检验所预测的协调与漂移规律。在 500 个 SWE-bench 实例上,完整的基于 Kimi 的系统成功解决了 72.2%,而公开的 mini-SWE-agent 参考系统为 70.8%。代码:https://github.com/YihangChen9/Bilevel-Coordinated-Reflection

arXiv cs.AI73

SafeEvolve: Harness-Policy Co-Evolution from Agent Experience for Safety Alignment

The performance of LLM-based agents is jointly shaped by the base model and the harness used when interacting with the environment. This exposes them to safety risks in both harmful final responses and multi-step execution trajectories. Existing safety alignment mechanisms often rely on either external harness updates or policy optimization, yet applying either paradigm in isolation fails to bridge runtime control with intrinsic safety. We propose SafeEvolve, an experience-driven self-evolving framework for agent safety alignment. SafeEvolve leverages safety experience from completed on-policy trajectories to drive a continual loop of harness-policy co-evolution. On the harness side, SafeEvolve converts trajectory-level safety evidence into bounded, component-level updates across safety prompt and hierarchical skills, yielding auditable and reversible harness artifacts. On the policy side, SafeEvolve follows a two-stage SFT-RL paradigm, where harness-use SFT bootstraps the policy to actively leverage evolved harness artifacts, and harness-augmented RL further shapes autonomous safety behaviors during multi-step exploration via verifier-decomposed rewards. Through harness-policy co-evolution, SafeEvolve converts safety experience into an evolved runtime harness and improved policy behavior. Experiments on agentic safety benchmarks show that SafeEvolve achieves a stronger safety-utility tradeoff than existing baselines. For Qwen3.5-4B, SafeEvolve achieves a $3\times$ ASR reduction on AgentDojo while improving benign utility from 59.79% to 61.86%.

arXiv cs.AI77

UTP-Bench: 面向不确定性感知的旅行规划基准

大型语言模型(LLMs)近期在自动生成旅行行程方面展现出强大能力。然而,真实世界中的旅行规划本质上是不确定的:交通延误、客流波动以及意外的随机延迟,常常会使原本可行的行程失效。现有的基准,如 TravelPlanner 和 TripCraft,假设环境是确定性的,只评估静态约束是否满足,而忽略了在这些不确定性出现时生成的计划是否仍然具有鲁棒性。为了解决这一限制,我们提出 UTP-Bench1,一个面向不确定性感知旅行规划的大规模基准。该数据集整合了覆盖印度504座城市的真实旅行数据,包括景点、餐厅、住宿以及多模态交通网络。为了模拟真实世界中的扰动,UTP-Bench 纳入了从主要城市收集的经验性延误分布和客流密度模式,从而能够在随机条件下评估旅行计划。我们进一步提出三项评估指标,分别是 Buffer Adequacy Score (BAS)、Crowd-Aware Timing Score (CATS) 和 Transport Delay Absorption Score (TDAS),用于量化生成的行程在面对交通延误和客流变化时维持鲁棒性的能力。使用 GPT-5、Qwen3、Mistral 和 Phi-4 等先进 LLMs 的实验表明,模型生成的计划与人工制定的计划之间存在显著差距,尤其是在时间缓冲、延迟感知的交通调度以及人群敏感规划方面。

arXiv cs.AI77

向正确者学习:面向多领域 LLMs 的答案验证多教师蒸馏

现代大型语言模型(LLMs)依赖强化学习来在单个领域内构建强大能力,但将这些能力整合到一个可部署模型中仍然具有挑战。现有方法通过将每个样本路由给其领域匹配的教师,让领域标签决定由哪位教师提供监督。然而,领域专长只在平均意义上成立:匹配的教师并不总是在某个样本上正确,而其他领域的教师有时反而正确。因此,必须按样本而非按领域来识别可靠教师。本文提出 Multi-Teacher Self-Distillation Policy Optimization(MT-SDPO),一种在策略蒸馏方法,将多个冻结教师统一为一个学生模型。MT-SDPO 包含三个组件:(1)self-anchors,即用其所在组中的正确 rollout 对某个 rollout 进行监督;(2)answer-verified eligibility,即只有当教师自己的答案通过验证器时,才可监督该样本;(3)privileged distillation,即将锚点和所有已验证反馈合并为一个上下文,由指数滑动平均自教师读取,而学生不能读取,从而在部署时保留单一策略。我们在来自三个模型家族的五个学生上验证,MT-SDPO 将 Qwen3-8B 最弱领域提升了 14.79 个百分点,并将其领域差距缩小了 74.7%,比按领域提供一个匹配教师的方式实现了更好的平衡。应由经过验证的可靠性,而非领域归属,来决定谁来教学。代码见 https://github.com/hexixiang/MT-SDPO。

arXiv cs.AI80

Harness-of-Harness:具备持续改进的多日自主软件开发

本文研究自主软件开发,即基于 LLM 的编码代理在无需人工干预的情况下,将高层需求转化为完整、可运行且可用的软件系统。我们提出 Harness-of-Harness (HoH),这是一个使编码代理在自主开发过程中持续改进软件的框架。HoH 基于现有的 coding-agent harness 运行,并将其执行组织为迭代式的规划-编码-测试循环。为在各轮循环中持续提升,HoH 在修复与能力增长之间取得平衡,将开发范围限定为小而可验证的增量,将实现阶段测试与独立评测分离,并约束可验证的输出而非规定代理的工作流。它逐步开放交付物、面向角色的工具和技能,鼓励复用而非重建,并维护带版本记录的项目历史。在 GameCraft-Bench、FrontierSWE 和 ProgramBench 上,三个 harness-model 配对(Codex with GPT-5.5、OpenCode with DeepSeek-V4-Pro,以及 Pi with MiniMax-M3)中,HoH 始终优于对应的独立 harness,在三轮迭代后取得平均相对提升 52.25%,最高提升 82.86%。在一次持续多日、超过 70 轮迭代的部署中,HoH 自主开发出一款第一人称射击游戏,具备连贯的故事线、完整实现的核心机制、可供人类游玩的体验、精致的视觉效果以及集成音频。Github: https://github.com/Flesymeb/HarnessOfHarness Project Page: https://flesymeb.github.io/HarnessOfHarness/

arXiv cs.AI79

Defense-as-Skill:为技能增强型智能体演化运行时防护技能

技能增强型智能体将可复用技能作为持久的运行时上下文加载,从而提升任务表现,但也为恶意技能提供了一个持久渠道来操控后续动作。这类技能可能泄露机密、破坏代码、绕过审批,或在具体用户任务和工作区状态使不安全操作看起来有用之后,再为数据外泄做准备。这使得安装前审查不足,并需要在运行时基于任务条件提供保护。我们提出 Defense-as-Skill,一种将运行时防护本身实现为可安装、可检查和可编辑技能的防御范式。我们的防护器 SkillSonar 与不可信任务技能并行运行,并将敏感操作与用户任务边界进行比对,无需修改底层智能体运行时即可将每个操作导向允许、重新规划或确认决策。为研究这一设定,我们构建了 SCOPE-R,一个任务条件化数据集,涵盖 6 个风险家族和 21 个子类别,包含 206 个经攻击确认的恶意实例和 43 个良性任务。随后,我们在 SCOPE-R 训练子集上利用运行时防护技能演化来改进 SkillSonar;这是一种 Monte-Carlo Tree Search 过程,可根据 rollout 的反馈演化磁盘上的防护技能。在 Claude Code 和 OpenClaw 上,演化后的防护器显著降低了攻击成功率,同时保持了良好的安全-效用权衡。在重复的 GLM-5 运行中,SkillSonar 将 ID ASR 从 0.482 降至 0.104,将 OOD ASR 从 0.606 降至 0.115。进一步分析表明,该方法可跨受害模型、留出风险家族和外部基准迁移,并且对自适应攻击者仍保持防护能力。消融实验进一步表明,显式的安全责任分配和技能原生表示对于所观察到的收益都很重要。

arXiv cs.AI81

当护栏看起来有效时:LLM Agent 商业评估中的构念效度失败

交互式模拟正越来越多地用于评估由语言模型代理构成的市场中的政策。它们的输出看起来可以反映经济现象——价格、利润、消费者剩余和福利——却未必实现了该主张所指称的行为。我们在一个用于可配置酒店交易的多轮买方--卖方测试平台中审计了这一风险。一个初始实现报告称,在 Qwen2.5 1.5B--14B 级别上,两个市场护栏带来的福利增益分别为 +87.4、+35.0 和 +28.8。它还为受护栏和未受护栏的代理使用了不同的报价模式和选择流程。固定报价模式和买方选择器后,成对对比变为 +7.2、-13.9 和 +23.8。四个最大的 14B 单次生成效应平均为 +229;在每个画像-条件下进行三代后,它们的平均值为 +37.6(95% bootstrap 区间 [-34.2, 109.3]),而生成残差在这一事后探测中解释了 49.9% 的变异。卖家激励检查呈现非单调性:提高利润压力得到的利润反而低于默认卖家提示。脚本化的正向对照说明了这为何重要。一个利润最大化卖家本就能达到第一最优福利,因此护栏主要是在重新分配并降低福利;只有当卖家被显式编程为强制低效捆绑时,它们才会创造福利。我们提出了一个构念效度契约,用于区分激励有效性、协议隔离、随机稳定性和福利核算,并在实质性政策主张之前返回 INVALID 或 INCONCLUSIVE。在我们的案例中,原始估计在协议隔离下是 INVALID,而控制研究在激励有效性和随机稳定性下仍然是 INCONCLUSIVE。这个案例并未表明护栏无效;它表明,在模拟代理和协议通过这些检查之前,它们的表面价值是无法识别的。

arXiv cs.AI73

H3-World:将语言理解转化为世界控制

我们提出 H3-World,一个高效框架,可将 33B MiniMax-H3 视频生成器转化为交互式世界模型。我们的关键发现是,随着大型视频生成器能力不断增强,语言正成为一种自然的控制接口。例如,MiniMax-H3 已经支持通过自然语言指令对角色行为和摄像机运动进行零样本控制。在此基础上,H3-World 将这一粗粒度语言接口转化为精确、具备时间对齐的世界控制,而无需引入专门的动作模块。具体而言,我们将每个动作表示为角色和摄像机指令的结构化组合,并将其与对应的时间视频潜变量对齐。为了使控制在时间上更加精确,我们进一步引入时间注意力路由,将每条指令限制在其预期的时间区间内,并减少不同动作之间的控制泄漏。重要的是,H3-World 直接复用大规模视频预训练中学到的语义表示,只需要轻量级适配。仅使用 8,000 个游戏样本、10,000 步 LoRA 优化,以及 0.199% 的可训练参数,H3-World 就能实现有效的角色和摄像机控制,同时保持较强的生成质量。它也能泛化到未见过的场景。这些结果表明,大型视频生成器中涌现出的控制能力可以被高效地转化为交互式世界控制。

arXiv cs.AI75

SinkPruner:面向多模态大语言模型的无 Sink 视觉 token 剪枝

尽管多模态大语言模型(MLLMs)具有很强的多模态理解能力,但在处理长视觉 token 序列时会产生巨大的计算开销。为降低推理成本,近期研究通过以视觉为中心或文本引导的策略探索视觉 token 剪枝。然而,这些方法往往忽视高范数离群 token,即特征范数异常大的 token,从而导致次优的剪枝决策。 在本文中,我们表明这类高范数离群 token 在特征和空间两个维度上都高度冗余,但现有方法却常将其误保留为有信息的线索。 受此观察启发,我们提出 SinkPruner,一种无需训练的视觉 token 剪枝框架,用于高效的 MLLM 推理。SinkPruner 采用由粗到细的设计,包含两个关键模块:一个视觉净化器,用于过滤高范数冗余并缓解 attention sink 和 attention dispersion;以及一个文本引导的剪枝器,进一步保留与文本查询在语义上对齐的 token。 在十二个图像-语言和四个视频-语言基准上的大量实验表明了我们框架的有效性、效率和泛化性。值得注意的是,在 token 减少 89% 的情况下,SinkPruner 仍保留了 LLaVA-1.5(Qwen2.5-VL)原始性能的 96.5%(91.8%)。实验进一步表明,我们的视觉净化器在提升现有剪枝方法性能方面具有良好的可迁移性。我们的代码地址为 https://github.com/LaVi-Lab/SinkPruner。

arXiv cs.AI65

HiveTraceGuard-Pro: A Compact Generative Guardrail for Prompt Injection, Jailbreaks, and Adversarial Obfuscation

Production LLMs must handle inputs that attempt to override system instructions, bypass safety policies or elicit harmful responses. A common mitigation is a separate guardrail model. Existing reports, however, provide little evidence on Russian prompt injection or Russian surface obfuscation. We present HiveTraceGuard-Pro, a 0.6B generative guardrail LoRA-tuned from Qwen3-0.6B. It is trained on Russian and English and uses one binary scoring rule (safe/unsafe) for the final target turn. Its training corpus pairs harmful examples, where a counterpart exists, with benign examples from the same domain and applies eight obfuscation transforms to both labels. In one harness, we compare HiveTraceGuard-Pro with thirty-four other guards on nineteen benchmark groups, sixteen of which are public. Its aggregate key is 0.7432, behind 0.7641 and 0.7552 for the two higher-scoring guards. Over the sixteen public groups alone, its key is 0.7153 and four of the thirty-four other suite guards score higher. In a fifteen-model comparison, HiveTraceGuard-Pro has the highest clean Russian robustness combined-F1 (0.88) and Russian prompt-injection recall (0.999). Both results use Russian sets assembled by our team, and at least 27.1% of the prompt-injection set overlaps the training corpus. Its 14.3 ms median latency is the lowest among those fifteen models in that run. Across the suite, FPR is 0.268 and FNR is 0.156. All reported response results use a legacy standalone-reply serialization rather than the natural assistant-role path of the shipped chat template. We release the merged weights on Hugging Face under Apache-2.0. The corpus, evaluation sets and evaluation code remain internal.

arXiv cs.AI69

Hints Help But Do They Teach? Evaluating Skills Transfer in Code Generation

When a hint turns a failing generated program into a passing one, does it provide missing information or merely steer the model toward a solution it could already produce? We test these hypotheses on HumanEval+ and MBPP+ using executable evaluation. For Qwen2.5-3B-Instruct, adaptive relevant hints rescue 36 of 79 selected failures; an unrelated hint rescues 19, while eight unhinted samples solve 46 and recover 31 of the 36 relevant-hint rescues. Phi-3.5-mini shows the same pattern: relevant hints rescue 42 of 101 failures, an unrelated hint rescues 17, and unhinted sampling solves 57, including 36 of the 42 relevant-hint rescues. Because the hint conditions use different attempt budgets, these comparisons do not isolate a purely semantic effect. Mechanistic tests on Qwen identify a stable activation direction shared by relevant and unrelated hints. Persistently adding this direction yields 14 rescues and 18 regressions, with no detectable net accuracy gain; learned low-rank interventions have a positive but imprecise estimated effect. Full textual specifications solve 22 of 24 context-defined problems, versus 5-11 for tested virtual-KV prefixes. Post-generation hidden-state probes transfer across benchmarks, with pooled AUROC 0.806 and 0.780, but their top-one selection advantage over token confidence is statistically unresolved. Overall, relevant hints can rescue failures, but most rescued solutions are already reachable through ordinary sampling, and the internal interventions tested here do not establish task-general capability transfer.

Hacker News 熱門64

Show HN: 在 48GB Mac 上以约 12 tok/s 运行 104GB 的 Qwen3.8-Flash-Next

我做了 slotstream,这是一种借助 expert-offloading/ssd-streaming,在从 16GB 起的低内存 Mac 上运行 Qwen3.8-Flash-Next 4-bit 的方式;它是一个 125B 参数模型,本来需要 100GB+ 内存/RAM。安装/更新都很简单,并且使用 MLX 和 Swift,原生适配 Mac。 它带有 auto-mode,在内存占用和速度之间取得了不错的平衡。接下来我会实现并移植用于推测解码的 MTP 模块 评论 URL: https://news.ycombinator.com/item?id=49524447 得分: 11 # 评论数: 0

arXiv cs.AI76

LOCI:带有 Refinement Loop 的 Locator-Critic

Vision-Language Models(VLMs)在需要复杂视觉理解的任务上仍然表现不佳。我们认为,核心问题不在于高层推理,而在于无法在图像中定位关键细节。由于这一缺陷,VLMs 往往会基于有缺陷的感知依据生成看似合理但实际上错误的推理。为了解决这一问题,我们提出 Locator-Critic(LOCI),这是一个无需训练的框架,将视觉搜索与证据验证解耦。LOCI 采用一个 Locator 代理来提出候选视觉证据,再由独立的 Critic 代理评估其相关性和充分性。这些代理在一个迭代的 Refinement Loop 中协同工作,逐步改进证据,直到其足以回答给定问题。这种解耦的、自我纠正的过程带来了显著的性能提升,在多个复杂视觉基准上取得了 state-of-the-art 结果。LOCI 同时提升了开源权重模型(如 Qwen3-VL,在 V* 上提升 +12.1,在 HR-Bench 上提升 +5.8,在 VisualProbe-Hard 上提升 +11.2)和专有模型(如 Gemini 2.5 Pro,在 V* 上提升 +8.9,在 HR-Bench 上提升 +4.3,在 VisualProbe-Hard 上提升 +4.8)的准确率。

arXiv cs.AI81

用于跨模型 KV 共享的通用上下文复用层

现代大语言模型(LLM)服务系统越来越多地在重复或共享的上下文上运行,但即使另一个模型已经处理过相同输入,每个模型通常仍会执行自己的 prefill 计算。现有的 KV-cache 复用机制可在单一模型内大幅减少冗余计算,但通常假设缓存的生产者和消费者是同一个模型。我们研究跨模型 KV 共享,即将源模型生成的 KV 状态转换为可被不同目标模型消费的表示,包括在规模、架构、注意力配置、tokenizer 和模型家族上存在差异的模型。我们在同一模型家族内和跨模型家族两种设置下评估该方法。对于 Qwen2.5-7B $\rightarrow$ Qwen2.5-1.5B,转换后的 KV 状态将 LongBench2 准确率从 27.59% 提升到 34.48%,相比原生 1.5B 基线提升了 6.89 个百分点,同时相较于原生目标模型 prefill 降低了交接成本。对于跨家族的 Qwen2.5-1.5B $\rightarrow$ Gemma-2-2B 设置,KV 交接在 4K 上下文长度下可将目标侧 prefill 成本最多降低 67.05%,同时保持解码困惑度接近原生模型基线。在更异构的 Llama3.1-70B $\rightarrow$ Qwen2.5-7B 设置中,跨家族交接实现了 44.0% 的准确率,而原生 Qwen2.5-7B 推理为 45.7%,同时将测得延迟从 899ms 降至 138ms。这些结果初步表明,KV 状态可以作为可迁移的计算表示,而不仅仅是严格局限于单个模型的缓存,并且为将 context mobility 作为一种系统抽象、以减少异构 LLM 和多智能体推理工作流中的冗余 prefill 提供了动机。

arXiv cs.AI75

坚持你所知道的:知识对齐监督微调研究

监督微调(SFT)训练一个基础语言模型去模仿目标响应,而这些目标可能需要基础模型尚未稳固内化的知识。我们将这一点视为幻觉的一种来源,并将一组缓解方法概括为知识对齐 SFT:将 SFT 训练目标约束在基础模型的参数化知识范围内。在统一设置下,我们比较了现有的基于生成和基于估计的知识对齐方法,并引入两个新的变体:Evidence Rewrite,使用外部证据验证基础模型生成内容;以及 Recall Rewrite,仅在基础模型能够一致回忆这些陈述时才保留它们。使用 Qwen 3 4B 和 OLMo 3 7B 的实验表明,知识对齐 SFT 可以在大体保留通用能力的同时,减少 WildHalu 和 Biography 上的事实性幻觉。Recall Rewrite 带来了最强的事实性提升,并改善了 UnknownBench 上的拒答行为。这进一步证实,超出基础模型知识范围的 SFT 目标会驱动幻觉行为。

arXiv cs.AI76

预测错误,正确答案:从塌陷的 LLM 序列得分中恢复证据

当大型语言模型在推理任务中失败时,通常会认为它缺乏相应能力。然而,这将真正缺乏推理能力与后期输出瓶颈混为一谈。我们在多种推理基准上观察到一种一致的读出差距:即使由于结构性偏差导致原生序列打分完全塌陷,隐藏状态探针仍能成功解码出正确答案。为了测试这种塌陷后实例特定逻辑是否仍然存在,我们引入了一种诊断流程,使用一种最小化、无目标标签的加性校正。仅用两个参数、在少至 25 个无标签样本上拟合,就能为 Qwen3.5 模型恢复 9--34 个准确率点,并且可成功迁移到 OLMo-2-1B 和 Llama-3.1-8B。关键的是,这些恢复后的决策在仅靠简单词汇重叠无法解决的困难样本上仍然成立,并显著优于保持计数的置换基线。我们的结果表明,许多表面上的零样本推理缺陷其实是表达失败,掩盖了完整的内部逻辑,这提示我们应对基准评测作更狭义的解读。

arXiv cs.AI74

先评估再改进的学习:面向自动研究代理的自动评分标准归纳

自主科学研究代理正越来越多地应用于端到端的科学工作流,包括文献综述、数据分析、实验和报告生成。然而,开放式研究任务往往并未明确指定完成任务所需的分析、方法和成功标准。因此,代理可能会遗漏重要分析、使用不恰当的方法,或得出缺乏充分证据支持的结论。为了解决这一问题,我们提出 AutoSciRub,这是一个以评估为先的框架,它在研究执行之前先归纳出一个任务特定、可执行的评分标准,并利用该标准来指导执行、进行准则级验证以及迭代修订。AutoSciRub 将一个规定不明确的指令分解为原子级科学目标,将其锚定到相关文献和任务可见数据中,并综合生成具体、可操作且可验证的准则。由此得到的评分标准将隐含的实验与证据要求显式化,为实验和分析提供指导。在修订过程中,基于评分标准的验证会识别未满足的准则,并支持对研究报告及其支撑工件进行有针对性的改进。在 ResearchClawBench 上,AutoSciRub 在所有测试配置中都持续带来提升:在固定的 Codex harness 下,三个基础 LLM 的平均提升为 2.08 分;在使用固定 DeepSeek-V4-Flash backbone 的三个 agent harness 上,平均提升为 2.95 分。在 AstaBench E2E Discovery 随机抽样的 20 个任务子集上,AutoSciRub 在三个 agent harness 上进一步实现了平均 16.8 分的提升,同时保持或增加了成功完成的任务数量。这些结果表明,以评估为先的引导为自主科学研究提供了一种有效且可泛化的控制机制(Code: https://github.com/zjunlp/AutoSciRub)。

arXiv cs.AI79

BLOOM-WILT:用于自动化 LLM 审计中的行为引出 Logit 倾斜

部署中的语言模型用户经常会遇到测试几乎从未暴露的行为,因为部署使模型经历的交互次数比任何评测都能模拟的数量级还要多。自动化审计器使测试能够低成本扩展,并且足够灵活以覆盖几乎任何指定行为,但由于缺乏优化压力,它们的样本效率较低。为解决这一不足,我们提出 BLOOM-WILT,一个完整的审计流程,它能够引出罕见行为的自然多轮实例,而且无需训练成本,也无需超出目标模型下一 token 分布之外的访问权限。在输入端,WILT 的审计模型会在多轮中修订其对话策略,并从先前评分过的交互中学习。在输出端,WILT 利用目标模型在一个引出提示条件下得到的自身分布,自适应地对其解码结果重新加权,从而使与行为相关的生成样本优先于那些在未提示时它认为同样可能的生成。我们在 4 个目标模型和 8 种行为上评估 WILT,结果它在 32 种设置中的 30 种中击败了基线审计器,并推翻了此前的模型安全性排名。当从 Qwen3.5-4B 中引出自残鼓励行为时,WILT 将平均行为出现率从 51% 提升到 100%,在相同计算量下击败了我们移植到同一流程中的每一种引出方法,而且没有将输出概率压低到低于基线的水平。

arXiv cs.AI67

When Does Bigger Help? A Controlled Study of LLM Scale for Ontology Learning

The effect of Large Language Model (LLM) scale on ontology learning (OL) performance remains insufficiently characterized. We present a controlled evaluation of 13 models spanning dense and Mixture-of-Experts variants from the Qwen3.5 and Qwen3.6 lineages, together with proprietary GPT release variants, using the OntoLearner retrieval-augmented generation pipeline. All models are evaluated with the same embedding model, retrieval configuration, prompt templates, decoding settings, datasets, and metrics on term typing, taxonomy discovery, and non-taxonomic relationship extraction across four biomedical and materials science and engineering ontologies. Within the dense Qwen3.5 lineage, increasing parameter count primarily improves precision rather than recall, with the largest gains occurring between 9B and 27B parameters. However, the effect of scale is neither monotonic nor uniform across tasks and domains. Dense 27B models outperform substantially larger sparse models on term typing, whereas larger Mixture-of-Experts models achieve the strongest open-weight results on taxonomy discovery. Non-taxonomic relationship extraction remains difficult across model scales, particularly for the Materials Data Science ontology. Performance differences across matched Qwen variants and proprietary GPT releases further indicate that architecture and model lineage can outweigh nominal parameter count. These findings show that model size alone is an insufficient selection criterion for OL and provide empirical guidance for reproducible LLM-assisted ontology engineering.

arXiv cs.AI78

审计匿名 AI 模型:用于黑盒身份验证的四阶段协议

2025--2026 年的 AI 市场出现了一波隐身发布:前沿模型以代号匿名上线开发者平台。对于用户而言,身份决定数据处理条款、供应链风险和能力预期。针对匿名模型的黑盒身份验证,目前不存在经过验证的方法论:从业者清单缺乏准确性证据,而自我标识在设计上就不可信。我们提出一个适用于 API 提供服务模型的四阶段取证审计协议。Stage 0 通过 Internet Archive 的归档平台快照重建发布时配置,揭示预览版与生产版之间的偏移。Stage 1 将配置特征(上下文、输出上限、推理、模态)与平台目录进行指纹比对。Stage 2 使用跨长度差分测试 tokenizer 身份,以排除短提示碰撞。Stage 3 通过行为探针进行佐证。我们在 10 个已知身份的发布版本上测试声明一致性(7 个完全一致、2 个精度差异、1 个部分一致、0 个反向),而不是在匿名条件下进行端到端识别。该识别方法在一个旗舰案例上得到前瞻性验证:其 2026-08-23 的分析指向 GLM-5.3 版本线,而官方揭晓证实了这些系列和版本线推断(部署变体并未事先断言;揭晓后 Flash 与之相符),以及 3 个仅进行 Stage 0 的案例,在这些案例中该协议给出了分级假设或选择不猜测。补充材料提供了一个仅使用标准库的实现。

arXiv cs.AI70

Q-Strata: Hierarchical Bit Allocation for Mixed-Precision Quantization of Mixture-of-Experts LLMs

Mixed-precision quantization (MPQ) assigns a different bitwidth to each linear layer of a large language model (LLM) to minimize the quantization-induced quality loss under a fixed budget, but Mixture-of-Experts (MoE) models contain these layers in every expert of every MoE block, so the allocation space grows far larger than in a dense model. Existing methods either allocate within each block under a uniform per-block budget, or allocate across blocks through an additive proxy, and neither directly optimizes a model-level objective over the choices that couple the blocks. We propose Q-Strata, a bi-level allocator that ranks within-block assignments with a cheap proxy and allocates across blocks with a model-level objective evaluated on the assembled quantized model. Its inner stage caches a Pareto frontier of candidates per block over finely spaced budgets, leaving the outer stage to set one budget per block instead of a bitwidth for every linear layer. With the search reduced to one budget per block, the outer stage optimizes this model-level objective directly, capturing the inter-block coupling that additive proxies miss. On Mixtral-8x7B-Instruct, Qwen1.5-MoE-A2.7B, and DeepSeek-V2-Lite, Q-Strata consistently achieves lower WikiText2 perplexity than uniform-bitwidth GPTQ and the state-of-the-art MoE MPQ methods MxMoE and GEMQ in the low-bit regime. The code is available at https://github.com/snu-mllab/Q-Strata/tree/main.

arXiv cs.AI73

TuringLLM:高效扩展基础模型以迈向 Physical AI

我们提出 Turing-20B-A2B,这是一种拥有 20B 参数的混合专家语言模型,每个 token 约激活 2B 参数,面向长上下文和对延迟敏感的物理 AI 应用设计。该模型在动态 top-k 配置下采用 Quantile Routing,实现 token 自适应的专家分配,同时保持专家利用均衡和受控的平均计算预算。在部署阶段,我们进一步将容量约束路由应用于提示预填充,以实现更规整且高效的专家执行,而在预训练期间则保留 dropless routing。Turing-20B-A2B 还采用了混合注意力架构,将 Lightning Attention 与少量全注意力层相结合,以实现高效的长上下文建模。该模型通过渐进式三阶段课程进行预训练,并通过继续预训练将原生上下文长度扩展到 128K,随后又使用 YaRN 在推理时进一步扩展到 512K。尽管其激活参数预算较为紧凑,Turing-20B-A2B 在基础模型阶段的整体通用能力超过 Qwen3-8B Base,并接近 Qwen3.5-9B Base,同时保持了强劲的长上下文表现和良好的 prefill 延迟扩展性。这些结果表明,该模型在模型能力、长上下文可扩展性和实际推理效率之间实现了有效平衡。

arXiv cs.AI69

VISTA: Verifier-Informed Student-to-Teacher Adaptation for On-Policy Self-Distillation

On-policy self-distillation (OPSD) improves reasoning by training a problem-only student on its own rollouts using dense token-level supervision from a privileged teacher that also sees a reference solution. However, standard OPSD treats the teacher distribution as a fixed target along the student's rollout and updates only the student %, although -- even though privileged conditioning does not guarantee that the teacher always provides the most appropriate target for problem-only reasoning. This one-way supervision can therefore misdirect the student when the teacher distribution is misaligned with valid student reasoning. We therefore introduce Verifier-Informed Student-to-Teacher Adaptation (VISTA), which preserves the standard OPSD student update while using outcome-verified rollouts to adapt the teacher toward the student distribution. Within each verified rollout, VISTA further restricts this adaptation to the top-$k$ positions with the largest teacher--student KL divergence. Notably, VISTA reuses the rollout and loss function from standard OPSD, introducing no additional sampling or separate reward objective. Across AIME24, AIME25, and HMMT25 with Qwen3 models at 1.7B, 4B, and 8B, VISTA achieves the highest Avg@12 at every scale, improving over OPSD by $0.6$, $0.7$, and $2.1$ points, respectively. These results demonstrate the value of student supervision from outcome-verified rollouts and highlight student-to-teacher adaptation as a promising direction for OPSD.

arXiv cs.AI76

EvoUndo:面向 LLM Agent 执行框架的可恢复性约束自进化

LLM 代理越来越多地在运行时修改它们自身的提示词、工具、中间件、资源和执行框架。这种自进化可以提升能力,但一次成功的变异可能会留下持久影响,而这些影响在与其创建时不同的状态下无法安全回滚。我们提出 EvoUndo,这是一个用于表示、合成、诊断并独立验证模型生成的自修改在反事实状态下可恢复性的框架。在 600 个未见的一次性自进化任务中,我们识别出 197 个提升能力但未通过可恢复性验证的变异。在原始恢复表示下,传统修复策略对这些自然失败的恢复率为 0/197。确定性 oracle 分析在原始恢复语言 L0 下恢复了 48/197,而扩展的恢复演算将经验 oracle 恢复率提高到 191/197。随后,一个协议锁定的 2x2 锚定-表达能力干预将两个瓶颈区分开来:当原始语言足够时,精确状态地址锚定将成功恢复率从 0/48 提高到 38/48(79.2%);而扩展恢复语言则使 oracle 定义的 S1 层中的 142/143(99.3%)个失败得以恢复。在主要的 gpt-oss-120b 主干模型上,向更丰富的语言加入精确地址诊断后,恢复率降至 133/143(93.0%);Qwen3.8-27B 复现实验保留了锚定和表达能力效应,但未出现这一负交互,表明后者因模型而异。这些结果表明,要实现可靠的 agent 自进化,需要协同设计验证、状态锚定、见证语义和恢复语言的表达能力,而不能仅依赖迭代式 prompting。

Hacker News 熱門85

GLM-5.3 现已开放权重

https://twitter.com/Zai_org/status/2093354097122455713 https://z.ai/blog/glm-5.3 评论 URL: https://news.ycombinator.com/item?id=49479878 得分:390 评论数:139

arXiv cs.AI71

Not All Eval-Awareness Is Equal: Capabilities Framing Predicts Compliance

Steering interventions targeting eval-awareness, a model's recognition that it is being tested, are increasingly used in safety evaluation pipelines, where evaluation-awareness is treated as a single quantity to be suppressed. We show that verbalized eval-awareness in chain-of-thought can be identified as capabilities-flavored ("the user is testing my ability to follow instructions"), safety-flavored ("the user is testing my boundaries"), both, or neither: framings that predict compliance very differently. On Qwen3-32B over the FORTRESS dataset, capabilities-framing predicts compliance with a +24 to +46 percentage-point gap over safety-framing across all tested steering conditions. A CoT-prefill intervention on eval-awareness-negative rollouts suggests the link is causal, with 10 of 11 prefills shifting compliance in the predicted direction. Then, eval-awareness is not behaviorally uniform: aggregate suppression rates can move while the safety-relevant component does not, and the same "X% suppression of eval-awareness" can correspond to qualitatively different behavioral outcomes.

arXiv cs.AI82

ASIL:用结构化状态和语义动作取代截图点击

强大的代码智能体可以执行脚本、调用工具并管理文件,但许多重要应用仍主要通过图形用户界面访问。我们认为,截图点击对于操作软件的智能体来说是一种低效接口:截图无法完整反映状态,而 GUI 操作脆弱、语义弱,并且与长程规划并不匹配。我们提出 ASIL(Agent-Software Interaction Layer),一种智能体原生接口,通过结构化 JSON 观察和可由代码执行的语义动作来暴露软件,并针对每个应用采用所能实现的最深访问路径。我们在 15 个应用上实现了 ASIL,并在一个包含 300 个单应用任务和 80 个多应用任务的基准上进行了评测。ASIL 在闭源模型上得分超过 80,且每个任务执行的动作少于 5 次。在修复后的运行时和 50 步截图预算下,同样的任务在截图点击控制下仅获得 6.6 和 26.6 的严格成功率,在更容易、可与 OSWorld 相比的区间上则提升到 15.0 和 53.3。与匹配任务上的应用原生接口相比,ASIL 比 LibreOffice 的 UNO API 高出 28-38 个严格分,但与 draw.io 的 MCP 内容契约仅持平。这种结构化模态也适合训练:小规模 SFT 将 Qwen3.5-2B 从 58.0 提升到 72.1,将 Qwen3.5-9B 从 66.6 提升到 80.4,而资源受限的 on-policy RL 进一步将它们提升到 74.4 和 82.2。

arXiv cs.AI77

并行与分布式推理语言模型的性能基础

Reinforcement Learning with Verifiable Rewards(RLVR)及其他 RL 风格的后训练范式,已被用于使大语言模型(LLMs)与推理标准对齐。近期涌现的 Reasoning Language Models(RLMs),如 DeepSeek-R1、o3 和 Kimi k1.5,表明这种 RL 风格的后训练(“RL-for-LLMs”)能够显著提升思维链推理、长时程规划和自我纠错能力。然而,这些系统的计算开销极其庞大:最先进的 RLM 训练需要数百万 GPU 小时,以及紧耦合的多模型流水线,其对现代硬件的压力远超传统的监督式 LLM 训练。这使得 RLM 训练同样是一个并行与分布式系统问题,而不仅仅是算法问题。在这项工作中,为了促进同时具备高性能、可扩展性和成本效益的 RLM 开发,我们首先系统化 RL-for-LLM 范式,并从计算角度分析了几种重要的后训练算法框架:Proximal Policy Optimization(PPO)、Group Relative Policy Optimization(GRPO)及其变体。其次,我们构建了适用于 RL-for-LLMs 的模型内与模型间并行策略分类,涵盖传统技术(数据、张量、流水线、序列、上下文和专家并行)以及面向多模型 RLM 训练的新型并行与优化技术,例如解耦部署、阶段融合、混合并行和异步执行。我们借助并行计算的 work-depth 模型,使该分类及其洞见更加严谨且具可移植性。最后,我们分析了现有 RLM 框架,并提炼出构建可扩展、快速且成本效益高的 RLM 的实用指南,同时概述了未来开放研究方向。

arXiv cs.AI57

pro-team at LLMs4OL 2026 Tasks Flagship and Reuse: Retrieval-Augmented Generation and Vocabulary-Constrained Filtering for Ontology Learning

Ontology learning from text remains challenging despite significant progress in Large Language Models (LLMs), which can hallucinate domain terms, produce inconsistent formats, and favor hierarchical over associative relations. In the LLMs4OL 2026 Challenge, we address both the End-to-End Flagship Task (Task A) and Ontology Extension Reuse Task (Task B) using an offline retrieval-augmented few-shot prompting pipeline. Our system employs Qwen2.5-14B-Instruct with all-MiniLM-L6-v2 for demonstration retrieval, selecting the top-5 examples for Task A and top-2 for Task B. A left-truncated context-windowing strategy preserves task instructions within long prompts. For Task B, generated triples undergo deterministic vocabulary-constrained filtering, retaining triples when at least one endpoint belongs to the sample's closed term/type vocabulary and removing duplicates of the initial ontology. The approach achieves Semantic Graph Similarity of 0.8692, Term-Typing F1 of 0.9200, and Taxonomy Discovery F1 of 0.8540 on Task B, while Task A achieves 0.7416 Semantic Graph Similarity. However, no non-taxonomic relations are extracted, highlighting limitations of closed, taxonomy-oriented relation vocabularies.

arXiv cs.AI80

PACE:一种用于快速 VLM 推理的统一压缩-提取范式

视觉-语言模型(VLM)展现出卓越的视觉推理能力,然而随着视觉 token 数量的增加,其推理成本也迅速攀升。现有的视觉 token 剪枝方法存在两个根本性局限。第一,大多数方法仅在 vision encoder 之后进行操作,未能优化视觉编码阶段的显著延迟。第二,在严格的 token 预算下,这些方法往往无法同时保留整体视觉上下文和细粒度细节,导致性能下降。为解决这些瓶颈,我们提出 PACE(Pixel-Adaptive Condense and Extract),一种无需训练的推理框架,通过统一的 Condense-and-Extract 范式同时加速 vision encoder 和 Large Language Model(LLM)。在 Condense 阶段,Adaptive Pixel Compressor(APC)在编码前评估视觉信息密度,自适应地下采样冗余输入,减少 encoder 计算量,同时保留全局上下文和关键视觉线索。在 Extract 阶段,Dynamic Dual-Attention Extractor(DDAE)通过融合来自 encoder 的内部视觉信号和来自 LLM 的语义信号,选择性保留视觉 token,从而保护任务关键细节。将 PACE 集成到 Qwen2.5-VL-7B 后,模型仅使用 10% 的视觉 token 即可保留原始性能的 93.8%,使首次 token 输出时间(TTFT)加速 3.1 倍。我们的代码见 https://github.com/jjL357/PACE。

arXiv cs.AI72

DualOPSD:用于基于策略自蒸馏的自适应特权教师

基于策略的自蒸馏(OPSD)使用学生模型的一个特权副本,在不依赖外部教师的情况下提供稠密监督。OPSD 会将这个特权教师保持固定,尽管训练过程中学生的分布和输出风格会发生变化。我们提出 DualOPSD,一种非对称的交替框架,同时自适应地调整两种策略。学生首先从特权教师中学习。随后,教师在同一条学生轨迹上向更新后的学生分布靠拢。这一更新使后续监督能够响应学习者,并且不需要再次 rollout。在 Qwen3-8B 的非思考模式下,DualOPSD 在 AIME 2024、AIME 2025 和 HMMT 2025 上分别比 OPSD 将 avg@12 提高了 23.61、13.89 和 10.00 个百分点。1.7B 和 4B 的结果表明,准确率提升取决于模型规模。在这三种规模下,DualOPSD 都减少了截断。4B 的诊断结果还显示,教师和学生之间两个方向的 KL 都更低。

arXiv cs.AI

The Value of Human Expertise

We consider optimization applications with unknown parameters where the decision maker believes that the optimal value of the nominal problem-the optimization problem they would have solved if the true parameters were known-is unlikely to be large. This belief derives from information that humans have that is not captured in datasets, obtained from domain knowledge and interacting with the physical world. We propose an approach to evaluating policies that provides tighter performance guarantees if the decision maker's belief happens to be correct. Our main result shows that if computing a policy's worst-case performance is a convex program, then the value of human expertise-the maximum improvement in performance guarantees that can be obtained from the belief about the nominal problem-is equal to the minimax gap of a max-min problem. We illustrate our developments in assortment optimization and shortest path problems.

arXiv cs.AI82

指明方向,隐藏目的地:大规模实用的私有密集检索

托管的检索增强生成(RAG)和语义搜索使用户能够查询有价值的、由提供方持有的语料库,这带来了两项相互竞争的需求:既要隐藏每个查询和选定结果,又要只公开用户有权接收的文档。现有的密码学方法要么因为每次查询都要处理整个语料库而代价高昂,要么通过扫描少量簇来提高效率,却以牺牲质量为代价。我们将学习到的深度哈希重新用于私有过滤:随机二进制代码将提供方指向一个较短的候选列表,而加密重排序和 oblivious key transfer 则保护精确的查询和最终选择。这个候选短名单绕过了对整个语料库的密码学搜索,同时不牺牲检索质量:在 200-500 个候选项的情况下,它在跨越 25K 到 5.4M 文档的五个 zero-shot 语料库上与全语料库检索非常接近。在通过 10-Gbps 链路的完整 2.68M-passage NQ 语料库上,我们的协议只会在一个 128-token 的 Qwen3-32B RAG 流水线中额外增加 0.73 秒,即 10% 的开销。发布的代码满足 directional metric differential privacy(DP),并显著降低了 embedding-inversion 和 property-inference 泄露,表明经过精心学习的候选短名单可以让私有密集检索同时兼具准确性和实用性。

arXiv cs.AI69

Beam Search, Self-Consistency, and the Limits of Inference-Time Scaling for Grammar-Constrained Text-to-SQL in Small Language Models

One common trade-off in the use of large language models involves reducing the size of the model while increasing the amount of computation at inference time, for example by using a wider beam search. In this paper, we examine the constrained case of this "model size vs. inference compute" trade-off, in which the model outputs are constrained by a strict grammar at inference time. Our results demonstrate that the constrained trade-off behaves differently from the unconstrained trade-off. We investigate the task of converting a prose query into an equivalent SQL query (text-to-SQL). Performance is evaluated on the Spider text-to-SQL benchmark, using the Qwen2.5-Instruct model family ranging in size from 0.5B to 7B parameters, all at 4-bit precision. We experiment with two approaches to varying inference compute: (i) beam search with a variable number of beams; and (ii) sample+vote, i.e., sampling several constrained outputs and then voting on their execution results, where the number of samples is varied. On the 1034-example development set, we find that: (a) both beam search and sample+vote improve accuracy, especially on smaller model sizes; (b) the "model size vs.\ inference compute" trade-off is not advantageous in this experiment, because moving to a larger model size typically results in higher accuracy than increasing inference compute on the same model size; (c) beam search outperforms sample+vote at a matched inference budget. This latter result is of particular interest since it contrasts with the findings of the unconstrained trade-off.

arXiv cs.AI83

EVOMAL:自进化编码代理中的自我投毒

自进化的 LLM 编码代理通过模仿从共享技能库中检索到的技能来编写自己的工具。我们在这一循环中发现了一个漏洞:在编写过程中,被检索到的恶意技能可以成为新技能的模板,并保留有效载荷。我们将其称为自我投毒:代理编写、存储并运行由此产生的恶意技能。我们通过 EvoMal 利用这一点,这是一种通过将可替换的有效载荷包裹在 banner 中来放大自我投毒的攻击;banner 是一组看似无害的结构元素,会诱使模仿型代理复现其中的代码。攻击者无需调用这些恶意技能,就能将其植入库中。随后,代理会编写并执行携带有害代码的新技能。每个编写出的副本都可以重新进入库中,再次被模仿,形成一种在植入技能被移除后仍然存在的自我传播蠕虫。我们将代理自我投毒率(ASPR)定义为将新编写的恶意技能加入库中的任务占比。在 6 个模型、153 个与工具相关的 SWE-bench Verified 任务上,ASPR 范围为 20.3% 到 41.8%,而被污染的库中恶意技能数量是植入数量的 4.9 到 9.0 倍。即使没有 banner,这一漏洞也会出现:DeepSeek-V4-Pro 在仅含有效载荷时的 ASPR 达到 11.1%。将植入技能的描述针对某一任务家族进行定制,可将 ASPR 提高到 86.7%。在移除植入技能后,由于代理生成的副本仍然存在,Qwen3 的第 5 轮 ASPR 仍达到 68%。这些副本绕过了现有防御,因为这些防御主要针对攻击者提交的名称、代码和签名。我们提出 counter-prompt 作为一种防御,它能抑制 banner 风格的复制,并将 EvoMal 的 ASPR 降至不超过 6.7%,且任务完成无显著损失。

arXiv cs.AI71

LocalLSTC: A Long Short-Term Control Architecture for Locally Deployed GUI Agents

Modern GUI-agent frameworks achieve strong desktop task performance with frontier API models, yet persistent control information often remains implicit in growing interaction trajectories. At each step, the planner reconstructs the active task stage, accumulated evidence, and runtime feedback before deciding the next action. This dependence becomes more pronounced under weaker local reasoning backbones. Across four representative state-of-the-art frameworks, replacing GPT-5 with Qwen3.5-9B reduces average OSWorld SR-100 from 60.9\% to 37.7\%. Trajectory annotation further identifies at least one control failure in 91.6\% of failed trajectories. To address this problem, we introduce LocalLSTC, a training-free architecture that organizes control by temporal scope, maintaining persistent cross-step state to guide short-term execution commitments. Long-Term Control maintains the active subgoal, subgoal-aligned evidence, and runtime feedback across interactions, while Short-Term Execution realizes bounded commitments for the current step. Long-to-Short Planning forms each commitment from persistent state, and Short-to-Long Control integrates execution outcomes back into that state for progress assessment, recovery, and termination. With Qwen3.6-27B, LocalLSTC reaches 64.7\% SR-100 on OSWorld and 65.3\% on WindowsAgentArena, outperforming the strongest prior local results on both benchmarks. Ablations further support contributions from mechanisms on both sides of execution. These findings identify temporal organization of control information as a distinct architectural dimension for locally deployed GUI agents.

arXiv cs.AI71

Code World Model:Coding Agent as World Brain

世界模型旨在模拟复杂环境在动作和事件作用下如何演化,但现有基于视频的世界模型主要从视觉观测中学习动力学,这些观测呈现的是结果,而非支配世界演化的底层知识、规则和机制。这使得它们难以维持持久的后果,并支持连贯、开放式的演化。我们提出 Code World Model,这一框架将世界演化与视觉呈现分离,结合语言模型的推理与编码能力以及视频模型的生成先验。一个 coding agent 充当世界大脑,对事件及其后果进行推理,并生成可执行代码以维护持久的世界状态并执行符合规则的演化。为将可执行状态与视觉生成连接起来,我们引入一种 proxy 表示,它编码逐帧时空约束,并被编译为 proxy video,用以条件化视频模型,从而渲染高保真的视觉观测。我们还开发了数据流水线,用于从游戏和真实世界视频中构建对齐的 proxy-观测对。经过配对游戏数据微调后,MiniMax-H3 能够遵循由 coding agent 构建的简单交互式世界中的基于 proxy 的时空规范,同时保留丰富的视觉细节和动态效果。这些结果展示了将用于持久世界演化的代码与用于灵活视觉呈现的视频模型相结合的潜力,为开放式世界模型提供了一条新路径。

arXiv cs.AI79

StarHarness:利用分层搜索演化面向企业环境的代理执行框架

我们提出 StarHarness,这是一个在保持模型权重固定的同时,为特定环境演化代理执行框架的框架。演化后的框架可以包含提示与任务表述、工具接口、技能、由 MCP 支持的提供方、子代理结构以及代理循环配置。StarHarness 通过根据基线失败行为对任务进行分层来构建一个紧凑的演化池,将提议者可见的搜索任务与提议者不可见的选择任务分离,并保留留出任务用于评估泛化能力。在 ITBench SRE、EnterpriseOps-Gym ITSM 和 AutomationBench Finance 上,在每个环境接受 4-12 项更改后,框架演化使完整基准性能相较默认框架提升了 20-35 个百分点。这些提升在未参与演化的任务上依然存在,并且无需重新演化即可在 GPT 和 Qwen 模型家族之间迁移。轨迹分析将这些改进归因于接口修复、环境约定以及压缩搜索空间的运维知识;在若干设置中,这还带来了更少的假阳性诊断和更短的执行轨迹。因此,StarHarness 提供了一种实用方法,用于减少工具丰富的企业任务中持续存在的模型与环境不匹配。

arXiv cs.AI81

Recursive Experiential-Working Memory Evolution for Long-Horizon Agent Harnesses

Recursive self-improvement (RSI) remains hard in long-horizon tasks, where growing histories obscure the task state and misalign skill invocation. We introduce Recuris, a recursive Experiential-Working Memory architecture for long-horizon agent harnesses, in which Working Memory tracks task progress and guides skill selection from Experiential Memory, grounding skill use in current needs rather than the full history. This coupling also turns execution into structured evidence that localizes failures to specific memory components. Across tasks, a fixed Meta-Agent turns that evidence into localized, validation-gated updates to Skill Memory that reshape execution and yield new evidence, forming a bounded recursive memory-evolution loop. Across four long-horizon benchmarks and ten models, Recuris improves task success in 35 of the 37 completed model-benchmark pairs, carrying frontier models to SOTA-level task success: on tau-bench it adds +17.8 points to GPT-5.6 Sol and +15.6 to Claude Opus 5, taking Opus 5 to 87.9%, and +16.6/+13.5 points on Qwen3.6-27B/35B on SkillFlow. The advantage widens as the interaction horizon grows, to +32.2 points on the longest tasks, and common long-horizon failures fall by up to 80%. These results position recursively evolving memory as a scalable foundation for RSI, enabling agents to continuously transform accumulated experience into increasingly effective long-horizon behavior. Code: https://github.com/Gen-Verse/Recuris

Hacker News 熱門52

Show HN: I made a Raspberry with Qwen my local car AI

Found that you can actually run a 35B Qwen model on a Pi with very impressive intelligence and stability. Built connectors for car ODB to read all about car internals, and manufacturer's cloud service for stuff like changing AC or opening/ locking doors. Gave it info such as the full car manual. And then hooked it up with my other agents in our discussion room! So now it can answer car questions such as "when should I add oil and what kind of oil?" and help you fully offline, and when online talk with the agent family that includes all the most powerful models so they know how the car is, plan new features and develop itself with them. For example, if car breaks and can't move the car agent informs my agent family and they can already look for a suitable train ticket without me needing to check things or do something. Comments URL: https://news.ycombinator.com/item?id=49435675 Points: 6 # Comments: 0

arXiv cs.AI72

MediSkill-Evo:用于循证临床交互的过程约束自我进化

交互式临床智能体必须在部分可观测条件下收集决定性证据,并将其转化为有依据的行动。仅有正确的最终诊断并不能表明智能体遵守了证据和护理流程约束。我们提出 MediSkill-Evo,这是一种无需对主干模型进行微调即可演化受约束过程知识的临床智能体。它将经验分为四类类型化知识库,分别用于临床技能、过程规则、符号模式和测量程序。溯源、支持、回放以及控制器定义的安全检查共同管理向冻结的测试时快照发布内容。过程约束偏好框架将证据与其来源绑定,拒绝控制器判定无效的候选项,并使用安全优先的 Clinical Process Critic 对行动进行排序。我们在相同的 Doctor 轮次限制下,跨两个主干端点和六个受控压力维度评估完整智能体系统。在 300 个留出的 Qwen 就诊案例上,与 AgentClinic 相比,MediSkill-Evo 将诊断准确率从 61.33% 提高到 69.00%,将治疗意图覆盖率从 33.62% 提高到 66.44%,同时将自动评分的关键失败率从 31.00% 降低到 16.33%。在由 30 个病例衍生的 180 个硬隔离条件下,在患者行为压力下的目标恢复率达到 93.61%,时间性证据达到 100.00%,分诊危险信号达到 92.22%。一项探索性的 100 例 MedSAM 比较评估了请求门控工具接口的可行性。这些结果为固定评估套件上的完整系统提供了描述性的端到端证据,而不是针对单个知识库的因果证据,也不是对自动评判器的临床验证。

arXiv cs.AI56

Multi-Modal Semantic Expansion with Constrained LLM Reranking for Conversational Music Recommendation

We present Team Semiintelligencn's solution for the ACM RecSys 2026 TalkPlayData Challenge, addressing conversational music recommendation through a multi-modal and personalized conversational recommender system. Our submitted system employs a three-stage pipeline: (1) multi-modal retrieval constructing decay-weighted centroids across seven dense embedding spaces - track- and user-level CF-BPR, Qwen3 (metadata, lyrics, attributes), CLAP audio, and SigLIP visual - supplemented by BM25 lexical retrieval and an artist substring-match signal, all fused via weighted Reciprocal Rank Fusion (RRF) with optimized signal weights; (2) lightweight reranking (history filtering, popularity smoothing, and catalog diversity penalization); and (3) persona-diversified response generation using GPT-4o-mini. Beyond this submitted configuration, we report development-time experiments with additional components - constrained LLM-guided artist injection, album continuation signals, XGBoost LambdaMART, and a superior GPT-4.1 response prompt - that were not deployed to Blind B due to cost and complexity constraints. We optimize RRF weights on a 500-session development split via differential evolution, improving MRR by +19.5%. On Blind A, we observe that unconstrained LLM-guided injection across 54 sessions causes catastrophic nDCG regression (-18.9%), while conservative injection on only 9 sessions yields the best observed Blind A nDCG - a finding we present as a Blind A observation warranting further validation. The submitted system achieves a Blind B composite score of 0.3213.

arXiv cs.AI75

SRPO:用于长程推理的自反思策略优化

自我反思是人类学习中进行信用分配的一种强大机制,能够将稀疏的结果反馈转化为可操作的指导。然而,其在 Large Language Models (LLMs) 后训练中的潜力仍未得到充分探索。我们提出 Self-Reflective Policy Optimization (SRPO),这是一个将这种能力内化的框架。SRPO 使 LLMs 能够分析自己已完成的轨迹,将错误综合为简洁的“反思补丁”,并将基于反思条件的教师评分用于学生的 on-policy rollout,作为密集的 token 级训练信号。该过程有效地将稀疏的终端监督转化为密集的 token 级学习信号,而无需外部评论器、单独的奖励模型或更大的教师模型。我们证明,SRPO 在数学推理和长程智能体基准上以极高的数据效率达到了最先进性能。使用 Qwen3-8B 基础模型,SRPO 仅使用规模化监督微调所需训练 FLOPs 的 8%(0.08x),就在 AIME'24 上达到 73.3%,同时显著提升了 WebShop(64.7%)、ALFWorld(76.8%)和 SWE-Bench-Lite(31.2%)上的成功率。代码可在 https://github.com/Galleons2029/SRPO 获取。

arXiv cs.AI74

通过 Safety-Direction Penalty 缓解推理诱发的失准

推理诱发的失准(Reasoning-Induced Misalignment)指的是,在不含有害内容的推理数据(包括数学、代码以及带有思维链轨迹的问题求解)上进行微调,可能诱发 LLM 的有害行为,从而对 LLM 推理的安全性构成严重挑战。跨架构、跨规模和跨数据集的检查表明,RIM 并不总是会出现。以往工作将 RIM 归因于神经元层面的纠缠,但没有识别出这种纠缠背后表示空间的几何结构,也没有提出训练时的修复方法。我们同时提供了这两点:对 RIM 的表示空间分析,以及 Safety-Direction Penalty(SDP),它会在推理微调期间惩罚沿学习到的安全方向的移动。该分析提取了两个激活空间方向,一个编码推理能力,另一个编码安全行为。这些方向相互耦合:提升推理能力的微调会改变安全表示,而产生更大变化的提示会表现出更大的安全性下降。CKA 距离比率和探针定位了这种变化最相关的安全决策层。这些发现指导了 SDP 的设计:这种耦合促使我们惩罚沿安全方向的位移,而层定位则确定了初始作用范围。当初始范围在受惩罚层之外留下补偿性变化时,相同的诊断方法可指导迭代扩展。在 Qwen2.5-3B 和 7B 上,SDP 在保持基准推理性能的同时恢复了安全性。

arXiv cs.AI64

When Names Cross Scripts: A Source-Grounded Benchmark for Historical Entity Reconciliation in the Mongol World

Historical people may appear under different languages, scripts, and transcription traditions, while distinct individuals may share highly similar or even identical names. This makes historical identity reconciliation more than a problem of string matching or transliteration. We introduce MHER, a provenance-controlled benchmark for pairwise reconciliation of person-name attestations from the Mongol world. MHER contains a balanced 396-pair Name-only core over 84 primary historical persons and a stricter 160-pair Source-grounded subset constructed from mention-by-source evidence, with entity-disjoint development and test splits. Across five generative systems, correctly Source-grounded evidence improves paired TEST accuracy by 12.96 to 94.44 percentage points relative to Name-only input. On five identical-surface different-person cases, all models fail under names alone (0/25 model-item decisions), whereas Source-grounded evidence yields 24/25 correct resolutions, with the remaining output an abstention. Context-only ablations show that historical descriptions often carry substantial identity information, while explicitly signaled misgrounding controls produce substantially lower performance. We also find that names are not uniformly beneficial: for Qwen3-8B, restoring surface forms converts ten otherwise correct Context-only distinctions into false identity merges. These results show that historical entity reconciliation depends not only on surface correspondence, but on whether identity judgments respond appropriately to provenance-controlled historical evidence. MHER therefore provides a controlled framework for studying evidence use, abstention, and failure modes in historical NLP.

arXiv cs.AI75

通过注意力头干预实现 LLMs 中的个性化隐私控制

agentic AI 的兴起使 LLMs 能够访问多样化的用户数据,从而引发了关键的隐私担忧。以往关于情境隐私的研究探讨 LLMs 是否会根据依赖情境的规范来调节信息披露。然而,即使在相同情境下,不同用户可接受的披露边界也可能有所不同。为解决这一局限,我们引入 \textit{个性化隐私},将用户特定的披露偏好纳入隐私控制。我们进一步提出 P3Bench~(\textbf{P}ersonalized \textbf{P}rivacy \textbf{P}reservation \textbf{Bench}mark),这是一个新的基准,将情境隐私策略扩展为个性化披露策略。实验表明,基于提示的策略无法可靠地执行个性化隐私策略,其中 Qwen2.5-7B 和 Gemma3-4B 的平均策略忽视率分别为 51.25\% 和 74.28\%。最后,为解决这一问题,我们提出 \textsc{Repair},这是一种稳健的推理时注意力头干预方法,可将披露行为调整为符合策略的响应。我们的方法通过减少模型未能遵循给定策略的情况,显著提高了对用户特定隐私偏好的遵循程度。

arXiv cs.AI75

Inject, Align, Recover:用于无检索文档知识内化的分阶段后训练

大型语言模型在推理时不检索源文档的情况下,往往无法回答有关有界文档集合的问题。我们将这一场景研究为文档知识内化:将固定语料库转化为可用于无检索问答的参数化知识。我们提出 IAR(Inject, Align, and Recover),这是一个三阶段后训练框架,将结构化文档知识注入、QA 行为对齐和通用能力恢复分离开来。不同于传统的持续预训练,Inject 将源文档转化为续写、改写和以指令为条件的重构目标。随后,Align 使用仅答案 QA 监督来适配已注入的模型,而 Recover 将领域适配模型与基础指令模型合并,以恢复通用能力。在 Common Corpus (CC) 和 CCI 上,以及在 Llama、Phi、Qwen 和 SmolLM 模型家族中,IAR 改善了无检索文档内化的领域优先与领域通用前沿。在主要比较中,IAR 在 8 个数据集-模型设置中的 7 个上,在全部四项报告指标上均优于 Vanilla SFT,领域 QA 准确率平均提升 3.6 个百分点,在 IFEval、MMLU 和 MSBench 上的平均通用性能提升 12.1 个百分点。扩展的 CC 基线显示,LoRA 和 FAPM 可以在单个通用指标上取胜,但在同时达到领先或接近领先的领域内化水平的方法中,IAR 保持着最强的通用表现之一。

arXiv cs.AI74

幻影增益:针对实测零假设审计自我改进

一个语言模型是否改进了自身,越来越多地不是由平均准确率来判断,而是由它在哪些具体问题上有所获得和有所损失来判断。追踪这些转变意味着对两个有噪声的估计求差,因此容易受到测量伪影的影响。我们审计了在 Qwen3-8B 上进行的三轮 rank-$32$ LoRA 自训练,并将其与一个冻结控制模型进行比较;该控制模型经过完全相同的流程。我们识别出七种测量失效,每一种在缺少其控制时都会反转一项报告的发现。其中若干种属于标准做法。基于单次贪婪解码构建的账本会在未训练模型上制造能力变化,这在很大程度上是推理批处理造成的伪影;用于区分获得与锐化的扩展统计量给同一个模型赋予了 $0.280$ 的比率。自然的阈值修复无法经受复现:在这类设计本已包含的冻结比较中估计时,它的零假设仍然非零。我们将其替换为一种在错误发现率控制下、针对合并基线进行的逐问题精确检验;该检验在任何留出复现上都未检测到任何结果,并且在多重检验规则、错误率和池大小变化下保持不变。将其应用于在数据流、规模和评估上匹配的一系列实验臂后,审计发现,外部蒸馏能改善基础模型很少触及的问题,而三种形式的自训练不能;一项回归检验否定了这种不对称只是蒸馏总体增益更大所造成副产物的解释($p < 10^{-8}$)。在基础模型从未触及的更小问题集合上,证据尚无定论;与此同时,自训练会以远高于实测下限的比率破坏基线时已解出的问题。因此,转变层面的审计要求它所报告的每一项统计量都有一个单独测得的零假设:这些零假设无需新的实验成本,可由多臂研究本来就拥有的基线复现构建,尽管多数研究所拥有的数量还远远不够。

arXiv cs.AI72

MidTool:用于智能体式工具使用的中期训练数据合成

中期训练日益被认为是塑造大型语言模型能力的关键阶段。近期研究表明,有针对性的中期训练可以增强数学和科学等推理密集型能力,也可以提升软件工程场景中的智能体式能力。在这项工作中,我们研究了一种与之并行但探索较少的智能体式能力:通用工具使用。我们提出 MidTool,这是一个面向智能体式工具使用中期训练的开放语料构建流水线,将大规模网页、PDF 和代码数据与来自真实世界工具 API、MCP 技能以及基于文档的工作流的合成监督相结合。MidTool 旨在教会模型如何识别工具可供性、从上下文中定位参数、组合工具调用工作流,并从信息不完整的情况下恢复。我们在 MidTool-Mix 上对 Qwen3-4B-Base 和 Qwen3-8B-Base 进行中期训练,然后应用后续后训练,包括监督微调和强化学习。与基线相比,MidTool-Mix 在 BFCL、tau2-Bench 和 MCP Universe 上,在 SFT 和 RL 两种设置下都能持续提升下游性能。这些结果表明,通用工具使用与其他重要的 LLM 能力一样,受益于专门的中期训练,而不是完全留给后训练。

arXiv cs.AI75

超越转录文本:检测潜在多智能体通信中的隐蔽协调

语言模型智能体可以通过公开转录文本中不可见的连续隐藏状态进行通信,从而为隐蔽的有害协调创造机会。我们提出 Verifiable Latent Alignments (VLA),这是一个感知激活的框架,用于监控和引导这些私有通信通道。对于每一个受监控的决策,VLA 使用共享事件标识符将私有潜在状态记录和通道状态与由此产生的公开行动关联起来,从而实现匹配的因果分析。我们的第一项贡献是一个仅基于中性样本的三层监控器,结合了表示异常检测、反事实动作分布影响以及稀疏自编码器解释支持。我们的第二项贡献是一个可引导性框架,涵盖黑盒行为指令和白盒匹配中性反事实。我们的第三项贡献是在受控多智能体拍卖基准上的评估,覆盖同质和异质模型对、多智能体可扩展性以及干预有效性。当将文本串通和潜在串通行合并为正例时,顺序监控器在同质智能体上的平均受试者工作特征曲线下面积 (AUROC) 达到 0.993,在异质模型对上达到 0.854。在包含 25–100 名竞标者的 Qwen3-0.6B 拍卖中,相对于所有可能的有向配对,监控仅需要很小的归一化负载,而完整白盒引导实现了 100% 的出价分布恢复,并将串通性低价出价行为减少了 47.3 个百分点。由于完整白盒引导会重放匹配的中性反事实,其精确恢复在构造上就是一种合理性检查。总体而言,这项受控研究表明,所评估的私有通道攻击可以在不使用攻击样例训练主监控器的情况下被监控,并且在可获得匹配反事实访问时可以被缓解。

arXiv cs.AI73

超越教师似然:用于长上下文推理的组校准在策略蒸馏

在策略蒸馏(OPD)使用更强教师提供的密集 token 级指导,在学生自身的响应上训练学生。然而,在长上下文任务中,token 级教师支持可能偏向于局部上看似合理、但遗漏分布在输入各处的证据或违反全局任务约束的响应。相比之下,特定任务的验证器在响应级别评估任务完成情况,并可能返回反映部分成功的分级奖励。我们在来自两个具有代表性的长上下文证据聚合任务的固定响应上诊断了这种不匹配。在更长的输入范围内,轨迹级 OPD 分数与验证器奖励的对齐程度逐渐降低,表明存在教师-验证器分歧。受这一观察启发,我们提出了 Group-Calibrated On-Policy Distillation(GC-OPD)。GC-OPD 在每个 rollout 组内分别对验证器奖励和轨迹级 OPD 分数进行归一化,并使用二者之差作为带符号的教师-验证器分歧残差。基于相对优势的信用分配(RACA)根据 token 的相对 OPD 优势,将这一轨迹级残差分配到各个 token,同时保留原始 OPD 信号。在五个长上下文基准上,使用 GC-OPD 进行后训练将官方 Qwen3-4B 和 Qwen3-8B checkpoint 的五基准平均分分别从 29.08 提升到 40.47,以及从 35.12 提升到 44.65。在相同设置下,普通 OPD 分别达到 39.31 和 43.56。受控消融实验表明,带符号残差比额外的 OPD 派生项或直接加入组归一化验证器奖励更有效,而 RACA 相比均匀 token 分配进一步带来提升。总体而言,这些结果表明,组相对残差校准可以在不丢弃密集 token 级指导的情况下纳入验证器结果。代码可在 https://github.com/SolereZhang/GC-OPD 获取。

arXiv cs.AI69

BEAR-Bench: A Bilingual Enterprise and Academic Reasoning Benchmark for Multimodal Models

While Multimodal Large Language Models (MLLMs) have made significant strides in visual comprehension, their ability to reason about text-dense, professional documents remains incompletely evaluated. Existing benchmarks emphasize information extraction, require external domain knowledge, or cover professional documents only as one of many settings. They are also largely English- or Chinese-centric, leaving other languages and Russian, in particular, substantially underrepresented. To address these limitations, we introduce BEAR-Bench (Bilingual Enterprise and Academic Reasoning), a self-contained, complex English-and-Russian benchmark comprising 1000 human-annotated questions based on text-rich business and scientific documents. We evaluate 16 proprietary and open-weight MLLMs, including Gemini 3.1 Pro and Qwen3.5-397B, on BEAR-Bench and observe clear headroom even for the strongest systems. Finally, we use the resulting model outputs to compare existing hallucination detection methods, evaluating not only how often models fail on BEAR-Bench but also how reliably those failures can be identified.

Hacker News 熱門74

GLM-5.3 Artificial Analysis 基准测试

文章 URL: https://artificialanalysis.ai/models/glm-5-3 评论 URL: https://news.ycombinator.com/item?id=49353407 点数:32 评论数:7

arXiv cs.AI73

ClawGym II:探索 Agent Harness 上的黑盒 RL

Agent harnesses 通过协调 agent 与环境的交互,显著提升了长时程任务的性能。然而,通过复杂 harnesses 进行强化学习在很大程度上仍未被探索,因为将此类训练扩展到长时程 agent 任务会带来根本性挑战。在这项工作中,我们提出了一个统一的黑盒 RL 框架,用于通过复杂 harnesses 对通用 agents 进行稳定且可扩展的优化。具体而言,我们首先构建了基于沙箱的执行基础设施,将任务环境和 harnesses 隔离在临时沙箱中,以支持大规模并发 rollouts。随后,我们将策略优化与不透明的 harness 执行解耦,并在模型边界放置 serving proxy 以捕获模型调用。为重建多轮轨迹并提高训练效率,我们将捕获的调用组织成前缀树,并进一步调整基于 critic 的 PPO 和无 critic 的 GRPO,使其在恢复出的树结构上进行优化。与此同时,我们在整个优化过程中保持训练-推理一致性。最后,我们引入 mix-harness training,使单个模型能够通过异构 harnesses 进行联合优化。使用 Qwen3-30A3B 时,黑盒 RL 通过 OpenClaw 和 Claude Code 分别将 ClawGym-Bench 上的 Pass@1 提升了 9.98 和 14.81 个点,同时在 200-400 个优化步骤内保持稳定。此外,该框架在更具挑战性的任务(如 JobBench 和 OfficeQA)上也带来了一致的增益。总体而言,我们的框架使得通过黑盒 harnesses 对通用 agents 进行有效、稳定且可扩展的优化成为可能,并支持跨异构执行系统的统一训练。

arXiv cs.AI62

Policy Iteration with Human Feedback: Bringing Post-Training RL to In-context Learning

Generative pretraining established reusable task representations; later work on language-based task conditioning and in-context learning showed that a fixed model could adapt its behavior from instructions and demonstrations. Policy Iteration with Human Feedback (PIHF) builds on this development and the recurrent evaluate-and-improve structure of generalized policy iteration. PIHF uses a pretrained language model as its execution substrate and moves persistent revision to a versioned natural-language policy and tool set. A language-model critic and clinical expert review complete-panel reasoning and tool-use trajectories to localize recurrent failures and form candidate revisions; the expert may reinterpret the evidence and retains authority over admission and rollback, while Recall@1 and Recall@5 validate outcomes after candidate execution. Across cumulative ablations and ultra-rare-disease benchmarks, a PIHF-derived policy improved Recall@1 in one proprietary executor and three open-weight executors spanning 3 to 49 billion active parameters. Gains were 32.7 percentage points for GPT-5.4 and 31.1 points for Qwen3.6-35B, a difference of 1.7 points. These results support the feasibility of using pretrained language models as fixed-weight execution substrates for expert-guided policy development in rare-disease diagnosis.

arXiv cs.AI73

PL-Guard:用于 LLM 防护栏的概率逻辑推理

大型语言模型防护栏可以被视为策略一致性问题:系统必须确定提示-响应对中哪些与策略相关的事实成立,以及在给定策略下这些事实意味着什么。常见方法,包括策略提示和 LLM-as-a-judge 流水线,往往将语义落地和策略推理这两项任务重叠在一起:模型既要解释提示-响应对,又要推理是否违反了策略。这可能导致对有害提示的不安全遵从,或拒绝协助良性请求。为分离落地和推理角色,我们提出 PL-Guard,一种神经符号防护栏架构。通过使用由谓词和 ProbLog 规则组成的符号策略接口,本地 LLM 利用重归一化的 True/False token 分数将提示-响应对落地为谓词概率,而 ProbLog 则在符号策略上执行显式的概率规则推理。在 XSTest 基准上,一个基于 Qwen 的离线评估器发现,采用手工整理策略的 PL-Guard 将不安全遵从率从基座模型的 22.0% 降低到 0.5%,并低于 LLM-as-a-judge 基线的 6.0%。其代价是相较于 LLM-as-a-judge 基线产生更高的过度拒绝率,分别为 14.4% 和 5.2%。这些结果表明,将神经落地与概率符号推理分离,可以揭示安全性与有用性之间的权衡,同时使防护栏的中间推理步骤显式且可审计。

arXiv cs.AI81

面向小型设备的大模型:Edge AI 部署的最新进展与实证分析

在资源受限的边缘设备上运行大型 AI 模型需要进行模型压缩,以降低模型大小和计算量。然而,压缩效果好并不一定意味着部署效果好。我们调研了数十项近期工作,这些工作报告了真实硬件上的压缩结果,并从中提炼出实用的部署指南。遵循这些指南,我们在 GPU、CPU 和 Raspberry Pi 平台上部署了紧凑型语言模型和图像模型,涵盖问答和图像分割任务。没有任何单一技术能在所有任务中胜出。对于问答任务,Qwen3.5 0.8B 在 Q5_K_M GGUF 量化下达到 93.85 SQuAD F1 和 92 EM,而在相同精度下,1% 比例的结构化剪枝会损失 16 F1。对于分割任务,排名则相反:默认量化不会改变参数量和 MACs,而剪枝在 mIoU 近乎不变的情况下将模型大小减少近 80%。剪枝甚至可能通过破坏 k-quant 超块对齐,使部署产物膨胀 21-49%;再加上输出更长且更不符合格式规范,这会使 Raspberry Pi 延迟最高增加到 3.4 倍。压缩还可能制造出能力表象,而不是明显地破坏能力:一个经 LoRA 恢复的变体仍然完全可解析,并在严格 BoolQ 准确率上保持 71%,但其 100 个预测中有 97 个被发送到单一类别,平衡准确率为 52.6%。我们通过神经流图分析和预填充-解码级延迟分解来解释这些现象,并将其凝练为面向具体任务的部署研究方向。合适的技术取决于任务、模型和硬件。我们的实验代码和产物已在 https://github.com/Arnavvvkumar/deployment 开源。

arXiv cs.AI71

HyMem: Hierarchical Context Management for Long-Horizon Agents via Information Isolation

Large language model (LLM) agents often perform poorly on complex, long-horizon tasks because their context becomes increasingly cluttered over time. As interactions accumulate, detailed execution traces and intermediate outputs dominate the context, making it difficult for the model to retain and use high-level planning information. Most existing methods address this issue through compression or retrieval applied to a single, flat context, which does not clearly separate different types of context information and often leads to degraded reasoning. To address this challenge, we propose HyMem, a hierarchical framework that explicitly separates the agent's context into distinct functional layers. HyMem organizes context by function to separate high-level planning from execution and complex analysis. Its isolated reasoning module handles complex subtasks without adding intermediate reasoning traces to the persistent planning context, while its memory management module preserves task progress across context refreshes through structured summaries. These components reduce redundant context accumulation, retain task-critical information, and support coherent long-horizon reasoning within a limited context window. Experiments on GAIA and Browsecomp-plus show that, with DeepSeek-V4, HyMem achieves average Pass@1 scores of 66.7% and 61.3%, outperforming the strongest baseline by 6.1 and 4.7 percentage points, respectively. Further analysis indicates that HyMem effectively controls the growth of the reasoning context, allowing the model to maintain focus and accuracy across complex, long-horizon tasks.

arXiv cs.AI74

KV-Rescue:通过逐步交错恢复推理语言模型的 KV 驱逐损失

KV-cache 驱逐限制了长推理轨迹的内存成本,但其本质上是有损的,因为模型是在对自身历史的部分视图下进行解码。在激进的预算下,这不仅会降低准确率,还可能导致失控式退化,即模型不断生成不连贯或重复的 token,直到达到长度上限。我们将这种损失中的很大一部分归因于缺失上下文造成的信息缺口,而不是模型容量受限造成的能力缺口。一个经过驱逐的 7B 模型和一个全上下文 1.5B 模型会产生互补的错误,而在二者答案之间进行 oracle 选择,可以恢复相对于全 KV 7B 模型的准确率差距的 79%。基于这一观察,我们提出 KV-Rescue,这是一个无需训练的推理框架,使用轻量级全上下文辅助模型来弥合 KV 驱逐引入的信息缺口。KV-Rescue 将两个模型的推理步骤交错到一条共享轨迹中。一个在线检测器利用熵和可压缩性,提前终止不连贯或重复的基础模型候选生成。在使用 Qwen2.5-Math 7B 和 72B 的五个数学基准上,当驱逐预算 B=64 时,KV-Rescue 平均恢复了因驱逐而损失的准确率的 87%。进一步的解码成本分析表明,防止失控式退化平均可减少 43% 的基础模型 token 生成。

arXiv cs.AI72

DeaMoE:用于快速小批量解码的高效 MoE 结构

混合专家(Mixture-of-Experts,MoE)模型已被广泛应用于代码助手、实时音视频交互系统等实时交互式应用。为满足这些场景对极低响应延迟的要求,实践者通常采用小批量解码;在这种情况下,MoE 推理会受内存限制,并严重受限于专家权重加载。然而,这一瓶颈受到的关注有限,现有解决方案,如训练后权重压缩或预训练期间的细粒度专家设计,要么会降低模型准确率,要么会引入额外的计算和通信开销。为解决这一问题,我们提出 DeaMoE,一种解码高效的 MoE 架构。在该架构中,专家被分组到若干部门,同一部门的专家由于来自同一专业领域而共享大部分参数,同时每个专家还包含少量私有参数以体现其独特性。此外,我们为 DeaMoE 设计了定制的两阶段路由策略,以避免冗余加载;在该策略下,DeaMoE 显著提升了 LLM 解码过程中的效率。与原始 MoE 相比,DeaMoE 将每步加载的权重最多减少 50.9%,并在 A40 上针对预训练的 7B 模型实现了最高 1.33 倍的端到端 TPOT 加速;在微基准测试中,针对 DeepSeek-V3,在 A40 和 H100 上分别实现了最高 2.00 倍和 1.97 倍的峰值加速。

arXiv cs.AI

AI-Assisted Discovery and Construction of a Counterexample to the Convergence of Three-Block ADMM with the Identity Matrix as its Third Constraint Block

The alternating direction method of multipliers (ADMM), as a landmark algorithm, has attracted tremendous research attention and extensive practical applications over the past two decades. It is well known that, although the two-block ADMM enjoys well-established theoretical convergence guarantees, its direct extension to the three-block case may fail to converge, as demonstrated by existing counterexamples [5]. However, to the best of our knowledge, the case in which the third constraint block is the identity remains unresolved: the existing literature gives neither a general convergence proof nor a counterexample for this subclass. In this paper, we give a negative answer: direct three-block ADMM may fail even when the first two blocks are strongly convex quadratics. Using Codex with GPT-5.6 Sol, we construct an explicit rational counterexample candidate and verify it along a piecewise-affine reduction path; exact checks show that direct three-block ADMM on this instance produces a bounded nonconvergent orbit of period 66. Within the same Codex workflow, we further guide a study of multiplier relaxation and clarify when convergence can be restored at the fixed-instance and class levels: a problem-dependent small dual step can restore convergence, whereas no positive relative step works uniformly over the whole class. Furthermore, we also test the recent Kimi Code with Kimi K3 model without the Codex candidate or project-specific route guidance; along a different path it produces an exact locally attracting period-23 certificate, convertible to an equivalent all-identity instance. The comparison suggests that different research-harness configurations can shape the mathematical objects explored and the certificates pursued.

arXiv cs.AI73

PACE-Bench:在动态环境中通过代码演化评测物理适应能力

自演化智能体能够从交互经验中改进未来行为,但现有评估通常在固定执行条件下进行优化,并不测试这些条件变化后的恢复能力。为弥补这一空白,我们引入 PACE-Bench(Physics Adaptation via Code Evolution),这是一个基于模拟器的基准,涵盖六个物理领域中的 144 个源到目标适应配对。每个配对都将一个源环境与一个突变后的目标环境相连接,二者具有相同的目标和接口。一个代码驱动的设计在源环境中能够成功,但在目标环境中会失败;智能体必须在有限的尝试预算内,利用诊断性沙盒反馈,将其迭代适应为可在目标环境中工作的设计。我们比较了来自四种范式的十种自演化方法。该基准距离饱和仍很远:Reflexion + Qwen3-14B 在完整基准配对中的成功率仅为 35.9\%,而 GPT-5.5 在完整预算下解决了 Statics 子集中的 66.7\%。总体而言,这些结果表明,基于模拟器的反思比未经验证的自我修订更可靠,而记忆会将智能体锚定在早期设计上,广泛的树搜索则只是在探索而未能收敛。即使揭示确切的物理变化,也无法提高性能上限,这表明核心瓶颈在于机制重新设计,而非参数推断。数据和代码可在 https://github.com/thunlp/PACE-Bench 获取。

Hacker News 熱門71

Kimi Work 会将原始代理会话附加到反馈报告中

我只是出于好玩逆向工程了最新版 Kimi Work 桌面应用,我知道我很宅。 总之,我发现了一件有点令人担忧的事:当你发送反馈报告时,它会在没有任何通知或提醒的情况下,把最近 5 个会话附加到报告中。 这些会话里可能包含任何内容,而你完全不知道自己正把这一切都发送给 Kimi。 我已经发邮件提醒他们了,但还是想告知大家,以防你们正在使用 Kimi。 URL: https://runtimewire.com/article/scoop-kimi-work-secretly-att... 评论 URL: https://news.ycombinator.com/item?id=49313711 积分: 10 评论数: 1

arXiv cs.AI55

Enhancing Virtual Agents through SLMs and Edge-Computing: An Exploratory Evaluation of Think and Memory Processes

Embodied intelligent virtual agents are expected to operate as persistent, adaptive, and context-aware entities within complex virtual and Metaverse worlds. However, implementing cognitively capable agents in such environments is conceptually and technologically challenging. Among a range of blueprints and development approaches, the Cognitive Embodied Agent Architecture (CEAA) has been developed as an implementation-oriented framework for architecting components of perception, memory, reasoning, planning, and embodied action. Considering the recent advances in edge computing and generative AI language models, this paper explores the use of Small Language Models (SLMs) to support edge-based operation of selected CEAA components, focusing on "Think" and "Memory" as processes central to cognitive orchestration and persistence of virtual agents in interactive virtual worlds. An edge-based virtual agent gateway system was developed and evaluated on an NVIDIA Jetson Orin NX using Qwen2.5 models of different sizes, exploring the system's capability to process service requests and handle memory-driven conversations. A series of simulation experiments evaluated routing accuracy, memory-read performance, and latency, demonstrating an SLM-driven prototype agent system that partially implements selected CEAA processes to support the development of embodied agents whose cognitive "brain" can operate efficiently and contextually for interactive experiences in immersive virtual worlds.

arXiv cs.AI69

DFM Mimir v1: An Open HRM Delivering Frontier Performance at 1B Parameters Using Only Permissible Post-Training Data

Current large language model development relies on massive, often non-permissible datasets, creating a high barrier for researchers committed to open-source and ethically sourced data. We introduce Mimir v1, a 1-billion-parameter language model based on the Hierarchical Reasoning Model (HRM) architecture, that is trained from scratch and delivers highly competitive performance for English and sets a new state of the art for Danish using only permissible post-training data. Trained on a mixture of 161 datasets, Mimir v1 outperforms the original HRM-Text 1B and competes with larger frontier models like Qwen 3.5 4B and Gemma 4 E2B, tested across 20 benchmarks for English, Math & Code and Danish. The model is available on the Hugging Face Hub: https://huggingface.co/danish-foundation-models/DFM-Mimir