glue-robustness-eval
Stochastic CHAOS: Why Deterministic Inference Kills, and Distributional Variability Is the Heartbeat of Artifical Cognition — Joshi et al. (2026) (arXiv:2601.07239, 2026)
What this evaluates
This protocol evaluates whether language models memorize benchmark surface features or demonstrate true semantic robustness. It measures performance degradation when inputs are paraphrased, lexically/syntactically perturbed, or adversarially rewritten, contrasting deterministic greedy decoding with stochastic distributional evaluation.
Datasets
- GLUE (MNLI, QQP, QNLI, SST-2) — total ?; splits: orig (-1), para (-1), pert (-1), adv (-1); HF
glue
Metrics
GLUE robustness ratio (primary) — range: [0, 1]
- R_t^(d)(m) = (A_{t,para}^{(d)}(m) + A_{t,pert}^{(d)}(m) + A_{t,adv}^{(d)}(m)) / (3 * A_{t,orig}^{(d)}(m)), where A is the accuracy under decoding mode d on the respective dataset variant. Values range from 0 to 1 when variant performance does not exceed original performance.
Input / output format
Input: Natural-language task description with constrained answer format (e.g., options A/B/C), applied to original, paraphrased, perturbed, or adversarially rewritten GLUE examples.
Output: Single text completion per prompt. Deterministic mode yields one completion; stochastic mode yields K=10 independent completions. A label-extraction function phi maps each completion to a task label.
Scoring recipe
for each task t, model m, decoding mode d in [Det, Stoch]:
for each variant v in [orig, para, pert, adv]:
generate completions for D_t^v
extract labels phi(y_hat) for each completion
if d == Stoch: majority_label = mode(phi(y_hat_1)...phi(y_hat_K))
else: majority_label = phi(y_hat_det)
A_t_v = mean(majority_label == gold_label)
R = (A_orig_para + A_orig_pert + A_orig_adv) / (3 * A_orig_orig)
return R
Common pitfalls
- Reporting only deterministic accuracy hides distributional generalization; stochastic majority-vote often yields higher robustness scores.
- The robustness ratio assumes variant performance does not exceed original performance; if it does, R can exceed 1, complicating interpretation.
- Label extraction phi must be consistent across all variants; inconsistent parsing invalidates accuracy comparisons.
Evidence (verbatim from paper)
To isolate robustness rather than absolute accuracy, we define a GLUE robustness ratio for each triplet $(t,m,d)$: R_t^(d)(m) = (A_{t,para}^{(d)}(m) + A_{t,pert}^{(d)}(m) + A_{t,adv}^{(d)}(m)) / (3 A_{t,orig}^{(d)}(m)). By construction, R_t^(d)(m) \in [0,1] whenever the model performs no better on the variants than on the original split.
Citation
@misc{joshi2026stochasticchaos,
title={Stochastic CHAOS: Why Deterministic Inference Kills, and Distributional Variability Is the Heartbeat of Artifical Cognition},
author={Joshi et al. (2026)},
year={2026},
note={arXiv:2601.07239}
}
1---2name: glue-robustness-eval3description: This protocol evaluates whether language models memorize benchmark surface features or demonstrate true semantic robustness. It measures performance degradation when inputs are paraphrased, lexically/syntactically perturbed, or adversarially rewritten, contrasting deterministic greedy decoding with stochastic distributional evaluation. Use when the user wants to benchmark on GLUE (MNLI, QQP, QNLI, SST-2), or asks about evaluating this task. Reports GLUE robustness ratio.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/glue-robustness-eval6 skill_kind: dataset_eval7 source_arxiv: 2601.072398 bibtex_key: joshi2026stochasticchaos9 confidence: high10---1112# glue-robustness-eval1314> Stochastic CHAOS: Why Deterministic Inference Kills, and Distributional Variability Is the Heartbeat of Artifical Cognition — Joshi et al. (2026) (arXiv:2601.07239, 2026)1516## What this evaluates1718This protocol evaluates whether language models memorize benchmark surface features or demonstrate true semantic robustness. It measures performance degradation when inputs are paraphrased, lexically/syntactically perturbed, or adversarially rewritten, contrasting deterministic greedy decoding with stochastic distributional evaluation.1920## Datasets2122- **GLUE (MNLI, QQP, QNLI, SST-2)** — total ?; splits: orig (-1), para (-1), pert (-1), adv (-1); HF `glue`2324## Metrics2526- `GLUE robustness ratio` **(primary)** — range: [0, 1]27 - R_t^(d)(m) = (A_{t,para}^{(d)}(m) + A_{t,pert}^{(d)}(m) + A_{t,adv}^{(d)}(m)) / (3 * A_{t,orig}^{(d)}(m)), where A is the accuracy under decoding mode d on the respective dataset variant. Values range from 0 to 1 when variant performance does not exceed original performance.2829## Input / output format3031**Input**: Natural-language task description with constrained answer format (e.g., options A/B/C), applied to original, paraphrased, perturbed, or adversarially rewritten GLUE examples.3233**Output**: Single text completion per prompt. Deterministic mode yields one completion; stochastic mode yields K=10 independent completions. A label-extraction function phi maps each completion to a task label.3435## Scoring recipe3637```python38for each task t, model m, decoding mode d in [Det, Stoch]:39 for each variant v in [orig, para, pert, adv]:40 generate completions for D_t^v41 extract labels phi(y_hat) for each completion42 if d == Stoch: majority_label = mode(phi(y_hat_1)...phi(y_hat_K))43 else: majority_label = phi(y_hat_det)44 A_t_v = mean(majority_label == gold_label)45R = (A_orig_para + A_orig_pert + A_orig_adv) / (3 * A_orig_orig)46return R47```4849## Common pitfalls5051- Reporting only deterministic accuracy hides distributional generalization; stochastic majority-vote often yields higher robustness scores.52- The robustness ratio assumes variant performance does not exceed original performance; if it does, R can exceed 1, complicating interpretation.53- Label extraction phi must be consistent across all variants; inconsistent parsing invalidates accuracy comparisons.5455## Evidence (verbatim from paper)5657> To isolate robustness rather than absolute accuracy, we define a GLUE robustness ratio for each triplet $(t,m,d)$: R_t^(d)(m) = (A_{t,para}^{(d)}(m) + A_{t,pert}^{(d)}(m) + A_{t,adv}^{(d)}(m)) / (3 A_{t,orig}^{(d)}(m)). By construction, R_t^(d)(m) \in [0,1] whenever the model performs no better on the variants than on the original split.5859## Citation6061```bibtex62@misc{joshi2026stochasticchaos,63 title={Stochastic CHAOS: Why Deterministic Inference Kills, and Distributional Variability Is the Heartbeat of Artifical Cognition},64 author={Joshi et al. (2026)},65 year={2026},66 note={arXiv:2601.07239}67}68```6970- arXiv: 2601.07239