TL;DR
This paper introduces Multi-Agent Verification (MAV), a new approach to improve Large Language Model (LLM) performance at test-time by using multiple verifier LLMs to evaluate candidate outputs. By scaling the number and diversity of verifiers, MAV significantly boosts accuracy, enabling weak-to-strong generalization and self-improvement without additional training.
What Problem Does This Paper Address?
As LLMs become more powerful, the cost of training them and the need for vast datasets are increasing. Researchers are exploring ways to improve LLM performance without scaling up model size or training data, focusing instead on "test-time compute" – essentially, giving models more time and resources to think during inference. A common strategy is "best-of-n sampling," where multiple outputs are generated, and a single verifier model selects the best one. However, this approach has limitations: verifiers (often reward models) are expensive to train and difficult to combine if they are heterogeneous (trained differently). This paper addresses the challenge of scaling test-time compute by proposing a new dimension: scaling the number and type of verifier models, rather than just the number of candidate outputs.
Methods
The core innovation is Multi-Agent Verification (MAV). Instead of a single verifier, MAV uses multiple "Aspect Verifiers" (AVs). These are off-the-shelf LLMs prompted to check specific aspects of a candidate output (e.g., mathematical correctness, logical soundness, factual accuracy) and provide a binary True/False approval.
Key aspects of the method include:
- Aspect Verifiers (AVs): These are pre-trained LLMs that don't require additional training. They are versatile and can be configured along three axes: base model, aspect to verify, and verification strategy (e.g., step-by-step, direct approval).
- BoN-MAV Algorithm: This is a simple implementation of MAV that combines best-of-n sampling with aspect verifiers. It works by:
- Sampling n candidate outputs from a generator LLM.
- Having m aspect verifiers evaluate each candidate output.
- Aggregating the binary approvals (simple voting) to get a score for each candidate.
- Selecting the candidate with the highest aggregated score.
- Verifier Engineering: A process to select the most effective subset of aspect verifiers for a specific domain, optimizing performance.
Datasets
The paper evaluates its approach on four standard benchmarks:
- MATH: A dataset of competition-level math problems.
- MMLU-Pro: An enhanced version of the MMLU benchmark, focusing on more challenging reasoning questions.
- GPQA (diamond): A subset of graduate-level multiple-choice questions in science.
- HumanEval: A benchmark for evaluating code generation.
Key Insights and Ideas
- Scaling Verifiers is a New Dimension: The most significant insight is that increasing the number and diversity of verifiers is a powerful, orthogonal way to improve LLM performance at test-time, complementing the existing approach of increasing candidate outputs.
- Aspect Verifiers are Flexible and Scalable: Using off-the-shelf LLMs as aspect verifiers, prompted to check specific facets of an output, bypasses the need for expensive reward model training and allows for easy combination of diverse verification signals.
- Weak-to-Strong Generalization: Even when "weak" verifiers (smaller or less capable LLMs) are used to verify outputs from "strong" generator LLMs, MAV can still significantly improve performance. This suggests that diverse perspectives can compensate for individual verifier weaknesses.
- Self-Improvement is Possible: The same LLM can be used to both generate outputs and act as aspect verifiers, leading to substantial improvements without external supervision.
- Diversity Matters: Combining diverse verifiers (different base models, aspects, strategies) generally outperforms using multiple instances of the same verifier.
Key Results
- Improved Accuracy: BoN-MAV consistently outperforms self-consistency and often outperforms reward model verification across various domains and generator LLMs. For example, on MATH, BoN-MAV achieved up to a 10% performance gain over baselines when scaling verifiers.
- Scaling Benefits: Performance generally improves as the number of verifiers increases, with gains of up to 10% for large LLMs and 20% for smaller models.
- Weak-to-Strong Generalization: Strong generator LLMs showed substantial improvements when verified by weaker aspect verifiers.
- Self-Improvement: Significant improvements were observed when LLMs verified their own outputs, with GPT-40-mini showing +7% on MATH and +8% on GPQA diamond.
- Scaling to 256 Outputs: When scaling up to 256 candidate outputs, BoN-MAV continued to improve while baselines plateaued, demonstrating its ability to raise the performance ceiling.
Limitations and Future Work
- Verifier Pool Size: The current work uses a limited pool of 20 aspect verifiers based on only two base LLMs. Future work could explore scaling to many more verifiers and systematically searching for optimal verification strategies.
- Aggregation Methods: The current simple voting mechanism doesn't account for verifier confidence or allow verifiers to interact. More sophisticated methods like confidence-weighted voting or verifier debate could be explored.
- Dynamic Verifier Selection: The current approach uses a static set of verifiers for a domain. Dynamically selecting verifiers based on the question or adaptively choosing additional verifiers could be beneficial.
- Multiple Generators: The current BoN-MAV uses a single generator LLM. Exploring sampling from multiple generators in addition to multiple verifiers could further enhance performance.
- Finetuning: The paper did not investigate finetuning the generator LLM on outputs selected by MAV. This could be a promising direction for further improvement.
- Reinforcement Learning: Directly using RL to train generators to maximize scores from multiple verifiers, and training verifiers to accurately verify, is suggested for future work.
- Stronger Reward Models: The comparison with reward models used a strong open-source model, but it was still less powerful than some generator LLMs. Comparing against even stronger reward models would be valuable.
Summary updated