[KongchangAI]
· 2 min read· 1,266 words

GeoGroup: A Training-Free Dictionary Sharing Framework That Breaks Through LLM Compression Bottlenecks

GeoGroup: A Training-Free Dictionary Sharing Framework That Breaks Through LLM Compression Bottlenecks

GeoGroup shares sparse dictionaries across arbitrary-sized groups while preserving activation geometry, achieving training-free, high-accuracy LLM compression.

GeoGroup is a training-free LLM compression framework that addresses the tension between sharing dictionaries and preserving each projection's input differences in cross-layer redundancy. It groups any number of projections to share a sparse dictionary, amortizing storage costs and freeing budget for richer sparse coefficients, while using a matrix-free preconditioned conjugate gradient solver to preserve each projection's activation geometry. Experiments on five models including Llama-3-8B and Qwen3.5-9B show 95.5% and 97.7% retention of dense seven-task accuracy with group size sixteen, improving 6.11 and 10.01 points over GeoPair; smaller models gain 5.23 to 10.18 points. Selective gate-up compression on Qwen3.8-27B is nearly lossless with a 1.13× decoding speedup.

Cross-layer redundancy offers huge potential for compressing large language models, but sharing representations across multiple projections while accounting for the different inputs each receives has always been a challenge. Existing methods either fit all members using pooled input statistics, which obscures differences between projections, or preserve projection-specific statistics while restricting sharing to pairs of projections. GeoGroup proposes a training-free framework that can share sparse dictionaries within groups of arbitrary size, while preserving each projection's activation geometry through a matrix-free preconditioned conjugate gradient solver.

GeoGroup paper title screenshot

Background: The Trade-offs of Cross-Layer Sharing

In the Transformer architecture, the projection matrices of attention layers and feed-forward networks (MLPs) contain substantial redundancy. Exploiting this redundancy for compression ideally allows multiple projections to share the same dictionary, reducing storage overhead. But the problem is that different projections receive inputs with significantly different distributions—the input activation statistics of query projections and output projections are not the same. Forcing a unified set of pooled statistics to fit all projections blurs these differences and leads to accuracy degradation after compression.

GeoPair, the current state-of-the-art pairwise decomposition method, partially addresses this through pairwise sharing, but its sharing scope is limited and its storage allocation is not flexible enough. GeoGroup's core insight is that broader sharing can amortize the storage cost of the dictionary across more projections, freeing up storage space to accommodate richer sparse coefficients.

Sparse dictionaries and sparse coefficients: In the context of model compression, a sparse dictionary refers to a set of learnable basis vectors (atoms), and each projection matrix is approximated as "dictionary × sparse coefficient matrix." Sharing a dictionary means multiple projections reuse the same set of basis vectors and only need to store coefficients separately for each projection. The larger the dictionary and the sparser the coefficients, the higher the approximation accuracy usually is—but the higher the storage cost. The logic of grouped sharing is precisely to spread the dictionary cost across more projections, thereby allowing a larger dictionary and richer coefficients under the same total budget. This is the main source of GeoGroup's accuracy gains.

Activation geometry: This refers to the shape of the distribution formed by a layer's input activations in feature space, including covariance structure, principal directions, and scale differences. Different projections (such as Q, K, V, O, or gate/up/down) receive different activation distributions; decomposing with unified statistics is equivalent to ignoring these geometric differences, and reconstruction error is amplified on projections with larger distribution shift. Preserving each projection's activation geometry means weighting the decomposition according to the covariance of its respective input—this is also the motivation for GeoGroup's preconditioned solver.

Method: Grouped Sharing and Geometry Preservation

GeoGroup's design revolves around two key points: the grouping strategy and the preconditioned solver.

Grouped sharing of arbitrary size

Unlike methods that support only pairwise sharing, GeoGroup allows any number of projections to be grouped together and share the same sparse dictionary. The group size becomes a tunable hyperparameter. Through ablation experiments, the authors found that "consecutive grouping" combined with Jacobi preconditioning is an effective low-cost default configuration. Consecutive grouping means placing projections from adjacent layers in the same group, which aligns with the locality characteristic of cross-layer redundancy.

Matrix-free preconditioned conjugate gradient

To preserve each projection's activation geometry while sharing dictionaries, GeoGroup employs a matrix-free preconditioned conjugate gradient solver. This approach avoids explicitly constructing large matrices, reducing computation and storage overhead. Ablation experiments also show that pooled preconditioning can trade higher cost for further accuracy improvements.

Conjugate gradient (CG) and preconditioning: Conjugate gradient is an iterative algorithm for solving symmetric positive-definite linear systems without explicit inversion, making it suitable for large-scale problems. Preconditioning multiplies both sides of the original system by an approximate inverse matrix to reduce the condition number and accelerate iterative convergence. The choice of preconditioner directly affects convergence speed and solution quality: Jacobi preconditioning uses only diagonal information, with extremely low construction and storage costs; pooled preconditioning leverages aggregated statistics across projections to more accurately approximate the true geometry, but requires more computation and storage.

Matrix-free: This means the algorithm does not explicitly construct and store large matrices, but instead computes on demand through matrix-vector product operator forms. In dictionary learning, this means the solver only accesses the results of "dictionary acting on a vector" and "its transpose acting on a vector," with memory usage approximately linear rather than quadratic in the number of projections—making grouped sharing of arbitrary size feasible in engineering terms.

Experimental Results: Balancing Accuracy and Compression

GeoGroup was validated on multiple models, including Llama-3-8B, Qwen3.5-9B, Llama-3.2-1B, Phi-4, and Gemma-3-4B. At the nominal compression rate for attention layers and MLP projections, with a consecutive group size of sixteen, Llama-3-8B and Qwen3.5-9B retained 95.5% and 97.7% of the dense model's seven-task accuracy, respectively—improvements of 6.11 and 10.01 percentage points over GeoPair. On Llama-3.2-1B, Phi-4, and Gemma-3-4B, GeoGroup improved over GeoPair by 5.23, 6.84, and 10.18 percentage points, respectively, at the same nominal compression.

These data show that the storage reallocation brought by grouped sharing does translate into accuracy gains, and the advantage holds across a wide range of model sizes.

Nominal compression rate and CR: The nominal compression rate refers to the target compression ratio calculated based on parameter count or storage budget, which serves as the basis for configuring dictionary size and coefficient sparsity; the actual achieved compression ratio may deviate slightly due to grouping overhead. The CR 0.6 for Qwen3.8-27B in the text means compression to approximately 60% of the original model's size. Selective compression means applying decomposition only to some projections (such as gate-up) while keeping the rest dense, to avoid risk on accuracy-sensitive layers—this is also why accuracy is nearly lossless under this configuration while achieving a 1.13× decoding speedup.

Practical Deployment: Selective Compression and Acceleration

Beyond the main ablation models, GeoGroup also demonstrates practicality on larger models. Selective gate-up compression for Qwen3.8-27B at CR 0.6 achieves an average accuracy of 74.04%, compared with 74.37% for the dense model—nearly lossless. At the same time, full-model decoding speedup reaches 1.13×, demonstrating a usable trade-off between quality and speed.

This result shows that GeoGroup is not only a theoretical framework but also has practical deployment potential. Its training-free nature means it can be applied directly to existing models without additional fine-tuning costs.

Limitations and Outlook

GeoGroup's ablation experiments reveal the trade-off between grouping strategy and preconditioner choice: the low-cost default configuration suits resource-constrained scenarios, while pooled preconditioning targets scenarios pursuing higher accuracy. Future work may need to explore adaptive grouping strategies and extend sharing to more types of layers.

Overall, through scalable dictionary sharing and a geometry-preserving solver, GeoGroup provides a training-free, high-accuracy new path for LLM compression.

One-line Summary

GeoGroup shares sparse dictionaries across groups of arbitrary size while preserving activation geometry, enabling training-free high-accuracy LLM compression.

Paragraph Summary

GeoGroup is a training-free LLM compression framework that resolves the tension between "sharing dictionaries" and "preserving each input's differences" in cross-layer projection redundancy. It allows any number of projections to be grouped together to share a sparse dictionary, amortizing dictionary storage costs across more projections and freeing up budget for richer sparse coefficients; meanwhile, it uses a matrix-free preconditioned conjugate gradient solver to preserve each projection's activation geometry. Experiments validated on five models including Llama-3-8B and Qwen3.5-9B show that with a consecutive group size of sixteen, they retain 95.5% and 97.7% of the dense model's seven-task accuracy, respectively—improvements of 6.11 and 10.01 percentage points over GeoPair; smaller models also show gains of 5.23 to 10.18 percentage points. Selective gate-up compression on Qwen3.8-27B is nearly lossless and achieves a 1.13× decoding speedup.

#LLM compression#training-free#sparse dictionary sharing#activation geometry#GeoGroup#GeoPair#preconditioned conjugate gradient
Share:

Related articles