T-ReX: Learning Tile-Reuse Indexes for Structured Model Compression

Haoyi Yang, Simon Kohaut, Zihan Ye, Devendra Singh Dhami, Kristian KerstingNeurIPS 2026

TL;DR

Instead of simply deleting redundant parameters in large language models, T-REX (Tile-Reuse Index) compresses models by finding similar $n \times n$ blocks of weights ("tiles") and reusing them via a lightweight lookup index. It unifies structured pruning and weight sharing into a single mathematical framework, shrinking the model's memory footprint while preserving much more capability than standard pruning—without needing custom hardware kernels or architectural changes.

What Problem Does This Paper Address?

Large Language Models (LLMs) are remarkably capable, but their massive memory footprints make them tough to deploy outside of data centers—say, on autonomous robots or consumer GPUs.

For years, a go-to solution for shrinking models has been pruning: finding weights that don't matter much and setting them to zero or deleting them outright. However, pruning sits on an uncomfortable seesaw:

  • Fine-grained (unstructured) pruning removes individual weights with minimal accuracy loss, but creates irregular, swiss-cheese matrices that GPUs struggle to accelerate or compress cleanly.
  • Coarse-grained (structured) pruning chops out entire rows, attention heads, or blocks to guarantee real memory savings, but often lobotomizes the model in the process.

More importantly, standard pruning assumes the only thing you can do with a redundant parameter is map it to zero. It completely ignores the fact that surviving weights might look strikingly similar to one another. What if, instead of throwing parameters away, we recycled them?

Methods

The authors introduce T-REX, a post-training compression method that treats contiguous $n \times n$ blocks of a weight matrix (defaulting to $4 \times 4$ tiles) as potentially interchangeable—or fungible—building blocks.

Figure 1: T-REX model compression via tile-matching: By systematically analyzing the fungibility of contiguous parameters in a pretrained model (tile) based on their similarity and output behavior, T-REX produces compressed models that stick close to the original’s performance and allow for effective post-training. From left to right: tiles are scored (Eq. 3), greedily reused or pruned (Algorithm 1), stored as a tile pool with a reuse index, and rebuilt into the dense weight for a standard GEMM at inference (Sec. 3.3).

Here is how the pipeline works:

  1. Partitioning: Weight matrices in linear layers are sliced into non-overlapping $n \times n$ tiles and grouped into local sub-groups (e.g., 1024 tiles) to keep the search space manageable.
  2. Fungibility Scoring: How do you know if Tile $i$ can safely stand in for Tile $j$? Looking at weight similarity alone isn't enough; if Tile $j$ gets multiplied by huge input activations, even a tiny weight difference will blow up the layer's output. Using a single forward pass of calibration data, T-REX scores pairs using an upper bound on output perturbation: the Frobenius norm of the difference between the two tiles, scaled by the expected norm of the target tile's input activations ($\|\mathbf{W}_i - \mathbf{W}_j\|_F \cdot \mathbb{E}[\|\mathbf{x}_j\|]$).
  3. The Virtual Zero Tile: In a neat mathematical unification, the authors introduce a virtual all-zero tile ($\mathbf{W}_0 = \mathbf{0}$) into the candidate pool. If a tile is already close to zero, its best match is $\mathbf{W}_0$, and it gets pruned. Otherwise, it gets redirected to a nearby surviving tile.
  4. Greedy Indexing & On-the-Fly Inference: A greedy algorithm matches and discards target tiles with the lowest replacement cost until hitting a target compression budget. What’s saved to disk and GPU RAM is a tile pool of surviving weights and a compact reuse index of pointers. At inference time, T-REX reconstructs one dense weight matrix at a time right before standard matrix multiplication (GEMM), then immediately frees it—meaning peak memory stays low and no custom sparse kernels are needed.
Geometric view showing how T-REX combines zero-centered pruning with multi-center weight reuse

Datasets

No new datasets are introduced. The authors use standard open benchmarks on Qwen3-8B and Qwen3-14B:

  • Calibration & Post-Training: C4 (128 samples for one-shot compression calibration; a subset for 1-epoch LoRA fine-tuning).
  • Evaluation: WikiText-2 (for language modeling perplexity) and five zero-shot reasoning/commonsense benchmarks via the LM Evaluation Harness: PIQA, WinoGrande, HellaSwag, ARC-Easy, and ARC-Challenge.

Key Insights and Ideas

  • Pruning is just a degenerate case of clustering: Geometrically, standard pruning forces every removed weight block to collapse into a single cluster center at the origin ($\mathbf{0}$). T-REX simply allows multiple cluster centers chosen directly from the model's existing weights.
  • Fewer unique weights, better brains: Because T-REX has to pay a tiny memory tax to store the 16-bit reuse index ($1/n^2$ of the original footprint), hitting a 20% total memory reduction actually requires deleting more weights than pure dimension-slicing baselines. Yet, redirecting tiles preserves so much functional structure that T-REX still beats those baselines despite having fewer unique parameters.
  • Reuse is a superior launchpad for fine-tuning: When you apply LoRA post-training with the reuse index frozen, T-REX recovers lost accuracy dramatically better than a pure pruning variant (T-REX-P), showing that weight sharing preserves a healthier optimization landscape than zeroing out blocks.

Key Results

Across 20% and 30% total memory compression budgets, T-REX consistently outperforms structured pruning baselines (LLM-Pruner, SliceGPT, BlockPruner, and MultiPruner):

  • Superior Loss Preservation: On Qwen3-8B at 20% compression, T-REX achieves 61.85% average benchmark accuracy (vs. 55.93%–59.64% for baselines) and a WikiText-2 perplexity of 14.39 (vs. 16.78–31.63), while using only 6.12B effective weights compared to the baselines' ~6.5B. At 30% compression on Qwen3-14B, T-REX maintains 61.14% accuracy (vs. 51.09%–54.98% for baselines).
  • Reuse vs. Pruning Ablation: Stripping out reuse (T-REX-P, where only the zero tile is allowed) causes Qwen3-8B's perplexity at 30% compression to skyrocket from 26.28 to 607.34, proving tile redirection does the heavy lifting.
  • Post-Training Recovery: One epoch of LoRA fine-tuning (T-REX(FT)) brings 20%-compressed Qwen3-8B from 61.85% back up to 67.62% average accuracy (closing in on the uncompressed 71.53%), with perplexity matching the original dense model (9.85 vs. 9.90).
  • Memory vs. Latency Trade-off: At 20% compression on an A100 GPU, T-REX cuts resident weight memory from 16.38 GB to 13.10 GB and peak inference memory by 17%. Because layers are rebuilt on the fly, T-REX trades speed for space: adding 6% latency during compute-bound prompt prefill, and 43% latency during memory-bound token decoding.

Limitations and Future Work

  • No Inference Speedup (Yet): Unlike dimension-shrinking pruners that make matrices physically smaller, T-REX reconstructs full dense matrices before multiplication, adding latency overhead (especially during token decoding). Writing custom GPU kernels (à la FlashAttention) that fuse tile lookup directly into the GEMM operation could mask or eliminate this cost.
  • Uniform Granularity: T-REX currently uses the same $n \times n$ tile size everywhere. Future versions could adaptively assign finer tiles to sensitive layers and coarser tiles to forgiving ones.
  • Architecture & Task Sensitivity: Compression gains depend on how naturally redundant a given model family's tiles are, and optimal tiling strategies may look very different for image generation versus complex reasoning.

Summary updated

Abstract

The rapid proliferation of large-scale machine learning models, such as LLMs, has driven remarkable progress across application domains. Nevertheless, their scale comes with significant deployment challenges and inherent redundancies that remain open challenges to this day. To this end, we propose the Tile-Reuse Index (T-ReX), a structured model compression method that identifies and indexes reusable, contiguous parameter groups (tiles) across a model's architecture. By learning a compact set of matching tiles, we compress the model's memory footprint while preserving its performance. Furthermore, by reconstructing dense layers on the fly at inference time, T-ReX compressed models remain efficient at runtime. In our experiments, we show that T-ReX outperforms existing compression methods across benchmarks by most closely matching the original model's performance. We furthermore show how post-training on top of T-ReX enables small footprint models to recover most of the performance loss introduced by compression.
BibTeX
@inproceedings{yang2026t,
  author = {Haoyi Yang and Simon Kohaut and Zihan Ye and Devendra Singh Dhami and Kristian Kersting},
  title = {{T-ReX: Learning Tile-Reuse Indexes for Structured Model Compression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=WPzHvuYvOo},
}
Figure