NeurIPS 2026QuestionsPapersAreasAboutMarkdown

DyRA: Dynamic Residual Approximation for Efficient Matrix Multiplication in DNNs

Daewon Chae, Hyunwon Chung, Changwoo Lee, Hun-Seok Kim

NeurIPS page · Open on the map

Category: Efficient LLM Inference & Training › Model Compression for Transformers · Type: new method · Keywords: efficient matrix multiplication, structured weight approximation, output error correction, dynamic inference, model acceleration, accuracy-efficiency trade-off

Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Efficient Inference

Summary

DyRA is an input-adaptive method that corrects residual output errors during structured matrix multiplication, improving accuracy-efficiency trade-offs in vision, speech, and language models.

Explained to a 5-year-old

Big computer models need a lot of math to work. To make them faster, we try to make the math simpler. But making math simpler can make the answers a bit wrong. This new idea watches the answers and fixes the mistakes as it goes. So the model stays fast and still gives good answers.

Explained to a 5-year-old, longer

Large AI models are like very smart computers that help us with many tasks. They work by doing a lot of calculations, which takes time and energy. To make them faster, researchers try to simplify the calculations. Simplifying can cause the final answers to be a little off. The new idea looks at those answers while they are being made. It notices when the answers are not quite right. Then it corrects the small mistakes right away. This way the model stays fast because it still uses the simple calculations. But the corrections keep the answers accurate. The method works for many kinds of models, like those that see pictures, understand speech, or read text. It helps the models run quicker on regular computers. Overall, it lets us use smarter AI without waiting as long.

For a technical reader

DyRA introduces an input-adaptive correction to structured matrix multiplication, targeting the output error rather than the weight approximation. By optimizing low-rank factors of the output and applying dynamic residual correction during inference, it preserves accuracy while keeping the computational budget unchanged. This approach yields up to 1.5× end-to-end GPU speedup on models like DINOv3 and reduces accuracy loss by over 3× compared to weight-only baselines. It is applicable across vision, speech, and language models, making it a drop-in improvement for existing inference pipelines. The technique can be integrated with any low-rank structured weight scheme.

Problem

Dense matrix multiplications in large models make inference costly. Existing structured approximations (e.g., low-rank factorizations) approximate weights, but weight-space errors can be amplified by input activations, leading to large output errors.

Method

The approach approximates matrix multiplication by using structured low-rank weight factors and dynamically corrects the resulting output errors during inference, optimizing low-rank factors of the output rather than the weights.

Results

The approach achieves a 1.5× end-to-end GPU speedup on DINOv3 while reducing accuracy degradation by more than 3× compared to weight-only baselines, and consistently improves accuracy-efficiency across vision, speech, and language models.

Contributions

The work shows that directly optimizing low-rank factors of the output and correcting residual errors during inference yields more faithful approximations of full matrix multiplication, and it provides an input-adaptive correction mechanism for structured weight approximations.

Practical relevance

The method enables faster, more accurate inference for large foundation models on existing hardware, reducing computational cost and energy 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