Efficient Resource-Constrained Training of Transformers via Subspace Optimization
Le-Trung Nguyen (Telecom Paris), Enzo Tartaglione, Van-Tam Nguyen
International Conference on Learning Representations 2026 · Oral
Overview
In an era where artificial intelligence models are becoming increasingly sophisticated and ubiquitous, the ability to train these models directly on edge devices presents a transformative opportunity. This talk, presented by Le-Trung Nguyen from Telecom Paris, delves into the critical challenge of enabling on-device learning for large Transformer models, which are notorious for their demanding computational and memory requirements. The research introduces a novel approach called YC (Your Contribution), which leverages subspace optimization to significantly reduce the memory footprint and computational cost associated with training Transformers on resource-constrained hardware.

Key moments
- 0:00 On-device learning motivation and memory bottleneck
- 2:00 YC algorithm pipeline for low-rank memory reduction
- 2:40 WSI: Efficient subspace iteration for weight decomposition
- 4:00 Experimental verification of singular value stability
- 4:50 YC performance: significant memory and FLOPS savings
- 5:30 Real-device latency improvements on Raspberry Pi 5
- 6:15 Q&A: Subspace stability and LLM applicability
Efficient Resource-Constrained Training of Transformers via Subspace Optimization
Speakers: Le-Trung Nguyen (Telecom Paris); Enzo Tartaglione; Van-Tam Nguyen
Conference: ICLR 2026
YouTube: https://slideslive.com/39062159
Overview
In an era where artificial intelligence models are becoming increasingly sophisticated and ubiquitous, the ability to train these models directly on edge devices presents a transformative opportunity. This talk, presented by Le-Trung Nguyen from Telecom Paris, delves into the critical challenge of enabling on-device learning for large Transformer models, which are notorious for their demanding computational and memory requirements. The research introduces a novel approach called YC (Your Contribution), which leverages subspace optimization to significantly reduce the memory footprint and computational cost associated with training Transformers on resource-constrained hardware.
The primary motivation behind this work is to unlock the numerous benefits of on-device learning, including enhanced data privacy by keeping sensitive information local, improved energy efficiency by reducing reliance on powerful cloud servers, and enabling real-time inference and training in environments with limited or no internet connectivity. Despite these compelling advantages, the exponential growth in model parameters, particularly in architectures like Transformers, clashes directly with the severely limited memory and processing capabilities of typical edge devices. YC directly addresses this fundamental bottleneck, offering a pathway to democratize advanced AI capabilities beyond the data center.
This work is particularly relevant for the future of AI deployment, as it seeks to bridge the gap between increasingly complex models and the practical constraints of real-world applications. By making Transformer training more efficient and less resource-intensive, YC contributes to a paradigm shift towards truly distributed and private AI, impacting fields from autonomous systems and smart sensors to personalized healthcare and industrial IoT, where immediate processing and data locality are paramount.
Background
▶ Watch: On-device learning motivation and memory bottleneck (0:00)
The aspiration for on-device learning stems from its inherent advantages in privacy, energy efficiency, and real-time processing, especially in scenarios lacking stable internet connectivity. However, this vision is severely hampered by a fundamental mismatch: modern deep learning models, particularly powerful Transformer architectures, exhibit an insatiable appetite for computational resources and memory, while edge devices typically offer highly constrained environments. As the field progresses, the number of parameters in state-of-the-art models continues to grow exponentially, leading to a corresponding surge in memory requirements for storing these parameters and their associated intermediate computations.
The primary memory bottleneck during the training of deep learning models, including Transformers, arises from the backpropagation algorithm. To compute gradients of the loss with respect to model weights at the i-th layer, the algorithm necessitates the storage of both the activation maps (outputs of the forward pass) and the gradient maps of the loss with respect to these activations. These intermediate values must be retained in memory throughout the forward pass so they can be accessed during the subsequent backward pass. For large models with many layers and high-dimensional activations, this storage requirement quickly becomes prohibitive, especially on devices with only a few gigabytes of RAM.
Prior research has attempted to mitigate this memory challenge, broadly falling into categories such as gradient checkpointing, quantization, and low-rank decomposition. Within the low-rank decomposition branch, two highly relevant state-of-the-art approaches were highlighted:
- ASI (Activation Subspace Iteration): This technique, which was the authors' previous work published at ICML, focuses on reducing the memory consumed by activations during training. While effective at its specific task, ASI does not address the overall model size or the memory required for storing model weights themselves.
- SPDOM (Subspace-based Parameter Decomposition for On-device Models): In contrast, SPDOM aims to reduce the final model size after training, making models more compact for deployment. However, it does not specifically target the substantial memory demands encountered during the training process itself.
The existing landscape thus presented a critical gap: there was no single method that effectively reduced the memory bottleneck for both activations and weights during training, while also potentially leading to a smaller inference model. This unmet need motivated the development of YC, aiming to provide a comprehensive solution for efficient resource-constrained training of Transformers.
Key Findings
▶ Watch: WSI: Efficient subspace iteration for weight decomposition (2:40)
The core contribution of this research is the introduction of YC (Your Contribution), a novel training algorithm designed to enable efficient, resource-constrained training of Transformer models by addressing the memory bottleneck from both activations and weights. YC achieves this by synergistically combining ASI (Activation Subspace Iteration) for activation memory reduction with a newly proposed WSI (Weight Subspace Iteration) for weight memory reduction.
The key findings are multi-faceted and demonstrate significant improvements across various critical metrics:
- Comprehensive Memory Reduction: YC successfully reduces the memory footprint during training by leveraging low-rank representations for both activations and weights. It achieves an impressive up to 62 times memory reduction during the training phase, a factor that is transformative for enabling on-device learning. Moreover, by storing the model in its low-rank form, YC also leads to substantial savings in inference memory.
- Significant Computational Efficiency: Beyond memory, YC also delivers considerable computational savings. The low-rank operations inherently lead to fewer floating-point operations (FLOPs). The research demonstrates up to 2 times reduction in training FLOPs, which translates directly to faster training times and lower energy consumption.
- Accuracy-Cost Pareto Optimality: Crucially, these efficiency gains are not achieved at the expense of model performance. Comparisons against standard SVD-based decomposition show that WSI, a core component of YC, achieves a superior Pareto curve. Specifically, at the same training accuracy, WSI can save up to 136 times the FLOPs compared to per-iteration SVD. Conversely, at the same computational cost, WSI yields up to 35% higher accuracy. This indicates that YC offers a much more favorable trade-off between accuracy and computational resources.
- Real-World Performance on Edge Hardware: The practical efficacy of YC was validated on a real-world edge device, the Raspberry Pi 5 (CPU-only). The implementation allowed YC to consistently achieve better training and inference times compared to vanilla training, demonstrating its readiness for actual resource-constrained environments.
- Leveraging Subspace Stability: A fundamental insight enabling WSI's efficiency is the observed stability of singular values in weight tensors during the fine-tuning process. This stability allows for the reuse of low-rank subspaces across multiple training iterations, significantly reducing the computational overhead that would otherwise be incurred by repeatedly performing full SVD. This finding underpins the efficiency of the subspace iteration mechanism.
In essence, YC provides a holistic solution for the memory and computational bottlenecks in on-device Transformer training, making it a powerful enabler for privacy-preserving, energy-efficient, and real-time AI applications on edge devices.
Technical Deep Dive
▶ Watch: Experimental verification of singular value stability (4:00)
The proposed YC (Your Contribution) algorithm is a sophisticated system that integrates two key components: ASI (Activation Subspace Iteration) and WSI (Weight Subspace Iteration). The overarching goal is to perform all computations, both during the forward and backward passes, in a low-rank subspace, thereby reducing memory and computational overhead.
The detailed pipeline of YC for an i-th layer during training operates as follows:
- Forward Pass with Low-Rank Decomposition:
- During the forward pass, both the activation map and the weight tensor of the current layer are first decomposed into their respective low-rank components. This is where ASI handles activations and WSI handles weights.
- The memory bottleneck is addressed by storing only these low-rank components, rather than the full-rank tensors.
- Subsequent calculations to produce the layer's output are then performed entirely within this low-rank space, leading to computational savings. This low-rank output is then propagated forward to compute the loss function.
- Backward Pass with Gradient Estimation:
- During the backward pass, the stored low-rank components of activations and weights are retrieved from memory.
- These components are then used to estimate the gradients of the loss with respect to the weights and activations. Since all computations are performed in the low-rank space, the gradient estimation also benefits from reduced complexity.
A crucial aspect of this approach is managing the error introduced by decomposition. The decomposition process is controlled by an epsilon ($\epsilon$) threshold, representing the desired amount of information (explained variance) to retain after decomposition. This allows for a controllable trade-off between compression and accuracy.
Weight Subspace Iteration (WSI) Deep Dive
WSI is the novel contribution for handling weight tensors efficiently. Its mechanics are as follows:
- First Training Iteration Initialization:
- In the very first training iteration, for each weight tensor, a standard Singular Value Decomposition (SVD) is applied.
- The SVD decomposes the weight tensor into its singular values and corresponding singular vectors. Based on the predefined $\epsilon$ threshold (e.g., $\epsilon = 0.8$ for 80% explained variance), a specific rank
ris determined, and the toprsingular values and vectors are used to reconstruct a low-rank approximation of the weight. This defines the initial low-rank subspace.
- Subsequent Training Iterations with Subspace Iteration:
- For all subsequent training iterations, instead of repeating the computationally expensive SVD, subspace iteration is employed.
- Subspace iteration is an iterative algorithm that can estimate the dominant singular vectors (and thus the corresponding subspace) of a matrix with significantly lower computational cost than full SVD, especially when the matrix is relatively stable.
- The core hypothesis enabling this re-use is the stability of weight tensors during fine-tuning. During fine-tuning, models often use small learning rates, leading to only minor updates to the weight tensors at each iteration. This means the underlying dominant subspace of the weight tensor does not change drastically from one epoch to the next.
Verification of Subspace Stability
To validate the critical assumption of weight tensor stability, the researchers conducted an empirical experiment:
- They fine-tuned a ViT-base-32 model (pretrained on ImageNet) on the Pets dataset.
- During this process, they extracted the singular values of a random weight tensor (specifically, from layer 6) at each training epoch.
- The observation was that the singular values of the weight tensor remained remarkably stable throughout the training process. This directly verifies that the "explained variance" represented by these singular values does not significantly fluctuate, thus justifying the reuse mechanism within WSI. If the singular values were to change dramatically, the fixed-rank subspace from the initial SVD would no longer be sufficient to capture the desired $\epsilon$ amount of information, potentially requiring a higher rank. The stability observed confirms that the initial rank determined by SVD based on $\epsilon$ remains largely appropriate for subsequent iterations via subspace iteration.
By processing all calculations in this low-rank space and leveraging the stability of weight tensors, YC aims to achieve substantial speedups, compensating for the minor overhead introduced by the decomposition steps and ultimately leading to a more efficient training process on constrained devices.
Experimental Setup & Results
▶ Watch: Real-device latency improvements on Raspberry Pi 5 (5:30)
The effectiveness of YC and its component, WSI, was rigorously evaluated through a series of experiments comparing performance against baselines and vanilla training setups.
WSI vs. Baseline SVD Comparison
To isolate the benefits of WSI, an initial comparison was made against a naive baseline where SVD was applied to decompose the weight at every single training iteration. This provided a direct measure of WSI's efficiency in terms of accuracy-cost trade-off.
- Model & Dataset: The experiment involved fine-tuning a ViT-base-32 model (pretrained on ImageNet) on a small dataset like Pets.
- Metrics: The primary metrics for comparison were accuracy and computational cost in terms of FLOPs (Floating Point Operations).
- Epsilon Range: The comparison was conducted across six different $\epsilon$ values, ranging from 0.4 to 0.9, to demonstrate the flexibility and robustness of the approach across various compression levels.
- Results: WSI consistently achieved a superior Pareto curve compared to the SVD baseline. This means WSI could reach higher accuracy for a given computational budget or achieve the same accuracy with significantly fewer FLOPs.
- FLOPs Savings: At the same training accuracy, WSI enabled up to 136 times reduction in FLOPs compared to performing SVD in every iteration.
- Accuracy Improvement: At the same FLOPs, WSI yielded up to 35% higher accuracy.
This experiment clearly demonstrated that WSI's approach of leveraging subspace iteration after an initial SVD is vastly more efficient than repeatedly applying full SVD.
YC Verification (Combining WSI with ASI)
The full YC algorithm, which combines WSI for weights and ASI for activations, was then verified across different components and against standard vanilla training.
- Model & Dataset: The experiments involved fine-tuning a ViT model on the CIFAR-10 dataset.
- Metrics: The evaluation focused on four critical performance indicators:
- Training Memory
- Inference Memory
- Training FLOPs
- Inference FLOPs
- Results:
- Training Memory: YC successfully reduced training memory by up to 10 times compared to vanilla training without significant accuracy degradation.
- Inference Memory: Because the model is processed and stored in its low-rank representation, YC also achieved savings in inference memory.
- FLOPs: Similar reductions were observed for both training and inference FLOPs, indicating overall computational efficiency.
Real-Device Latency Benchmarking
To assess the practical performance of YC on actual edge hardware, latency tests were conducted.
- Hardware: The implementation was tested on a Raspberry Pi 5, specifically using its CPU-only configuration, which represents a common resource-constrained edge environment.
- Results: The current implementation of YC consistently achieved better training and inference times compared to vanilla training on the Raspberry Pi 5. This is a critical validation, showing that the theoretical FLOPs and memory reductions translate into tangible speedups in real-world scenarios.
Overall Headline Results
Summarizing the comprehensive benefits of YC from the conclusion:
- Memory Reduction: Achieved up to 62 times memory reduction during the training phase.
- FLOPs Reduction: Achieved up to 2 times reduction in FLOPs during training.
- Model Applicability: While the detailed experiments focused on ViT and CIFAR-10/Pets, the approach has also been tested on other small models relevant for on-device learning, including Swin-T, MC-ResNet, and ResNet. Furthermore, preliminary results show that the method also works for Tiny-LLaMA, indicating potential for application to smaller Large Language Models.
The methods for measuring subspace stability involved extracting the singular values of the weight at each training epoch and plotting their changes over time (as shown in Figure A of their paper, which illustrated their remarkable stability). These experimental results firmly establish YC as a highly effective and practical solution for enabling efficient Transformer training on resource-constrained edge devices.
Practical Implications
▶ Watch: Q&A: Subspace stability and LLM applicability (6:15)
The development of YC (Your Contribution) carries profound practical implications for a wide array of stakeholders involved in the development and deployment of AI/ML systems, particularly in the burgeoning field of on-device learning.
For practitioners and model builders, YC offers a tangible pathway to deploy and potentially even fine-tune sophisticated Transformer models directly on edge devices that were previously deemed incapable of handling such complex architectures. This capability unlocks new application scenarios where data privacy is paramount, as sensitive data can remain on the device without needing to be transferred to the cloud. Examples include personalized health monitoring, local speech recognition, and intelligent cameras that process video streams on-device.
For infrastructure teams and deployers, YC translates directly into reduced operational costs and complexity. By minimizing the memory footprint and computational requirements, it alleviates the need for expensive, power-hungry cloud infrastructure for certain training tasks. Deploying models on devices like the Raspberry Pi 5 becomes more feasible, leading to lower energy consumption, extended battery life for mobile devices, and reduced network bandwidth usage. This is particularly beneficial for remote deployments or environments with unreliable internet connectivity.
The core technique of leveraging subspace optimization and the observed stability of singular values in weight tensors during fine-tuning provides a robust and efficient method for achieving these gains. It suggests that for many fine-tuning tasks, the full complexity of weight matrices is not always necessary, and a low-rank approximation can suffice with minimal performance degradation. The ability to control the trade-off between compression and accuracy via the epsilon ($\epsilon$) threshold empowers practitioners to fine-tune the system for specific application requirements, balancing resource constraints with desired model performance.
However, there are also tradeoffs and limitations to consider:
- Computational Overhead of Decomposition: While subspace iteration is more efficient than full SVD, the initial SVD and subsequent low-rank operations still introduce some computational overhead. The research indicates that the speedup from low-rank computations largely compensates for this, but it's a factor to consider, especially for extremely tight latency budgets.
- Accuracy-Efficiency Trade-off: While YC achieves a strong Pareto curve, there is an inherent trade-off between the level of compression (driven by $\epsilon$) and the final model accuracy. Practitioners must carefully select $\epsilon$ based on their application's tolerance for accuracy reduction.
- Generalizability to All LLMs: The current validation includes ViTs, Swin-T, MC-ResNet, ResNet, and preliminary results for Tiny-LLaMA. While promising, further research is needed to confirm its efficacy and optimal configuration for larger, more complex Large Language Models (LLMs) beyond the "Tiny" variants, which might exhibit different stability characteristics or require more sophisticated subspace management.
- Hardware-Specific Optimizations: The current implementation shows benefits on a CPU-only Raspberry Pi 5. Further performance gains might be achieved through hardware-specific optimizations for GPUs or dedicated AI accelerators commonly found in more advanced edge devices.
Despite these considerations, YC represents a significant step towards practical, widespread on-device AI. It provides a powerful set of tools for overcoming the memory and computational hurdles that have historically limited the deployment of advanced deep learning models on resource-constrained hardware, fostering a future of more private, efficient, and ubiquitous AI.
Key Takeaways
- On-device learning offers significant benefits in privacy, energy efficiency, and real-time processing, but is severely constrained by the memory demands of large models like Transformers.
- The primary memory bottleneck during training stems from storing activation maps and gradients for backpropagation.
- YC (Your Contribution) is a novel algorithm that combines ASI (Activation Subspace Iteration) and WSI (Weight Subspace Iteration) to address both activation and weight memory bottlenecks during Transformer training.
- WSI leverages the observed stability of singular values in weight tensors during fine-tuning, enabling efficient low-rank decomposition using initial SVD followed by less computationally intensive subspace iteration.
- YC achieves substantial resource savings: up to 62 times memory reduction during training and up to 2 times FLOPs reduction.
- The approach demonstrates a superior accuracy-cost trade-off, achieving higher accuracy for the same FLOPs or significantly fewer FLOPs for the same accuracy compared to naive SVD-based methods.
- Validated on edge hardware like the Raspberry Pi 5 (CPU-only), YC consistently delivers better training and inference times, making on-device Transformer training a practical reality.
- This work paves the way for more private, energy-efficient, and real-time AI applications on resource-constrained devices, with applicability shown across ViTs, ResNets, and even preliminary results on Tiny-LLaMA.
About the Speaker(s)
Le-Trung Nguyen is a researcher from Telecom Paris, where he conducts his work on efficient machine learning techniques. His research interests focus on addressing the practical challenges of deploying deep learning models in resource-constrained environments, particularly in the context of on-device learning. This talk is based on his work, which also includes prior contributions such as the Activation Subspace Iteration (ASI) method published at ICML. Enzo Tartaglione and Van-Tam Nguyen are also credited as co-authors on this research.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026