AI
SANE framework automates testing for LLM judges with scorer-specific validation methods
A new agent-based approach automatically generates tailored test recipes to verify that language model judges score reliably across different evaluation scenarios.
As language models increasingly serve as automated judges for benchmarking, model selection, and training data curation, ensuring their reliability has become critical. The decisions these AI systems make only matter when they respond consistently to changes that should affect their ratings. Researchers have introduced SANE, an automated framework designed to test whether individual LLM judges behave as intended.
The Problem with Current Testing Methods#
Existing testing approaches rely on human-created perturbation recipes—modifications to inputs designed to produce known changes in judge scores. While some systems combine hand-authored recipes with synthetic test generation, they typically assume fixed perturbation patterns and predefined scorer types. This approach leaves a significant gap: it misses the unique behavioral characteristics that different scorers might exhibit.
How SANE Works#
SANE takes a different approach by using an agent-based pipeline that captures the specific requirements each scorer should follow. The framework operates in stages:
- Identifying capabilities: Given a scorer's specification, code, and sample inputs, SANE first maps what that particular scorer can evaluate
- Generating custom recipes: The system automatically creates perturbation strategies and expected scoring relationships tailored to each scorer
- Validating results: SANE then checks whether generated recipes align with the scorer's intended behavior and whether test cases actually implement those recipes correctly
Because SANE builds a recipe inventory unique to each scorer, the library of validated test families expands as more scorers are added to the system.
Results Across Multiple Domains#
Testing SANE across five different evaluation domains showed substantial improvements over the Judge Reliability Harness (JRH), an existing testing framework. SANE produced 3.7 times more validated test families while maintaining comparable overall validity. Notably, SANE detected scorer problems in domains like professionalism and toxicity assessment where JRH found none.
On faithfulness evaluation specifically, SANE demonstrated strong alignment with human judgment. When its test suite scores were used to rank 11 different judge models, the results matched human-labeled FaithBench performance with a Spearman correlation of 0.852—compared to JRH's 0.100.

