arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.06605cs.LG
收藏

需要多少次迭代才能突破限制?多轮LLM评估中的动态预算分配

Spend Where It Counts: Dynamic Budget Allocation for Multi-Turn LLM Evaluation

Department of Computer Science(计算机科学系);Technion, Israel(技术ion, 以色列);Departments of Electrical and Computer Engineering and of Computer Science(电气与计算机工程系和计算机科学系)

Shai Feldman, Yaniv Romano

AI总结:

本文提出DAPRO框架,通过动态预算分配在多轮LLM交互中提供事件发生时间的界限,解决静态方法效率低的问题,实验表明其在覆盖性和方差方面优于传统方法。

摘要:

评估和预测大型语言模型(LLMs)在多轮对话设置中的性能至关重要但计算成本高;关键事件——例如突破限制或代理成功完成任务——往往在多次交互后才出现。这些事件可能罕见,在任何可行的计算预算下可能未被观察到。最近的符合生存框架构建了可靠的下界预测界限(LPBs)以确定触发事件所需的迭代次数,但依赖静态预算分配,在多轮设置中效率低下。为了解决这个问题,我们引入了动态分配通过投影优化(DAPRO),这是第一个理论上有效的动态预算分配框架,用于在多轮LLM交互中界定时间到事件。我们证明DAPRO满足预算约束,并提供分布无关、有限样本覆盖保证,而无需假设先前符合生存方法中条件独立性之间的截断和事件时间。关键理论贡献是新的覆盖界,其规模与均截断权重的平方根而不是最坏情况权重相关,从而比先前工作提供更紧的保证。此外,DAPRO可用于在有限计算资源下获得无偏、低方差的总体评估指标估计,如突破率。全面实验在代理任务成功、对抗性突破、有毒内容生成和RAG幻觉使用LLM如Llama 3.1和Qwen 2.5上显示,DAPRO在覆盖性和方差方面优于静态基线,同时满足预算约束。

英文摘要:

Evaluating and predicting the performance of large language models (LLMs) in multi-turn conversational settings is critical yet computationally expensive; key events---e.g., jailbreaks or successful task completion by an agent---often emerge only after repeated interactions. These events might be rare and, under any feasible computational budget, remain unobserved. Recent conformal survival frameworks construct reliable lower predictive bounds (LPBs) on the number of iterations to trigger the event of interest, but rely on static budget allocation that prohibits adaptivity in multi-turn setups. To address this, we introduce Dynamic Allocation via PRojected Optimization (DAPRO), a theoretically valid dynamic budget allocation framework for bounding the time-to-event in multi-turn LLM interactions. We prove that DAPRO satisfies the expected budget constraint and provides distribution-free, finite-sample coverage guarantees without requiring the conditional independence between censoring and event times assumed by prior conformal survival approaches. A key theoretical contribution is a novel coverage bound that scales with the square root of the mean censoring weight over only a subset of the samples rather than the worst-case weight, yielding tighter guarantees than prior work. Furthermore, DAPRO can be employed to obtain unbiased estimates of population-level evaluation metrics, such as the jailbreak rate, under limited computing resources. Comprehensive experiments across agentic task success, LLM jailbreaks, toxic content generation, and RAG hallucinations demonstrate that DAPRO achieves coverage closer to the nominal level with lower variance than static baselines, while not exceeding the budget constraint in expectation. Project website: https://shai128.github.io/dapro/

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑