arXiv:2611.04479cs.AINov 2026

Manuscript Offprint

arXiv:2611.04479

A Parametric Linear Conic Projection for Structured Sparse Attention

Michel Barlaud, Clement Genninasca, Maxime Zanella, Benoit Macq, Benoit Legat

Abstract

Structured sparsity has become a fundamental ingredient for scaling modern Transformer and Large Language Model (LLM) architectures, where dense attention matrices remain one of the primary bottlenecks in both memory footprint and computational cost. While many existing approaches rely on heuristic pruning or fixed sparse attention patterns, they generally lack a principled geometric formulation and strong optimization guarantees.

In this paper, we introduce the Cone Alignment Index (CAI), a scale-invariant sparsity measure associated with a Lorentz-cone geometry. We provide a probabilistic analysis of the distribution of the CAI score, including a general theorem and explicit corollaries for Gaussian and uniform distributions. As a consequence, we show that, in the high-sparsity regime, the probability that the samples lie within the convex cone tends to one. Building upon this formulation, we derive two complementary projections: the Parametric Linear Conic Projection (PLCP), an efficient closed-form approximation, and the Parametric Euclidean Conic Projection (PECP), the exact Euclidean projection onto the cone boundary.

Our analysis establishes several fundamental theoretical properties. We prove that PLCP and PECP are collinear, differ only by a positive radial scaling factor, and induce exactly the same sparsity threshold, thereby preserving an identical active support. Furthermore, we derive a support-identification theorem showing that, for any prescribed sparsity level l<nl < n, the number of coefficients discarded at each iteration is theoretically controlled.

These results lead to a simple and scalable two-stage algorithm. First, the active support is identified through a provably correct thresholding rule. Second, the final projection is obtained by a closed-form support-aware extrapolation coefficient, yielding an efficient bilevel projection algorithm whose computational complexity is essentially linear in the active support size.

Building on this theoretical foundation, we develop a bilevel PLCP framework for structured matrix sparsification. The proposed method naturally generates hardware-friendly structured sparsity patterns, including row-wise, column-wise, and diagonal masks, making it particularly well suited for accelerating Transformer attention mechanisms.

Experiments on large synthetic matrices and Transformer attention layers validate both the theoretical and practical advantages of the proposed approach. On GPUs, PLCP achieves a computational complexity comparable to structured pruning while providing up to a quadratic speed-up over GSP-Hybrid. On GLUE and SuperGLUE benchmarks, PLCP reaches up to 90% attention sparsity with only minor accuracy degradation, consistently outperforming GSP, structured pruning, and fixed sparse-attention architectures such as BigBird at high sparsity levels.

Beyond sparse attention, the proposed framework provides a general geometric and optimization-based methodology for structured matrix sparsification, opening promising directions toward scalable, hardware-aware, and energy-efficient deep learning.

1 State of the art of neural network sparsification

References (55)