Sparsely Wired Mortal LLM Inference
Mincheol Park, Sunwoo Lee, Sukjin Lee, Wooram Yang, Yongmin Tai, Sang Joon Kim, Jaehoon Yu
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › Low-Rank LLM Quantization Compression · Type: new method · Keywords: sparse wiring, LLM inference, weight factorization, hardware-aware optimization, model compression
Summary
Moira sparsifies LLM weights into shiftable bases, achieving near-lossless performance with only about two bases per weight.
Explained to a 5-year-old
We want to make big computer brain models work faster. Instead of moving lots of tiny numbers around, we make the brain use simple building blocks that can be shifted. We pick only a few of these blocks to save space. This helps the brain stay smart while using less memory. It also uses less energy because the brain doesn't need to move as much data.
Explained to a 5-year-old, longer
Big computer brains called large language models need a lot of tiny numbers to work. Moving these numbers around uses a lot of energy and time. The researchers thought about making the brain stay in the hardware, like a mortal body. They discovered that weights could be broken into simple pieces that can be shifted easily. These pieces are called bases and can be combined to make any weight. However, using many bases would need too many connections, like too many wires. To solve this, they created a smart search that picks only a few bases while keeping the brain’s power. This search works like a budget, making sure the total number of connections stays low. The result is a model that still works almost as well as before but uses far fewer connections. It also acts like pruning, removing unnecessary parts, and like quantization, using fewer bits. All of this happens without having to retrain the model from scratch. This makes the big brain more efficient and opens the way for new kinds of computer hardware.
For a technical reader
Moira re-examines LLM inference by hardwiring weights into a small set of shiftable bases, eliminating the need to fetch full weight matrices. It uses a budgeted greedy search that treats wire count as a constrained optimization problem, effectively pruning and quantizing the model on the fly. The result is a compact representation that preserves accuracy while drastically reducing memory traffic. This approach can be integrated into existing inference pipelines to lower latency and power usage.
Problem
Optimizing LLM inference typically focuses on arithmetic simplification, but weight access remains a major source of data movement. Hardwiring weights into sparse bases reduces this cost, yet leads to a dramatic increase in required wiring, which must be controlled.
Method
The approach factorizes model weights into combinations of shiftable bases and rewires computation at the base level to expose redundancy. A budgeted greedy search controls the number of bases via a Lagrangian relaxation, effectively pruning and quantizing while preserving expressivity without retraining.
Results
The approach attains near-lossless performance using on average only about two bases per weight and surpasses existing compression methods in evaluation.
Contributions
It introduces a framework for sparse wiring of LLM weights that simultaneously prunes and quantizes via adaptive base selection, and it shows that this wiring budget can be controlled without retraining while maintaining model expressivity.
Practical relevance
It enables more energy-efficient LLM inference by embedding computation directly in hardware, potentially reducing latency and power consumption.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction