Embedding Trajectory for Out-of-Distribution Detection in Mathematical Reasoning
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Real-world data deviating from the independent and identically distributed (i.i.d.) assumption of in-distribution training data poses security threats to deep networks, thus advancing out-of-distribution (OOD) detection algorithms. Detection methods in generative language models (GLMs) mainly focus on uncertainty estimation and embedding distance measurement, with the latter proven to be most effective in traditional linguistic tasks like summarization and translation. However, another complex generative scenario mathematical reasoning poses significant challenges to embedding-based methods due to its high-density feature of output spaces, but this feature causes larger discrepancies in the embedding shift trajectory between different samples in latent spaces. Hence, we propose a trajectory-based method TV score, which uses trajectory volatility for OOD detection in mathematical reasoning. Experiments show that our method outperforms all traditional algorithms on GLMs under mathematical reasoning scenarios and can be extended to more applications with high-density features in output spaces, such as multiple-choice questions.
Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 44 of its 62 references that are in the map. First posted on arXiv 22 May 2024.
Builds on
44 of 62 references.
Closest ancestors · 1
Same direction, newest first
Other references · 43
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
31 more
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 401
- 2016Solving General Arithmetic Word Problemscited by 360
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
- 2024TrustLLM: Trustworthiness in Large Language Modelscited by 285
- 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 210
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 197
- 2015Training Very Deep Networkscited by 173
- 2017Multiplicative Normalizing Flows for Variational Bayesian Neural Networkscited by 157
- 2018Flipout: Efficient Pseudo-Independent Weight Perturbations on Mini-Batchescited by 133
- 2024Benchmarking Benchmark Leakage in Large Language Modelscited by 106
- 2021Shifts: A Dataset of Real Distributional Shift Across Multiple Large-Scale Taskscited by 101
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
- 2023Element-aware Summarization with Large Language Models: Expert-aligned Evaluation and Chain-of-Thought Methodcited by 76
- 2018Improving Reconstruction Autoencoder Out-of-distribution Detection with Mahalanobis Distancecited by 74
- 2023Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agentscited by 72
- 2020Wat zei je? Detecting Out-of-Distribution Translations with Variational Transformerscited by 31
- 2023A Survey on Out-of-Distribution Detection in NLPcited by 31
- 2024Case-Based or Rule-Based: How Do Transformers Do the Math?cited by 26
- 2019Detecting Out-of-Distribution Inputs in Deep Neural Networks Using an Early-Layer Outputcited by 20
- 2023Meta-Reasoning: Semantics-Symbol Deconstruction for Large Language Modelscited by 11
- 2024MIDGARD: Self-Consistency Using Minimum Description Length for Structured Commonsense Reasoningcited by 3
Built on by
Citing papers per year: 2024: 2; 2025: 9; 2026: 7.
18 papers.
Sort:
By area:
- 2025Sampling-Efficient Test-Time Scaling: Self-Estimating the Best-of-N Sampling in Early Decodingcited by 63
- 2024Latent Space Chain-of-Embedding Enables Output-free LLM Self-Evaluationcited by 57
- 2025PolyMath: Evaluating Mathematical Reasoning in Multilingual Contextscited by 56
- 2025Consistent Paths Lead to Truth: Self-Rewarding Reinforcement Learning for LLM Reasoningcited by 46
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 26
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2025GEM: Gaussian Embedding Modeling for Out-of-Distribution Detection in GUI Agentscited by 8
- 2025Building Trustworthy AI for Materials Discovery: From Autonomous Laboratories to Z-scorescited by 2
- 2025Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFNcited by 1
- 2026On the Overscaling Curse of Parallel Thinking: System Efficacy Contradicts Sample Efficiencycited by 1
- 2026AP-OOD: Attention Pooling for Out-of-Distribution Detectioncited by 1
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationesecited by 0
6 more
- 2025CONFIDE: Hallucination Assessment for Reliable Biomolecular Structure Prediction and Designcited by 0
- 2026Useful Features, Backward Scores: OOD in Language-Model Trajectoriescited by 0
- 2026Autonomous Drift Learning in Data Streams: A Unified Perspectivecited by 0
- 2026Micro-Defects Expose Macro-Fakes: Detecting AI-Generated Images via Local Distributional Shiftscited by 0
- 2026QueST: Persistent Queries as Semantic Monitors for Drift Suppression in Long-Horizon Trackingcited by 0
- 2026Understanding LLM Behavior in Multi-Target Cross-Lingual Summarizationcited by 0
- 2026Understanding LLM Behavior in Multi-Target Cross-Lingual Summarization31 May 2026
- 2026QueST: Persistent Queries as Semantic Monitors for Drift Suppression in Long-Horizon Tracking10 May 2026
- 2026Micro-Defects Expose Macro-Fakes: Detecting AI-Generated Images via Local Distributional Shifts10 May 2026
- 2026Autonomous Drift Learning in Data Streams: A Unified Perspective2 May 2026
- 2026Useful Features, Backward Scores: OOD in Language-Model Trajectories30 Apr 2026
- 2026AP-OOD: Attention Pooling for Out-of-Distribution Detection5 Feb 2026
- 2026On the Overscaling Curse of Parallel Thinking: System Efficacy Contradicts Sample Efficiency29 Jan 2026
- 2025Building Trustworthy AI for Materials Discovery: From Autonomous Laboratories to Z-scores30 Nov 2025
- 2025CONFIDE: Hallucination Assessment for Reliable Biomolecular Structure Prediction and Design20 Nov 2025
- 2025The Geometry of Reasoning: Flowing Logics in Representation Space10 Oct 2025
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationese16 Jul 2025
- 2025Consistent Paths Lead to Truth: Self-Rewarding Reinforcement Learning for LLM Reasoning10 Jun 2025
6 more
- 2025Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFN22 May 2025
- 2025GEM: Gaussian Embedding Modeling for Out-of-Distribution Detection in GUI Agents19 May 2025
- 2025PolyMath: Evaluating Mathematical Reasoning in Multilingual Contexts25 Apr 2025
- 2025Sampling-Efficient Test-Time Scaling: Self-Estimating the Best-of-N Sampling in Early Decoding3 Mar 2025
- 2024Latent Space Chain-of-Embedding Enables Output-free LLM Self-Evaluation17 Oct 2024
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advances18 Sep 2024
- 2025Sampling-Efficient Test-Time Scaling: Self-Estimating the Best-of-N Sampling in Early Decodingcited by 63
- 2025PolyMath: Evaluating Mathematical Reasoning in Multilingual Contextscited by 56
- 2025Consistent Paths Lead to Truth: Self-Rewarding Reinforcement Learning for LLM Reasoningcited by 46
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2025Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFNcited by 1
- 2026On the Overscaling Curse of Parallel Thinking: System Efficacy Contradicts Sample Efficiencycited by 1
- 2026On the Overscaling Curse of Parallel Thinking: System Efficacy Contradicts Sample Efficiency29 Jan 2026
- 2025The Geometry of Reasoning: Flowing Logics in Representation Space10 Oct 2025
- 2025Consistent Paths Lead to Truth: Self-Rewarding Reinforcement Learning for LLM Reasoning10 Jun 2025
- 2025Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFN22 May 2025
- 2025PolyMath: Evaluating Mathematical Reasoning in Multilingual Contexts25 Apr 2025
- 2025Sampling-Efficient Test-Time Scaling: Self-Estimating the Best-of-N Sampling in Early Decoding3 Mar 2025
- 2024Latent Space Chain-of-Embedding Enables Output-free LLM Self-Evaluationcited by 57
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 26
- 2025Building Trustworthy AI for Materials Discovery: From Autonomous Laboratories to Z-scorescited by 2
- 2026AP-OOD: Attention Pooling for Out-of-Distribution Detectioncited by 1
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationesecited by 0
- 2025CONFIDE: Hallucination Assessment for Reliable Biomolecular Structure Prediction and Designcited by 0
- 2026Useful Features, Backward Scores: OOD in Language-Model Trajectoriescited by 0
- 2026Autonomous Drift Learning in Data Streams: A Unified Perspectivecited by 0
- 2026Micro-Defects Expose Macro-Fakes: Detecting AI-Generated Images via Local Distributional Shiftscited by 0
- 2026QueST: Persistent Queries as Semantic Monitors for Drift Suppression in Long-Horizon Trackingcited by 0
- 2026Understanding LLM Behavior in Multi-Target Cross-Lingual Summarizationcited by 0
- 2026Understanding LLM Behavior in Multi-Target Cross-Lingual Summarization31 May 2026
- 2026QueST: Persistent Queries as Semantic Monitors for Drift Suppression in Long-Horizon Tracking10 May 2026
- 2026Micro-Defects Expose Macro-Fakes: Detecting AI-Generated Images via Local Distributional Shifts10 May 2026
- 2026Autonomous Drift Learning in Data Streams: A Unified Perspective2 May 2026
- 2026Useful Features, Backward Scores: OOD in Language-Model Trajectories30 Apr 2026
- 2026AP-OOD: Attention Pooling for Out-of-Distribution Detection5 Feb 2026
- 2025Building Trustworthy AI for Materials Discovery: From Autonomous Laboratories to Z-scores30 Nov 2025
- 2025CONFIDE: Hallucination Assessment for Reliable Biomolecular Structure Prediction and Design20 Nov 2025
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationese16 Jul 2025
- 2024Latent Space Chain-of-Embedding Enables Output-free LLM Self-Evaluation17 Oct 2024
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advances18 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2022Multi-Level Knowledge Distillation for Out-of-Distribution Detection in Text
- 2024Out-of-distribution generalization via composition: a lens through induction heads in Transformers
- 2026Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoning
- 2026LLM Reasoning as Trajectories: Step-Specific Representation Geometry and Correctness Signals
- 2022Achieving and Understanding Out-of-Distribution Generalization in Systematic Reasoning in Small-Scale Transformers
- 2026Beyond Rejection Sampling: Trajectory Fusion for Scaling Mathematical Reasoning
- 2026A Measure-Theoretic Analysis of Reasoning: Structural Generalization and Approximation Limits
- 2026MathNet: a Global Multimodal Benchmark for Mathematical Reasoning and Retrieval