TL;DR
Evaluating open-ended LLM responses is notoriously difficult because traditional metrics often penalize valid paraphrases while rewarding confident contradictions. This paper introduces CAP (Context-Aware Precision), an evaluation framework that leverages bidirectional Natural Language Inference (NLI) over question-conditioned statements to score answers across a fine-grained, 8-class correctness taxonomy. CAP significantly outperforms traditional lexical and embedding-based metrics, ensuring that evaluation scores drop predictably and monotonically as answer quality degrades.
What Problem Does This Paper Address?
When evaluating Open-Ended Question Answering (Open QA), standard metrics like BLEU, ROUGE, or BERTScore fall short. Because they rely on surface-level text overlap or symmetric embedding similarities, they struggle to distinguish between a perfectly correct paraphrase and an incorrect answer that happens to share similar words. For example, a metric might give a high score to a flatly contradictory statement just because it contains the same tokens as the ground truth.
While using LLMs as judges offers a more flexible alternative, it is computationally expensive at scale, sensitive to prompt engineering, and prone to systemic verbosity and position biases. The authors address this gap by developing a reproducible, lightweight framework that evaluates free-form answers based on their actual semantic alignment with a reference "gold" answer.
Methods
The authors propose Context-Aware Precision (CAP), a reference-based metric that operates via three main steps:
- Semantic Correctness Taxonomy: The framework establishes an ordered, eight-class taxonomy to categorize answer quality, moving from fully correct to completely incorrect: Exact $\approx$ Equivalent $\approx$ Alternative Correct $\ge$ Overinclusive Valid $>$ Partial $>$ Overinclusive Invalid $>$ Invalid $\ge$ Contradictory.
- Statement Generation: Instead of feeding raw question-answer pairs directly into an evaluation model, they convert the
[question, answer]pair into a single declarative statement. This step is handled by anmT5-smallmodel fine-tuned specifically for QA-to-statement reformulation. - Bidirectional NLI Scoring: The generated statements for the gold answer ($s_g$) and the predicted answer ($s_p$) are evaluated using a pretrained cross-encoder (
nli-deberta-v3-large). CAP computes a directional score based on entailment and neutral probabilities: $$D(s_g \rightarrow s_p) = P_{\text{entailment}}(s_g \rightarrow s_p) + \lambda P_{\text{neutral}}(s_g \rightarrow s_p)$$ The final CAP score is a convex combination of the forward direction (measuring compatibility) and the reverse direction (measuring completeness), optimized with hyperparameters $\alpha = 0.85$ and $\lambda = 0.30$.
Datasets
The paper introduces two new datasets to train and benchmark the framework:
- CAP-Correctness: An 8.8k-example evaluation benchmark derived from OpenBookQA, AI2 ARC, and MMLU. It contains questions, gold answers, candidate answers, and fine-grained correctness labels generated via an LLM-assisted pipeline and validated by human annotators.
- CAP-Statements: An 11k-example dataset consisting of
[question, answer, statement]triples used to train and validate the sequence-to-sequence statement reformulation model.
Key Insights and Ideas
- The Monotonicity Protocol: The authors argue that a high-quality evaluation metric must respect a monotonicity property—meaning its mean score should consistently decrease as the evaluated answers become taxonomically less correct.
- Directionality is Essential: Open QA evaluation is inherently asymmetric. A partial answer is logically entailed by the gold answer, but it does not entail the gold answer. Symmetric embedding metrics collapse this distinction, whereas CAP’s bidirectional NLI formulation explicitly preserves it.
- Separating Elaboration from Hallucination: Unlike binary or coarse metrics, the taxonomy explicitly separates overinclusive-valid answers (correct answers with extra accurate info) from overinclusive-invalid ones (correct answers contaminated with unsupported claims), which is crucial for evaluating verbose modern LLMs.
Key Results
- Superior Rank Alignment: CAP achieves a Spearman rank correlation of 60.37, vastly outperforming BLEU (10.95), BERTScore (16.10), and the learned metric COMET (26.88).
- Fewer Monotonicity Violations: Out of 25 strictly ordered class pairs, CAP incurs only 4 violations, compared to 9 for COMET and 11–14 for the other baselines.
- Real-World LLM Validation: When tested on zero-shot outputs from GPT-4o, Gemini 2.0 Flash, and Qwen3-8B-Instruct, CAP's class-mean scores closely mirrored human-assigned correctness labels, proving its external validity on actual model generations.
Limitations and Future Work
- The Partial/Overinclusive-Valid Inversion: Due to the heavy weighting on the forward entailment direction ($\alpha = 0.85$), CAP structurally scores partial answers higher than overinclusive-valid answers, violating the intended taxonomy order on this specific axis.
- Knowledge Gaps: CAP relies on the underlying NLI model's world knowledge. If an alternative correct answer requires niche facts, the NLI model might falsely flag it as neutral or contradictory.
- Context Bottlenecks: The statement generation step struggles with long-context inputs, where compressing multi-sentence context into a single declarative statement remains challenging.
- Future Directions: Promising extensions include splitting answers into atomic subcomponents to score entailment more granularly, upgrading to stronger NLI backbones, and porting the framework to multilingual settings.
Summary updated