Abstract
The rapid scaling of large vision pretrained models makes fine-tuning tasks more and more difficult on edge devices with low computational resources. We explore a new visual adaptation paradigm called edge tuning, which treats large pretrained models as standalone feature extractors that run on powerful cloud servers. The fine-tuning carries out on edge devices with small networks which require low computational resources. Existing methods that are potentially suitable for our edge tuning paradigm are discussed. But, three major drawbacks hinder their application in edge tuning: low adaptation capability, large adapter network, and high information transfer overhead. To address these issues, we propose Minimal Interaction Edge Tuning, or MIET, which reveals that the sum of intermediate features from pretrained models not only has minimal information transfer but also has high adaptation capability. With a lightweight attention-based adaptor network, MIET achieves information transfer efficiency, parameter efficiency, computational and memory efficiency, and at the same time demonstrates competitive results on various visual adaptation benchmarks.
Introduction: The Bottleneck of Large-Scale Adaptation
The "pretrain-then-finetune" workflow has become the standard for computer vision. However, as models scale to billions of parameters, this paradigm faces a significant hardware barrier. Edge devices—ranging from smartphones and IoT cameras to basic PCs—often lack the VRAM required to even load these massive models, let alone the computational power for backpropagation. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA reduce the number of trainable weights, they still require the full model to be present on the device during training and inference.
The MIET Paradigm: Separated Edge Tuning
To overcome these limitations, we propose Minimal Interaction Edge Tuning (MIET). This paradigm shifts the heavy lifting to the cloud while keeping task-specific adaptation on the edge. In this setup, a massive pretrained model resides on a powerful cloud server, acting as a "feature extractor as a service." The edge device hosts a tiny, trainable adaptor network.
This separation addresses the hardware constraint but introduces a new challenge: communication overhead. Existing "side-tuning" methods often require transferring massive amounts of intermediate data (feature maps) from the cloud backbone to the edge adaptor. MIET is designed specifically to minimize this interaction, ensuring that the system remains truly "edge-friendly."
Technical Approach: Efficiency through Summation
MIET introduces two core innovations to achieve high performance with minimal data transfer:
- The Additive Gather Function: Instead of the common practice of concatenating or stacking feature maps from multiple layers (which scales linearly with model depth), MIET simply sums the intermediate features. This reduces the communication overhead to a constant size, regardless of the number of layers in the backbone.
- Low-rank Attention Edge (LAE) Network: The edge device runs a lightweight adaptor consisting of several layers of low-rank self-attention. This architecture is small enough to be trained on hardware as modest as a Raspberry Pi 4B.
The mathematical intuition behind the "sum" is that in Transformers with skip connections, the input to any layer is already an accumulation of previous outputs. Summing them effectively captures the most useful "external feature terms" for adaptation while filtering out task-agnostic noise.
Experimental Results
We evaluated MIET across several benchmarks, including VTAB-1K (19 diverse tasks), Fine-Grained Few-Shot (FGFS) datasets, and Domain Generalization tasks.
Efficiency Gains
MIET demonstrates superior efficiency in both communication and computation:
- Communication: MIET requires only 0.577 MB of data transfer per image, a 13x reduction compared to LST (7.5 MB) and a 7x reduction compared to LAST (4.0 MB).
- On-Device Training: We successfully fine-tuned a ViT-B model on a Raspberry Pi 4B (2GB RAM), using only 663 MB of peak memory during training and 255 MB during inference.
Accuracy and Robustness
Despite its small footprint, MIET remains highly competitive:
- VTAB-1K: Achieved an average accuracy of 76.7%, outperforming LoRA (74.5%) and AdaptFormer (74.7%).
- Domain Generalization: On ImageNet-Sketch, MIET outperformed the previous state-of-the-art (NOAH) by a 13.1% margin, demonstrating significant robustness to distribution shifts.
- Few-Shot Learning: MIET consistently outperformed other PEFT methods in low-data regimes across datasets like Food101, Stanford Cars, and Oxford Pets.
Insights and Future Work
A key finding is that the optimal depth for feature extraction varies by task. For "Structured" tasks (e.g., object counting), using features from earlier layers often yields better results than using the final layer. Future research will focus on extending this "minimal interaction" philosophy to higher-level vision tasks like video understanding and generative AI, as well as automating the selection of optimal layers for different data types.
Summary updated