Task-Aware Parameter-Efficient Fine-Tuning of Large Pre-Trained Models at the Edge

Shen Hu, Yanan Ma, Yihang Tao, Zhengru Fang, Zihan Fang, Yiqin Deng, Sam Kwong, Yuguang Fang

Abstract

Fine-tuning large-scale pre-trained models like Vision Transformers (ViTs) on resource-constrained edge devices remains a significant challenge due to high memory and computational requirements. We present TaskEdge, a task-aware parameter-efficient fine-tuning (PEFT) framework that intelligently selects and updates less than 0.1% of a model's parameters. By incorporating both weight magnitudes and input activations into an importance scoring metric, TaskEdge identifies the most functional parameters for a specific downstream task. Evaluated on the Visual Task Adaptation Benchmark (VTAB-1k), TaskEdge achieves performance comparable to or exceeding standard methods like LoRA while utilizing 10x fewer trainable parameters and demonstrating rapid convergence.

Introduction

The proliferation of Large Language Models (LLMs) and Vision Transformers (ViTs) has revolutionized machine learning, yet their deployment on the "extreme edge"—such as smartphones, drones, and IoT sensors—is hindered by their immense size. Fine-tuning a 7-billion parameter model typically requires over 50GB of VRAM, far exceeding the capacity of consumer-grade or edge hardware.

Existing Parameter-Efficient Fine-Tuning (PEFT) techniques, such as Low-Rank Adaptation (LoRA), mitigate these requirements but often rely on a low-rank assumption that may not hold for specialized tasks. Furthermore, LoRA can still be prohibitively heavy for the most constrained environments. TaskEdge addresses these limitations by introducing a "task-aware" selection mechanism that identifies and updates only the parameters critical to the specific target task.

Methodology

TaskEdge introduces two primary innovations to achieve extreme parameter efficiency:

1. Task-Aware Importance Scoring

Traditional selection methods often rely solely on weight magnitude or gradients. TaskEdge enhances this by calculating an importance score $S_{i,j}$ defined as: $$S_{i,j} = |W_{i,j}| \cdot ||X_j||_2$$ where $|W_{i,j}|$ is the absolute weight value and $||X_j||_2$ is the $L_2$-norm of the corresponding input activation. This metric ensures that a parameter is prioritized only if it is both structurally significant (large weight) and functionally active (frequently triggered by task-specific data).

2. Neuron-Level Parameter Allocation

Global "top-K" selection strategies often concentrate updates in the final layers of a model, neglecting the early layers necessary for low-level feature adaptation in specialized domains. TaskEdge avoids this by allocating a fixed budget to every neuron. By selecting the top-K connections per neuron, the framework ensures a balanced distribution of trainable parameters across all levels of feature abstraction.

Experimental Setup

The framework was evaluated using a ViT-B/16 backbone pre-trained on ImageNet-21K. Testing was conducted on the Visual Task Adaptation Benchmark (VTAB-1k), which includes 19 datasets across Natural, Specialized, and Structured categories.

Results and Discussion

TaskEdge demonstrates a remarkable ability to maintain high accuracy while drastically reducing the number of trainable parameters.

Accuracy vs. Trainable Parameters: TaskEdge maintains high Top-1 and Top-5 accuracy even when updating less than 0.1% of parameters.

Parameter Efficiency and Accuracy

On the VTAB-1k benchmark, TaskEdge achieved a mean parameter usage of just 0.09%. Despite this 10x reduction compared to LoRA (0.90%), TaskEdge outperformed LoRA on 5 out of 19 datasets. It showed particular strength in "Natural" datasets like Caltech101 (91.6%) and "Specialized" datasets like Resisc45 (85.6%). As shown in Figure 1, accuracy remains robust even as the percentage of trainable parameters is scaled down toward $10^{-1}\%$.

Convergence and Training Dynamics

A key advantage for edge deployment is the speed of adaptation. Ablation studies indicate that TaskEdge models typically converge within 20 epochs.

Convergence Analysis: Top-1 accuracy across different mask configurations shows rapid convergence within the first 20 epochs.

Figure 2 illustrates the training dynamics for various mask configurations. The rapid ascent in the early epochs suggests that the task-aware selection effectively identifies the most impactful parameters for quick adaptation, making it highly suitable for on-device learning scenarios.

Conclusion and Future Work

TaskEdge proves that large pre-trained models are significantly over-parameterized for specific downstream tasks. By updating only ~0.09% of weights through a task-aware, neuron-level selection process, state-of-the-art results can be achieved on specialized benchmarks.

Future research will focus on extending this methodology to generative text models and conducting detailed hardware-specific optimizations for latency and energy consumption on mobile NPUs and edge accelerators.

Summary updated

BibTeX
@misc{hu2025task,
  author = {Shen Hu and Yanan Ma and Yihang Tao and Zhengru Fang and Zihan Fang and Yiqin Deng and Sam Kwong and Yuguang Fang},
  title = {{Task-Aware Parameter-Efficient Fine-Tuning of Large Pre-Trained Models at the Edge}},
  year = {2025},
  eprint = {2504.03718},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.03718},
}
Figure