NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Advancing Parameter Efficiency in Fine-tuning via Representation Editing

Muling Wu, Wenhao Liu, Xiaohua Wang, Tianlong Li, Changze Lv, Zixuan Ling, Jianhao Zhu, Cenyuan Zhang, Xiaoqing Zheng, Xuanjing Huang

Abstract

As Large Language Models (LLMs) scale to hundreds of billions of parameters, traditional full fine-tuning becomes computationally prohibitive. We present Representation EDiting (RED), an ultra-lightweight fine-tuning method that adapts models by directly modifying internal hidden representations rather than updating model weights. RED achieves performance parity with full fine-tuning and LoRA while utilizing significantly fewer parameters—up to 25,700x fewer than full fine-tuning and 32x fewer than LoRA. This approach effectively lowers the barrier for deploying task-specific models while maintaining the model's original generalization capabilities.

Introduction

The evolution of Large Language Models (LLMs) has made "full fine-tuning"—the process of updating every weight—computationally inaccessible for most researchers. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA and Adapters have emerged to address this, they often suffer from hyperparameter complexity (e.g., selecting LoRA rank) and residual over-parameterization. For instance, while the intrinsic dimension for adapting RoBERTa-base is estimated at approximately 896 parameters, standard LoRA implementations often use over 300,000, potentially leading to overfitting and a loss of the model's original knowledge.

Methodology

RED shifts the paradigm from weight adaptation to representation editing. Instead of inserting new layers or low-rank matrices into weight blocks, RED modifies the vectors produced by the model's Feed-Forward Network (FFN) sub-layers.

Comparison of LoRA, Adapter, and the proposed RED architecture.

The core mechanism involves a simple linear transformation applied to the hidden representation ($h_1$):

$$h_2 = l_{scaling} \odot h_1 + l_{bias}$$

Where:

  • $l_{scaling}$: A learnable vector performing element-wise scaling (Hadamard product).
  • $l_{bias}$: A learnable vector adding a task-specific bias.

By initializing $l_{scaling}$ to ones and $l_{bias}$ to zeros, the model begins fine-tuning from its exact pre-trained state, ensuring stability. Since these vectors match the hidden dimension ($d$), the trainable parameters scale at $O(d)$ per layer, compared to $O(d^2)$ for weight-based methods.

Experimental Setup

The authors evaluated RED across diverse architectures, including RoBERTa, GPT-2, T5, and LLaMA-2, using several standard benchmarks:

  • Natural Language Understanding (NLU): GLUE benchmark for sentiment analysis and linguistic entailment.
  • Data-to-Text Generation: E2E NLG Challenge.
  • Instruction Following: MT-Bench and AlpacaEval for LLaMA-2.
  • General Knowledge: Open LLM Leaderboard (ARC, HellaSwag, MMLU, TruthfulQA).

Results and Analysis

RED consistently matched or exceeded the performance of much larger PEFT methods across various scales. On the LLaMA-2 (7B) model, RED utilized only 0.26M parameters to achieve an 81.69% win rate on AlpacaEval, slightly outperforming both LoRA (8.39M parameters) and full fine-tuning (6739M parameters). In NLU tasks, RED (base) achieved an average GLUE score of 84.3, comparable to LoRA's 84.7, despite a 15x reduction in parameters.

Radar chart comparing RED's performance across diverse capabilities on MT-Bench against LoRA and Full Fine-Tuning.

Ablation studies revealed that the bias vector is the primary driver of performance, contributing a 12.4% boost compared to the scaling vector's 1.3%. This suggests that shifting the representation space is more critical for task adaptation than simply amplifying existing features. Furthermore, RED's minimal parameter footprint acts as a surgical adjustment, preserving the vast knowledge acquired during pre-training without the "corruption" often seen in more invasive methods.

Discussion and Future Work

While RED is highly efficient, its current implementation primarily targets FFN layer outputs. Experiments with RED+, which also edits Attention vectors ($Q, K, V$), showed further gains at the cost of increased parameters. Future research will explore RED's performance in few-shot scenarios and its applicability to other modalities such as image and video processing. By focusing on representation editing, RED provides a path toward even more efficient and stable model adaptation.

Summary updated

BibTeX
@inproceedings{wu2024advancing,
  author = {Muling Wu and Wenhao Liu and Xiaohua Wang and Tianlong Li and Changze Lv and Zixuan Ling and Jianhao Zhu and Cenyuan Zhang and Xiaoqing Zheng and Xuanjing Huang},
  title = {{Advancing Parameter Efficiency in Fine-tuning via Representation Editing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.726},
}
Figure