Structure-Activation Synergy: A Dual Efficiency Framework for Parameter-Memory Optimized Transfer Learning

Tian Jin, Enjun Du, Changwei Wang, Wenhao Xu, Ding Luo · DOI

Introduction

Parameter-Efficient Transfer Learning (PETL) methods like LoRA, Adapters, and Visual Prompt Tuning (VPT) have successfully reduced the number of trainable parameters required to adapt large-scale models, significantly lowering offline storage costs. However, these methods often fail to address the "memory wall" during the training process itself. The primary bottleneck is not the parameters, but the activations—intermediate feature maps stored during the forward pass to calculate gradients during backpropagation.

For a standard model like ViT-B/16, existing PETL techniques might reduce parameters by 99%, yet the training-time GPU memory footprint only drops by approximately 40%. This discrepancy makes fine-tuning massive models on consumer-grade hardware or edge devices nearly impossible. The Structure to Activation (S2A) framework aims to close this "efficiency gap" by simultaneously optimizing both parameter count and activation storage.

Methodology: The S2A Framework

The S2A framework employs a two-pronged strategy to achieve synergistic efficiency across the network architecture.

1. Activation-Efficient Parametric Modules

S2A introduces structural modifications designed to minimize activation storage requirements:

  • Low-Rank Prompt (LRP): Unlike traditional prompt tuning that appends tokens and alters input shapes, LRP adds a low-rank decomposed matrix ($AB$) directly to the input. Crucially, the gradient update for LRP is mathematically independent of the input activations, allowing the system to release that memory immediately after the forward pass.
  • Lite Side Branch (LSB): This parallel network utilizes a novel Channel Average Pooling (CAP) connector to downsample features from the frozen backbone. Because CAP is parameter-free and its gradient calculation does not require storing full-size input activations, it significantly reduces the memory overhead of the side network.
The S2A architecture featuring the Original Block, Lite Side Branch, and Appended Block with various parameter and activation types.

2. Quantization for Non-Parametric Layers

Non-linear functions such as Softmax, ReLU, and GELU typically require high-precision activation storage for backpropagation. S2A implements 4-bit quantization for these activations. By analyzing the derivatives of these functions, the authors discovered they are remarkably resilient to precision loss. For instance, they used a one-period sine function to approximate the complex derivative of GELU, enabling 4-bit storage of activations without compromising the final model accuracy.

Evaluation and Key Results

The framework was evaluated across a diverse range of computer vision tasks using the VTAB-1k benchmark (19 datasets) and Fine-Grained Visual Classification (FGVC) datasets. Testing was conducted on multiple backbones, including ViT-B/16, Swin-B, and ConvNeXt-B, to demonstrate architectural versatility.

Comparison of S2A against other PETL methods (Full, Bias, LoRA, Adapter, VPT) across Trainable Parameters, Training Memory, and VTAB-1k Accuracy.

S2A demonstrates a massive reduction in training memory. On a ViT-B/16 backbone, it reduced the training memory footprint from 4099 MB (Full fine-tuning) to just 640 MB—roughly a fourfold improvement over popular methods like LoRA (2242 MB) and VPT (2453 MB). Despite this heavy compression, S2A maintains superior accuracy. On the challenging VTAB-1k "Structured" group, S2A achieved 51.94% accuracy, outperforming VPT (49.82%) and LoRA (47.99%).

Discussion and Limitations

The core innovation of S2A lies in "Gradient Independence"—designing modules where gradient calculation is decoupled from input activations. This, combined with derivative-aware quantization, allows for training large models on hardware previously considered insufficient.

However, some limitations remain. While LRP performs exceptionally well on Swin Transformers and ConvNeXts, its performance on standard ViT-B is slightly lower than VPT, as it lacks the "self-attention potential" boost provided by token concatenation. Additionally, realizing the full wall-clock speed benefits of activation quantization requires optimized CUDA kernels. Future work will explore integrating prompt tokens in a way that maintains S2A's memory efficiency while capturing the attention-boosting benefits of traditional prompting.

Summary updated

BibTeX
@misc{jin2025structure,
  author = {Tian Jin and Enjun Du and Changwei Wang and Wenhao Xu and Ding Luo},
  title = {{Structure-Activation Synergy: A Dual Efficiency Framework for Parameter-Memory Optimized Transfer Learning}},
  year = {2025},
  eprint = {2503.08154},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.08154},
}
Figure