TopoQuant:用拓扑数据分析量化大模型压缩后的行为变化
TopoQuant: Topological Framework to Characterize Behavioral Shifts in Quantized Large Language Models
一篇关于量化压缩的新论文:4 个 LLM 家族实验表明 4 bit 是分水岭,用拓扑特征就能提前预测退化,R2 达 0.85,不用再跑下游测试了。
研究团队提出 TopoQuant 框架,用拓扑数据分析(TDA)测量量化后 self-attention 权重的结构漂移,并将其与行为退化关联。在 4 个 LLM 家族、多种量化位宽上的实验显示:中等压缩下拓扑漂移保持稳定,但低于 4 bit 精度后急剧上升,同时 attention agreement 同步下降。实验测得拓扑漂移与 attention agreement 之间存在强相关,用轻量级机器学习模型即可基于拓扑特征预测 attention 一致性,R2 得分最高 0.85。这样无需跑昂贵的下游任务就能检测量化退化,为确定安全压缩边界提供早期预警信号。
TopoQuant: Topological Framework to Characterize Behavioral Shifts in Quantized Large Language Models
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.