﻿# GLUE diagnostic data: AX examples are not the aggregate task score

Separate GLUE's diagnostic AX examples from its aggregate evaluation, inspect unavailable labels, and preserve task-specific metrics and NLI label maps.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/data-guide-glue-diagnostic-vs-score/
Language: en

## GLUE combines evaluation and diagnostic analysis

The original GLUE research introduces a collection of language-understanding tasks and a separately designed diagnostic set. The diagnostic component supports detailed analysis of linguistic behavior rather than serving as an extra randomly sampled population for the aggregate result.

That distinction matters when a dataset loader lists AX beside familiar task configurations. A shared loading interface does not imply an identical scoring role. Keep the benchmark definition separate from a tool's convenient catalog of downloadable configurations.

## AX exposes a natural-language-inference interface

The distributed card describes AX using premise and hypothesis fields and an inference label vocabulary. Its example also illustrates an unavailable-label sentinel in the test distribution. A field having a declared class vocabulary does not prove that usable reference labels accompany every downloaded row.

Inspect the actual release and evaluation access before calculating a local score. Sentinel values must not be treated as ordinary negative classes. A parser that accepts every integer can conceal missing ground truth rather than producing a valid measure of inference quality.

## Label maps belong to each configuration

Natural-language-inference tasks can share human-readable terms while using different numeric mappings or subsets of labels. The same catalog contains tasks whose entailment-related label conventions differ. Carry the class mapping with the task identity and reference artifact.

A proposed join audit examines decoded labels for selected examples before aggregation. Matching array lengths is insufficient: a consistent permutation of class indices can make a valid prediction file look like a severe model failure. Diagnose that interface error before interpreting linguistic weaknesses.

## A metric loader has its own supported set

The inspected Hugging Face GLUE metric accepts named task configurations and dispatches to task-specific measures, including classification scores and correlations. AX is not among that implementation's supported configuration names. Loading AX data therefore does not establish that the same metric entry point can score it.

Document the evaluator used for a diagnostic analysis. Reusing a convenient accuracy calculation without the intended references or slicing policy does not recreate the benchmark's analysis procedure. Keep any custom diagnostic result explicitly identified as a derivative evaluation.

## Diagnostic coverage is deliberately selected

Hand-crafted cases help reveal failures that an aggregate can hide, but their frequency should not be interpreted as the frequency of corresponding errors in production traffic. Nor does success on selected cases establish robust behavior for every paraphrase of a phenomenon.

This article reports no new GLUE result. A useful report identifies the task score vector, the aggregation definition and any separate diagnostic findings. Keeping these roles visible prevents an attractive combined number from absorbing data with a different purpose, reference-access condition or evaluation contract.

## Primary references

[GLUE original paper](https://arxiv.org/abs/1804.07461).

[NYU GLUE dataset card](https://huggingface.co/datasets/nyu-mll/glue).

[GLUE metric implementation](https://raw.githubusercontent.com/huggingface/evaluate/main/metrics/glue/glue.py).

Related explanations: [Evaluation population](/journal/document-level-data-split-leakage/); [Label and target mapping](/journal/cross-entropy-logits-target-indices/).
