Problem
Off-the-shelf evals often barely correlate with performance on a team's own LLM task. They are also not discriminative enough to gate a release, so weeks go into evals that still cannot say how the feature is doing.
Example from the article: Voiceflow's eval harness for intent classification caught a 10% performance drop when they upgraded from gpt-3.5-turbo-0301 to gpt-3.5-turbo-1106.
Solution in brief
Reduce each task to a binary or scored decision and judge it with metrics that discriminate. Use recall, precision, ROC-AUC and class score distributions for classification, a finetuned natural language inference (NLI) model for factual consistency in summaries, and chrF, BLEURT, COMET and COMETKiwi for translation. Test copyright and toxicity with adversarial prompts, and set the bar by the risk of the application.
Questions this case answers
- How to choose automated metrics for a generative text task that separate good outputs from bad ones sharply enough to set a production threshold
- How to detect unsupported claims in generated text when no reference answer exists and few labels are available
- How to evaluate an LLM classification or extraction feature well enough to pick a production threshold?
- How to measure hallucination (factual inconsistency) in LLM summaries without gold reference summaries?
Tools and methods
- Recall, precision, ROC-AUC, PR-AUC — classification and extraction quality across thresholds
- Separation of score distributions — checks whether a usable threshold exists
- NLI model (T5 or BART based) — factual consistency of a summary against its source
- Reward model on human preferences — learned relevance score for summaries
- chrF, BLEURT, COMET, COMETKiwi — translation quality, with or without a reference
- HELM-style prompts — copyright regurgitation and toxicity tests
- Active learning — picks which examples to label next
Google or a one-time email code. No password.