DyRA: Dynamic Residual Approximation for Efficient Matrix Multiplication in DNNs
Daewon Chae, Hyunwon Chung, Changwoo Lee, Hun-Seok Kim
NeurIPS 2026
TL;DR. DyRA improves structured matrix multiplication by dynamically correcting input-dependent output errors at inference time
Abstract. Large-scale foundation models achieve strong performance across diverse tasks, but their size makes inference costly, largely due to dense matrix multiplications. Prior work reduces this cost by replacing dense weight matrices with efficient structured forms such as low-rank factorizations. However, these methods approximate weights rather than the output activations that determine inference accuracy. Consequently, small weight-space errors can be amplified by input activations, producing large output errors. In this work, we propose DyRA, an input-adaptive method that improves structured matrix multiplication approximation by correcting residual output errors during inference. We show that matrix multiplication can be approximated more effectively by directly optimizing low-rank factors of the output. DyRA builds on this insight by dynamically approximating and correcting the output error introduced by structured weight approximations. This combines efficient structured computation with input-dependent correction, yielding a more faithful approximation of full matrix multiplication under the same computational budget. Across vision, speech, and language models, DyRA consistently improves the accuracy–efficiency trade-off over structured weight approximations alone. Notably, DyRA achieves a end-to-end GPU speedup for DINOv3 while reducing accuracy degradation by more than relative to weight-only baselines.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper proposes DyRA, an input-dependent approximate matrix multiplication framework that improves structured weight approximations by dynamically correcting the residual output at inference time using an efficient low-rank ALS formulation. A key insight is that the ALS updates can be implemented using only low-dimensional operations, enabling practical inference overhead. The experiments across vision, speech, and language tasks demonstrate improved accuracy-efficiency trade-offs over several static structured approximation methods, together with end-to-end GPU speedups.
The reviewers agree that the paper is technically sound, clearly written, and supported by comprehensive experiments across multiple domains. They find the proposed dynamic residual correction to be broadly applicable and appreciate both the algorithmic insight enabling efficient inference and the extensive empirical evaluation demonstrating consistent improvements over static baselines.
The main concerns are also largely consistent across the reviews. First, the paper lacks sufficient analysis of memory footprint and memory bandwidth, despite introducing additional stored matrices and dynamic inference-time computation. Second, the practical applicability of DyRA is not fully characterized, particularly for memory-bound scenarios, small batch sizes, autoregressive decoding, and edge devices. Reviewers also request more guidance on selecting the static and dynamic ranks. Finally, there are concerns regarding the novelty and positioning of the work, including comparisons with stronger AMM baselines (e.g., sketching-based methods) and a clearer distinction from simply increasing the capacity of static structured approximations.
Additional comparisons with relevant AMM methods, quantitative memory and bandwidth analysis, and experiments characterizing performance across different deployment settings would substantially strengthen the paper. A clearer discussion of the method's novelty and design trade-offs would also increase confidence in the significance of the contribution.
Final justification
The reviewers provide an overall positive assessment of the paper. One reviewer initially raised concerns regarding the limited scope of the evaluation and assigned a borderline reject score of 3, while considering the paper technically solid. In contrast, another two reviewers both judged the paper to be technically sound and of sufficient significance for acceptance, assigning scores of 5. Importantly, both reviewers increased their scores following the rebuttal, indicating that the authors successfully addressed their main concerns. One reviewer specifically noted that the additional comparison with prior AMM methods provides stronger evidence for the efficacy of the proposed approach.
Overall, I find the positive assessments more compelling after considering the rebuttal. The main concern regarding evaluation raised by one reviewer is worth noting, but it does not appear to constitute a fundamental limitation, particularly given the additional comparisons and clarifications provided during the rebuttal. The fact that two reviewers independently found the rebuttal sufficiently convincing to increase their scores further supports the technical validity and empirical effectiveness of the work.
There are no identified ethical or formatting concerns, and the reviewers' confidence is moderate to high. Considering the technical soundness, the demonstrated effectiveness over prior methods, and the successful resolution of the substantive reviewer concerns during the discussion, I recommend accepting the paper at NeurIPS 2026.
Read meta-review
Meta-review
The paper proposes DyRA, an input-dependent approximate matrix multiplication framework that improves structured weight approximations by dynamically correcting the residual output at inference time using an efficient low-rank ALS formulation. A key insight is that the ALS updates can be implemented using only low-dimensional operations, enabling practical inference overhead. The experiments across vision, speech, and language tasks demonstrate improved accuracy-efficiency trade-offs over several static structured approximation methods, together with end-to-end GPU speedups.
The reviewers agree that the paper is technically sound, clearly written, and supported by comprehensive experiments across multiple domains. They find the proposed dynamic residual correction to be broadly applicable and appreciate both the algorithmic insight enabling efficient inference and the extensive empirical evaluation demonstrating consistent improvements over static baselines.
The main concerns are also largely consistent across the reviews. First, the paper lacks sufficient analysis of memory footprint and memory bandwidth, despite introducing additional stored matrices and dynamic inference-time computation. Second, the practical applicability of DyRA is not fully characterized, particularly for memory-bound scenarios, small batch sizes, autoregressive decoding, and edge devices. Reviewers also request more guidance on selecting the static and dynamic ranks. Finally, there are concerns regarding the novelty and positioning of the work, including comparisons with stronger AMM baselines (e.g., sketching-based methods) and a clearer distinction from simply increasing the capacity of static structured approximations.
Additional comparisons with relevant AMM methods, quantitative memory and bandwidth analysis, and experiments characterizing performance across different deployment settings would substantially strengthen the paper. A clearer discussion of the method's novelty and design trade-offs would also increase confidence in the significance of the contribution.
Final justification
The reviewers provide an overall positive assessment of the paper. One reviewer initially raised concerns regarding the limited scope of the evaluation and assigned a borderline reject score of 3, while considering the paper technically solid. In contrast, another two reviewers both judged the paper to be technically sound and of sufficient significance for acceptance, assigning scores of 5. Importantly, both reviewers increased their scores following the rebuttal, indicating that the authors successfully addressed their main concerns. One reviewer specifically noted that the additional comparison with prior AMM methods provides stronger evidence for the efficacy of the proposed approach.
Overall, I find the positive assessments more compelling after considering the rebuttal. The main concern regarding evaluation raised by one reviewer is worth noting, but it does not appear to constitute a fundamental limitation, particularly given the additional comparisons and clarifications provided during the rebuttal. The fact that two reviewers independently found the rebuttal sufficiently convincing to increase their scores further supports the technical validity and empirical effectiveness of the work.
There are no identified ethical or formatting concerns, and the reviewers' confidence is moderate to high. Considering the technical soundness, the demonstrated effectiveness over prior methods, and the successful resolution of the substantive reviewer concerns during the discussion, I recommend accepting the paper at NeurIPS 2026.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes an input-dependent method for approximate matrix multiplication (AMM) that builds on top of prior static AMM methods. The method dynamically approximates the residual of the static AMM at inference time using alternating least squares (ALS). With a specific ordering of the ALS computation, the complexity is reduced to that of the target rank. The paper demonstrates improved accuracy results at lower FLOPs compared to static methods, including prior input-dependent methods, for vision, speech, and language settings. The results show that, despite the overhead of ALS, the method provides an improved accuracy-efficiency trade off.
Strengths and weaknesses
S1. The method provides significant improvements over the static baselines while being simple enough to be widely applied.
S2. The method relies on the non-trivial insight that the ALS computation can be ordered such that it uses only low-dimensional matrix multiplications.
S3. Section 2.3 provides an insightful discussion with formal statements interpreting the resulting method and the basis of its advantages compared to static low-rank approximation.
S4. The experimental results cover vision, speech, and language domains showing the versatility of the proposed method.
S5. The paper is overall well written.
W1. The authors do not compare their approach against many prior methods for approximate matrix multiplication (AMM) [1]. For example, many sketching-based methods have been proposed for AMM [2, Section 2.2] which are also input-dependent and can be computed dynamically for every input.
W2. From the experiments and discussion it is not clear how to set the parameters of the method. It is not clear how big the static rank should be compared to the dynamic rank for instance. The paper would benefit from experimental results demonstrating the trade-off between allocating FLOPs towards the static vs dynamic compute.
W3. It seems that the proposed method requires more space than the dense matrices to store additional matrices for the dynamic approximation step. This could make the method less appropriate for space/memory limited scenarios like embedded systems.
[1] Zeng, Xianzhi, Wenchao Jiang, and Shuhao Zhang. "LibAMM: Empirical Insights into Approximate Computing for Accelerating Matrix Multiplication." Advances in Neural Information Processing Systems 37 (2024): 60517-60530.
[2] Woodruff, David P. "Sketching as a tool for numerical linear algebra." arXiv preprint arXiv:1411.4357 (2014).
Questions
Q1. Can the authors provide additional experimental results comparing their method against more prior methods (see W1)? It is currently difficult to judge the significance of the contribution because it is not compared against prior state-of-the-art methods. This is my main concern for not selecting Accept for this paper and the authors’ rebuttal on this point will most impact my final decision.
Q2. It appears that in Figure 9 the presented method performs worse with larger rank and more iterations. Can the authors explain this behavior? Is it the case that a higher rank and more iterations adds to the FLOPs but does not increase the accuracy as much and thus achieves a suboptimal tradeoff? It could be good to briefly mention the cause in the text.
Q3. Can the authors provide more information about the matrix sizes in the experiments? The authors state among the limitations that the presented method would be less effective for vector-matrix multiplication. It would be good to include an experiment that shows the impact of the matrix size (or batch dimension) on the approximation performance.
Q4. Can the authors provide a brief comment on W2 and W3?
Limitations
See W2, W3, and Q3.
Final justification
The authors have adequately addressed my concerns in their rebuttal and I therefore increased my score. The additional comparison with prior AMM methods highlights the efficacy of the presented contribution.
Formatting concerns
No formatting concerns
4 comments
Rebuttal by Authors (Part 2)
[W2] Hyperparameters of the method (static rank and dynamic rank)
We first clarify the rank selection process used throughout our experiments. In the main experiments (e.g., Figures 4 and 5), the x-axis represents the FLOPs reduction while the y-axis reports the corresponding task accuracy. As described in Appendix D, different FLOPs reduction levels are obtained by fixing the dynamic rank and varying the static rank. For example, in Figure 4, the dynamic rank is fixed to 8, while the static rank is gradually increased (in steps of 50) to obtain different FLOPs reduction points.
As the reviewer points out, however, a given FLOPs budget can generally be achieved by multiple combinations of static and dynamic ranks. For instance, around 50% FLOPs reduction in Figure 4, we use a dynamic rank of 8 with a static rank of 300. Alternatively, one could increase the dynamic rank (e.g., to 16) while reducing the static rank to obtain a similar computational budget.
This question is directly investigated in Figure 9 (left). In this experiment, we repeat the same FLOPs-accuracy evaluation while fixing different dynamic ranks (e.g., 8 and 16) and adjusting the static rank accordingly to match each FLOPs reduction level. For example, at approximately 50% FLOPs reduction, the "Rank 8" curve corresponds to a static rank of 300, whereas the "Rank 16" curve uses a static rank of 250. As shown in Figure 9 (left), DyRA consistently achieves strong performance across these different allocations, showing that DyRA is robust to the static/dynamic rank allocation.
That said, we agree that there may exist a better static/dynamic rank allocation for a given computational budget. Rather than extensively tuning the rank allocation for each layer to maximize performance, we fixed a representative dynamic rank and varied only the static rank to generate the trade-off curves. Identifying the optimal rank allocation is left for future work. In the final version, we will clarify this rank selection process.
[Q2] Explanation of the Figure 9 Results
Figure 9 is not intended to evaluate the effect of simply increasing the dynamic rank or the number of ALS iterations while keeping all other settings fixed. Figure 9 reports the accuracy trade-off as a function of FLOPs reduction (the x-axis). Therefore, each comparison should be interpreted at the same point on the x-axis, i.e., under the same FLOPs reduction. At a given FLOPs reduction, increasing the dynamic rank requires decreasing the static rank to maintain the same computational cost. Likewise, increasing the number of ALS iterations also requires reducing the static rank at the same FLOPs reduction.
Consequently, Figure 9 studies how a fixed computational budget should be allocated between the static approximation and the dynamic refinement, rather than whether simply increasing the dynamic rank or the number of ALS iterations improves performance. If the overall computation were allowed to increase, larger dynamic ranks or more ALS iterations would indeed be expected to improve the approximation. However, under a fixed FLOPs budget, allocating more computation to the dynamic component comes at the expense of a weaker static approximation, which explains the behavior observed in Figure 9.
[Q3] Matrix Sizes in Our Experiments
We report representative matrix sizes used in our experiments. A standard ViT-B operating at the standard ImageNet resolution performs matrix multiplications of approximately , where 197 is the number of input tokens and 768 is the hidden dimension. Likewise, representative linear layers in Wav2Vec 2.0 operate on approximately matrices, LLaDA on approximately matrices, and DINOv3 on over matrices. These examples indicate that sufficiently large matrix-matrix multiplications are common across practical DNNs, not only large foundation models. We will include these representative matrix sizes in the revised manuscript.
Following the reviewer's suggestion, we additionally evaluated the impact of the batch dimension on DyRA. We selected static low-rank and DyRA configurations with nearly identical accuracy (96.6% vs. 96.8%) on DINOv3 and measured inference latency while varying only the batch size. As shown below, once operating in the matrix-matrix multiplication regime targeted by DyRA, the proposed method consistently outperforms the static low-rank approximation across all evaluated batch sizes (1-16), demonstrating that its benefit is maintained over a broad range of practical batch sizes.
Table 3. Latency (ms/img) for different batch sizes.
| Batch | Dense | Low-rank | DyRA |
|---|---|---|---|
| 1 | 1331.5 | 1067.9 | 964.0 |
| 2 | 1340.1 | 1037.6 | 944.4 |
| 4 | 1345.9 | 1037.2 | 937.3 |
| 8 | 1339.7 | 1031.9 | 929.8 |
| 16 | 1335.7 | 1024.0 | 918.1 |
Rebuttal by Authors (Part 3)
[W3] Additional memory for DyRA
Thank you for pointing out this important issue. We agree that DyRA requires a larger static memory footprint (area) than the other approaches because it explicitly retains the residual matrix . To better clarify the intended positioning and memory-compute trade-off of DyRA, we performed the following additional analyses.
We note that the increased static memory footprint does not directly imply a proportional increase in runtime memory traffic. In DyRA, is multiplied with a low-rank factor, rather than being used in a full dense projection. In our tiled GPU implementation, the much smaller rank dimension reduces the number of output tiles and, consequently, the number of repeated reads of each tile. Moreover, the input-dependent factors and are produced and consumed entirely within fused kernels and are therefore not materialized in DRAM.
To quantitatively characterize this trade-off, we performed additional analyses on the DINOv3 depth estimation model. Specifically, we compare DyRA with a static low-rank baseline under matched accuracy, reporting static memory footprint, peak memory usage, accuracy, FLOPs reduction, and end-to-end latency. In addition, to directly characterize the runtime memory behavior beyond static memory-capacity, we profiled per-kernel DRAM read/write traffic using Nsight Compute on representative DINO projection layers under the accuracy-matched configuration. The results are summarized below. (Additional matched-latency and matched-FLOPs comparisons are provided in our response to reviewer SoCR.)
Table 1. (Approximately) matched accuracy.
| Method | a1 Acc. ↑ | FLOPs Reduction | Latency (ms/img) | Static Mem. (GB) | Peak Mem. (GB) |
|---|---|---|---|---|---|
| Dense | 0.980 | 0% | 1325 | 26.8 | 31.89 |
| Low-rank | 0.966 | 43.8% | 1023.0 | 15.1 | 20.1 |
| DyRA | 0.968 | 77.8% | 918.1 | 30.2 | 35.2 |
Table 2. DRAM read/write traffic (for a single layer).
| Method | QKV (GB) | MLP-fc1 (GB) | MLP-fc2 (GB) |
|---|---|---|---|
| Dense | 10.46 | 6.96 | 6.48 |
| DyRA (dynamic ALS part) | 6.81 | 5.17 | 5.37 |
| DyRA (static weight part) | 2.66 | 2.00 | 1.86 |
As shown in the matched-accuracy comparison (Table 1), DyRA indeed requires a larger static memory footprint due to the additional residual matrix. However, the corresponding memory traffic increases only modestly, as confirmed by the DRAM traffic analysis in Table 2. This indicates that the runtime memory overhead is substantially smaller than would be expected from the increase in static memory capacity alone. Consequently, despite the additional static memory requirement, DyRA maintains essentially the same accuracy while achieving substantially greater FLOPs reduction (77.8% vs. 43.8%) and correspondingly lower inference latency (918 ms/image vs. 1023 ms/image) than the static low-rank baseline.
These results clarify the intended positioning of DyRA. DyRA is not designed as a memory-saving or parameter-compression method. Rather, it is designed to substantially reduce computation and achieve an overall speedup with modest memory traffic overhead while better preserving model accuracy, even if this requires additional static memory area.
In addition, although reducing static memory is not the primary objective of DyRA, our preliminary experiments suggest that the additional memory overhead can be mitigated through quantization. For example, storing the residual matrix in 4-bit precision reduces the static memory footprint from 30.2 GB to 10.5 GB while maintaining the same accuracy (96.8%).
We will revise the manuscript to include these additional memory analyses and more clearly clarify the intended positioning and memory-compute trade-off of DyRA.
Thank you Reviewer Mm9h
We greatly appreciate you taking the time to read our rebuttal and update your evaluation.
Your suggestion to include comparisons with prior AMM methods has been particularly valuable and has significantly strengthened our paper. We would be happy to provide any further clarification if needed. Thank you again for your time and support.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
DyRA accelerates dense linear layers by correcting the output error of structured weight approximations. Since the true error is input-dependent, DyRA approximates it per-input at inference with a cheap one-step low-rank correction whose left factor is precomputed offline. Validated across vision, speech, and language models under FLOPs-matched baselines, it delivers 1.3–1.52× GPU speedups with much smaller accuracy drops than weight-only methods.
Strengths and weaknesses
Strengths:
-
Clean evaluation with an abundant ablation study. The graphs clearly show the benefits of DyRA.
-
Good results of this method, achieving great speedup with little overhead
-
Tests on various tasks, including vision, speech, and language.
Weakness:
-
In the design, the authors only show the flop reduction, but no memory analysis.
-
DyRA seems to only work with large GEMM; the scope is limited.
-
Lots of configs like rMLP and rattn need to be chosen per task, which makes this method limited.
Questions
-
What is the DyRA's memory footprint and weight HBM traffic relative to the dense layer, and how does that bound speedups in memory-bound situations?
-
At what sequence length or batch size does this method beat static rank approximation?
-
How sensitive is the final accuracy to the R0 initialization?
Limitations
-
The memory footprint is actually higher than the original version; the authors should show this point and do a comparison in memory-bound settings.
-
Since this work is to reduce Flops for a limited computational budget, it is better to show the results in actual edge devices.
-
The idea seems incremental.
Final justification
The rebuttal addressed most of my concerns; I am raising my score from 4 to 5.
Formatting concerns
None
5 comments
Rebuttal by Authors (Part 1)
We appreciate the reviewer's thoughtful feedback. We address each concern in detail below.
[W1, Q1, L1] Memory-Related Analysis
Thank you for pointing out this important issue. We agree that DyRA requires a larger static memory footprint (area) than the original dense model because it explicitly retains the residual matrix . To clarify the intended positioning and memory-compute trade-off of DyRA, we performed the following additional analyses.
We note that the increased static memory footprint does not directly imply a proportional increase in runtime memory traffic. In DyRA, is multiplied with a low-rank factor, rather than being used in a full dense projection. In our tiled GPU implementation, the much smaller rank dimension reduces the number of output tiles and, consequently, the number of repeated reads of each tile. Moreover, the input-dependent factors and are produced and consumed entirely within fused kernels and are therefore not materialized in DRAM.
To quantitatively characterize this trade-off, we performed additional analyses on the DINOv3 depth estimation model. Specifically, we compare DyRA with a static low-rank baseline under (approximately) matched accuracy, reporting static memory footprint, peak memory usage, accuracy, FLOPs reduction, and end-to-end latency. In addition, to directly characterize the runtime memory behavior beyond static memory-area, we profiled per-kernel DRAM read/write traffic using Nsight Compute on representative DINO projection layers under the accuracy-matched configuration. The results are summarized below. (Additional matched-latency and matched-FLOPs comparisons are provided in our response to reviewer SoCR.)
Table 1. (Approximately) matched accuracy.
| Method | a1 Acc. ↑ | FLOPs Reduction | Latency (ms/img) | Static Mem. (GB) | Peak Mem. (GB) |
|---|---|---|---|---|---|
| Dense | 0.980 | 0% | 1325 | 26.8 | 31.89 |
| Low-rank | 0.966 | 43.8% | 1023.0 | 15.1 | 20.1 |
| DyRA | 0.968 | 77.8% | 918.1 | 30.2 | 35.2 |
Table 2. DRAM read/write traffic (for a single layer).
| Method | QKV (GB) | MLP-fc1 (GB) | MLP-fc2 (GB) |
|---|---|---|---|
| Dense | 10.46 | 6.96 | 6.48 |
| DyRA (dynamic ALS part) | 6.81 | 5.17 | 5.37 |
| DyRA (static weight part) | 2.66 | 2.00 | 1.86 |
Table 1 shows that DyRA requires a larger static memory footprint due to the additional residual matrix. However, the corresponding memory traffic increases only modestly, as confirmed by the DRAM traffic analysis in Table 2. This indicates that the runtime memory overhead is smaller than would be expected from the increase in static memory area alone. Consequently, despite the additional static memory area requirement, DyRA maintains the same accuracy while achieving substantially greater FLOPs reduction and correspondingly lower inference latency than the static low-rank baseline.
These results clarify the intended positioning of DyRA. DyRA is not designed as a memory area-saving or parameter-compression method. Rather, it is designed to substantially reduce computation and achieve an overall speedup with modest memory traffic overhead while better preserving model accuracy, even at the cost of additional static memory. In addition, although reducing static memory is not the primary objective of DyRA, our preliminary experiments suggest that the additional memory overhead can be mitigated through quantization. For example, storing the residual matrix in 4-bit precision reduces the static memory footprint from 30.2 GB to 10.5 GB while maintaining the same accuracy (96.8%).
We will revise the manuscript to include these additional memory analyses and clarify the intended positioning and memory-compute trade-off of DyRA.
[W2] Scope of Applicability
We agree that DyRA is not effective for every matrix multiplication regime arising in modern DNN inference. As already discussed in the Limitations section, DyRA is designed for matrix-matrix multiplication and is not suitable for matrix-vector multiplication, such as autoregressive decoding. Nevertheless, as demonstrated throughout our experiments, this regime covers a broad range of practical DNN inference workloads, including vision models, speech models, diffusion language models, and the prefill stage of autoregressive LLM inference. Importantly, matrix-matrix multiplications of meaningful scale are common even in standard DNNs rather than only in very large foundation models. For example, a standard ImageNet-scale ViT-B performs matrix multiplications on the order of , where 197 is the number of input tokens and 768 is the hidden dimension. Our experiments demonstrate that DyRA consistently improves the accuracy-efficiency trade-off at this scale as well as at the scale of large foundation models such as DINO, confirming its applicability across the range of GEMM sizes commonly encountered in practical DNN inference.
Rebuttal by Authors (Part 2)
[W3] Hyperparameters of DyRA
We would like to clarify that the practical tuning effort is much smaller than it may appear. Although DyRA introduces both a static rank and a dynamic (residual) rank for each module, these are not independent hyperparameters. Once the target FLOPs reduction is specified, selecting the dynamic rank uniquely determines the corresponding static rank required to achieve the target computational budget. Therefore, the only remaining design choice is the dynamic rank.
In our experiments, we use different dynamic (residual) ranks for MLP and attention projection layers. However, the same dynamic rank is shared across all layers of the same module type (e.g., all MLP layers share one dynamic rank, and all attention projection layers share another). Consequently, only two dynamic-rank hyperparameters are selected for an entire model, rather than tuning every layer individually.
Furthermore, as shown in Figure 9 (Left), different dynamic rank configurations achieve comparable accuracy under the same FLOPs reduction, indicating that the performance is reasonably robust to the exact choice of the dynamic rank.
[Q2] Performance Across Different Batch Sizes
We thank the reviewer for raising this important question. Following the reviewer's suggestion, we additionally evaluated DyRA under different batch sizes on the DINOv3 depth estimation model. We selected the static low-rank and DyRA configurations to achieve nearly identical accuracy (96.6% vs. 96.8%) and measured the inference latency while varying only the batch size. The results are shown below. DyRA consistently achieves lower latency than the static low-rank approximation across all evaluated batch sizes (1-16).
Table 3. Latency (ms/img) for different batch sizes.
| Batch | Dense | Low-rank | DyRA |
|---|---|---|---|
| 1 | 1331.5 | 1067.9 | 964.0 |
| 2 | 1340.1 | 1037.6 | 944.4 |
| 4 | 1345.9 | 1037.2 | 937.3 |
| 8 | 1339.7 | 1031.9 | 929.8 |
| 16 | 1335.7 | 1024.0 | 918.1 |
We note that these experiments correspond to the matrix-matrix multiplication regime targeted by DyRA. Within its intended operating regime, DyRA consistently outperforms the static low-rank approximation across the evaluated batch sizes.
[Q3] Sensitivity to Initialization
In our experiment, we initialize using the right singular vectors of to be consistent with the analysis in Proposition 1 of Section 2.3. To evaluate the sensitivity of DyRA to this initialization choice, we additionally initialized with random Gaussian values sampled from using three different random seeds. We evaluated these variants under the same setting as our main experiments at 50% FLOPs reduction. The resulting performance on ViT image classification and DINO semantic segmentation is reported below. As shown, random initialization achieves nearly identical performance across all three seeds, indicating that the final accuracy is largely insensitive to the choice of initialization.
Table 4. initialization experiment.
| Model | Original | Vanilla Low Rank | DyRA (SVD R0) | DyRA (Rand R0 #1) | DyRA (Rand R0 #2) | DyRA (Rand R0 #3) |
|---|---|---|---|---|---|---|
| ViT Acc. (↑) | 81.74 | 49.17 | 80.55 | 80.15 | 80.19 | 80.23 |
| DINO mIoU (↑) | 62.52 | 15.29 | 61.36 | 61.25 | 61.15 | 61.21 |
Rebuttal by Authors (Part 3)
[L2] Inference using edge device
We thank the reviewer for this valuable suggestion. To complement the DINOv3 latency results reported on an NVIDIA A40 GPU, we additionally evaluated the same model on an NVIDIA Jetson Orin Nano 8GB. As the full model exceeds the device memory capacity, we measured the latency of individual attention and MLP layers. The results are shown below. Across the evaluated layers, this preliminary DyRA implementation (not necessarily optimized for Jetson) consistently achieves 1.08×-1.90× speedups, confirming that the FLOPs reduction achieved by DyRA translates into practical runtime improvements on the Jetson platform.
Table 5. Inference on Jetson Orin Nano.
| Layer | Weight Dim. | Static/Dynamic. Rank | FLOPs Reduction | DINO Speedup (compared to dense) |
|---|---|---|---|---|
| Attn proj. | 4096×4096 | 1280/16 | 35.8% | 1.08× |
| Attn QKV | 4096×12288 | 1280/16 | 57.2% | 1.55× |
| MLP up | 4096×8192 | 1280/16 | 51.8% | 1.39× |
| MLP down | 8192×4096 | 1280/16 | 51.6% | 1.90× |
[L3] Incremental idea
While DyRA builds upon structured weight approximation, it fundamentally shifts the approximation objective from the weight itself to the output of matrix multiplication during inference. Specifically, conventional structured approximation seeks to minimize the weight reconstruction error , thereby improving the approximation of the weight matrix itself. In contrast, DyRA introduces a new output-level formulation that directly approximates the inference-time output residual , thereby minimizing the matrix multiplication output error rather than the weight reconstruction error itself. This objective shift enables input-adaptive refinement during inference and significantly improves the accuracy-efficiency trade-off over weight-only approximation methods across our main experimental results.
Furthermore, as also recognized by reviewer Mm9h, the proposed ALS formulation is not a straightforward application of an existing optimization technique. Rather, it relies on the non-trivial insight that the ALS computation can be ordered so that the online optimization uses only low-dimensional matrix multiplications, making dynamic refinement practical with minimal computational overhead.
Finally, although the overall framework is conceptually simple, we believe this simplicity reflects the generality of the formulation rather than an incremental extension. This generality, as also noted by reviewer SoCR, enables DyRA to serve as a plug-in framework that can be seamlessly combined with arbitrary structured weight methods.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes DyRA, a dynamic residual approximation method for efficient matrix multiplication in deep neural networks. Instead of only approximating the weight matrix with a structured form such as low-rank, Monarch, or BLAST, DyRA further models the input-dependent residual output caused by the approximation error. The original weight is decomposed into a structured approximation and a residual component, and DyRA uses a low-rank correction term to approximate the residual product () during inference.
The residual correction is formulated as a low-rank factorization problem and solved efficiently with alternating least squares, where the paper shows that one-step ALS is often sufficient in practice. DyRA is designed as a plug-in module that can be combined with different structured matrix approximations.
The authors evaluate DyRA on image classification, dense prediction, speech recognition, and language modeling tasks. The results show that DyRA generally improves the accuracy-efficiency trade-off over static structured weight approximations alone and can provide practical end-to-end GPU speedup in some settings.
Strengths and weaknesses
Strengths
-
The paper proposes to dynamically approximate and compensate for () on top of the static structured approximation (XW_c). This observation is reasonable and provides a useful perspective for explaining the performance degradation caused by structured matrix compression.
-
DyRA has a certain degree of generality and modularity. The method does not rely on a specific structured matrix form, and can be combined with different structured approximation methods, including low-rank, Monarch, BLAST, and input-aware decomposition.
-
The experimental coverage is broad. The paper evaluates DyRA on image classification, semantic segmentation, depth estimation, speech recognition, and language modeling tasks. In addition to reporting FLOPs reduction, the paper also reports GPU end-to-end latency in some settings.
Weaknesses
-
The boundary of the method’s originality is still not sufficiently clear. Although the residual correction term in DyRA is input-dependent, at a higher level, the method still recovers the performance loss caused by static matrix approximation by introducing additional computation during inference. Therefore, it is conceptually close to directly increasing the rank of a static low-rank approximation, since both methods represent an accuracy-efficiency trade-off.
-
The paper lacks sufficient analysis of memory usage and memory bandwidth. The FLOPs-matched comparison in DyRA mainly controls the computational cost, but it does not simultaneously control or systematically report the memory footprint. Compared with ordinary static low-rank approximation, DyRA appears to require storing and accessing additional matrices such as () and (), and it also generates input-dependent intermediate factors (L) and (R) during inference. If () is stored as a dense residual matrix, DyRA may not be a strict parameter compression method. Instead, it may be better understood as trading additional memory footprint, memory access, and dynamic computation for lower FLOPs and better accuracy.
-
The overhead and applicability of the inference-time dynamic computation require more thorough analysis. DyRA needs to compute input-dependent (L) and (R) for each input batch during inference, and this involves solving small-scale linear systems. Since the advantage of DyRA relies on large matrix-matrix multiplication workloads, the additional dynamic correction may not be worthwhile in small-batch settings or in token-by-token vector-matrix workloads such as autoregressive decoding. Therefore, the practical applicability of the method should be more clearly characterized.
Questions
-
DyRA essentially introduces additional inference-time computation to recover the accuracy loss caused by static structured matrix approximation, and therefore represents an accuracy-efficiency trade-off. The paper already provides a FLOPs-matched comparison with a higher-rank static low-rank approximation. However, I would like to better understand whether structured matrix methods such as Monarch and BLAST could achieve a similar accuracy-efficiency trade-off by increasing their parameter count, block capacity, or structured approximation budget. I suggest that the authors include comparisons with higher-capacity Monarch/BLAST baselines, preferably under matched FLOPs and matched latency settings.
-
The paper mainly analyzes the efficiency of DyRA from the perspectives of FLOPs and, in some cases, end-to-end latency, but the discussion of memory usage and memory bandwidth is still insufficient. DyRA appears to require storing and accessing additional matrices such as () and (), and it also generates input-dependent intermediate factors (L) and (R) during inference. If () is stored as a dense residual matrix, DyRA may introduce significant memory footprint and bandwidth overhead. I suggest that the authors report the actual memory usage, peak memory consumption, and memory bandwidth overhead of DyRA compared with dense, low-rank, Monarch, and BLAST baselines under the same GPU setting.
-
The dynamic residual correction in DyRA requires computing input-dependent (L) and (R) for each input batch during inference, and involves solving small-scale linear systems. I suggest that the authors further analyze the latency overhead of this dynamic computation under different batch sizes, sequence lengths, hidden dimensions, and residual ranks (r). In particular, does DyRA still provide practical benefits in small-batch settings or in token-by-token vector-matrix workloads commonly seen in autoregressive decoding?
-
The core hypothesis of DyRA is that the input-dependent residual output structure can be better approximated through dynamic low-rank correction. I suggest that the authors provide a more fine-grained layer-wise analysis, such as which layers benefit most from DyRA, whether attention projections and MLP layers behave consistently, and whether applying DyRA only to a small number of key layers can achieve a better latency-memory-accuracy trade-off. Such analysis would help explain the practical mechanism of DyRA and guide more efficient deployment.
Limitations
-
DyRA appears to require storing and accessing additional matrices such as () and () during inference, while also generating input-dependent intermediate factors (L) and (R). If () is stored as a dense residual matrix, the method may introduce additional memory footprint and memory bandwidth overhead. The authors should further discuss the memory usage of DyRA.
-
Is the additional dynamic computation and memory access introduced by DyRA still worthwhile in practical settings? The paper mainly emphasizes FLOPs reduction and some end-to-end latency results, but it provides insufficient discussion of peak memory usage, actual throughput, batch size limitations, and potential bandwidth bottlenecks.
-
The authors should further discuss the practical deployment limitations of DyRA, especially in GPU-memory-constrained, small-batch, short-sequence, or latency-sensitive online inference scenarios.
Formatting concerns
None
4 comments
Rebuttal by Authors (Part 1)
We sincerely thank the reviewer for the thoughtful feedback and constructive suggestions. Below, we address each of the concerns in detail.
[W1] Difference from Increasing the Static Approximation Rank
We would like to clarify that DyRA is conceptually different from simply increasing the static approximation rank. The two approaches optimize fundamentally different objectives. Increasing the capacity of a static approximation aims to reduce the weight approximation error, . In contrast, DyRA introduces a new output-level formulation that dynamically approximates the output residual, , thereby directly reducing the matrix multiplication output error, , during inference.
Given this fundamental difference in objective, the key question is not whether both methods represent an accuracy-efficiency trade-off, but rather how that trade-off is achieved. As directly demonstrated in Figures 4 and 5 of the main paper, under matched FLOPs, DyRA consistently achieves substantially higher accuracy than allocating the same computational budget to increasing the approximation capacity of the static baselines (e.g., higher ranks for low-rank approximation and larger block sizes for Monarch).
Furthermore, as also recognized by reviewer Mm9h, Section 2.3 theoretically shows that DyRA is not merely increasing the static approximation rank, but instead replaces the fixed weight-only basis with an input-adaptive residual basis optimized for the current input.
[Q1] FLOPs-Matched Comparison with Monarch and BLAST
We would like to clarify that the main experimental comparisons with Monarch and BLAST in the paper are already performed under matched FLOPs. Specifically, throughout the experiments in Section 3, we compare DyRA against higher-capacity Monarch and BLAST baselines by increasing their structured approximation budget (e.g., larger block sizes) under matched FLOPs. As shown in the middle and right plots of Figures 4 and 5, the x-axis represents the FLOPs reduction. Therefore, the additional computation introduced by DyRA is compensated by allocating the same computational budget to stronger Monarch and BLAST approximations, enabling a fair FLOPs-matched comparison. Under this setting, DyRA consistently achieves substantially higher accuracy than both Monarch and BLAST at the same FLOPs budget, demonstrating a superior accuracy-efficiency trade-off.
Rebuttal by Authors (Part 2)
[W2, Q2, L1, L2] Memory Analysis of DyRA
Thank you for highlighting this important issue. We agree that DyRA exhibits a fundamentally different memory-compute trade-off from conventional structured approximation methods. Because DyRA explicitly stores the residual matrix , it requires a larger static memory footprint (area) than existing structured approximation methods.
However, this additional memory-capacity overhead does not translate proportionally into runtime DRAM traffic. In DyRA, is multiplied with a low-rank factor, rather than being used in a full dense projection. In our tiled GPU implementation, the much smaller rank dimension reduces the number of output tiles and, consequently, the number of repeated reads of each tile. Moreover, the input-dependent factors and are produced and consumed entirely within fused kernels and are therefore not materialized in DRAM.
To quantitatively characterize this trade-off, we performed additional analyses on the DINOv3 depth estimation model. We compare DyRA with structured approximation methods under matched latency, matched FLOPs, and matched accuracy, reporting static memory footprint, peak memory usage, accuracy, FLOPs reduction, and end-to-end latency. In addition, to directly characterize the runtime memory overhead beyond static memory footprint, we profiled per-kernel DRAM read/write traffic using Nsight Compute on representative DINO projection layers under the accuracy-matched configuration. The results are summarized below.
Table 1. (Approximately) matched accuracy.
| Method | a1 Acc. ↑ | FLOPs Reduction | Latency (ms/img) | Static Mem. (GB) | Peak Mem. (GB) |
|---|---|---|---|---|---|
| Dense | 0.980 | 0% | 1325 | 26.8 | 31.89 |
| Low-rank | 0.966 | 43.8% | 1023.0 | 15.1 | 20.1 |
| DyRA | 0.968 | 77.8% | 918.1 | 30.2 | 35.2 |
Table 2. DRAM read/write traffic (for a single layer).
| Method | QKV (GB) | MLP-fc1 (GB) | MLP-fc2 (GB) |
|---|---|---|---|
| Dense | 10.46 | 6.96 | 6.48 |
| DyRA (dynamic ALS part) | 6.81 | 5.17 | 5.37 |
| DyRA (static weight part) | 2.66 | 2.00 | 1.86 |
As shown in the (approximately) matched-accuracy comparison (Table1), DyRA requires a larger static memory footprint as the residual matrix is explicitly retained. However, the corresponding memory traffic does not increase proportionally with the larger static memory footprint. As confirmed by the DRAM traffic analysis under the same configuration (Table2), the additional residual path incurs only a modest memory-traffic overhead because is accessed through low-rank contractions, while the input-dependent factors and are generated and consumed within fused kernels without being materialized in DRAM. Consequently, despite the additional static memory requirement, DyRA is able to maintain essentially the similar accuracy while achieving substantially greater FLOPs reduction (77.8% vs. 43.8%) and correspondingly lower inference latency (918 ms/image vs. 1023 ms/image) than the static low-rank baseline. Similar trends are consistently observed under the matched-latency and matched-FLOPs comparisons, where DyRA achieves either significantly higher accuracy at comparable latency or substantially better accuracy than existing structured approximation methods under the same FLOPs budget.
Table 3. Matched latency.
| Method | Latency (ms/img) | a1 Acc. ↑ | FLOPs Reduction | Static Mem. (GB) | Peak Mem. (GB) |
|---|---|---|---|---|---|
| Dense | 1325 | 0.980 | 0% | 26.8 | 31.89 |
| Low-rank | 869 | 0.887 | 56.9% | 9.2 | 14.3 |
| DyRA | 862 | 0.955 | 69.2% | 29.6 | 34.6 |
Table 4. Matched FLOPs.
| Method | FLOPs Reduction | a1 Acc. ↑ | Latency (ms/img) | Static Mem. (GB) | Peak Mem. (GB) |
|---|---|---|---|---|---|
| Dense | 0% | 0.980 | 1325 | 26.8 | 31.89 |
| Low-rank | 80% | 0.613 | 749 | 4.9 | 9.92 |
| BLAST | 80% | 0.663 | 1088 | 5.4 | 12.2 |
| Monarch | 80% | 0.538 | 1013 | 5.6 | 11.8 |
| DyRA | 80% | 0.939 | 849 | 29.1 | 34.08 |
These results clarify the intended positioning of DyRA. DyRA is not designed as a memory area-saving or parameter-compression method. Rather, DyRA is designed to substantially reduce computation and achieve an overall speedup with modest memory traffic overhead while better preserving model accuracy, even if this requires additional static memory area, thereby achieving a significantly better accuracy-latency trade-off for compute-bound matrix-matrix multiplication workloads. We will make sure that the revised manuscript explicitly clarifies this positioning and includes the above memory analyses.
Rebuttal by Authors (Part 3)
[W3, Q3, L3] Applicability of DyRA (e.g., small batch experiment)
Thank you for this important suggestion. As discussed in the Limitations section and our responses to [W2,Q2], DyRA is designed for large matrix-matrix multiplication workloads and is therefore not intended for matrix-vector multiplication workloads such as token-by-token autoregressive decoding. Accordingly, we do not expect DyRA to provide the same benefit in such memory-bound decoding scenarios. Nevertheless, this operating regime encompasses a broad range of practical Transformer inference tasks, including image classification, speech recognition, diffusion language modeling, and the prefill stage of autoregressive LLM inference, as demonstrated throughout our experiments.
Following the reviewer's suggestion, we additionally evaluated the impact of batch size on the inference-time overhead of DyRA. We selected an accuracy-matched configuration on DINOv3 (Table1) and measured inference latency while varying only the batch size. As shown in Table 5, DyRA consistently outperforms the static low-rank baseline across all evaluated batch sizes (1-16). At batch size 1, DyRA achieves 964.0 ms/image, compared with 1067.9 ms/image for the accuracy-matched low-rank baseline and 1331.5 ms/image for the dense model. As the batch size increases, DyRA latency further decreases to 918.1 ms/image, as improved GPU utilization better amortizes the lightweight online computation. These results indicate that, within the matrix-matrix multiplication regime targeted by DyRA, the overhead of the inference-time dynamic correction remains small and does not become a disproportionate bottleneck even at small batch sizes.
We note that batch-1 image inference is fundamentally different from token-by-token autoregressive decoding, since a single image is processed as a sequence of image patches, still resulting in matrix-matrix multiplications, whereas autoregressive decoding is dominated by matrix-vector operations. We will include this batch-size analysis in the revised manuscript to further clarify the applicability and inference-time overhead of DyRA.
Table 5. Latency (ms/img) for different batch sizes.
| Batch | Dense | Low-rank | DyRA |
|---|---|---|---|
| 1 | 1331.5 | 1067.9 | 964.0 |
| 2 | 1340.1 | 1037.6 | 944.4 |
| 4 | 1345.9 | 1037.2 | 937.3 |
| 8 | 1339.7 | 1031.9 | 929.8 |
| 16 | 1335.7 | 1024.0 | 918.1 |
[Q4] Layer-wise Analysis of DyRA
Thank you for this valuable suggestion. We agree that a fine-grained layer-wise analysis would provide additional insight into the practical behavior of DyRA. Although the current paper does not explicitly optimize DyRA on a per-layer basis, our existing results already provide useful observations.
Specifically, Figures 3 and 11 report the layer-wise approximation errors of structured approximation, showing that the attention output projection and, in particular, the MLP FC2 (down-projection) layers exhibit the largest approximation errors. These observations suggest that accurately correcting the residual outputs of these layers is particularly important.
Furthermore, as shown in our response to reviewer cUnM (table5), our layer-wise latency analysis on the Jetson platform indicates that the MLP FC2 (down-projection) layers provide the largest latency reduction opportunity. Taken together, these results suggest that the MLP FC2 (down-projection) layers are particularly promising targets for DyRA from both the approximation-quality and computational-efficiency perspectives.
We agree that selectively applying DyRA to only a subset of layers could further improve the latency-memory-accuracy trade-off. We will include these layer-wise observations in the revised manuscript and leave selective layer optimization as an interesting direction for future work.
Follow-up
Dear Reviewer SoCR,
Thank you again for your thoughtful review and constructive feedback. As the author-reviewer discussion period is coming to a close, we wanted to kindly follow up to see whether our response has addressed your main concerns. To address your comments, our response includes the following key additions
- Memory analysis and positioning: We provide additional memory analyses under matched-accuracy, matched-latency, and matched-FLOPs settings, including static/peak memory and DRAM read/write traffic, to clarify DyRA's intended positioning as a compute-efficient rather than parameter-compression method.
- Novelty clarification: We clarify how DyRA differs from simply increasing the capacity of static structured approximations and highlight that Monarch and BLAST are already compared under matched FLOPs (Figures 4 and 5), where DyRA achieves a better accuracy-efficiency trade-off.
- Applicability analysis: We provide additional batch-size experiments (1-16), showing that DyRA consistently outperforms the static low-rank baseline across all evaluated batch sizes while further clarifying its intended operating regime.
We would be happy to provide any additional clarification if there are still remaining questions. Thank you again for the time and effort you have invested in reviewing our paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal by Authors (Part 1)
We thank the reviewer for the constructive feedback and valuable suggestions, which have helped improve the quality and clarity of the paper. We address each concern in detail below.
We thank the reviewer for raising this important point. Following the reviewer's suggestion, we implemented the two sketching-based AMM methods that achieved the best performance in the ML inference experiments of LibAMM [1] using the official codebase. Specifically, we evaluated SMP-PCA [2] and RIP [3] on ViT-L for ImageNet classification.
Following the original LibAMM evaluation setup, we first evaluated SMP-PCA and RIP by applying each method only to the final layer of ViT-L. Even under this setting, SMP-PCA and RIP incur approximately 32.28% and 33.16% accuracy degradation, respectively. We then evaluated both methods under the same end-to-end setting as DyRA by applying them to all linear layers. At 50% FLOPs reduction, both methods suffer over 70% accuracy drop, whereas DyRA achieves the same FLOPs reduction with only approximately a 1.19% accuracy drop.
We believe this performance gap primarily stems from the different assumptions underlying sketching-based AMM and matrix multiplication in DNN inference. Sketching-based AMM methods such as SMP-PCA and RIP are designed for multiplication between arbitrary matrices, where neither operand can be optimized in advance. Consequently, they rely on randomized sketching and projection techniques to approximate the matrix product. In contrast, DNN inference always multiplies an input activation matrix by a fixed model weight matrix that is fully available before inference. This allows the weight matrix itself to be optimized offline, enabling substantially stronger approximations than randomized sketching methods. As a result, for accelerating matrix multiplication in DNNs, static weight approximation methods such as low-rank and other structured decompositions (e.g., Monarch) have been widely adopted over general-purpose sketching-based AMM methods. Accordingly, rather than targeting general-purpose AMM, DyRA is designed to improve DNN matrix multiplication based on weight approximations by directly modeling the output residual introduced by these approximations through an efficient ALS formulation.
Going one step further, we also evaluated sketching-based AMM using the residual-correction formulation proposed by DyRA. The above results correspond to the conventional sketching-based AMM formulation, where the entire matrix multiplication is approximated as XW≈Sketch(XW). Here, we instead applied sketching only to the residual output on top of the static weight approximation used by DyRA, , XW≈XW^+Sketch(XWres), where Wres=W−W^. Under the same ViT-L ImageNet evaluation setting, the resulting SMP-PCA and RIP variants still incur approximately 26.55% and 26.67% accuracy degradation, respectively, at 50% FLOPs reduction, whereas DyRA incurs only approximately 1.19% degradation. These results further demonstrate that DyRA's ALS-based residual approximation is more effective than sketching-based residual approximation when combined with static weight approximations.
We will include these additional experimental comparisons and discussion in the final version.
[1] Zeng, Xianzhi, Wenchao Jiang, and Shuhao Zhang. "LibAMM: Empirical Insights into Approximate Computing for Accelerating Matrix Multiplication.” NeurIPS 2024.
[2] S. Wu, S. Bhojanapalli, S. Sanghavi, and A. G. Dimakis. “Single pass pca of matrix products.” NeurIPS 2016.
[3] F. Krahmer and R. Ward. “New and improved johnson–lindenstrauss embeddings via the restricted isometry property.” SIAM Journal on Mathematical Analysis, 43(3).