TECHNOLOGY

OpenCompass extract_rate: nonempty fallback text can hide an extraction failure

In this article
THE QUICK TAKE

An extraction counter based on empty predictions does not prove that every nonempty value is a valid parsed answer.

Separate parse validity from nonempty output

A model can return fluent text that does not contain the answer format required by a benchmark. OpenCompass’s postprocessing guide explains how extraction diagnostics depend on the values exposed in evaluation details. Inspect that convention before treating a high extraction rate as proof of correct parsing. Nonempty text and a valid normalized answer are different properties, especially when a parser retains the original response after failing to find its expected pattern.

Inspect the fallback path

The guide describes a postprocessor that can return original text rather than an empty value when extraction fails. Such text can proceed to evaluation without being counted as an empty-prediction extraction failure. Preserve the raw response and extracted value for diagnostics. Decide deliberately how the benchmark should represent a missing answer, multiple candidate answers or unsupported formatting. A convenient fallback should not erase the distinction between successfully recognizing the required answer and merely retaining a usable string.

Verify evaluator detail semantics

The documented extraction counter reads prediction information in per-sample details, which depends on the convention between the postprocessor and evaluator. A custom evaluator can therefore change the diagnostic’s interpretation. The dataset guide separates reader, inference and evaluation configuration. Record the concrete postprocessor and evaluator pair, not just the dataset name. Inspect the detail fields generated by the installed implementation instead of assuming every evaluator reports identical extraction evidence.

Re-score fixed predictions to isolate parsing

OpenCompass separates saved predictions from scoring, allowing extraction changes to be evaluated without fresh application inference. The configuration reference provides the experiment setup. Keep the prediction population and references fixed when testing a parser revision. A higher accuracy after an extraction fix can be a legitimate measurement correction, but it is not evidence that the model’s generated answers improved. Preserve both results with their parsing definitions so the change remains explainable.

Test difficult output shapes explicitly

Use reviewed fixtures containing a valid answer, unrelated nonempty prose, an empty response and several possible answer markers. Inspect extracted values, per-sample details and the final correctness verdict. The guides to output transformation contracts and judge verdict parsing provide related controls. Accept the diagnostic when its counter matches the intended definition of successful extraction, preserving the difference between measuring parser coverage, measuring answer correctness and measuring the evaluated model’s underlying generation capability.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles