TopoQuant: Topological Framework to Characterize Behavioral Shifts in Quantized Large Language Models
Baha Rababah, Shahzeb Qamar, Lorenz Sparrenberg, Rafet Sifa, Murat Kantarcioglu, Carson K. Leung, Cuneyt Gurcan Akcora
Key points
From the paper's conclusion- We present TopoQuant, a topological framework that uses topological data analysis (TDA) to quantify structural drift in self-attention weights and relate it to behavioral changes in quantized LLMs.
Abstract
Post-training quantization (PTQ) reduces the com putational cost of large language models (LLMs), but it can introduce internal structural and behavioral changes that are not captured by traditional metrics such as accuracy and per plexity. We present TopoQuant, a topological framework that uses topological data analysis (TDA) to quantify structural drift in self-attention weights and relate it to behavioral changes in quantized LLMs. Across four LLM families and multiple quantization levels, we show that topological drift remains stable at moderate compression levels but increases sharply below 4 bit precision, closely tracking declines in attention agreement. Our results reveal a strong relationship between topological drift and attention agreement, indicating that structural changes in model parameters closely reflect behavioral degradation under quantization. We further demonstrate that topological features can accurately predict attention consistency using lightweight machine learning models, achieving R2 scores of up to 0.85. Predicting attention agreement enables efficient assessment of be havioral consistency in quantized LLMs, allowing quantization induced degradation to be detected without running expensive downstream tasks. The results indicate that topological drift pro vides an efficient early-warning signal for quantization-induced degradation and can help identify safe compression limits without extensive downstream evaluation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PRISM a diagnostic framework for parametric recall degradation in quantized large language modelsDiscover Computing · 2026
- Perplexity Cost Understates What Activation Quantisation BreaksarXiv · 2026
- TempQuant: Learning Adaptive Temperatures for Quantized Language ModelsarXiv · 2026
- Let the Gate Decide: Per-Lookup Precision for Quantized Conditional Memory in LLMsarXiv · 2026
- Different Tasks, Different Timesteps: Temporal Task-Aware Quantization for Diffusion Language ModelsarXiv · 2026
- RoleQ: Role-Aligned Scales for Converting Language Models to TernaryarXiv · 2026