ML: Kv cache

Machine-learning ideas tagged Kv cache in the ML taxonomy of the Math2NN corpus.

35 ideas found

Unverified 2026

Effective-Rank Spectral Bottleneck

Use the paper's effective-rank and eigengap-dependent covariance estimation rates to construct a confidence-aware low-rank bottleneck for transformer activations or key/value tensors. The bottleneck is enabled only when the top-p empirical eigenspace can be estimated more accurately than the desired compression error; otherwise the layer remains full-rank.

Useful6/10
Difficulty5/10
Novelty5/10
Paper: Estimating eigenvectors and eigenspaces of covariance matrices: Optimal Bounds and Conditions for Consistency arXiv:2607.23964
✗ Failed on benchmark 2026

Neighborhood-separator attention

Construct a sparse token-interaction graph from attention affinities and recursively split it by removing the closed neighborhoods of a small set of separator tokens. Separator tokens retain global communication, while the resulting anti-adjacent components perform local attention independently, reducing quadratic attention and KV-cache costs. The induced Erdos-Pósa theorem supplies a structural diagnostic: graphs with few anti-adjacent long-cycle or theta packings should admit small…

Useful6/10
Difficulty7/10
Novelty8/10
Paper: Induced Erdős--Pósa property for long holes, long thetas, and beyond arXiv:2607.07697
✗ Mechanism failed 2026

Support-Scenario Attention Pruning

Turn attention weights into a Boolean support scenario and prune edges using local-surjectivity constraints rather than independently thresholding each row. Preserve at least one compatible continuation for every local window, then favor a strongly connected support graph so pruning removes redundant mixtures while maintaining a globally coherent sparse attention pattern.

Useful6/10
Difficulty5/10
Novelty7/10
Paper: Possibilistic collapse and extremality of simplicial distributions arXiv:2607.02754
Audited (legacy) 2026

Entropy-Budgeted Contiguous KV Pooling

Use the attention probability distribution over an ordered context to choose contiguous token groups whose pooled attention masses have entropy as close as possible to a prescribed upper budget R. Replace the corresponding key/value vectors by one weighted representative per group, preserving token order and reducing the KV-cache length from n to m. Unlike unconstrained token merging, the entropy constraint gives a direct control knob over how concentrated or diffuse the retained attention…

Useful6/10
Difficulty5/10
Novelty7/10
Paper: Constrained Maximum Entropy Contiguous Aggregations arXiv:2608.25533
△ Mechanism confirmed, baseline not beaten 2026

Biclique-free hierarchical attention

Replace dense token-to-token attention by a learned binary relation generated from a small number of hierarchical predicates, while rejecting masks that contain a fixed K_{t,t} biclique. The paper's incidence bound predicts near-linear active edges for these structured relations, giving sparse attention with a measurable worst-case complexity target rather than relying only on average sparsity.

Useful6/10
Difficulty6/10
Novelty6/10
Paper: Almost-linear Zarankiewicz bounds in $1$-semi-equational theories arXiv:2608.25464
Unverified 2026

VC-pattern attention compression

Convert attention scores into binary incidence set systems at one or several score thresholds, then group queries that induce the same sampled-key pattern. Compute the expensive key-value aggregation once per pattern and reuse it for all queries in the group. The method is exact for the thresholded routing component and approximates dense attention when queries have a small number of stable high-weight neighborhoods.

Useful5/10
Difficulty6/10
Novelty7/10
Paper: Isomorphism of tournaments with bounded VC dimension arXiv:2608.14486
Unverified 2026

Sharp BLO-based adaptive spike clipping

Use the sharp exponential tail bound to set a local clipping threshold from a desired exceedance probability. Instead of globally clipping activations at a fixed value or percentile, clip each local window at its minimum plus B log(e/delta), where delta is the tolerated fraction of clipped entries.

Useful5/10
Difficulty3/10
Novelty7/10
Paper: Sharp constants in the one-sided John-Nirenberg inequality for functions of bounded lower oscillation arXiv:2608.10892
Unverified 2026

Global-Shift Randomized Batching

Sample one batching aggressiveness parameter once per serving epoch and use it for all busy periods, instead of independently randomizing every batch. This globally coupled randomness preserves nested batching behavior while preventing a fixed traffic pattern from repeatedly aligning with a deterministic timeout.

Useful5/10
Difficulty3/10
Novelty7/10
Paper: Online Multi-Level Aggregation with Per-Batch Maximum Delay arXiv:2608.06796
Unverified 2026

Affine lattice latent quantizer

Replace coordinatewise rounding of activation or embedding vectors with nearest-point quantization in a learned full-rank lattice. Learn an affine transform that makes the empirical activation region more isotropic, while regularizing the lattice covering density so it does not become inefficient as dimension grows.

Useful5/10
Difficulty5/10
Novelty5/10
Paper: Nearly Sharp Bounds for Lattice Coverings by Convex Bodies arXiv:2607.28429
Unverified 2026

Flip-Order Local Reconfiguration

Use local split-fusion rewrites as a structured alternative to globally recomputing token clusters. A model proposes a small number of neighboring tree edits per input, accepts only valid edits that reduce a learned energy, and retains the previous hierarchy across layers or decoding steps.

Useful5/10
Difficulty5/10
Novelty6/10
Paper: Generalised flip order on the faces of nestohedra arXiv:2607.20132
Unverified 2026

Incremental Gray-code counter state

Use the one-edit Hamiltonian walk as an explicit state machine for counters in autoregressive models or world models. Instead of regenerating and re-embedding an entire numeric string after every increment, update only the digit that changes, or append the single leading digit at a block transition.

Useful5/10
Difficulty6/10
Novelty9/10
Paper: Variable-length Gray codes for the Natural Numbers arXiv:2607.16088