Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Yixin, Dong, Qingxiu, Sui, Zhifang
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914293391294464
author Yang, Yixin
Dong, Qingxiu
Sui, Zhifang
author_facet Yang, Yixin
Dong, Qingxiu
Sui, Zhifang
contents Sampling-based decoding underlies complex reasoning in large language models (LLMs), where decoding strategies critically shape model behavior. Temperature- and truncation-based methods reshape the next-token distribution through global probability reweighting or thresholding to balance the quality-diversity tradeoff. However, they operate solely on token probabilities, ignoring fine-grained relationships among tokens in the embedding space. We uncover a novel phenomenon, embedding-space crowding, where the next-token distribution concentrates its probability mass on geometrically close tokens in the embedding space. We quantify crowding at multiple granularities and find a statistical association with reasoning success in mathematical problem solving. Motivated by this finding, we propose CraEG, a plug-and-play sampling method that mitigates crowding through geometry-guided reweighting. CraEG is training-free, single-pass, and compatible with standard sampling strategies. Experiments on multiple models and benchmarks demonstrate improved generation performance, with gains in robustness and diversity metrics.
format Preprint
id arxiv_https___arxiv_org_abs_2601_22536
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoning
Yang, Yixin
Dong, Qingxiu
Sui, Zhifang
Artificial Intelligence
Sampling-based decoding underlies complex reasoning in large language models (LLMs), where decoding strategies critically shape model behavior. Temperature- and truncation-based methods reshape the next-token distribution through global probability reweighting or thresholding to balance the quality-diversity tradeoff. However, they operate solely on token probabilities, ignoring fine-grained relationships among tokens in the embedding space. We uncover a novel phenomenon, embedding-space crowding, where the next-token distribution concentrates its probability mass on geometrically close tokens in the embedding space. We quantify crowding at multiple granularities and find a statistical association with reasoning success in mathematical problem solving. Motivated by this finding, we propose CraEG, a plug-and-play sampling method that mitigates crowding through geometry-guided reweighting. CraEG is training-free, single-pass, and compatible with standard sampling strategies. Experiments on multiple models and benchmarks demonstrate improved generation performance, with gains in robustness and diversity metrics.
title Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoning
topic Artificial Intelligence
url https://arxiv.org/abs/2601.22536