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

大厂专区

Databricks

至 收录 17
2607.13037 2026-07-16 cs.AI 新提交

OriginBlame: Record- and Token-Level Data Provenance for AI Training Datasets

OriginBlame:人工智能训练数据集的记录级和令牌级数据溯源

Haolin Xue

机构 * HuggingFace(拥抱脸) Datatrove(数据宝库) The Linux Foundation(Linux基金会) Databricks(Databricks公司) Weights & Biases(权重与偏差公司)

AI总结 研究针对模型训练者在数据删除时无法精准定位记录所属作者的问题,提出OriginBlame系统,通过记录级和令牌级溯源及确定性查询解决,评估显示能消除过度删除并提升遗忘效果,增加少量吞吐量开销。

Comments 13 pages, 6 figures

详情
AI中文摘要

当数据贡献者要求删除数据时,模型训练者面临一个实际问题:遗忘算法需要一个遗忘集,但没有工具能定位哪些训练记录属于给定作者。现有溯源系统在文件或数据集级别运行,导致过度删除。我们提出了ob,一个记录级和令牌级数据溯源系统,它通过数据处理管道传播作者身份,并通过确定性查询将撤销请求解析为精确的遗忘集。对219,555个维基百科页面的评估表明,记录级溯源消除了数据集级的过度删除,集成增加了吞吐量开销,基于溯源的遗忘集在1.7B模型上比随机基线提高了42%的遗忘效果。

英文摘要

When a data contributor requests removal, model trainers face a practical gap: unlearning algorithms require a forget set, yet no tool can locate which training records belong to a given author. Existing provenance systems operate at file or dataset level, forcing catastrophic over-deletion. We present ob, a record- and token-level data provenance system that propagates author identity through data processing pipelines and resolves revocation requests into precise forget sets via deterministic queries. Evaluation on 219,555 Wikipedia pages demonstrates that record-level provenance eliminates dataset-level over-deletion (from 101x to 1.3x), while integration adds 1.3-4.0% throughput overhead (HuggingFace) and 2.1-19.0% (Datatrove) on wiki data. On a 1.7B model, provenance-based forget sets improve unlearning by 42% over random baselines.

URL PDF HTML 收藏
2606.13757 2026-07-08 cs.CR cs.AI 新提交

SEVRA-BENCH: Social Engineering of Vulnerabilities in Review Agents

SEVRA-BENCH:审查智能体中的社会工程漏洞

Rui Melo, Riccardo Fogliato, Sean Zhou, Pratiksha Thaker, Zhiwei Steven Wu

机构 * Carnegie Mellon University(卡内基梅隆大学) Microsoft Core AI(微软核心人工智能) Amazon AWS(亚马逊AWS) Databricks

AI总结 提出SEVRA-BENCH基准,通过社会工程攻击框架评估LLM代码审查智能体拒绝恶意PR的能力,发现闭源与开源模型间存在显著安全差距。

详情
AI中文摘要

大型语言模型(LLM)审查者越来越多地用于拉取请求(PR)工作流,其批准有助于决定哪些代码合并到仓库中。这引发了一个静态漏洞检测或代码生成基准未解决的问题:当攻击者同时控制代码更改和随附的PR文本时,自动化审查者能否拒绝恶意贡献?我们引入了SEVRA-BENCH(审查智能体中的社会工程漏洞),一个衡量自动化审查者批准此类对抗性PR频率的基准。SEVRA-BENCH中的每个恶意PR都基于一个先前修复了通用漏洞与暴露(CVE)数据库中列出的漏洞的真实项目提交构建。我们自动反转该修复以恢复原始易受攻击的代码,并将其作为拉取请求提交,包裹在15种社会工程框架之一中,这些框架变化了所声称的内容、支持证据、传达的紧迫性、先前批准的信号以及对权威的诉求。SEVRA-BENCH包含1,062个恶意PR,这些PR来自2025年通用弱点枚举(CWE)Top 25中前10个条目的CVE相关修复。在现实场景中,我们评估了8个当前LLM作为代码审查智能体处理引入先前公开披露漏洞的PR。我们的结果揭示了闭源与开源模型在安全能力上的显著差距。我们希望SEVRA-BENCH将成为推进开源模型并缩小这一差距的宝贵资源。

英文摘要

Large language models (LLMs) are increasingly deployed in automated code-review systems, where their approvals can determine which code is merged into shared repositories. However, it is unclear whether review agents can detect vulnerability-introducing code when an attacker controls both the code change and the persuasive Pull Request (PR) narrative designed to mask it. We introduce SEVRA-BENCH (Social Engineering of Vulnerabilities in Review Agents), a benchmark that measures how often a review agent approves such adversarial PR s. Each PR in SEVRA-BENCH is built from a historical commit that fixed a vulnerability. We automatically reverse that fix to extract the original vulnerable code, and submit the resulting code change as a PR wrapped in one of 15 social-engineering framings. To test review-agent resilience to narrative manipulation, these framings vary dimensions such as supporting evidence, conveyed urgency, signals of prior approval, and appeals to authority. SEVRA-BENCH evaluates a retained challenge split of roughly 1000 adversarial PRs drawn from publicly disclosed vulnerability fixes across the top 10 entries of the MITRE's 2025 most dangerous software weaknesses. Evaluating 8 review agents against this benchmark, we reveal that review agents are susceptible to narrative manipulation, exposing a significant gap in security capabilities.

URL PDF HTML 收藏
2605.24050 2026-06-24 cs.SE cs.AI stat.AP 版本更新

More Skills, Worse Agents? Skill Shadowing Degrades Performance When Expanding Skill Libraries

更多技能,更差智能体?扩展技能库时技能遮蔽降低性能

Hongwen Song, Song Wei

机构 * Databricks Inc.(Databricks公司)

AI总结 本文研究LLM智能体技能库扩展导致性能下降的现象,提出将性能下降分解为技能遮蔽和上下文开销两种效应,并通过实验证明技能遮蔽是主要瓶颈。

详情
AI中文摘要

技能库允许LLM智能体按需加载任务特定指令,使非专家用户能够通过自然语言解决领域特定任务,而无需知道存在哪些技能或它们如何工作。然而,随着技能库的增长,性能会下降——当从一组已知有用的小技能扩展到包含202个技能的库时,性能下降高达21%。在这项工作中,我们将这种性能下降定义为从加载已知有用技能库到加载完整技能库之间的通过率下降。此外,我们提出通过条件化技能调用——即智能体在轨迹中选择哪些技能——将通过率下降分解为两种效应:\emph{技能遮蔽},即随着技能库扩展,智能体更频繁地选择错误技能;以及\emph{上下文开销},即即使选择正确,扩大的上下文也会降低执行性能。我们推导了这两种效应的上界,以表征它们对通过率下降的影响程度。我们对效应及其上界的经验估计均表明,\emph{技能遮蔽}效应随技能库大小增长,并对性能下降有显著贡献,而\emph{上下文开销}效应仍然很小且与零无显著差异。这种观察到的非对称性表明,技能选择失败(而非上下文扩大)是扩展技能库时的主要瓶颈。

英文摘要

Skill libraries allow LLM agents to load task-specific instructions on demand, letting non-expert users solve domain-specific tasks through natural language without knowing which skills exist or how they work. However, performance degrades as libraries grow -- by up to 21\% when scaling from a small set of helpful skills to a 202-skill library. In this work, we formulate this performance degradation as the pass rate drop between loading a library of known-helpful skills and the full library. Moreover, we propose to decompose the pass rate drop by conditioning on the skill(s) invocation -- which skills the agent selects during a trajectory -- into two effects: \emph{skill shadowing}, where the agent selects wrong skills more often as the library expands, and \emph{context overhead}, where the enlarged context degrades execution even when selection is correct. We derive upper bounds on both effects to characterize their magnitudes of impacts to the pass rate drop. Our empirical estimates of the effects and their upper bounds both show that the \emph{skill shadowing} effect grows with library size and significantly contributes to the performance degradation, whereas the \emph{context overhead} effect remains small and indistinguishable from zero. This observed asymmetry establishes that the skill selection failure, not the enlarged context, is the primary bottleneck when expanding the skill libraries.

URL PDF HTML 收藏
2606.13741 2026-06-15 cs.LG 新提交

High-Frequency Pricing at Scale for E-Commerce

电子商务中的大规模高频定价

Stefan Birr, Tobias Huelden, Mones Raslan, Adele Gouttes, Andreas Schmitt, Mateusz Koren, Johannes Stephan, Robert Streek, Manuel Kunz, Tim Januschowski

机构 * Zalando SE Databricks

AI总结 提出一种预测-优化框架,结合梯度提升树与多目标优化,实现时尚电商促销活动的每日高频定价,通过23次A/B测试验证,利润提升约6%。

详情
AI中文摘要

本文介绍了针对时尚电商促销活动的一种专门的预测-优化算法定价工具的设计、开发和实施。销售活动给定价带来了独特的挑战,包括波动的需求模式、快速的定价决策以及平衡短期收入与长期盈利能力的需要。我们描述了我们的方法,该方法结合了使用梯度提升树的每日分辨率需求预测与一个多目标优化框架,该框架针对超过500万件商品同时最大化长期利润和净商品价值。我们的解决方案通过实现一个预测-优化架构,将定价决策时间从数小时缩短到数分钟,解决了现有周粒度系统的关键局限性。我们通过在2023-2024年期间在欧洲领先的在线时尚零售商Zalando的12个市场中进行的23次A/B测试验证了我们的方法。实验结果表明,与之前的手动-算法混合方法相比,新的定价系统在保持同等销售和收入表现的同时,实现了约6%的更高利润。基于这些结果,该算法已成功部署到生产环境,现在负责公司促销活动中的大部分算法定价决策。

英文摘要

This paper presents the design, development, and implementation of a specialized forecast-then-optimize algorithmic pricing tool for sales campaigns in fashion e-commerce. Sales events present unique challenges for pricing including volatile demand patterns, rapid pricing decisions, and the need to balance short-term revenue with long-term profitability. We describe our approach combining daily-resolution demand forecasting using gradient-boosted trees with a multi-objective optimization framework that maximizes both long-term profit and net merchandise value for more than 5 million articles. Our solution addresses key limitations of existing weekly-granularity systems by implementing a forecast-then-optimize architecture that reduces pricing decision time from hours to minutes. We validate our approach through 23 A/B tests across 12 markets during 2023-2024 sales campaigns at Zalando, one of Europe's leading online fashion retailers. Experimental results demonstrate that the new pricing system achieves approximately 6% higher profit while maintaining equivalent performance on sales and revenue compared to the previous manual-algorithmic hybrid approach. Based on these results, the algorithm was successfully deployed to production and now handles the majority of algorithmic pricing decisions for sales campaigns at the company.

URL PDF HTML 收藏
2604.22661 2026-04-27 cs.IR cs.CL

Can QPP Choose the Right Query Variant? Evaluating Query Variant Selection for RAG Pipelines

QPP能否选择正确的查询变体?评估RAG流水线中的查询变体选择

Negar Arabzadeh, Andrew Drozdov, Michael Bendersky, Matei Zaharia

机构 * UC Berkeley(伯克利大学) Databricks(Databricks公司)

AI总结 本文研究了在RAG流水线中如何选择最佳查询变体,通过大规模实验评估了预检索和后检索预测器的性能,发现检索相关性与生成保真度之间存在'效用差距',但QPP能有效提升端到端质量。

详情
AI中文摘要

大型语言模型(LLMs)在现代检索和检索增强生成(RAG)流水线中使查询重述变得普遍,使生成多个语义等价的查询变体成为可能。然而,为每个重述执行完整流水线计算成本高,推动了选择性执行:能否在不产生下游检索和生成成本的情况下识别最佳查询变体?我们研究了查询性能预测(QPP)作为跨即兴检索和端到端RAG的变体选择机制。不同于传统QPP估计跨主题查询难度,我们研究了主题内区分——在相同信息需求的 competing 变体中选择最优重述。通过大规模实验在TREC-RAG上使用稀疏和密集检索器,评估预检索和后检索预测器在相关性和决策性指标下的表现。我们的结果揭示了检索和生成目标之间的系统性分歧:最大化排名指标如nDCG的变体往往无法生成最佳生成答案,暴露了检索相关性和生成保真度之间的'效用差距'。然而,QPP能可靠地识别出比原始查询更优的变体。值得注意的是,轻量级预检索预测器经常匹配或优于更昂贵的后检索方法,提供了一种低延迟的稳健RAG方法。

英文摘要

Large Language Models (LLMs) have made query reformulation ubiquitous in modern retrieval and Retrieval-Augmented Generation (RAG) pipelines, enabling the generation of multiple semantically equivalent query variants. However, executing the full pipeline for every reformulation is computationally expensive, motivating selective execution: can we identify the best query variant before incurring downstream retrieval and generation costs? We investigate Query Performance Prediction (QPP) as a mechanism for variant selection across ad-hoc retrieval and end-to-end RAG. Unlike traditional QPP, which estimates query difficulty across topics, we study intra-topic discrimination - selecting the optimal reformulation among competing variants of the same information need. Through large-scale experiments on TREC-RAG using both sparse and dense retrievers, we evaluate pre- and post-retrieval predictors under correlation- and decision-based metrics. Our results reveal a systematic divergence between retrieval and generation objectives: variants that maximize ranking metrics such as nDCG often fail to produce the best generated answers, exposing a "utility gap" between retrieval relevance and generation fidelity. Nevertheless, QPP can reliably identify variants that improve end-to-end quality over the original query. Notably, lightweight pre-retrieval predictors frequently match or outperform more expensive post-retrieval methods, offering a latency-efficient approach to robust RAG.

URL PDF HTML 收藏
2604.08801 2026-04-13 cs.LG cs.CL

$p1$: Better Prompt Optimization with Fewer Prompts

用更少提示实现更好的提示优化

Zhaolin Gao, Yu, Wang, Bo Liu, Thorsten Joachims, Kianté Brantley, Wen Sun

机构 * Cornell University(康奈尔大学) Microsoft(微软) Harvard University(哈佛大学) Databricks AI Research(Databricks AI研究)

AI总结 研究揭示提示优化有效性取决于系统提示与响应方差,提出$p1$过滤方法提升优化效果,实验显示其在推理基准上优于基线方法。

详情
AI中文摘要

提示优化通过搜索更好的系统提示来改进语言模型,而无需更新其权重,但其有效性在不同任务中差异较大。我们研究了使任务适合提示优化的因素。我们显示,不同系统提示之间的奖励方差可以分解为两个组成部分:响应中的方差,这捕捉了生成的随机性,以及系统提示中的方差,这捕捉了系统提示质量的差异。当系统提示中的方差足够大时,提示优化才能成功,但当响应中的方差主导系统提示的方差时,它会失败。出人意料的是,我们进一步表明,扩大到更多的用户提示可能会通过减少系统提示中的方差而损害优化,尤其是在异质数据集上,其中不同的用户提示倾向于不同的系统提示。受这一见解的启发,我们提出了$p1$,一种简单的用户提示过滤方法,该方法选择具有高方差的用户提示子集,这些提示在候选系统提示之间具有高方差。这个用户提示子集使人们能够区分好的系统提示和差的系统提示,使系统优化更容易。在推理基准上的实验表明,$p1$在训练完整数据集上显著提高了提示优化,并优于GEPA等强基线方法。值得注意的是,仅在AIME 24上训练两个提示就得到了在其他推理基准上表现良好的系统提示。

英文摘要

Prompt optimization improves language models without updating their weights by searching for a better system prompt, but its effectiveness varies widely across tasks. We study what makes a task amenable to prompt optimization. We show that the reward variance across different system prompts can be decomposed into two components: variance among responses, which captures generation stochasticity, and variance among system prompts, which captures differences in system prompt quality. Prompt optimization succeeds when variance among system prompts is sufficiently large, but fails when variance among responses dominates the variance of the system prompts. Surprisingly, we further show that scaling to more user prompts can hurt optimization by reducing variance among system prompts, especially on heterogeneous datasets where different user prompts favor different system prompts. Motivated by this insight, we propose $p1$, a simple user prompt filtering method that selects a small subset of user prompts with high variance across candidate system prompts. This subset of user prompts allows one to distinguish a good system prompt from a bad one, making system optimization easier. Experiments on reasoning benchmarks show that $p1$ substantially improves prompt optimization over training on the full dataset and outperforms strong baselines such as GEPA. Notably, training on only two prompts from AIME 24 yields a system prompt that generalizes well to other reasoning benchmarks.

URL PDF HTML 收藏
2603.05744 2026-04-13 cs.CL cs.SE

CodeScout: Contextual Problem Statement Enhancement for Software Agents

CodeScout: 为软件代理提供上下文化的问题陈述增强

Manan Suri, Xiangci Li, Mehdi Shojaie, Songyang Han, Chao-Chun Hsu, Shweta Garg, Aniket Anand Deshmukh, Varun Kumar

机构 * University of Maryland, College Park(马里兰大学帕克分校) Amazon Web Services (AWS)(亚马逊云服务(AWS)) Databricks

AI总结 CodeScout通过轻量级预探索将模糊请求转化为完整问题陈述,提升软件代理性能,实验表明其在解决率上提升20%。

详情
AI中文摘要

当前AI驱动的代码辅助工具常因缺乏充分的任务上下文和需求规范而表现不佳。最近对软件工程代理的分析表明,对模糊请求的失败高度相关于长轨迹,包括过度探索或重复应用相同修复而无适当进化或测试,导致软件开发任务的次优结果。我们引入CodeScout,一种上下文查询细化方法,通过轻量级预探索将模糊用户请求系统性地转化为全面、可操作的问题陈述。我们的关键创新是证明在任务执行前的结构化分析可以补充现有代理能力,而无需修改其底层架构。CodeScout进行针对性上下文限定,开展多视角分析,考察潜在修复和探索机会,然后将这些洞察综合成增强的问题陈述,包含重现步骤、预期行为和针对性探索提示。这种预探索直接针对识别的失败模式,通过减少非收敛代理轨迹并用自然语言空间澄清用户意图。我们使用最先进的代理框架和语言模型在SWEBench-Verified上评估CodeScout,证明其在解决率上比默认基线方法提升20%,最多额外解决27个问题。我们的结果表明,通过上下文分析的系统查询细化代表了增强AI代码辅助能力的有前途方向。

英文摘要

Current AI-powered code assistance tools often struggle with poorly-defined problem statements that lack sufficient task context and requirements specification. Recent analysis of software engineering agents reveals that failures on such underspecified requests are highly correlated with longer trajectories involving either over-exploration or repeated attempts at applying the same fix without proper evolution or testing, leading to suboptimal outcomes across software development tasks. We introduce CodeScout, a contextual query refinement approach that systematically converts underspecified user requests into comprehensive, actionable problem statements through lightweight pre-exploration of the target codebase. Our key innovation is demonstrating that structured analysis before task execution can supplement existing agentic capabilities without requiring any modifications to their underlying scaffolds. CodeScout performs targeted context scoping, conducts multi-perspective analysis examining potential fixes and exploration opportunities, then synthesizes these insights into enhanced problem statements with reproduction steps, expected behaviors, and targeted exploration hints. This pre-exploration directly addresses the identified failure patterns by reducing non-converging agent trajectories while clarifying user intent in natural language space. We evaluate CodeScout using state-of-the-art agentic scaffolds and language models on SWEBench-Verified, demonstrating a 20\% improvement in resolution rates with up to 27 additional issues resolved compared to the default baseline method. Our results suggest that systematic query refinement through contextual analysis represents a promising direction for enhancing AI code assistance capabilities.

URL PDF HTML 收藏
2602.23349 2026-03-13 cs.LG cs.AI

FlashOptim: Optimizers for Memory-Efficient Training

FlashOptim: 用于内存高效训练的优化器

Jose Javier Gonzalez Ortiz, Abhay Gupta, Christopher Rinard, Davis Blalock

机构 * Databricks AI Research(Databricks AI研究院)

AI总结 FlashOptim通过减少每参数内存消耗50%以上,同时保持模型质量和API兼容性,显著提升内存高效训练性能。

Comments Source code is available at https://github.com/databricks/flashoptim

详情
AI中文摘要

标准的混合精度神经网络训练需要为每个模型参数分配许多字节的加速器内存。这些字节不仅反映参数本身,还包含其梯度和一个或多个优化器状态变量。每个值通常需要4字节,因此即使训练一个70亿参数模型,对于拥有少于100GB加速器内存的研究人员来说也是不切实际的。我们介绍了FlashOptim,一套优化技术,能够将每参数内存消耗减少超过50%,同时保持模型质量和API兼容性。我们的方法引入了两种关键技术。首先,我们通过找到并利用主权重分割的紧致界来改进主权重分割,从而减少量化误差。其次,我们设计了扩展函数,大幅减少8位优化器状态量化中的误差。结合16位梯度,这些技术将AdamW内存从16字节减少到每参数7字节,或在梯度释放时减少到5字节。它们还使模型检查点大小减少了一半以上。在FlashOptim应用于SGD、AdamW和Lion的实验中,没有任何任务从标准视觉和语言基准中显示出可测量的质量下降,包括Llama-3.1-8B微调。

英文摘要

Standard mixed-precision training of neural networks requires many bytes of accelerator memory for each model parameter. These bytes reflect not just the parameter itself, but also its gradient and one or more optimizer state variables. With each of these values typically requiring 4 bytes, training even a 7 billion parameter model can be impractical for researchers with less than 100GB of accelerator memory. We introduce FlashOptim, a suite of optimizations that reduces per-parameter memory by over 50% while preserving model quality and API compatibility. Our approach introduces two key techniques. First, we improve master weight splitting by finding and exploiting a tight bound on its quantization error. Second, we design companding functions that greatly reduce the error in 8-bit optimizer state quantization. Together with 16-bit gradients, these techniques reduce AdamW memory from 16 bytes to 7 bytes per parameter, or 5 bytes with gradient release. They also cut model checkpoint sizes by more than half. Experiments with FlashOptim applied to SGD, AdamW, and Lion show no measurable quality degradation on any task from a collection of standard vision and language benchmarks, including Llama-3.1-8B finetuning.

URL PDF HTML 收藏
2603.08655 2026-03-10 cs.AI cs.CL cs.IR

OfficeQA Pro: An Enterprise Benchmark for End-to-End Grounded Reasoning

OfficeQA Pro:一个企业级端到端 grounded 推理基准测试

Krista Opsahl-Ong, Arnav Singhvi, Jasmine Collins, Ivan Zhou, Cindy Wang, Ashutosh Baheti, Owen Oertell, Jacob Portes, Sam Havens, Erich Elsen, Michael Bendersky, Matei Zaharia, Xing Chen

机构 * Databricks AI Research(Databricks人工智能研究)

AI总结 OfficeQA Pro 是一个企业级基准测试,评估 AI 代理在大规模文档语料库上进行端到端 grounded 推理的能力,发现结构化文档表示可显著提升性能。

Comments 24 pages, 16 figures. Introduces the OfficeQA Pro benchmark for grounded reasoning over enterprise documents

详情
AI中文摘要

我们介绍了 OfficeQA Pro,一个用于评估 AI 代理在大规模、异构文档语料库上进行 grounded 多文档推理的基准测试。该语料库包含美国财政部公告,跨度近 100 年,包含 89,000 页和超过 2600 万个数值。OfficeQA Pro 包含 133 个问题,需要精确的文档解析、检索和分析推理,涵盖非结构化文本和表格数据。前沿 LLMs,包括 Claude Opus 4.6、GPT-5.4 和 Gemini 3.1 Pro Preview,在依赖参数知识时在 OfficeQA Pro 上的准确率低于 5%,在额外访问网络时低于 12%。当直接提供文档语料库时,前沿代理仍对超过一半的问题感到困难,平均得分为 34.1%。我们发现,为代理提供由 Databricks 的 ai_parse_document 生成的结构化文档表示,可使代理在各代理上平均获得 16.1% 的相对性能提升。我们进行了额外的消融实验,研究模型选择、表格表示、检索策略和测试时扩展对性能的影响。尽管有这些改进,仍然存在显著的提升空间,使代理在企业级 grounded 推理上变得可靠。

英文摘要

We introduce OfficeQA Pro, a benchmark for evaluating AI agents on grounded, multi-document reasoning over a large and heterogeneous document corpus. The corpus consists of U.S. Treasury Bulletins spanning nearly 100 years, comprising 89,000 pages and over 26 million numerical values. OfficeQA Pro consists of 133 questions that require precise document parsing, retrieval, and analytical reasoning across both unstructured text and tabular data. Frontier LLMs including Claude Opus 4.6, GPT-5.4, and Gemini 3.1 Pro Preview achieve less than 5% accuracy on OfficeQA Pro when relying on parametric knowledge, and less than 12% with additional access to the web. When provided directly with the document corpus, frontier agents still struggle on over half of questions, scoring 34.1% on average. We find that providing agents with a structured document representation produced by Databricks' ai_parse_document yields a 16.1% average relative performance gain across agents. We conduct additional ablations to study the effects of model selection, table representation, retrieval strategy, and test-time scaling on performance. Despite these improvements, significant headroom remains before agents can be considered reliable at enterprise-grade grounded reasoning.

URL PDF HTML 收藏
2603.05218 2026-03-06 cs.AI cs.LG

KARL: Knowledge Agents via Reinforcement Learning

通过强化学习的知识代理:KARL

Jonathan D. Chang, Andrew Drozdov, Shubham Toshniwal, Owen Oertell, Alexander Trott, Jacob Portes, Abhay Gupta, Pallavi Koppol, Ashutosh Baheti, Sean Kulinski, Ivan Zhou, Irene Dea, Krista Opsahl-Ong, Simon Favreau-Lessard, Sean Owen, Jose Javier Gonzalez Ortiz, Arnav Singhvi, Xabi Andrade, Cindy Wang, Kartik Sreenivasan, Sam Havens, Jialu Liu, Peyton DeNiro, Wen Sun, Michael Bendersky, Jonathan Frankle

机构 * Databricks AI Research(Databricks人工智能研究)

AI总结 KARL通过强化学习训练企业搜索代理,结合多任务学习和定制合成数据,实现高效且高性能的知识代理,在多个复杂任务中表现优异。

Comments 77 pages, 43 figures, 17 tables

详情
AI中文摘要

我们提出了一种通过强化学习训练企业搜索代理的系统,该系统在多样化的、难以验证的代理搜索任务集上实现了最先进的性能。我们的工作有四个核心贡献。首先,我们引入了KARLBench,一个涵盖六个不同搜索领域的多能力评估套件,包括约束驱动的实体搜索、跨文档报告合成、表格数值推理、穷尽实体检索、技术文档上的过程推理以及内部企业笔记上的事实聚合。其次,我们表明在异构搜索行为上训练的模型在泛化能力方面显著优于仅针对单一基准优化的模型。第三,我们开发了一条代理合成流水线,利用长周期推理和工具使用生成多样、扎根且高质量的训练数据,通过迭代回溯从日益强大的模型中获得反馈。第四,我们提出了一种基于迭代大规模批量离策略强化学习的新训练范式,该范式在样本效率、对训练-推理引擎差异的鲁棒性以及自然扩展到多任务训练和分布外泛化方面具有优势。与Claude 4.6和GPT 5.2相比,KARL在KARLBench上在成本-质量和延迟-质量的权衡上是帕累托最优的,包括在训练期间分布外的任务。在足够的测试时间计算资源下,它超过了最强的封闭模型。这些结果表明,定制合成数据与多任务强化学习相结合,能够实现成本高效且性能优异的知识代理,用于扎根推理。

英文摘要

We present a system for training enterprise search agents via reinforcement learning that achieves state-of-the-art performance across a diverse suite of hard-to-verify agentic search tasks. Our work makes four core contributions. First, we introduce KARLBench, a multi-capability evaluation suite spanning six distinct search regimes, including constraint-driven entity search, cross-document report synthesis, tabular numerical reasoning, exhaustive entity retrieval, procedural reasoning over technical documentation, and fact aggregation over internal enterprise notes. Second, we show that models trained across heterogeneous search behaviors generalize substantially better than those optimized for any single benchmark. Third, we develop an agentic synthesis pipeline that employs long-horizon reasoning and tool use to generate diverse, grounded, and high-quality training data, with iterative bootstrapping from increasingly capable models. Fourth, we propose a new post-training paradigm based on iterative large-batch off-policy RL that is sample efficient, robust to train-inference engine discrepancies, and naturally extends to multi-task training with out-of-distribution generalization. Compared to Claude 4.6 and GPT 5.2, KARL is Pareto-optimal on KARLBench across cost-quality and latency-quality trade-offs, including tasks that were out-of-distribution during training. With sufficient test-time compute, it surpasses the strongest closed models. These results show that tailored synthetic data in combination with multi-task reinforcement learning enables cost-efficient and high-performing knowledge agents for grounded reasoning.

URL PDF HTML 收藏
2602.20543 2026-02-25 cs.CV

Beyond Human Performance: A Vision-Language Multi-Agent Approach for Quality Control in Pharmaceutical Manufacturing

超越人类表现:一种视觉-语言多智能体方法用于制药制造中的质量控制

Subhra Jyoti Mandal, Lara Rachidi, Puneet Jain, Matthieu Duvinage, Sander W. Timmer

机构 * GSK, Enterprise AI(葛兰素史克、企业人工智能) Databricks

AI总结 本文提出一种结合深度学习与视觉-语言模型的多智能体框架,用于提高制药制造中菌落形成单位检测的准确性和效率,实现高质量的质量控制。

详情
AI中文摘要

菌落形成单位(CFU)检测在制药制造中至关重要,是环境监测计划的关键组成部分,并确保符合严格的质量标准。手动计数是劳动密集型且容易出错的,而深度学习(DL)方法虽然准确,但仍易受样本质量变化和伪影的影响。在我们之前基于CNN的框架(Beznik等人,2020)基础上,我们评估了YOLOv5、YOLOv7和YOLOv8用于CFU检测;然而,这些方法仅实现了97.08%的准确率,无法满足制药级要求。一个在GSK的超过50,000个培养皿图像数据集上训练的定制Detectron2模型实现了99%的检测率,误报率为2%,误报率为0.6%。尽管验证准确率高,但Detectron2在异常案例上表现下降,包括受污染的板、塑料伪影或光学清晰度差的板。为了解决这一问题,我们开发了结合DL与视觉-语言模型(VLMs)的多智能体框架。VLM代理首先将板分类为有效或无效。对于有效的样本,DL和VLM代理分别独立估计菌落计数。当预测结果在5%以内一致时,结果会自动记录在Postgres和SAP中;否则,样本将送交专家审查。专家反馈使系统能够持续重新训练和自我改进。初步基于DL的自动化在疫苗制造现场将人类验证减少了50%。随着VLM的整合,这一比例增加到了85%,带来了显著的操作节省。所提出的系统为微生物质量控制提供了可扩展、可审计且符合监管要求的解决方案,推动了生物制药生产中的自动化发展。

英文摘要

Colony-forming unit (CFU) detection is critical in pharmaceutical manufacturing, serving as a key component of Environmental Monitoring programs and ensuring compliance with stringent quality standards. Manual counting is labor-intensive and error-prone, while deep learning (DL) approaches, though accurate, remain vulnerable to sample quality variations and artifacts. Building on our earlier CNN-based framework (Beznik et al., 2020), we evaluated YOLOv5, YOLOv7, and YOLOv8 for CFU detection; however, these achieved only 97.08 percent accuracy, insufficient for pharmaceutical-grade requirements. A custom Detectron2 model trained on GSK's dataset of over 50,000 Petri dish images achieved 99 percent detection rate with 2 percent false positives and 0.6 percent false negatives. Despite high validation accuracy, Detectron2 performance degrades on outlier cases including contaminated plates, plastic artifacts, or poor optical clarity. To address this, we developed a multi-agent framework combining DL with vision-language models (VLMs). The VLM agent first classifies plates as valid or invalid. For valid samples, both DL and VLM agents independently estimate colony counts. When predictions align within 5 percent, results are automatically recorded in Postgres and SAP; otherwise, samples are routed for expert review. Expert feedback enables continuous retraining and self-improvement. Initial DL-based automation reduced human verification by 50 percent across vaccine manufacturing sites. With VLM integration, this increased to 85 percent, delivering significant operational savings. The proposed system provides a scalable, auditable, and regulation-ready solution for microbiological quality control, advancing automation in biopharmaceutical production.

URL PDF HTML 收藏
2509.03310 2026-01-13 cs.AI cs.SE

app.build: A Production Framework for Scaling Agentic Prompt-to-App Generation with Environment Scaffolding

Evgenii Kniazev, Arseny Kravchenko, Igor Rekun, James Broadhead, Nikita Shamgunov, Pranav Sah, Pratik Nichite, Ivan Yamshchikov

机构 * Databricks THWS University of Applied Sciences Würzburg-Schweinfurt (CAIRO)(THWS应用科学大学沃尔夫斯堡-施维林(CAIRO))

详情
英文摘要

We present app.build (https://github.com/neondatabase/appdotbuild-agent), an open-source framework that improves LLM-based application generation through systematic validation and structured environments. Our approach combines multi-layered validation pipelines, stack-specific orchestration, and model-agnostic architecture, implemented across three reference stacks. Through evaluation on 30 generation tasks, we demonstrate that comprehensive validation achieves 73.3% viability rate with 30% reaching perfect quality scores, while open-weights models achieve 80.8% of closed-model performance when provided structured environments. The open-source framework has been adopted by the community, with over 3,000 applications generated to date. This work demonstrates that scaling reliable AI agents requires scaling environments, not just models -- providing empirical insights and complete reference implementations for production-oriented agent systems.

URL PDF HTML 收藏
2401.13650 2025-12-09 eess.IV cs.CV

Tyche: Stochastic In-Context Learning for Medical Image Segmentation

Marianne Rakic, Hallee E. Wong, Jose Javier Gonzalez Ortiz, Beth Cimini, John Guttag, Adrian V. Dalca

机构 * CSAIL MIT(MIT计算机科学与人工智能实验室) MIT Broad Institute(MITBroad研究所) MGH(麻省总医院) MosaicML DataBricks MIT HMS, MGH(哈佛医学院、麻省总医院)

Comments Accepted at IEEE / CVF Computer Vision and Pattern Recognition Conference (CVPR) 2024 as a highlight. Code available at https://github.com/mariannerakic/tyche

详情
英文摘要

Existing learning-based solutions to medical image segmentation have two important shortcomings. First, for most new segmentation task, a new model has to be trained or fine-tuned. This requires extensive resources and machine learning expertise, and is therefore often infeasible for medical researchers and clinicians. Second, most existing segmentation methods produce a single deterministic segmentation mask for a given image. In practice however, there is often considerable uncertainty about what constitutes the correct segmentation, and different expert annotators will often segment the same image differently. We tackle both of these problems with Tyche, a model that uses a context set to generate stochastic predictions for previously unseen tasks without the need to retrain. Tyche differs from other in-context segmentation methods in two important ways. (1) We introduce a novel convolution block architecture that enables interactions among predictions. (2) We introduce in-context test-time augmentation, a new mechanism to provide prediction stochasticity. When combined with appropriate model design and loss functions, Tyche can predict a set of plausible diverse segmentation candidates for new or unseen medical images and segmentation tasks without the need to retrain.

URL PDF HTML 收藏
2510.14919 2025-10-17 cs.CL cs.AI cs.LG

Predicting Task Performance with Context-aware Scaling Laws

Kyle Montgomery, David Park, Jianhong Tu, Michael Bendersky, Beliz Gunel, Dawn Song, Chenguang Wang

机构 * UC Santa Cruz(加州大学圣克ruz分校) Washington University in St. Louis(华盛顿大学圣路易斯分校) Databricks(Databricks公司) Google DeepMind(谷歌深Mind) UC Berkeley(加州大学伯克利分校)

详情
英文摘要

Scaling laws have transformed our understanding of large language models by linking upstream metrics like cross-entropy loss to design factors such as model size, training data, and compute. However, these conventional laws fail to capture downstream task performance, where context plays a critical role. In this work, we propose a straightforward, interpretable framework that jointly models downstream performance as a function of the training compute and the provided context. We empirically validate our framework by fitting it on the observed downstream performance of extended-context variants of Llama-2-7B and Llama-2-13B across 65,500 unique instances spanning three tasks: arithmetic reasoning, common sense reasoning, and machine translation. Our results demonstrate that our framework accurately models in-distribution downstream performance, generalizes across three orders of magnitude in training compute, and reliably extrapolates performance as the amount of context increases. These findings offer valuable insights into the interplay between training compute and context utilization, providing guidance for designing more efficient long-context LLMs for diverse downstream tasks. Our code is available at https://github.com/wang-research-lab/context-scaling.

URL PDF HTML 收藏
2510.11823 2025-10-15 cs.CR cs.AI

BlackIce: A Containerized Red Teaming Toolkit for AI Security Testing

Caelin Kaplan, Alexander Warnecke, Neil Archibald

机构 * Databricks

详情
英文摘要

AI models are being increasingly integrated into real-world systems, raising significant concerns about their safety and security. Consequently, AI red teaming has become essential for organizations to proactively identify and address vulnerabilities before they can be exploited by adversaries. While numerous AI red teaming tools currently exist, practitioners face challenges in selecting the most appropriate tools from a rapidly expanding landscape, as well as managing complex and frequently conflicting software dependencies across isolated projects. Given these challenges and the relatively small number of organizations with dedicated AI red teams, there is a strong need to lower barriers to entry and establish a standardized environment that simplifies the setup and execution of comprehensive AI model assessments. Inspired by Kali Linux's role in traditional penetration testing, we introduce BlackIce, an open-source containerized toolkit designed for red teaming Large Language Models (LLMs) and classical machine learning (ML) models. BlackIce provides a reproducible, version-pinned Docker image that bundles 14 carefully selected open-source tools for Responsible AI and Security testing, all accessible via a unified command-line interface. With this setup, initiating red team assessments is as straightforward as launching a container, either locally or using a cloud platform. Additionally, the image's modular architecture facilitates community-driven extensions, allowing users to easily adapt or expand the toolkit as new threats emerge. In this paper, we describe the architecture of the container image, the process used for selecting tools, and the types of evaluations they support.

URL PDF HTML 收藏
2412.15058 2025-09-03 cs.CV cs.LG eess.IV

MultiverSeg: Scalable Interactive Segmentation of Biomedical Imaging Datasets with In-Context Guidance

Hallee E. Wong, Jose Javier Gonzalez Ortiz, John Guttag, Adrian V. Dalca

机构 * MIT CSAIL(麻省理工学院计算机科学与人工智能实验室) MGH(麻省总医院) Databricks(Databricks公司) MGH,HMS(麻省总医院,哈佛医学院)

Comments Accepted by ICCV 2025. Project Website: https://multiverseg.csail.mit.edu Keywords: interactive segmentation, in-context learning, medical image analysis, biomedical imaging, image annotation, visual prompting

详情
英文摘要

Medical researchers and clinicians often need to perform novel segmentation tasks on a set of related images. Existing methods for segmenting a new dataset are either interactive, requiring substantial human effort for each image, or require an existing set of previously labeled images. We introduce a system, MultiverSeg, that enables practitioners to rapidly segment an entire new dataset without requiring access to any existing labeled data from that task or domain. Along with the image to segment, the model takes user interactions such as clicks, bounding boxes or scribbles as input, and predicts a segmentation. As the user segments more images, those images and segmentations become additional inputs to the model, providing context. As the context set of labeled images grows, the number of interactions required to segment each new image decreases. We demonstrate that MultiverSeg enables users to interactively segment new datasets efficiently, by amortizing the number of interactions per image to achieve an accurate segmentation. Compared to using a state-of-the-art interactive segmentation method, MultiverSeg reduced the total number of clicks by 36% and scribble steps by 25% to achieve 90% Dice on sets of images from unseen tasks. We release code and model weights at https://multiverseg.csail.mit.edu

URL PDF HTML 收藏
2508.17400 2025-08-26 cs.LG cs.AI cs.IR

Retrieval Capabilities of Large Language Models Scale with Pretraining FLOPs

Jacob Portes, Connor Jennings, Erica Ji Yuen, Sasha Doubov, Michael Carbin

机构 * Databricks Mosaic Research(Databricks Mosaic研究)

Comments 15 pages, 4 figures

详情
英文摘要

How does retrieval performance scale with pretraining FLOPs? We benchmark retrieval performance across LLM model sizes from 125 million parameters to 7 billion parameters pretrained on datasets ranging from 1 billion tokens to more than 2 trillion tokens. We find that retrieval performance on zero-shot BEIR tasks predictably scales with LLM size, training duration, and estimated FLOPs. We also show that In-Context Learning scores are strongly correlated with retrieval scores across retrieval tasks. Finally, we highlight the implications this has for the development of LLM-based retrievers.

URL PDF HTML 收藏