atlas

Research map / Large language models / Language, safety and interpretability

Correlation Dimension of Autoregressive Large Language Models

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes correlation dimension computed on next-token log-probability vectors as a fractal-geometric, inference-time metric for LLM perceived complexity, showing it tracks pretraining phases, hallucination, and degeneration.

Problem

Perplexity and standard local or global text metrics fail to capture long-range structural complexity of LLM-generated text, leaving behaviors such as repetition, incoherence, blandness, and hallucination poorly characterized even at low perplexity.

Approach

Treat the sequence of next-token log-probability vectors as a trajectory and compute its correlation dimension (scaling exponent of the correlation integral over recurrences), which is computable from logits already produced at inference, with fused CUDA kernels and vocabulary projection for efficiency.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
generate repetitive, incoherent, or bland responses instead of normal responsestexts evaluated with Falcon3-10B · Controlled degeneration responsescorrelation dimension: 5.04 -> 3.80; 5.04 -> 3.96; 5.04 -> 4.51Hurt
use perplexity to assess degeneration across typestexts evaluated with Falcon3-10B · Controlled degeneration responsesperplexity: 10.79 -> 1.25; 10.79 -> 13.24; 10.79 -> 4.24Mixed
use a model with greater robustness on random-name completionlanguage models · Random-name completion, input length n=512correlation dimension: 3.54 -> 8.89Helped
successfully recall names rather than hallucinate themmodels completing SEP process-theism · SEP process-theismcorrelation dimension: 3.56 -> 6.68; 3.56 -> 8.49Helped
limit context length to 32 tokens rather than use very short contextpretrained language models · SEP datasetcorrelation dimension: approximately 3 to about 8Helped
extend context beyond 32 tokenspretrained language models · SEP datasetcorrelation dimension: about 8 to around 6.5Mixed
use higher-order delayed embeddings instead of single-step log-probability vectors (ablation)correlation-dimension estimation · Text sequencescorrelation dimensionNo clear effect
reduce vocabulary dimension from 151643 to 10000 (ablation)correlation-dimension estimation with Qwen2.5-7B · SEP newton-philosophycorrelation dimension: 5.92 -> 5.81No clear effect
quantize the model with AWQ (ablation)Qwen2.5-32B-Instruct · SEP datasetmean correlation dimension: 5.86 -> 5.90; mean absolute change 0.14No clear effect
quantize the model with GPTQ (ablation)Qwen2.5-32B-Instruct · SEP datasetmean correlation dimension: 5.86 -> 5.93; mean absolute change 0.14No clear effect
fuse pairwise distance calculation with correlation counting in one CUDA kernelcorrelation-dimension computation · Sequence length 50,000; vector dimension 10,000speedup: 0.92x -> 1.83xHelped

Surprising findings

Limitations

Experimental setup

Datasets: Stanford Encyclopedia of Philosophy (SEP) 60 longest articles Project Gutenberg books in 8 languages Python, Java, C standard library source files Random English names list GPT-4o-generated degenerate responses to 20 questions

Benchmarks: SEP dataset HelloEval

Metrics: correlation dimension perplexity Spearman correlation Wilcoxon signed-rank p-value Rep-2

Baselines: Perplexity Zipf coefficient Heap coefficient Rep-N Distinct-N Self-BLEU BERTScore MAUVE HelloEval

Builds on: Takens embedding theorem FlashAttention GPTQ AWQ

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy