mlsanityData to 14 Oct 2026

Useful Features, Backward Scores: OOD in Language-Model Trajectories

arXiv 2605.00269 ↗First posted 30 Apr 2026cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Out-of-distribution (OOD) detectors prioritize inputs for closer inspection. Yet features that distinguish input groups need not yield a useful anomaly ranking. We analyze this gap in language-model trajectories under text-length control and fixed score directions. On Spam development data, an input adaptation of D^2HScore falls from raw AUROC 0.919 to 0.530 after length matching. On length-matched, held-out HateSpeech inputs, the same features yield AUROC 0.644 for a labeled linear classifier but 0.444 for an ID-fitted distance score. ToxicChat shows the same contrast. Feature-selection and backbone controls retain the main reversal pattern. Frozen Civil Comments and TweetEval irony tests also reverse (0.467 and 0.435), extending the finding beyond toxicity. In these contrasts, anomalous groups have farther centers but tighter spread. A labeled, fixed-center feature-space intervention changes rankings: equalizing spread helps some tasks and harms others. OOD evaluation must check the chosen score's ranking even when its features distinguish the classes.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 25 references that are in the map. First posted on arXiv 30 Apr 2026.

Builds on

18 of 25 references.

References · 18

  1. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  2. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  3. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  4. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  5. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
  6. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 404
  7. 2023ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI Conversationcited by 231
  8. 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
  9. 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
  10. 2020Density of States Estimation for Out-of-Distribution Detectioncited by 74
  11. 2025Mahalanobis++: Improving OOD Detection via Feature Normalizationcited by 32
  12. 2025Revisiting Uncertainty Quantification Evaluation in Language Models: Spurious Interactions with Response Length Bias Resultscited by 21
6 more
  1. 2024Embedding Trajectory for Out-of-Distribution Detection in Mathematical Reasoningcited by 18
  2. 2024NLP-ADBench: NLP Anomaly Detection Benchmarkcited by 17
  3. 2025Efficient Hallucination Detection for LLMs Using Uncertainty-Aware Attention Headscited by 16
  4. 2025D2HScore: Reasoning-Aware Hallucination Detection via Semantic Breadth and Depth Analysis in LLMscited by 5
  5. 2025A Geometry-Based View of Mahalanobis OOD Detectioncited by 4
  6. 2026TrajGuard: Streaming Hidden-state Trajectory Detection for Decoding-time Jailbreak Defensecited by 4

Built on by

Not cited yet.