HCC+: Hyperbolic Guarding for Certified Attention Retrieval
Abstract
We study the Lipschitz stability of attention retrieval in hyperbolic spaces. Existing methods lack deterministic guarantees on attention-weight preservation under finite-precision representations. We introduce HCC+, a theoretical framework exploiting three properties of the Poincaré ball: exponential volume growth enabling query-independent boundary truncation; logarithmic covering radius of hyperbolic 1-centers enabling dimension-independent critical-key identification; and a packing bound with constants independent of the embedding dimension. We prove two deterministic guarantees: for exact retrieval, the per-layer attention deviation is bounded by 10% of its ideal value; for soft attention, the total variation distance decays as , the rate of finite-sample variance. As a consequence of the guarding mechanism, the framework achieves a storage reduction factor of relative to FP16. We provide the first deterministic, query-independent retrieval certificate in non-Euclidean geometry.
Figures & tables
| Component | Factor | Cumulative |
|---|---|---|
| FP16 baseline | 1.0 | – |
| Boundary truncation | 1.18 | 1.18 |
| CKG + HPQ (keys) | 7.2 | 8.5 |
| SAVC (values) | 2.13 | 18.1 |
| ECPP (entropy coding) | 1.25 | 22.6 |
Attention Mechanisms
Attention mechanisms let neural networks weight information from other tokens or regions according to relevance, enabling context-dependent processing.
See all 517 papers