Manuscript Offprint
arXiv:2610.02882DyRA: Dynamic Residual Approximation for Efficient Matrix Multiplication in DNNs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
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. Our code is available at https://github.com/daewon88/DyRA.
1 Introduction
Recent advances in deep learning have achieved state-of-the-art performance across diverse tasks, but at substantial computational cost. Dense matrix multiplications account for much of the computation in modern deep networks , motivating work on accelerating them by replacing dense weight matrices with efficient structured forms [5, 11, 21, 22, 24, 31]. Low-rank approximation is a representative example, while block-structured variants such as Monarch [11] and BLAST [22] offer more expressive alternatives. Given a pre-trained model, these methods approximate its weight matrices via closed-form decompositions or iterative optimization, enabling faster inference with reduced FLOPs.
Despite their effectiveness, these methods are fundamentally weight-centric: they optimize approximations in weight space without explicitly accounting for the input activations seen at inference time. However, the actual computation is determined by the realized product between activations and weights, not by the weights alone. Thus, even small weight-space residuals can be amplified by the input, causing large output activation errors [40]. We illustrate this limitation on DINOv3 [35], a large-scale vision foundation model. As shown in Figure 1, replacing all dense linear layers with structured matrices such as low-rank, Monarch, and BLAST makes PCA feature visualizations noticeably noisier and less semantically organized than those of the original model. This demonstrates that approximating weights alone may fail to preserve model behavior.
Contributed to this work while at the University of Michigan.
For example, in ViT-L/16 [14], linear layers account for approximately 96.7% of total FLOPs.
40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure 1: DINOv3 feature visualizations under a 60% FLOPs reduction. After replacing all dense linear layers with structured weights, we visualize the resulting features using the DINO PCA protocol, mapping the first three principal components to RGB. Weight-only approximations produce noisy, semantically degraded features, while DyRA preserves structures close to the original model.
To address this limitation, we propose DyRA (Dynamic Residual Approximation), an input-adaptive method that improves structured matrix multiplication by correcting output errors on the fly. DyRA augments a static weight approximation with a dynamic correction adapted to the input activations. This correction is computed through nested optimization during inference to minimize residual output errors induced by the approximated weight matrix. Rather than evaluating the exact residual through an expensive dense multiplication, DyRA uses low-rank factors to approximate the residual directly in the output space, not the weight space. These factors are efficiently computed at inference time using alternating least squares, without explicitly forming the dense residual product. Consequently, DyRA provides input-adaptive output correction that more faithfully approximates the original matrix multiplication under a fixed computational budget. Figure 1 shows that this correction substantially preserves the semantic structure of DINOv3 features compared with weight-only approximations.
We validate DyRA as a test-time model approximation and acceleration technique across pre-trained vision, language, and speech models. Combined with structured matrices such as low-rank, Monarch, and BLAST, DyRA consistently improves the accuracy–efficiency trade-off over weight-only baselines. For example, on semantic segmentation with DINOv3 at a 60% FLOPs reduction, DyRA limits the mIoU drop to 1.7 points, whereas the weight-only baseline drops by 54.1 points. These gains translate to practical runtime improvements: on DINOv3, it achieves a GPU speedup while incurring only 1/3 of the accuracy drop of the weight-only baseline at the same speedup.
2.1 Overview
Starting from a pre-trained weight matrix W, matrix approximation or model compression methods approximate the weight with a computationally efficient structured form (e.g., low-rank or block-structured approximation). The original weight matrix can be written as
where denotes the residual. Accordingly, the exact matrix product can be written as
given input activation X. Conventional approximation methods use only the first term and approximate the full product as . The approximation error is thus given by , rather than the residual weight matrix alone. This implies that, even when is chosen to minimize , the resulting error remains input-dependent and may still be large in the output space due to its interaction with the input X.

Figure 2: Convergence of ALS-based residual product approximation across ViT layers. Relative squared Frobenius error is measured for attention projections and MLP layers with target rank r = 16.
To address this limitation, DyRA explicitly accounts for the input-dependent residual product by approximating it at inference time. This augments the static approximation with a dynamic correction, yielding a more faithful estimate of XW within a fixed computational budget. In the following, we introduce the dynamic residual approximation that enables this correction efficiently, and analyze its key properties.
2.2 Dynamic Residual Approximation
Given an input matrix and a residual weight matrix , our goal is to efficiently approximate the residual product at inference time without performing the full matrix multiplication. To this end, we formulate the residual output computation as an optimization problem over low-rank factors. Specifically, we seek a low-rank approximation , where and with , by solving
This objective directly approximates the realized residual output , rather than the residual weight matrix alone. Its optimal rank-r solution is given by the truncated singular value decomposition (SVD) of [15]. However, computing this solution requires explicitly forming the full product , which defeats the purpose of reducing computational cost. We therefore directly optimize the low-rank factors L and R without explicitly forming . Specifically, we optimize the objective in Eq. 3 using alternating least squares (ALS). Starting from an initial right factor , ALS alternates between least-squares subproblems obtained by fixing one factor and optimizing the other. This yields the following closed-form updates at iteration :
A key efficiency advantage of this ALS formulation is that each update is performed through low-rank intermediate computations. In the update, is first projected onto the rank- right factor, yielding . This reduces the output dimension from to , so that is multiplied only with a slim matrix. Similarly, in the update, the input matrix is first projected onto the rank- left factor as , reducing the input side from to before being multiplied by . As a result, the residual output is estimated efficiently as using low-dimensional intermediate products, without explicitly forming the full residual output.
In practice, we use a ridge-regularized version of these updates by adding a small to the Gram matrices, i.e., and , for numerical stability.
Convergence of ALS Residual Approximation We empirically examine the convergence of the ALS-based residual product approximation using a Vision Transformer (ViT) [14] evaluated with ImageNet [13] samples. We apply ALS to approximate the residual product at multiple linear layers of the model with a small target rank , initializing from a Gaussian distribution. In Figure 2, we report the relative squared Frobenius error across ALS steps for both attention projections and multi-layer perceptron (MLP) layers. Across layers, the approximation rapidly approaches the optimal rank-r solution within only one or two iterations. These results indicate that only a single update per factor is sufficient to effectively approximate the residual product, demonstrating the efficiency of ALS for the dynamic residual approximation. Further details on the experimental setup, along with additional results across various layers, are provided in Appendix E.3.
2.3 Analysis of DyRA with One-Step ALS Residual Approximation
Given the rapid convergence observed above, we use only one ALS iteration as the default configuration of DyRA throughout this work. The resulting approximation is
where denotes one ALS iteration, which updates once and once. Notably, the left-factor update admits an efficient implementation:
where is precomputed offline as it depends only on and the fixed initialization . Thus, computing at inference time requires only multiplying by a slim matrix , reducing the online cost of largely to the update.
Subspace Comparison under the Same Rank Increase We now analyze this one-step variant to clarify what DyRA contributes beyond static approximation. While DyRA can be combined with any structured weight such as Monarch [11] and BLAST [22], we focus on the low-rank case for analytical clarity. We first compare DyRA with simply increasing the rank of a static low-rank approximation. We then quantify the additional cost of DyRA and use it to construct a FLOPs-matched static baseline.
Specifically, we compare DyRA at correction rank r with a static (weight-only) low-rank approximation whose rank is increased by the same amount, from to . For DyRA, we take the rank-k truncated SVD of W as the static approximation and apply rank-r DyRA correction. The resulting DyRA is compared with the static rank- truncated SVD approximation of the weight. The following proposition characterizes this difference.
Proposition 1. Let be the SVD of , and let be its rank-k truncated SVD approximation. Assume DyRA approximates with rank by one ALS iteration, initialized with . Then the resulting approximation can be written as
where and .
The proposition shows that DyRA uses the same additional left directions as the static rank- SVD approximation, . The difference lies in how these directions are paired on the right side. A static rank- approximation uses the fixed weight-only basis . In contrast, DyRA replaces this basis with , which is optimized for the current input through . Thus, DyRA is not merely increasing the static rank; it constructs an input-adaptive residual subspace tailored to the realized product .
While more ALS iterations can further refine the approximation, one iteration captures most of the gain. Thus, under a fixed computation budget, we use a single iteration and allocate the saved computation to using a larger rank r.

Figure 3: Remaining normalized Frobenius error of DyRA and a static low-rank baseline under a matched FLOPs budget. The error is measured between the original dense output and the approximated output across ViT layers.
This distinction becomes clearer in the isotropic case . In this case, , so DyRA reduces to the static rank- approximation. When , however, the current input reweights feature directions, and generally differs from the weight-only basis. This is precisely where DyRA gains input adaptivity. The proof is provided in Appendix C.
Computational Cost We now quantify the computational overhead of constructing the input-adaptive subspace. Let , , and let denote the rank of the dynamic residual correction. As shown in Eq. 7, the left-factor update multiplies by a slim matrix, costing . The right-factor update projects the residual product onto the -dimensional subspace defined by , with dominant cost . Including the final multiplication , the dynamic residual correction costs . Combined with the cost of the rank- static approximation, DyRA totals . Since is typically much smaller than and , this remains substantially cheaper than the dense product , which costs . Compared with simply increasing the static rank to , DyRA incurs an extra term, which is the cost of constructing the input-adaptive subspace.
FLOPs-Matched Comparison Given this overhead, we examine whether DyRA's gains persist under a matched computational budget. To this end, we compare DyRA against a FLOPs-matched static low-rank weight approximation baseline on ViT. Starting from a rank-k approximation of W, DyRA applies a rank-r dynamic correction to reduce the remaining output error. For the static baseline, we instead increase the rank from to , where the additional rank accounts for the overhead of the dynamic correction, so that both methods use the same FLOPs budget . Figure 3 shows the remaining normalized Frobenius error across different ViT layers. Under this FLOPs-matched setting, DyRA consistently achieves lower error than the static low-rank baseline. These results show that, under the same computational budget, input-adaptive residual subspaces approximate the output more faithfully than higher-rank static approximations. Additional results for the remaining attention and MLP layers are provided in Appendix E.4.
2.4 Implementation of DyRA
To minimize GPU memory traffic, we implement DyRA with custom Triton [36] kernels. Rather than materializing the reconstructed residual LR in HBM, we fuse the low-rank reconstruction with the output merge: given and , the kernel accumulates on-chip and directly writes to the output tensor. For linear layers, we further fuse the base projection, bias addition, and residual correction, computing within a single Triton kernel. This eliminates intermediate tensors and reduces HBM accesses.
The ALS update requires solving an symmetric positive definite system for each batch instance. For small , we use a Triton Cholesky solver, keeping the factorization and triangular solves in on-chip cache/registers. For a larger , Cholesky becomes too sequential to fully utilize GPU parallelism, so we use a Newton–Schulz iterative solver. This replaces dependency-heavy factorization with matrix-multiplication-based updates, improving the GPU’s parallelism and tensor-core utilization.
The matching is done at the level of exact FLOPs counts rather than asymptotic order, so also absorbs the constant and lower-order terms omitted in the notation.

Figure 4: ImageNet classification accuracy at different FLOPs reduction levels for ViT-L. DyRA consistently improves the accuracy–efficiency trade-off across low-rank, Monarch, and BLAST.
3 Experimental Results
We validate DyRA by integrating it with several structured weight approximations, including low-rank, Monarch [11], and BLAST [22]. We first evaluate DyRA as a test-time model approximation/acceleration technique applied to pre-trained models (without any fine-tuning) across vision, language, and speech tasks, demonstrating consistent improvements in downstream performance under matched computational budgets (Section 3.1). We then measure end-to-end latency to assess whether these computational savings translate into practical speedups on a GPU (Section 3.2). Finally, we study settings where additional adaptation is available, showing that DyRA can be combined with post-training calibration or fine-tuning to further improve performance (Section 3.3). All experimental details are provided in Appendix D.
3.1 Test-Time Model Approximation and Acceleration Across Domains
Image Classification with ViT We evaluate DyRA on ImageNet [13] classification using a pre-trained ViT-L model [14]. We apply structured weight approximations to all dense linear layers in both the attention and MLP blocks, and measure top-1 accuracy under different FLOPs budgets. For DyRA, we fix the dynamic residual rank to and vary the budget of the static weight approximation to control the overall FLOPs. As shown in Figure 4, DyRA consistently improves the accuracy–efficiency trade-off across all structured baselines. In particular, at around FLOPs reduction, the low-rank and BLAST baselines incur accuracy drops of and , respectively, whereas combining them with DyRA reduces the drops to and .
Dense Prediction Tasks with DINO Beyond image-level classification, we further show that DyRA preserves fine-grained representations required for dense prediction. To this end, we evaluate semantic segmentation on ADE20K [42] and depth estimation on NYUv2 [34] using DINOv3 [35]. We apply DyRA to all linear layers and compare it against the corresponding static weight approximation baselines. As shown in Figure 5, DyRA achieves a substantially better accuracy–efficiency trade-off across both tasks. In particular, for semantic segmentation at 60% FLOPs reduction, DyRA reduces mIoU by only 1.7 points relative to the original model, preserving most of its dense prediction performance. In contrast, the static weight approximation baseline suffers a 54.1 point drop in mIoU, indicating a severe degradation in fine-grained representations.
Speech Recognition We evaluate DyRA on automatic speech recognition using a pre-trained Wav2Vec 2.0 Large model [2]. We apply DyRA to all MLP layers and the query/key projections, and measure word error rate (WER) under different FLOPs reduction ratios. As shown in Table 1 on the LibriSpeech Clean test set [28], DyRA consistently achieves lower WER than static weight approximation baselines under matched computational budgets. These results demonstrate that, similar to the vision domains, combining DyRA with structured weight approximations is more effective than using weight approximation alone, and generalizes well to the audio domain.
Table 1: WER under different FLOPs reduction ratios (FRR).
| FRR | Method | WER(↓) |
|---|---|---|
| 0% | Original | 1.92 |
| 25% | Low-rank | 2.21 |
| Low-rank + DyRA | 2.08 | |
| BLAST | 2.07 | |
| BLAST + DyRA | 2.03 | |
| 50% | Low-rank | 24.54 |
| Low-rank + DyRA | 4.89 | |
| BLAST | 6.48 | |
| BLAST + DyRA | 4.27 |

(a) Semantic Segmentation on ADE20K.

(b) Depth Estimation on NYUv2.
Figure 5: DyRA vs. static weight approximations on dense prediction with DINOv3. DyRA achieves a superior accuracy–efficiency trade-off for semantic segmentation and depth estimation.
Language Modeling We evaluate DyRA on language modeling using LLaDA-8B [27], a large language diffusion model. We apply DyRA to all MLP layers and the query/key projections, and evaluate performance on HumanEval [6] for code generation and GSM8K [10] for mathematical reasoning. As shown in Figure 7a, the low-rank baseline performs poorly on both tasks, with accuracy below 4%. In contrast, DyRA improves performance by more than 20 percentage points in both cases under the same computational budget, achieving results substantially closer to the original model. These results demonstrate that DyRA makes structured weight approximation usable for large language diffusion models, even when the FLOPs-matched low-rank baseline largely fails.
3.2 Runtime Analysis
We evaluate whether the computational savings of DyRA translate into actual end-to-end speedups on a GPU. To this end, we apply DyRA to DINOv3 and compare it against static weight approximation baselines, including low-rank and BLAST. Following Section 2.4, we use the fused Triton kernels for DyRA. For the weight-only baselines, we use the faster option between the optimized structured kernels in [1] and torch.compile() optimization of PyTorch [29]. We measure the end-to-end latency of depth estimation on the NVIDIA A40 GPU.
Figure 6 shows the relative speedup across different depth-estimation accuracy levels. DyRA achieves a end-to-end speedup with only a small accuracy

Figure 6: End-to-end latency vs. accuracy on DINOv3 depth estimation.
degradation of about 0.6%, demonstrating that its FLOPs reduction translates into practical runtime improvement. Compared with the static low-rank baseline, DyRA provides a substantially better accuracy–latency trade-off. It achieves larger speedups at similar accuracy levels, while the low-rank baseline incurs a larger accuracy drop to reach a speedup. Overall, these results show that DyRA provides practical speedups on the NVIDIA A40 GPU while maintaining a more favorable balance between speed and accuracy than static weight approximations.

(a) LLaDA 8B on HumanEval and GSM8K
(b) ViT-L on ImageNet-1K
Figure 7: Comparison between DyRA and input-aware decomposition on LLaDA-8B and ViT-L. DyRA generally achieves better performance, and can further improve results by using input-aware decomposition as the static approximation.
3.3 Further Evaluations with Augmented Methods
Comparison with Input-aware Decomposition We compare DyRA with input-aware decomposition [38, 40], a post-training method that leverages calibration data to compute low-rank weight factors better aligned with output activations. Figure 7 reports results on LLaDA for HumanEval and GSM8K, and on ViT for ImageNet classification. Compared with vanilla low-rank decomposition, input-aware decomposition recovers part of the performance loss across these settings, confirming that activation information is useful for structured approximation.
However, since the decomposed weights are fixed after calibration, input-aware decomposition cannot adapt to the activations of each test sample. DyRA provides this missing input-dependent correction at inference time, achieving a better accuracy–efficiency trade-off than input-aware decomposition alone. Moreover, because DyRA operates as a correction on top of the structured computation, it can be combined with input-aware decomposition. In LLaDA, combining DyRA with input-aware decomposition further improves performance on both HumanEval and GSM8K. Similarly, on ImageNet classification at around 70% FLOPs reduction, combining DyRA with input-aware decomposition further improves accuracy from 65.4% to 68.8% over DyRA with vanilla low-rank decomposition, showing that DyRA can further benefit from stronger calibrated static approximations.
Fine-tuning Results Beyond combining DyRA with input-aware decomposition, we further evaluate DyRA under direct fine-tuning on ImageNet classification. In this experiment, we replace all linear layers of a ViT-L model with DyRA-augmented low-rank approximations and fine-tune the resulting model on ImageNet for 15 epochs. For comparison, we fine-tune a low-rank weight-only baseline under the same setting. As shown in Figure 8, consistent with the test-time approximation evaluation in prior subsections, DyRA with fine-tuning outperforms the static weight approximation baseline across different FLOPs budgets. Notably, at around 60% FLOPs reduction, DyRA even slightly surpasses the original dense model while using substantially fewer FLOPs. These results suggest that DyRA remains effective after fine-tuning.

Figure 8: Fine-tuning results on ImageNet classification with ViT-L.
Ablation Study We analyze key components of DyRA: the residual rank and the number of ALS iterations for an ablation study. We conduct experiments on ViT image classification by combining DyRA with a low-rank weight approximation and varying each hyperparameter. Figure 9 (left) reports the effect of the residual rank, evaluated with . DyRA consistently outperforms the corresponding low-rank static weight approximation baseline across all choices of , showing that allocating even a small budget to the dynamic residual is beneficial and that performance is relatively robust to the choice of . We then evaluate the effect of the ALS iteration count with in Figure 9 (right), where denotes the update sequence . It shows that all configurations substantially improve over the static approximation baseline. Notably, already achieves strong

Figure 9: Ablation study on ImageNet classification with ViT-L. Left: DyRA with different residual ranks r. Right: DyRA with different ALS iteration counts t.
performance, suggesting that most of the gain comes from a single iteration. This supports our default choice of t = 1, which provides a favorable trade-off between accuracy and computational cost.
4 Related Works
Structured Matrices for Efficient DNN Inference Structured matrices have been widely used to reduce the cost of dense linear layers in deep neural networks. Prior studies [3, 16, 18, 19] have observed that pretrained weight matrices often exhibit low-rank structure, motivating low-rank approximation as a simple compression strategy [17]. More expressive block-structured variants, such as Monarch [11] and BLAST [22], improve the trade-off between efficiency and accuracy, while methods such as GBLR [21] and Einsum Linear [30] learn efficient weight structures directly. Another line of work incorporates activation information from calibration data to obtain input-aware weight decompositions [7, 38–40]. However, these methods still produce a static approximation before inference, and cannot adapt to the sample-dependent error induced by the current input. Our method addresses this limitation by approximating the realized output error on the fly for each input. Importantly, our method can be combined with advanced structured or input-aware decompositions to obtain a more faithful matrix multiplication under a fixed computational budget.
Low-Rank Approximation via Alternating Least Squares Alternating least squares (ALS) has been studied as an efficient method for low-rank approximation and reconstruction, as it reduces a rank-constrained problem to a sequence of tractable least-squares subproblems. Prior work has used ALS for low-rank matrix reconstruction from underdetermined measurements [41], structured low-rank recovery with ADMM-style updates [23], and spectral analyses connected to orthogonal iteration [12]. In contrast, we use ALS to approximate matrix products directly, targeting efficient matrix multiplication rather than reconstruction of a single matrix.
5 Conclusion
This work shows that the accuracy–efficiency trade-off of matrix multiplication in pre-trained DNNs can be improved by approximating the realized output product, rather than only the weight matrix. We formulate this output-domain approximation as a low-rank factorization problem and solve it efficiently with ALS during model inference. Building on this formulation, we propose DyRA, which augments static weight approximations with an input-adaptive residual correction. Our experiments show that this correction consistently improves the accuracy–efficiency trade-off across low-rank, Monarch, and BLAST approximations. In particular, DyRA preserves dense prediction performance under aggressive FLOPs reduction and translates these savings into practical speedups on a GPU.
Limitations and Future Work. DyRA is designed to accelerate dense matrix multiplication by combining dynamic residual approximation with efficient structured weight approximations. As a result, it is most effective in regimes with large matrix–matrix multiplications, whereas token-by-token vector–matrix workloads such as autoregressive decoding are not its primary target application.
Nevertheless, DyRA remains applicable to the prefill stage of autoregressive language models, where the full prompt induces large matrix multiplications. We provide supporting results in the supplementary material (Appendix E.1).
Finally, as a test-time acceleration approach, DyRA offers additional flexibility compared to static approximation methods whose rank must be fixed offline. In principle, the dynamic residual rank can be adjusted based on the input or computational budget at inference time. Exploring such adaptive rank allocation is left for future work.
Acknowledgments
This work was in part supported by MSTAR automotive microelectronics research award #N036453, and also by the Center on Cognitive Multispectral Sensors (COGNISENSE), one of seven centers in Joint University Microelectronics Program (JUMP) 2.0, a Semiconductor Research Corporation (SRC) program sponsored by Defense Advanced Research Projects Agency (DARPA). Daewon Chae would like to acknowledge the support from the Hyundai Motor Chung Mong-Koo Foundation.
References
[1] Pierre Abillama, Changwoo Lee, Juechu Dong, David Blaauw, Dennis Sylvester, and Hun-Seok Kim. Memory-efficient acceleration of block low-rank foundation models on resource constrained gpus. arXiv preprint arXiv:2512.20861, 2025.
[2] Alexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, and Michael Auli. wav2vec 2.0: A framework for self-supervised learning of speech representations. Advances in neural information processing systems, 33:12449–12460, 2020.
[3] Laura Balzano, Tianjiao Ding, Benjamin D Haeffele, Soo Min Kwon, Qing Qu, Peng Wang, Zhangyang Wang, and Can Yaras. An overview of low-rank structures in the training and adaptation of large models. arXiv preprint arXiv:2503.19859, 2025.
[4] Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, et al. Piqa: Reasoning about physical commonsense in natural language. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 7432–7439, 2020.
[5] Beidi Chen, Tri Dao, Kaizhao Liang, Jiaming Yang, Zhao Song, Atri Rudra, and Christopher Re. Pixelated butterfly: Simple and efficient sparse training for neural network models. In International Conference on Learning Representations, 2022.
[6] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde De Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021.
[7] Patrick Chen, Hsiang-Fu Yu, Inderjit Dhillon, and Cho-Jui Hsieh. Drone: Data-aware low-rank compression for large nlp models. Advances in neural information processing systems, 34:29321–29334, 2021.
[8] Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. Boolq: Exploring the surprising difficulty of natural yes/no questions. In Proceedings of the 2019 conference of the north American chapter of the association for computational linguistics: Human language technologies, volume 1 (long and short papers), pages 2924–2936, 2019.
[9] Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try arc, the ai2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.
[10] Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.
[11] Tri Dao, Beidi Chen, Nimit S Sohoni, Arjun Desai, Michael Poli, Jessica Grogan, Alexander Liu, Aniruddh Rao, Atri Rudra, and Christopher Ré. Monarch: Expressive structured matrices for efficient and accurate training. In International Conference on Machine Learning, pages 4690–4721. PMLR, 2022.
[12] Achiya Dax. The equivalence between orthogonal iterations and alternating least squares. ADVANCES IN LINEAR ALGEBRA & MATRIX THEORY., 10(2):7–21, 2020.
[13] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009.
[14] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021.
[15] Carl Eckart and Gale Young. The approximation of one matrix by another of lower rank. Psychometrika, 1(3):211–218, 1936.
[16] Tomer Galanti, Zachary S Siegel, Aparna Gupte, and Tomaso A Poggio. SGD with weight decay secretly minimizes the ranks of your neural networks. In The Second Conference on Parsimony and Learning (Proceedings Track), 2025.
[17] Habib Hajimolahoseini, Walid Ahmed, Mehdi Rezagholizadeh, Vahid Partovinia, and Yang Liu. Strategies for applying low rank decomposition to transformer-based models. In 36th Conference on Neural Information Processing Systems (NeurIPS2022), volume 6, 2022.
[18] Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Liang Wang, Weizhu Chen, et al. Lora: Low-rank adaptation of large language models. ICLR, 1(2):3, 2022.
[19] AJAY KUMAR JAISWAL, Yifan Wang, Lu Yin, Shiwei Liu, Runjin Chen, Jiawei Zhao, Ananth Grama, Yuandong Tian, and Zhangyang Wang. From low rank gradient subspace stabilization to low-rank weights: Observations, theories, and applications. In Forty-second International Conference on Machine Learning, 2025.
[20] Jacob Kahn, Morgane Riviere, Weiyi Zheng, Evgeny Kharitonov, Qiantong Xu, Pierre-Emmanuel Mazaré, Julien Karadayi, Vitaliy Liptchinsky, Ronan Collobert, Christian Fuegen, et al. Libri-light: A benchmark for asr with limited or no supervision. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 7669–7673. IEEE, 2020.
[21] Changwoo Lee and Hun-Seok Kim. Differentiable learning of generalized structured matrices for efficient deep neural networks. In The Twelfth International Conference on Learning Representations, 2024.
[22] Changwoo Lee, Soo Min Kwon, Qing Qu, and Hun-Seok Kim. Blast: Block-level adaptive structured matrices for efficient deep neural network inference. Advances in Neural Information Processing Systems, 37:14996–15027, 2024.
[23] Kezhi Li, Martin Sundin, Cristian R Rojas, Saikat Chatterjee, and Magnus Jansson. Alternating strategies are good for low-rank matrix reconstruction. arXiv preprint arXiv:1407.3410, 2014.
[24] Chi-Heng Lin, Shangqian Gao, James Seale Smith, Abhishek Patel, Shikhar Tuli, Yilin Shen, Hongxia Jin, and Yen-Chang Hsu. ModeGPT: Modular decomposition for large language model compression. In The Thirteenth International Conference on Learning Representations, 2025.
[25] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
[26] Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct electricity? a new dataset for open book question answering. In Proceedings of the 2018 conference on empirical methods in natural language processing, pages 2381–2391, 2018.
[27] Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, JUN ZHOU, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. Large language diffusion models. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2026.
[28] Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. Librispeech: an asr corpus based on public domain audio books. In 2015 IEEE international conference on acoustics, speech and signal processing (ICASSP), pages 5206–5210. IEEE, 2015.
[29] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32, 2019.
[30] Andres Potapczynski, Shikai Qiu, Marc Finzi, Christopher Ferri, Zixi Chen, Micah Goldblum, C Bayan Bruss, Christopher De, and Andrew G Wilson. Searching for efficient linear layers over a continuous space of structured matrices. Advances in Neural Information Processing Systems, 37:3857–3881, 2024.
[31] Shikai Qiu, Andres Potapczynski, Marc Anton Finzi, Micah Goldblum, and Andrew Gordon Wilson. Compute better spent: Replacing dense layers with structured matrices. In Forty-first International Conference on Machine Learning, 2024.
[32] Tal Ridnik, Emanuel Ben-Baruch, Asaf Noy, and Lihi Zelnik-Manor. Imagenet-21k pretraining for the masses. arXiv preprint arXiv:2104.10972, 2021.
[33] Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale. Communications of the ACM, 64(9):99–106, 2021.
[34] Nathan Silberman, Derek Hoiem, Pushmeet Kohli, and Rob Fergus. Indoor segmentation and support inference from rgbd images. In European conference on computer vision, pages 746–760. Springer, 2012.
[35] Oriane Siméoni, Huy V Vo, Maximilian Seitzer, Federico Baldassarre, Maxime Oquab, Cijo Jose, Vasil Khalidov, Marc Szafraniec, Seungeun Yi, Michaël Ramamonjisoa, et al. Dinov3. arXiv preprint arXiv:2508.10104, 2025.
[36] Philippe Tillet, Hsiang-Tsung Kung, and David Cox. Triton: an intermediate language and compiler for tiled neural network computations. In Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages, pages 10–19, 2019.
[37] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.
[38] Xin Wang, Yu Zheng, Zhongwei Wan, and Mi Zhang. SVD-LLM: Truncation-aware singular value decomposition for large language model compression. In The Thirteenth International Conference on Learning Representations, 2025.
[39] Hao Yu and Jianxin Wu. Compressing transformers: Features are low-rank, but weights are not! In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 11007–11015, 2023.
[40] Zhihang Yuan, Yuzhang Shang, Yue Song, Dawei Yang, Qiang Wu, Yan Yan, and Guangyu Sun. Asvd: Activation-aware singular value decomposition for compressing large language models. arXiv preprint arXiv:2312.05821, 2023.
[41] Dave Zachariah, Martin Sundin, Magnus Jansson, and Saikat Chatterjee. Alternating least-squares for low-rank matrix reconstruction. IEEE Signal Processing Letters, 19(4):231–234, 2012.
[42] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 633–641, 2017.
A DyRA Algorithm
Algorithm 1 summarizes the overall DyRA procedure, including offline preparation and inference-time dynamic residual correction.
Algorithm 1 DyRA with One-Step ALS Residual Approximation
1: procedure OFFLINE PREPARATION(W, k, r, λ) 2: Compute a structured approximation of W 3: 4: Initialize and fix 5: Precompute 6: return 7: end procedure
8: procedure INFERENCE(X, ) 9: 10: 11: 12: 13: return 14: end procedure
B Background on Structured Matrices
Low-Rank Approximation Low-rank approximation represents a weight matrix as the product of two smaller matrices,
where . A standard choice is the rank-r truncated singular value decomposition (SVD). Given , the approximation is
This approximation keeps the top-r singular components of W, providing the best rank-r approximation under the Frobenius norm.
Monarch Matrix Monarch matrices [11] represent a weight matrix using two block-diagonal factors with an intermediate permutation. For with , the approximation is written as
where for and for . Here, is a fixed permutation matrix that reorders the block structure, so that the overall product induces a structured block-wise pattern in . In practice, the factors can be obtained by reshaping the dense weight into blocks, applying a truncated SVD to each block, and rearranging the resulting factors.
BLAST BLAST [22] represents a weight matrix using shared block-row and block-column bases. For , we partition the matrix into a grid of blocks . Each block is parameterized as
Here, is shared by all blocks in the same block row, and is shared by all blocks in the same block column. The middle factor is specific to each block and controls how the shared row and column bases are combined. This parameterization captures low-dimensional structure at the block level while reusing bases across the matrix. In practice, the BLAST factors are obtained by minimizing the reconstruction error between and .
Input-Aware Decomposition Input-aware decomposition aims to better preserve output activations by incorporating calibration inputs into the weight approximation. Given a calibration set , these methods approximate by reducing the output-space discrepancy measured on the calibration set, . A common formulation introduces an invertible transformation matrix and rewrites the weight as . Truncated SVD is then applied to the transformed weight,
yielding the approximation
The transform S determines how calibration activations influence the decomposition. For example, S can be chosen as a diagonal scaling matrix based on channel-wise activation magnitudes [40], or as a Cholesky factor of the input covariance matrix computed from the calibration set [38, 40].
C Proof of Proposition 1
Proof. We start from the one-step DyRA approximation in Eq. 6,
In the low-rank case, the static approximation is
and the residual is
We initialize the right factor as . Since the singular vectors are orthonormal, . Substituting this into the left-factor update in Eq. 4 yields
(13)
Let , so that .
Substituting this into the right-factor update in Eq. 5, we obtain
(14)
Plugging the resulting one-step factors into Eq. 6, we obtain
(15)
This proves the stated form.
Finally, if , then
Using orthogonality of singular vectors,
which gives . Thus, DyRA reduces to the static rank- truncated SVD in the isotropic case.
D Experimental Details
In this section, we provide additional details on the experimental setup. Unless otherwise specified, we use one ALS iteration for DyRA across all experiments. We initialize with the top right singular vectors of the residual weight , following the subspace interpretation in Section 2.3. This initialization is performed once offline before inference and does not introduce input-dependent overhead.
Image Classification For image classification, we evaluate DyRA on ImageNet-1K using a ViT-L/32 model [14] pretrained on ImageNet-21K [32]. We apply DyRA to all linear layers in the model, including the MLP layers and the query, key, value, and output projections in the attention blocks. We fix the rank of the dynamic residual approximation to r = 8 and control the FLOPs by varying the configuration of the static weight approximation.
For low-rank approximation, we vary the static rank over . For Monarch, we vary the Monarch block size over . For BLAST, we fix the block partition to 4 and vary the static rank over . For each structured approximation, we construct the corresponding weight-only baseline by sweeping its configuration to match the FLOPs of DyRA.
Dense Prediction For dense prediction, we evaluate DyRA on semantic segmentation and depth estimation using a ViT-7B-based DINOv3 model [35]. We evaluate semantic segmentation on ADE20K [42] and depth estimation on NYUv2 [34]. For both tasks, we follow the image preprocessing and decoding protocol of DINOv3 . We apply DyRA uniformly to all linear layers in the model.
We fix the rank of the dynamic residual approximation to and vary the configuration of the static weight approximation to control the FLOPs reduction. For depth estimation, we sweep the low-rank approximation rank over , the BLAST rank over , and the Monarch block size over . For semantic segmentation, we sweep the low-rank approximation rank over , the BLAST rank over , and the Monarch block size over . The corresponding weight-only baselines are obtained by adjusting the same configuration parameters to match the FLOPs of DyRA.
Speech Recognition For speech recognition, we evaluate DyRA on Wav2Vec2-Large [2], pretrained and fine-tuned on 960 hours of Libri-Light [20] and LibriSpeech [28]. We report word error rate (WER) on the LibriSpeech test set, following the standard audio preprocessing and CTC-based decoding protocol used for Wav2Vec2. DyRA is applied to the query and key projections in the attention blocks and to the two fully connected layers in each MLP block. For both DyRA and the corresponding weight-only baselines, rank parameters are selected by grid search over a predefined set of configurations under target FLOPs reduction ratios of 25% and 50%.
We summarize each DyRA configuration as , where , , and denote the MLP rank, attention rank, and residual rank, respectively. The selected configurations are (370, 210, 48) and (200, 60, 36) for BLAST at 25% and 50% FLOPs reduction, respectively, and (440, 160, 44) and (200, 90, 36) for low-rank at 25% and 50% FLOPs reduction, respectively.
Language Modeling For language modeling, we evaluate DyRA on LLaDA-8B [27], a large language diffusion model. We consider two benchmarks: HumanEval [6] for code generation and GSM8K [10] for mathematical reasoning. We apply low-rank-based DyRA to the query and key projections in the attention blocks and to the MLP layers. Following prior observations that query and key projections in LLMs are more amenable to compression [19], we use more aggressive FLOPs reduction for the query and key projections than for the MLP layers.
https://huggingface.co/google/vit-large-patch32-384
https://github.com/facebookresearch/dinov3
https://huggingface.co/facebook/wav2vec2-large-960h-lv60-self
https://huggingface.co/GSAI-ML/LLaDA-8B-Base
Table 2: Perplexity comparison on language modeling benchmarks without fine-tuning. Lower is better. Bold indicates the best performance under the same compression ratio.
| CR | Method | WikiText | PG-19 | C4 |
|---|---|---|---|---|
| 0% | Dense | 9.38 | 10.07 | 7.01 |
| 20% | Low-Rank | 16.00(+6.62) | 15.93(+5.86) | 10.81(+3.80) |
| BLAST | 12.94(+3.56) | 13.05(+2.98) | 9.26(+2.25) | |
| Low-Rank + DyRA | 12.03(+2.65) | 12.48(+2.41) | 8.75(+1.74) |
Table 3: Performance comparison across multiple-choice reasoning benchmarks. FR denotes the FLOP reduction ratio. Values in parentheses indicate accuracy changes relative to the dense model. Bold indicates the best performance under the same compression ratio.
| FR | Method | PIQA | Wino | BoolQ | OBQA | ARC-e | ARC-c | Avg |
|---|---|---|---|---|---|---|---|---|
| 0% | Dense | 81.66 | 74.90 | 77.03 | 47.60 | 80.18 | 50.85 | 68.70 |
| 20% | Low-Rank | 76.66(-5.00) | 69.38(-5.52) | 69.42(-7.61) | 45.20(-2.40) | 73.53(-6.65) | 41.72(-9.13) | 62.65(-6.05) |
| BLAST | 78.56(-3.10) | 67.64(-7.26) | 66.91(-10.12) | 44.80(-2.80) | 75.42(-4.76) | 43.43(-7.42) | 62.79(-5.91) | |
| Low-Rank + DyRA | 77.69(-3.97) | 69.93(-4.97) | 71.50(-5.53) | 48.60(+1.00) | 76.05(-4.13) | 44.11(-6.74) | 64.65(-4.05) |
For HumanEval, we use two DyRA configurations targeting 20% and 40% total FLOPs reduction. At 20% reduction, we set the query/key static rank to 840 with residual rank 40, and the MLP static rank to 1000 with residual rank 150. At 40% reduction, we set the query/key static rank to 300 with residual rank 50, and the MLP static rank to 300 with residual rank 150.
For GSM8K, we again use two configurations targeting 20% and 40% total FLOPs reduction. At 20% reduction, we set the query/key static rank to 512 with residual rank 240, and the MLP static rank to 1024 with residual rank 380. At 40% reduction, we set the query/key static rank to 320 with residual rank 180, and the MLP static rank to 630 with residual rank 270.
Fine-tuning ViT on ImageNet For the fine-tuning experiment, we use a ViT-L/32 model pretrained on ImageNet-21K and fine-tune it on ImageNet-1K. We apply DyRA uniformly to all linear layers, including the MLP layers and all attention projections. Each model is fine-tuned for 15 epochs using the AdamW optimizer [25] with a learning rate of and a batch size of 1024.
We fix the dynamic residual approximation rank to and vary the static weight rank over , training a separate DyRA model for each static rank. For each DyRA configuration, we construct a FLOPs-matched static low-rank baseline by adjusting its rank and fine-tune the corresponding baseline model using the same training setup.
Comparison with Input-Aware Decomposition. For comparison with prior input-aware decomposition methods, we use the approaches proposed in [38, 40]. In Eq. 9, we instantiate as the Cholesky factor of the input covariance matrix computed from calibration activations. Since input-aware decompositions can be sensitive to the choice of calibration data, we use the corresponding training split of each evaluation dataset to provide a strong baseline setting. Specifically, we use the ImageNet training set for ImageNet experiments and the GSM8K training set for GSM8K evaluation. Because HumanEval consists only of evaluation problems without a dedicated training split, we use the GSM8K training set as the calibration set for HumanEval experiments. For each target FLOPs reduction ratio, the ranks are kept identical to those of the corresponding DyRA configurations used in the language modeling experiments, except that the static low-rank factors are initialized using input-aware decomposition.
E Additional Experiment Results
E.1 Autoregressive LLM Prefilling
In addition to the diffusion language model setting, we examine whether DyRA can also be applied to autoregressive LLMs, particularly in the prefilling regime where computation is dominated by large matrix multiplications over the input sequence. Rather than measuring decoding throughput,

Figure 10: Top-1 accuracy versus FLOPs reduction on ViT-B/16. Across low-rank, Monarch, and BLAST approximations, combining DyRA consistently improves the accuracy–efficiency trade-off over static weight approximation baselines.
we evaluate this setting through language modeling perplexity and multiple-choice reasoning benchmarks [4, 8, 9, 26, 33], where each prompt and candidate continuation is processed in a forward pass. To better reflect non-trivial prefilling workloads, we use few-shot evaluation prompts that provide extended input contexts for multiple-choice reasoning benchmarks.
We apply low-rank-based DyRA to the linear layers of LLaMA-7B [37], targeting a 20% reduction in matrix multiplication FLOPs. As shown in Tables 2 and 3, DyRA consistently improves over the corresponding low-rank approximation and also outperforms the BLAST baseline under the same FLOPs reduction. These results suggest that DyRA can be effectively applied to the prefilling stage of autoregressive LLMs.
E.2 Image Classification with ViT-B
To further examine whether DyRA remains effective across different model scales, we additionally evaluate image classification on ViT-B/16 . Using the same experimental setup as in Section D, we combine DyRA with static weight approximations and compare it against FLOPs-matched static baselines. As shown in Figure 10, DyRA consistently improves the accuracy–efficiency trade-off over the corresponding static weight approximations. These results demonstrate that DyRA's gains are not specific to the larger ViT-L model used in the main paper, but also generalize to a smaller ViT backbone.
E.3 Convergence of ALS Residual Approximation
We provide additional details and results for the ALS convergence experiment discussed in Section 2.2. We randomly sample 4,096 images from the ImageNet validation set and use them to extract the input activations at each linear layer of ViT-L. For each layer, we construct the residual weight , where is obtained via a rank-196 truncated SVD of . We then apply ALS to approximate the residual product with target rank .
At each ALS iteration , we compute the relative Frobenius error between the residual product and its low-rank approximation: .
We compare this error with the optimal rank-r error obtained by applying SVD directly to .
Figure 12 reports the convergence results averaged over the sampled images across all ViT linear layers. ALS rapidly approaches the optimal rank-r error in nearly all layers, typically within two iterations.
E.4 FLOPs-Matched Output Approximation Error
We provide additional details and results for the FLOPs-matched output error comparison discussed in Section 2.3. Using the same ViT-L and ImageNet validation setup as in Section E.3, we collect input activations X from 4,096 validation images for each target linear layer. For each layer, we
https://huggingface.co/google/vit-base-patch16-224

(a) Attention query and key projections.

(b) Attention value projection and second MLP linear layer.
Figure 11: Additional FLOPs-matched output approximation error results on ViT-L sublayers omitted from the main paper. DyRA consistently achieves lower normalized Frobenius output error than the static low-rank baseline.
compute a rank-196 truncated SVD approximation and apply a rank-16 DyRA correction to the residual product using one ALS iteration.
For the FLOPs-matched static baseline, we increase the low-rank approximation rank so that its exact FLOPs match the total FLOPs of DyRA, including the dynamic correction overhead. We then compare the remaining normalized Frobenius output error, , where denotes the approximated output.
Figure 11 reports additional results for the remaining sublayers not shown in the main text: the query, key, and value projections in attention, and the second MLP linear layer. Across these additional sublayers, DyRA consistently yields lower output approximation error than the FLOPs-matched higher-rank static low-rank baseline.
F Broader Impacts
DyRA is a test-time inference acceleration method designed to reduce the computational cost of neural network inference. Its potential positive societal impact lies in improving the resource efficiency of AI systems, enabling model deployment under limited computational budgets and reducing the energy costs associated with inference. Since DyRA does not introduce a new application domain or change the intended use of the underlying model beyond approximation, we do not identify negative societal impacts specific to the proposed method. However, by making inference more efficient, DyRA may facilitate broader deployment of existing AI systems, and therefore may inherit the societal risks associated with those systems and their applications.

Attn. Query Proj
Attn. Key Proj
Attn. Value Proj
ALS Iteration
Attn. Output Proj
MLP FC1
MLP FC2
(a) Layers 0–7 of ViT-L.
Attn. Query Proj
Attn. Key Proj
Attn. Value Proj

ALS Iteration
ALS Iteration
Attn. Output Proj
ALS Iteration
MLP FC1
MLP FC2
(b) Layers 8–15 of ViT-L.
Attn. Query Proj
Attn. Key Proj
Attn. Value Proj

ALS Iteration
ALS Iteration
Attn. Output Proj
MLP FC1
ALS Iteration
MLP FC2
ALS Iteration
ALS Iteration
ALS Iteration
(c) Layers 16–23 of ViT-L.
Figure 12: Convergence of ALS-based residual product approximation across ViT-L linear layers.