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

大厂专区

Microsoft

2026-07-16 至 2026-07-16 收录 9
2607.13988 2026-07-16 cs.LG 新提交

TRACE: Turn-level Reward Assignment via Credit Estimation for Long-Horizon Agents

TRACE:通过信用估计进行长期奖励分配的回合级奖励分配

Leitian Tao, Baolin Peng, Wenlin Yao, Tao Ge, Hao Cheng, Mike Hang Wang, Jianfeng Gao, Sharon Li

发表机构 * University of Wisconsin–Madison(威斯康星大学麦迪逊分校) Microsoft Research(微软研究院)

AI总结 研究针对多轮智能体训练后的信用分配难题,提出TRACE方法,通过特定状态转换、对数概率获取及转换等步骤进行奖励分配。该方法无需额外训练,在长期复杂搜索任务中显著提升基础模型工具使用能力,在基准测试中表现良好且学习曲线更佳。

Comments 26 pages

详情
AI中文摘要

多轮智能体通过一系列工具交互来解决复杂任务,这使得训练后的信用分配成为一个基本挑战。结果奖励对短期推理提供可靠监督,但随着轨迹增长会变得稀疏且方差大,还可能产生误导。我们提出TRACE,一种用于智能体强化学习的密集信用分配方法。TRACE将展开表示为工具调用边界处的状态转换,从冻结的参考模型获取黄金答案对数概率,将其转换为对数比率状态值,并将每个动作的奖励推导为这些值的时间差分变化。这无需额外的评论家或过程标签训练,其单步对数比率TD组件可跨冗余工具调用进行伸缩。在长期复杂搜索中,TRACE通过纯强化学习显著提高了基础模型的工具使用能力,在封闭网络BrowseComp-Plus基准测试中提升了Qwen3-4B和Qwen3-30B-A3B的性能,且学习行为可转移到开放网络基准测试,学习曲线显示在强化学习训练中更早改进和更快收敛。

英文摘要

Multi-turn agents solve complex tasks through extended sequences of tool interactions before producing a final answer, making credit assignment a fundamental challenge during post-training. Outcome rewards provide reliable supervision for short-horizon reasoning, but become sparse and high-variance as trajectories grow to tens or hundreds of tool calls. They can also be misleading: a failed rollout may contain many useful actions that move the agent closer to the goal, yet outcome-only training assigns them the same negative advantage as the eventual mistake. We propose TRACE (Turn-level Reward Assignment via Credit Estimation), a dense credit-assignment method for agentic reinforcement learning. TRACE represents rollouts as state transitions at tool-call boundaries, obtains gold-answer log-probabilities from a frozen reference model, transforms them into log-ratio state values, and derives per-action rewards as Temporal-Difference changes in those values. This requires no additional critic or process-label training, and its one-step log-ratio TD component telescopes across redundant tool calls. On long-horizon complex search, TRACE substantially improves base-model tool-use ability using pure RL, without a cold-start supervised fine-tuning stage, an agentic mid-training stage, or training on live-web data. On the closed-web BrowseComp-Plus benchmark, it raises Qwen3-4B from $7.2$ to $35.6$ and Qwen3-30B-A3B from $8.4$ to $42.6$. The learned search behavior also transfers to open-web benchmarks, and the learning curves show earlier improvement and faster convergence during RL training.

URL PDF HTML
2607.13453 2026-07-16 cs.CR cs.AI 新提交

Adversarial Prompting Framework for AI Safety Assessment

用于人工智能安全评估的对抗性提示框架

Yash Bhatnagar, Kunal Banerjee, Anirban Chatterjee

发表机构 * Microsoft(微软)

AI总结 针对人工智能尤其是生成式人工智能应用增加带来的安全问题,提出对抗性提示框架,通过生成多复杂程度的对抗性提示评估模型弹性,在企业环境中实现自动化测试并获定量指标及差异结果。

Comments 3 pages, 1 figure, presented as a poster at International Conference on Data Science (CODS), December 17-20, 2025, Pune, India

详情
AI中文摘要

近年来,人工智能(AI)尤其是生成式人工智能(GenAI)在各行业的应用显著增加。然而,这些模型的使用也可能使系统面临不同恶意行为者的新型网络攻击,对抗性提示攻击(APA)就是此类威胁中最突出的例子之一。本文提出了一个对抗性提示框架(APF)来全面评估人工智能安全。该框架通过生成多个复杂程度的结构化对抗性提示,从直接有害请求到基于高级编码的攻击,系统地评估人工智能模型的弹性。我们的实现展示了这种方法在企业环境中的实际应用,提供了具有定量安全评估指标的自动化测试能力。结果表明,不同攻击向量下模型漏洞存在显著差异,编码提示在绕过安全机制方面成功率最高。

英文摘要

Artificial Intelligence (AI), especially Generative AI (GenAI), adoption has increased in industries significantly in recent years. However, the use of these models may also expose systems to new forms of cyberattacks by different malicious actors -- adversarial prompt attack (APA) being one of the most prominent examples of such threats. This paper presents the implementation of an Adversarial Prompting Framework (APF) for a comprehensive assessment of AI safety. The framework systematically evaluates the resilience of the AI model through the generation of structured adversarial prompts at multiple sophistication levels, from direct harmful requests to advanced encoding-based attacks. Our implementation demonstrates the practical application of this methodology in enterprise environments, providing automated testing capabilities with quantitative security assessment metrics. The results indicate significant variations in the model vulnerabilities across different attack vectors, with encoded prompts presenting the highest success rates in bypassing safety mechanisms.

URL PDF HTML
2607.13394 2026-07-16 cs.CL cs.LG 新提交

GFlowRL: Scaling Distribution-Matching RL to Large Language Models

GFlowRL:将分布匹配强化学习扩展到大型语言模型

Xiaodong Liu, Michael Xu, Jack W. Stokes, Paul Smolensky, Doug Burger, Jianfeng Gao

发表机构 * Microsoft Research(微软研究院)

AI总结 研究旨在将GFlowNet风格的RL扩展到大型语言模型,提出GFlowRL算法,去除辅助分区网络,用批内蒙特卡罗估计替代学习的分区函数,并通过两个稳定器实现奖励分布匹配,在多个基准测试中表现出色,能稳定扩展到不同架构。

Comments 31 pages, 8 figures, 17 tables

详情
AI中文摘要

生成流网络(GFlowNets)为大型推理模型提供了一种有前景的替代奖励最大化强化学习(RL)的方法,通过匹配奖励分布鼓励多样化推理路径。近期工作在数学和代码方面有进展,但将GFlowNet风格的RL扩展到现代训练后管道仍困难。经系统分析发现,可由训练所需的展开组计算的批内蒙特卡罗估计替代学习的分区函数。我们提出GFlowRL,一种简化的GFlowNet风格RL算法,去除了辅助分区网络,通过两个稳定器实现奖励分布匹配目标。GFlowRL在数学、代码和对抗性红队基准测试中超越所有对手,在14B规模达到Codeforces评级2048,在AdvBench和HarmBench上获得最高平均ASR@1,优于先前SOTA多轮攻击者。该方法可扩展到高达235B参数的所有评估的混合专家(MoE)配置。据我们所知,GFlowRL是首个能在密集和稀疏架构上稳定扩展的GFlowNet风格RL算法。代码将在:此https URL

英文摘要

Generative Flow Networks (GFlowNets) offer a promising alternative to reward-maximizing reinforcement learning (RL) for large reasoning models, encouraging diverse reasoning paths by matching reward distributions rather than collapsing to dominant modes. Recent work shows promise on math and code, but scaling GFlowNet-style RL to modern post-training pipelines remains difficult: as model size, rollout horizon, reward noise, and distributed-systems complexity grow together, a learned prompt-conditional partition function becomes a source of gradient instability and engineering overhead rather than a useful normalizer. Through systematic analysis, we find that the learned partition function, previously treated as essential, can be replaced by an in-batch Monte Carlo estimate computed from the rollout group already required for training. We propose GFlowRL, a streamlined GFlowNet-style RL algorithm that removes the auxiliary partition network entirely while preserving the reward-distribution-matching objective, completed by two stabilizers: importance-sampling correction for rollout/trainer drift and asymmetric flow-gap clipping for outlier residuals. GFlowRL exceeds all counterparts on math, code, and adversarial red-teaming benchmarks, reaching a Codeforces rating of 2048 at the 14B scale (within 25 Elo of o3-mini) and attaining the highest average ASR@1 on AdvBench and HarmBench, outperforming the previous SOTA multi-turn attacker in a regime where FlowRL, a prior GFlowNet-style method, diverges. The same recipe transfers to all evaluated MoE configurations up to 235B parameters, where FlowRL again fails to converge. To our knowledge, GFlowRL is the first GFlowNet-style RL algorithm to scale stably across both dense and sparse architectures. Code will be at: https://github.com/microsoft/gflowrl

URL PDF HTML
2607.13158 2026-07-16 cs.CL 新提交

Do LLMs Need Architectural Changes for Simultaneous Speech Translation? A Prefix-to-Prefix Data Driven Approach

语言模型进行同步语音翻译需要架构改变吗?一种前缀到前缀的数据驱动方法

Junkun Chen, Jian Xue, Ming Tang, Abdel Heba, Hoda Gholami, Ruchao Fan, Jinyu Li

发表机构 * Microsoft(微软)

AI总结 研究同步语音翻译中仅解码器语言模型面临的挑战,提出基于固定长度块、回退前缀及教师标记前缀到前缀目标的CSSEL-P2P方法,经实验其在可比延迟下提升了流质量,证明无需架构改变可有效实现同步语音翻译。

详情
AI中文摘要

同步语音翻译(SimulST)需要在严格的延迟约束下进行增量翻译,但对于仅解码器的语言模型系统来说仍然具有挑战性,因为上下文有限和跨语言重新排序。最近的方法通常引入架构改变或明确的读/写策略来控制输出时间,在分割边界不明确的对话语音中可能很脆弱。我们提出了一种简单的数据驱动替代方案:用于累积流解码的固定长度块,带有基于回退的提交前缀,以及带有有限等待的教师标记的前缀到前缀(P2P)目标进行微调,产生CSSEL-P2P,其中CSSEL是我们提出的分块流语音编码器语言模型。在我们的内部对话语音评估中,CSSEL-P2P在可比延迟(平均滞后0.15秒)下比CSSEL流基线的流质量提高了1.54 COMETKiwi,表明通过P2P监督无需架构改变即可实现有效的SimulST。

英文摘要

Simultaneous speech translation (SimulST) requires incremental translation under strict latency constraints, yet remains challenging for decoder-only LLM systems due to limited context and cross-lingual reordering. Recent approaches often introduce architectural changes or explicit read/write policies to control output timing, which can be brittle in conversational speech where segmentation boundaries are ambiguous. We present a simple data-driven alternative: fixed-length chunks for cumulative streaming decoding with a rewind-based committed prefix, and teacher-labeled prefix-to-prefix (P2P) targets with bounded waiting for fine-tuning, yielding CSSEL-P2P, where CSSEL is our proposed chunked streaming speech encoder LLM. In our in-house conversational speech evaluation, CSSEL-P2P improves streaming quality by +1.54 COMETKiwi over the CSSEL streaming baseline at comparable latency (+0.15s Average Lagging), suggesting effective SimulST without architectural changes via P2P supervision.

URL PDF HTML
2607.13091 2026-07-16 cs.SE cs.AI 新提交

Self-Improving AI Coding Agents Through Accumulated Behavioral Rules: A Closed-Loop Framework

通过累积行为规则实现自我改进的人工智能编码代理:一个闭环框架

Aditya Aggarwal, Nahid Farhady Ghalaty

发表机构 * Microsoft(微软)

AI总结 研究基于大语言模型的编码代理重复犯错问题,提出闭环框架,将审查评论编码为行为规则,经实验验证其能转移审查重点、降低错误复发率且跨接口转移,实现跨会话学习且不更新权重,积累人类工程智慧。

Comments Already presented and accepted in - 32nd ICE IEEE/ITMC Conference (ICE 2026)

详情
AI中文摘要

基于大语言模型的编码代理在不同会话中会重复犯相同类型的错误,因为它们缺乏保留人类审查反馈修正的机制。我们提出了一个闭环框架,其中每个被接受的审查评论都被编码为一个持久的行为规则,逐步扩大代理可以自我检测的错误类集合。该框架将累积的规则集整合到一个版本控制的指令文件中,在代码提交前执行自我审查清单,并进行自动验证以确保规则集在增长时的完整性。在一个35多个服务微服务平台上进行部署时,规则集从5个行为规则、15多个特定语言标准和一个15项自我审查清单增长而来,所有这些都来自实际审查反馈。我们展示了11个记录的工作会话的实证结果,涵盖代码生成、拉取请求审查、事件调查和跨服务重构。我们观察到,累积的规则将审查工作从低级正确性转向设计级验证,实现了针对被裁定错误类别的0%复发率,并能跨异构代理接口转移。我们将我们的方法与经验性大语言模型学习(Reflexion、ExpeL、Voyager)和自动代码审查(CodeReviewer、SWE-bench代理)中的相关工作进行了比较,表明我们的框架在不更新权重的情况下实现了持久的跨会话学习,在生产代码库上运行而非合成基准,并解决了现有基准未测量的正交维度(随时间的行为一致性)。结果是一个编码代理,它在每个审查周期中都能改进,积累其人类合作者的工程智慧而不改变单个模型权重。

英文摘要

LLM-based coding agents repeat the same classes of mistakes across sessions because they lack a mechanism to retain corrections from human review feedback. We present a closed-loop framework in which every accepted review comment is codified as a persistent behavioral rule, progressively expanding the set of error classes the agent can self-detect. The framework combines an accumulating rule set in a version-controlled instruction file, a self-review checklist executed before code submission, and automated validation that ensures rule set integrity as it grows. In deployment across a 35+ service microservices platform, the rule set grew from 5 to 18 behavioral rules, 15+ language-specific standards, and a 15-item self-review checklist, all derived from real review feedback. We present empirical results from 11 recorded working sessions spanning code generation, PR review, incident investigation, and cross service refactoring. We observe that accumulated rules shift review effort from low-level correctness toward design-level validation, achieve a measured 0% recurrence rate for ruled-against error classes, and transfer across heterogeneous agent interfaces. We compare our approach against related work in experiential LLM learning (Reflexion, ExpeL, Voyager) and automated code review (CodeReviewer, SWE-bench agents), showing that our framework achieves persistent cross-session learning without weight updates, operates on production codebases rather than synthetic benchmarks, and addresses an orthogonal dimension (behavioral consistency over time) that existing benchmarks do not measure. The result is a coding agent that improves with every review cycle, accumulating the engineering wisdom of its human collaborators without changing a single model weight.

URL PDF HTML
2607.13035 2026-07-16 cs.CL cs.AI cs.LG cs.SE 新提交

FixItFlow: Automated Troubleshooting Guide Generation from Cloud Incidents

FixItFlow:从云事件中自动生成故障排除指南

Srihari Unnikrishnan, Jaskaran Singh Walia, Drishti Goel, Supriyo Ghosh

发表机构 * Microsoft Research(微软研究院) University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校) Inception

AI总结 针对云事件手动创建故障排除指南的问题,提出FixItFlow系统,利用大语言模型从历史事件数据生成指南,能提取诊断模式、合成结构化指南并严格验证,经评估可提升事件响应,减轻团队文档负担。

详情
AI中文摘要

云服务频繁出现需要快速诊断和解决的事件。故障排除指南有助于工程师一致地做出响应,但手动创建指南劳动强度大,导致覆盖不完整和文档过时。我们提出了FixItFlow,这是一个使用大语言模型从历史事件数据生成故障排除指南的自动化系统。该系统从工程师操作中提取诊断模式,合成带有经过验证命令的结构化指南,并进行严格验证以防止虚假内容。在对26名工程师的评估中,生成的指南在清晰度方面获得了61.5%的正面评价,并且对于有相关指南的事件,缓解时间减少了2.3倍。这些结果表明,自动指南生成可以改善事件响应,同时减轻工程团队的文档负担。

英文摘要

Cloud services experience frequent incidents that require rapid diagnosis and resolution. Troubleshooting guides help engineers respond consistently, but creating them manually is labor-intensive, resulting in incomplete coverage and outdated documentation. We present FixItFlow, an automated system that generates troubleshooting guides from historical incident data using large language models. The system extracts diagnostic patterns from engineer actions, synthesizes structured guides with verified commands, and enforces strict validation to prevent fabricated content. In our evaluation with 26 engineers, generated guides achieved 61.5\% positive ratings for clarity and demonstrated a 2.3x reduction in mitigation time for incidents with associated guides. These results indicate that automated guide generation can improve incident response while reducing documentation burden on engineering teams.

URL PDF HTML
2605.14477 2026-07-16 cs.LG 版本更新

Test-Time Learning with an Evolving Library

测试时学习与进化库

Weijia Xu, Alessandro Sordoni, Chandan Singh, Zelalem Gero, Michel Galley, Xingdi Yuan, Jianfeng Gao

发表机构 * Microsoft Research(微软研究院)

AI总结 EvoLib通过维护知识库实现大语言模型在不同实例间积累和进化知识,无需参数更新或外部监督,提升数学推理、代码生成等任务性能。

详情
AI中文摘要

我们介绍了EvoLib,一种测试时学习框架,使大语言模型能够在不进行参数更新或外部监督的情况下,跨问题实例积累、重用和进化知识。我们的方法维护一个共享的知识抽象库,包括模块化技能和反思性见解,这些是从模型自身推理轨迹自动提取的。为支持持续改进,我们引入了一种原则性的加权和整合机制,共同优化即时效用和长期价值。这使得简单、实例特定的抽象能够随时间演变为更通用和可重用的抽象。在数学推理、代码生成和多轮代理环境等具有挑战性的基准测试中,EvoLib在不使用地面真实反馈的情况下,显著优于顶级的测试时扩展和学习方法。

英文摘要

We introduce EvoLib, a test-time learning framework that enables large language models to accumulate, reuse, and evolve knowledge across problem instances without parameter updates or external supervision. Instead of adapting model parameters, our approach maintains a shared library of knowledge abstractions, including modular skills and reflective insights, automatically extracted from the model's own inference trajectories. To support continual improvement, we introduce a principled weighting and consolidation mechanism that jointly optimizes for immediate utility and long-term value. This allows simple, instance-specific abstractions to evolve into more general and reusable ones over time. Across challenging benchmarks in mathematical reasoning, code generation, and multi-turn agentic environments, EvoLib improves substantially over the top test-time scaling and learning methods without ground-truth feedback.

URL PDF HTML
2510.11686 2026-07-16 cs.LG cs.AI 版本更新

Representation-Based Exploration for Language Models: From Test-Time to Post-Training

基于表示的语言模型探索:从测试时到训练后

Jens Tuyls, Dylan J. Foster, Akshay Krishnamurthy, Jordan T. Ash

发表机构 * Princeton University(普林斯顿大学) Microsoft Research(微软研究院)

AI总结 研究语言模型中强化学习探索新行为的价值,提出基于预训练模型隐藏状态的表示奖励探索方法,在推理时和训练后都显著提升了模型性能,如验证效率和测试时样本效率,为发现新行为提供实用途径。

Comments Accepted at ICLR 2026. Website and code: https://rep-exp.github.io

详情
AI中文摘要

强化学习有望扩展语言模型的能力,但当前强化学习技术能否促进新行为的发现尚不清楚。本文研究了刻意探索的价值,旨在理解预训练模型中的知识如何指导搜索。主要发现是,基于预训练语言模型隐藏状态的简单、有原则的基于表示的奖励进行探索,能显著提高多样性和通过率。在推理时,基于表示的多样性探索提高了效率;在训练后,将此探索策略集成到强化学习管道中可提高推理性能。例如,在Qwen-2.5-14b-Instruct上几乎所有任务的验证效率提高超50%,在AIME 2024上,训练后的Qwen-2.5-7b-Instruct的pass@80与GRPO在同一模型上的pass@256匹配,测试时样本效率提高3倍。研究表明,正确的多样性概念下的刻意探索是发现新行为的实用途径。

英文摘要

Reinforcement learning (RL) promises to expand the capabilities of language models, but it is unclear if current RL techniques promote the discovery of novel behaviors, or simply sharpen those already present in the base model. In this paper, we investigate the value of deliberate exploration -- explicitly incentivizing the model to discover novel and diverse behaviors -- and aim to understand how the knowledge in pre-trained models can guide this search. Our main finding is that exploration with a simple, principled, representation-based bonus derived from the pre-trained language model's hidden states significantly improves diversity and pass@k rates -- both for post-training, and in a novel inference-time scaling setting we introduce. For inference-time, exploration with representation-based diversity improves efficiency, consistently improving pass@k rates across a variety of models and reasoning tasks. For example, for Qwen-2.5-14b-Instruct we obtain over 50% improvement in verifier efficiency on almost all tasks. For post-training, we show that integrating this exploration strategy into an RL pipeline improves reasoning performance over that of the initial model and over standard RL post-training. For example, on AIME 2024, our post-trained Qwen-2.5-7b-Instruct's pass@80 matches the pass@256 of GRPO on the same model, demonstrating a 3x improvement in test-time sample efficiency. Overall, our findings suggest that deliberate exploration -- with the right notion of diversity -- is a practical path toward discovery of new behaviors beyond sharpening.

URL PDF HTML
2502.13467 2026-07-16 cs.LG 版本更新

On the Sublinear Regret of Continuous K-Max Bandits

关于连续 K 最大多臂老虎机的次线性遗憾

Yu Chen, Siwei Wang, Longbo Huang, Wei Chen

发表机构 * Microsoft Research Asia(微软亚洲研究院) Institute for Interdisciplinary Information Sciences(交叉信息院) Tsinghua University(清华大学)

AI总结 研究连续K最大多臂老虎机问题,该问题在推荐等应用中出现,有离散化误差等困难。引入DCK - UCB算法,证明其实现了\(\widetilde{O}(T^{3/4})\)遗憾界,还针对特定情况提出MLE - Exp算法,为连续组合老虎机提供了算法解决方案。

详情
AI中文摘要

K 最大组合多臂老虎机问题出现在推荐和分布式决策等应用中,奖励由 K 个选定臂中的最大结果决定。当结果是连续的,且仅观察到最大值和获胜者索引时,该问题带来了前所未有的困难,包括离散化误差、非确定性平局决胜和严重估计偏差。为克服这些障碍,我们引入了 DCK-UCB,一种将自适应离散化与偏差校正置信界相结合的高效算法。我们证明 DCK-UCB 实现了 $\widetilde{O}(T^{3/4})$ 的遗憾界,这是该设置下的首个次线性保证。数值实验表明其性能优于基线方法。此外,对于全老虎机反馈下指数分布的特定情况,我们提出了 MLE-Exp 算法,该算法实现了接近最优的 $\widetilde{O}(\sqrt{T})$ 遗憾界。这项工作建立了基本理论保证,并为连续组合老虎机提供了强大的算法解决方案。

英文摘要

The $K$-Max combinatorial multi-armed bandit problem arises in applications such as recommendation and distributed decision making, where the reward is determined by the maximum outcome among $K$ selected arms. When outcomes are continuous and only the maximum value together with the winner's index is observed, this problem introduces unprecedented difficulties including discretization errors, non-deterministic tie-breaking, and severe estimation biases. To overcome these barriers, we introduce DCK-UCB, an efficient algorithm combining adaptive discretization with bias-corrected confidence bounds. We prove that DCK-UCB achieves a $\widetilde{O}(T^{3/4})$ regret bound, the first sublinear guarantee in this setting. Numerical experiments show strong performance over baseline methods. Furthermore, for the specific case of exponential distributions under full-bandit feedback, we propose the MLE-Exp algorithm that attains a near-optimal $\widetilde{O}(\sqrt{T})$ regret bound. This work establishes fundamental theoretical guarantees and provides a powerful algorithmic solution for continuous combinatorial bandits.

URL PDF HTML