Constrained Maximum Entropy Contiguous Aggregations
arXiv:2608.25533
2026
Architecture
1 ideas extracted · analyzed Aug 29, 2026
What the math gives to ML
This paper provides a discrete optimization problem over ordered partitions of a probability vector: aggregate consecutive masses into a fixed number of bins while making the resulting distribution's entropy as large as possible without exceeding a budget. The transferable asset is the monotonicity of entropy under contiguous merging, together with an explicit approximation-gap bound based on the order statistics of the original probabilities. A direct neural-network use is entropy-budgeted contiguous pooling of sequence tokens or key/value states, where attention mass determines the partition and the pooled representation preserves sequence order. This can turn a heuristic token-merging rule into a controllable compression mechanism with an interpretable entropy constraint.
Ideas from this paper
Audited (legacy)
2026
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