Abstract
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.
Introduction
As Large Language Models (LLMs) are integrated into increasingly complex workflows, the limitations of traditional evaluation methods have become apparent. Static benchmarks like MMLU or SuperGLUE serve as valuable snapshots, but they are susceptible to data leakage and quickly become outdated as model capabilities advance. Furthermore, existing automated probing techniques often focus on finding individual "bugs"—isolated instances where a model fails—without providing a systematic understanding of the underlying causes. This case-centric approach lacks the diagnostic depth required for principled model improvement.
ProbeLLM addresses these challenges by shifting the focus from finding isolated failures to discovering failure modes: recurring, interpretable patterns of model weakness. By treating the search for weaknesses as a structured exploration problem, ProbeLLM provides a more comprehensive and actionable map of a model's limitations.
The ProbeLLM Framework
The core of ProbeLLM is a hierarchical search strategy that treats weakness discovery as a Monte Carlo Tree Search (MCTS) problem. This approach allows for a principled allocation of a fixed "probing budget," balancing the need to explore new topical areas with the need to deeply investigate known failure regions.
Hierarchical Search Strategy
The framework operates across two distinct levels of search:
- MACRO Exploration: This level focuses on topical diversity. By clustering existing failure points, the system identifies under-represented regions in the input space and instructs the generator to explore entirely new domains.
- MICRO Refinement: Once a promising failure region is identified, the system performs local refinements. By perturbing specific entities or attributes within a successful test case, ProbeLLM "densifies" the evidence to find the exact boundaries where the model's performance breaks down.
Tool-Augmented Generation and Verification
To ensure that discovered failures are genuine and not the result of "evaluation noise" (e.g., ambiguous prompts or incorrect ground truths), ProbeLLM employs a tool-augmented generator. The system utilizes web search and Python execution environments to verify facts and calculate precise answers for every generated test case. This grounding in external tools ensures that the resulting failure data is reliable and verifiable.
Synthesizing Failure Modes
Raw failure cases are consolidated into interpretable failure modes through a two-step process. First, failure-aware embeddings combine the problem description with a characterization of the model's specific error to cluster similar failure types. Second, boundary-aware induction uses an LLM to analyze the contrast between "central failures" and nearby "verified non-failures." This contrastive analysis allows the system to generate concise, natural language descriptions of the failure mode, such as "Multi-hop Knowledge Chain Failures" or "Financial Instrument Confusion."
Empirical Evaluation
ProbeLLM was evaluated across 12 state-of-the-art target models, including GPT-4o, Claude 3.5, and Llama 3.1, using five major benchmarks (MMLU, SuperGLUE, MBPP, HellaSwag, and TruthfulQA) as initial seeds.
Key Results
- Higher Yield and Granularity: ProbeLLM consistently identified a significantly higher number of failure clusters compared to static benchmarks and prior automated methods. For instance, on Llama-3.1-8b, it discovered 22 distinct failure clusters with an 80% error rate, far exceeding the granularity of the original seed datasets.
- High Data Quality: Human evaluation confirmed the reliability of the framework, with generated questions rated as 93.6% answerable and 96.4% unambiguous.
- Actionable Insights: The study demonstrated that the discovered failure modes are diagnostically useful. Fine-tuning models on a small set of samples (150–200) targeting specific discovered failure modes led to significant performance gains in those areas without compromising general benchmark performance.
Conclusion
ProbeLLM represents a shift toward principled, automated diagnosis of LLM failures. By moving from case-centric probing to the discovery of structured failure modes, the framework provides developers with a clearer understanding of model boundaries. While currently focused on verifiable tasks, future work will explore extending this hierarchical search approach to more subjective and open-ended domains, further closing the gap between model deployment and robust evaluation.
Summary updated