Generalized Tensor-based Parameter-Efficient Fine-Tuning via Lie Group Transformations

Chongjie Si, Zhiyi Shi, Xuehui Wang, Yichen Xiao, Xiaokang Yang, Wei Shen

TL;DR

This paper introduces LieRA, a novel method for parameter-efficient fine-tuning (PEFT) that generalizes existing matrix-based PEFT techniques (like LoRA) to higher-dimensional parameters, such as convolutional kernels. By leveraging Lie group theory, LieRA ensures that fine-tuning updates preserve the inherent structural properties of these parameters, leading to improved performance and efficiency across various tasks.

What Problem Does This Paper Address?

Adapting large foundation models (LFMs) for specific downstream tasks is crucial, but fully fine-tuning these massive models is computationally prohibitive. Parameter-efficient fine-tuning (PEFT) methods, like LoRA, have emerged as a solution by only updating a small subset of parameters. However, most existing PEFT methods are designed for 2D matrices (linear layers) and struggle to effectively adapt to higher-dimensional parameters, such as the 4D tensors used in convolutional kernels. Directly applying matrix-based PEFT to these higher-dimensional structures can disrupt their inherent spatial relationships, hindering performance. This paper aims to bridge this gap by providing a generalizable PEFT approach for these complex parameter spaces.

Methods

The core innovation of this paper is the application of Lie group theory to parameter-efficient fine-tuning. The authors propose treating the parameters of high-dimensional layers (specifically convolutional kernels) as elements of a Lie group. Updates are then modeled as perturbations in the corresponding Lie algebra, which is a linear space. The key step is using the exponential map to translate these linear perturbations back into the Lie group, ensuring that the updates are smooth, consistent, and preserve the original structural properties of the parameters.

Specifically:

  • Lie Group Formulation: Convolutional kernel parameters are viewed as elements of a group $G$, where the group operation is element-wise multiplication (Hadamard product). This group is shown to be an Abelian Lie group.
  • Lie Algebra: The corresponding Lie algebra $g$ is a linear vector space, making operations like addition and scalar multiplication straightforward for representing parameter updates.
  • Exponential Map: The exponential map $\exp(\Delta A)$ is used to transform updates $\Delta A$ from the Lie algebra $g$ back to the Lie group $G$. This ensures that the updates remain geometrically consistent and preserve the spatial locality of convolutional kernels.
  • First-Order Taylor Approximation: For computational efficiency, the exponential map is approximated using its first-order Taylor expansion: $\exp(\Delta W) \approx I + \Delta W$. This leads to a multiplicative update rule $W \rightarrow W \odot (I + \Delta W) = W + W \odot \Delta W$.
  • LieRA: The combined approach, integrating LoRA's low-rank adaptation with the Lie group framework, is named LieRA.

Datasets

The paper evaluates LieRA on several standard benchmarks:

  • Image Classification: VTAB-1k benchmark.
  • Object Detection and Instance Segmentation: MS COCO dataset.
  • Generative Tasks: Stable Diffusion (SDXL) model.
  • Commonsense Reasoning (NLP): LLaMA-7B and LLaMA3-8B models fine-tuned on various commonsense reasoning datasets.
  • Natural Language Understanding (NLP): DeBERTaV3-base fine-tuned on the GLUE benchmark.

No new datasets were introduced.

Key Insights and Ideas

  • Structure Preservation is Key: The paper strongly argues that simply applying matrix-based PEFT methods to higher-dimensional tensors can break their inherent structure (e.g., spatial locality in convolutions). Lie group theory provides a principled way to maintain this structure.
  • Lie Algebra as a Linear Playground: By moving updates to the Lie algebra, the authors leverage the simplicity of linear operations for optimization, while the exponential map ensures these operations translate back to meaningful, structure-preserving updates in the original parameter space.
  • Multiplicative Updates for Geometric Consistency: The multiplicative update rule $W \rightarrow W \odot \exp(\Delta W)$ is crucial. Unlike additive updates, multiplicative updates scale existing weights, naturally preserving relative structures and geometric properties.
  • Rank Capacity Advantage: LieRA offers a higher "rank capacity" for updates compared to LoRA, especially in linear layers. This means LieRA can potentially capture a wider range of parameter updates, leading to greater flexibility and performance.

Key Results

  • Computer Vision: LieRA consistently outperforms LoRA across various tasks on the VTAB-1k benchmark, especially in natural and specialized categories. For instance, LieRA shows significant gains on SVHN and Sun397. In object detection and instance segmentation on MS COCO, LieRA also demonstrates superior performance. Qualitative results on image generation with Stable Diffusion show LieRA producing images more accurately aligned with input subjects and prompts.
  • Natural Language Processing: LieRA consistently outperforms LoRA on commonsense reasoning tasks with LLaMA models, showing substantial gains on tasks like WinoGrande and ARC-e. Similar improvements are observed on DeBERTaV3 for GLUE tasks, indicating LieRA's effectiveness in capturing nuanced linguistic patterns.
  • Efficiency: LieRA requires comparable training resources (GPU memory and time) to LoRA, with the approximate version being even more efficient.

Limitations and Future Work

  • Approximation Error: While the first-order Taylor approximation of the exponential map is computationally beneficial, the paper notes that the non-approximate version of LieRA yields slightly better performance, suggesting a small error introduced by the approximation.
  • Focus on Convolutions: While the method is designed to be generalizable, the primary experimental focus is on convolutional layers.
  • Future Work: The authors suggest exploring further theoretical developments and extending the framework to a wider array of architectures beyond convolutional layers and linear layers, aiming to enhance scalability and robustness.

Summary updated

BibTeX
@inproceedings{si2025generalized,
  author = {Chongjie Si and Zhiyi Shi and Xuehui Wang and Yichen Xiao and Xiaokang Yang and Wei Shen},
  title = {{Generalized Tensor-based Parameter-Efficient Fine-Tuning via Lie Group Transformations}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure