Heat-kernel context compression for transformer representations using graph diffusion

Introduction: Long contexts often contain geometrically redundant internal representations. Heat Kernel Context Compression (HKCC) is a training-free representation–compression method for transformer systems in which internal embeddings and attention logits can be modified. Materials and methods: Context representations are placed on a sparse similarity graph. The method uses the random-walk Laplacian throughout, while symmetric normalization appears only through an explicit similarity transform used for stable Chebyshev computation. Heat residuals select anchors, and omitted representations are merged into multiplicity-weighted representatives. Results: Corrected simulations with 340 unit-normalized vectors show that the random-walk heat kernel preserves row sums exactly and agrees with its similarity-transformed symmetric implementation to numerical precision. Across six controlled contexts, multiplicity-aware merging preserved approximately 0.99999 attention output cosine fidelity at 8% and 12% retention, whereas residual-only pruning degraded sharply. Anchor rules were effectively tied under this synthetic regime. Conclusions: HKCC is supported as a controlled proof of concept for representation–compression in self-hosted or otherwise modifiable transformer stacks. The current study does not establish savings for commercial text application programming interfaces (APIs), downstream task preservation, or universal superiority of heat residual anchors. The added utility of diffusion, real-model key/value and positional integration, and end-to-end prefill speedups remain unestablished.

Authors

Institutions

Publication Details

Journal
Academia AI and Applications
Published
2026-11-06
DOI
https://doi.org/10.20935/acadai8620
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Heat-kernel context compression for transformer representations using graph diffusion

Shashank Reddy Vadyala, Sai Nethra Betgeri
1 links
Academia AI and Applications
Advanced Neural Network Applications
article

Heat-kernel context compression for transformer representations using graph diffusion

Shashank Reddy Vadyala, Sai Nethra Betgeri
article en

Abstract

Introduction: Long contexts often contain geometrically redundant internal representations. Heat Kernel Context Compression (HKCC) is a training-free representation–compression method for transformer systems in which internal embeddings and attention logits can be modified. Materials and methods: Context representations are placed on a sparse similarity graph. The method uses the random-walk Laplacian throughout, while symmetric normalization appears only through an explicit similarity transform used for stable Chebyshev computation. Heat residuals select anchors, and omitted representations are merged into multiplicity-weighted representatives. Results: Corrected simulations with 340 unit-normalized vectors show that the random-walk heat kernel preserves row sums exactly and agrees with its similarity-transformed symmetric implementation to numerical precision. Across six controlled contexts, multiplicity-aware merging preserved approximately 0.99999 attention output cosine fidelity at 8% and 12% retention, whereas residual-only pruning degraded sharply. Anchor rules were effectively tied under this synthetic regime. Conclusions: HKCC is supported as a controlled proof of concept for representation–compression in self-hosted or otherwise modifiable transformer stacks. The current study does not establish savings for commercial text application programming interfaces (APIs), downstream task preservation, or universal superiority of heat residual anchors. The added utility of diffusion, real-model key/value and positional integration, and end-to-end prefill speedups remain unestablished.

Academia AI and ApplicationsVol. 2(4)
AT&T (United States) (US), University of Louisville (US)
Openalex Percentile: Top 22%
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon