ProbeLLM:自动化的大语言模型故障原则性诊断
ProbeLLM: Automating Principled Diagnosis of LLM Failures
AI总结:
提出ProbeLLM框架,通过分层蒙特卡洛树搜索在全局探索与局部细化间分配预算,结合工具增强生成与验证,将故障发现从孤立案例提升为结构化故障模式,揭示更广泛、清晰、细粒度的故障景观。
摘要:
理解大语言模型(LLM)如何以及为何失败正成为一个核心挑战,因为模型快速演进而静态评估滞后。虽然动态测试生成已实现自动化探测,但现有方法常发现孤立的失败案例,缺乏对探索的原则性控制,且对模型弱点的底层结构洞察有限。我们提出ProbeLLM,一个基准无关的自动化探测框架,将弱点发现从个体失败提升到结构化故障模式。ProbeLLM将探测形式化为分层蒙特卡洛树搜索,在新故障区域的全局探索与重复错误模式的局部细化之间明确分配有限的探测预算。通过将探测限制在可验证的测试用例,并利用工具增强生成与验证,ProbeLLM将故障发现建立在可靠证据之上。发现的失败进一步通过失败感知嵌入和边界感知归纳整合为可解释的故障模式。在多种基准和LLM上,ProbeLLM揭示了比静态基准和先前自动化方法更广泛、更清晰、更细粒度的故障景观,支持从以案例为中心的评估向原则性弱点发现的转变。
英文摘要:
Understanding how and why large language models (LLMs) fail is becoming a central challenge as models rapidly evolve and static evaluations fall behind. While automated probing has been enabled by dynamic test generation, existing approaches often discover isolated failure cases, lack principled control over exploration, and provide limited insight into the underlying structure of model weaknesses. We propose ProbeLLM, a benchmark-agnostic automated probing framework that elevates weakness discovery from individual failures to structured failure modes. ProbeLLM formulates probing as a hierarchical Monte Carlo Tree Search, explicitly allocating limited probing budgets between global exploration of new failure regions and local refinement of recurring error patterns. By restricting probing to verifiable test cases and leveraging tool-augmented generation and verification, ProbeLLM grounds failure discovery in reliable evidence. Discovered failures are further consolidated into interpretable failure modes via failure-aware embeddings and boundary-aware induction. Across diverse benchmarks and LLMs, ProbeLLM reveals substantially broader, cleaner, and more fine-grained failure landscapes than static benchmarks and prior automated methods, supporting a shift from case-centric evaluation toward principled weakness discovery.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。