paper-with-me

Papers

Parameter-Efficient Fine-Tuning via Selective Discrete Cosine Transform

2024-10-09 · Yixian Shen, Qi Bi, Jia-Hong Huang, Hongyi Zhu, Anuj Pathania

In the era of large language models, parameter-efficient fine-tuning (PEFT) has been extensively studied. However, these approaches usually rely on the space domain, which encounters storage challenges especially when handling extensive adaptations or larger models. The frequency domain, in contrast, is more effective in compressing trainable parameters while maintaining the expressive capability. In this paper, we propose a novel Selective Discrete Cosine Transformation (sDCTFT) fine-tuning scheme to push this frontier. Its general idea is to exploit the superior energy compaction and decorrelation properties of DCT to improve both model efficiency and accuracy. Specifically, it projects the weight change from the low-rank adaptation into the discrete cosine space. Then, the weight change is partitioned over different levels of the discrete cosine spectrum, and the most critical frequency components in each partition are selected. Extensive experiments on four benchmark datasets demonstrate the superior accuracy, reduced computational cost, and lower storage requirements of the proposed method over the prior arts. For instance, when performing instruction tuning on the LLaMA3.1-8B model, sDCTFT outperforms LoRA with just 0.05M trainable parameters compared to LoRA's 38.2M, and surpasses FourierFT with 30\% less trainable parameters. The source code will be publicly available.

📄 PDF Abstract BibTeX arXiv:2410.09103

Code (0)

등록된 구현이 없습니다.

Tasks

parameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

LoCA: Location-Aware Cosine Adaptation for Parameter-Efficient Fine-Tuning

2025-02-05 · Zhekai Du, Yinjie Min, Jingjing Li, Ke Lu 외

Low-rank adaptation (LoRA) has become a prevalent method for adapting pre-trained large language models to downstream tasks. However, the simple low-rank decomposition form may constrain the hypothesis space. To address …

parameter-efficient fine-tuning

MaCP: Minimal yet Mighty Adaptation via Hierarchical Cosine Projection

2025-05-29 · Yixian Shen, Qi Bi, Jia-Hong Huang, Hongyi Zhu 외

We present a new adaptation method MaCP, Minimal yet Mighty adaptive Cosine Projection, that achieves exceptional performance while requiring minimal parameters and memory for fine-tuning large foundation models. Its gen…

image-classificationImage ClassificationNatural Language UnderstandingText Generation+2

SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging

2025-03-21 · Aladin Djuhera, Swanand Ravindra Kadhe, Farhan Ahmed, Syed Zawad 외

Fine-tuning large language models (LLMs) on downstream tasks can inadvertently erode their safety alignment, even for benign fine-tuning datasets. We address this challenge by proposing SafeMERGE, a post-fine-tuning fram…

GSM8KSafety Alignment

Tensor Reordering for CNN Compression

2020-10-22 · Matej Ulicny, Vladimir A. Krylov, Rozenn Dahyot

We show how parameter redundancy in Convolutional Neural Network (CNN) filters can be effectively reduced by pruning in spectral domain. Specifically, the representation extracted via Discrete Cosine Transform (DCT) is m…

DCT-Conv: Coding filters in convolutional networks with Discrete Cosine Transform

2020-01-23 · Karol Chęciński, Paweł Wawrzyński

Convolutional neural networks are based on a huge number of trained weights. Consequently, they are often data-greedy, sensitive to overtraining, and learn slowly. We follow the line of research in which filters of convo…