paper-with-me

홈 › Papers

LaMDA: Large Model Fine-Tuning via Spectrally Decomposed Low-Dimensional Adaptation

2024-06-18 · Seyedarmin Azizi, Souvik Kundu, Massoud Pedram

Low-rank adaptation (LoRA) has become the default approach to fine-tune large language models (LLMs) due to its significant reduction in trainable parameters. However, trainable parameter demand for LoRA increases with increasing model embedding dimensions, leading to high compute costs. Additionally, its backward updates require storing high-dimensional intermediate activations and optimizer states, demanding high peak GPU memory. In this paper, we introduce large model fine-tuning via spectrally decomposed low-dimensional adaptation (LaMDA), a novel approach to fine-tuning large language models, which leverages low-dimensional adaptation to achieve significant reductions in trainable parameters and peak GPU memory footprint. LaMDA freezes a first projection matrix (PMA) in the adaptation path while introducing a low-dimensional trainable square matrix, resulting in substantial reductions in trainable parameters and peak GPU memory usage. LaMDA gradually freezes a second projection matrix (PMB) during the early fine-tuning stages, reducing the compute cost associated with weight updates to enhance parameter efficiency further. We also present an enhancement, LaMDA++, incorporating a ``lite-weight" adaptive rank allocation for the LoRA path via normalized spectrum analysis of pre-trained model weights. We evaluate LaMDA/LaMDA++ across various tasks, including natural language understanding with the GLUE benchmark, text summarization, natural language generation, and complex reasoning on different LLMs. Results show that LaMDA matches or surpasses the performance of existing alternatives while requiring up to 17.7x fewer parameter updates and up to 1.32x lower peak GPU memory usage during fine-tuning. Code will be publicly available.

📄 PDF Abstract BibTeX arXiv:2406.12832

Code (1)

arminazizi98/lamda 공식 구현 pytorch

Tasks

GPUNatural Language UnderstandingText GenerationText Summarization

Similar Papers 제목 키워드 기반

LAMDAS: LLM as an Implicit Classifier for Domain-specific Data Selection

2025-09-08 · Jian Wu, Hang Yu, Bingchang Liu, Wenjie Yang 외 arxiv

Adapting large language models (LLMs) to specific domains often faces a critical bottleneck: the scarcity of high-quality, human-curated data. While large volumes of unchecked data are readily available, indiscriminately…

Computational EfficiencyFeature Engineering

LaMDA: Language Models for Dialog Applications

2022-01-20 · Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer 외

We present LaMDA: Language Models for Dialog Applications. LaMDA is a family of Transformer-based neural language models specialized for dialog, which have up to 137B parameters and are pre-trained on 1.56T words of publ…

Code GenerationInformation RetrievalLanguage ModellingRetrieval

LaMDAgent: An Autonomous Framework for Post-Training Pipeline Optimization via LLM Agents

2025-05-28 · Taro Yano, Yoichi Ishibashi, Masafumi Oyamada

Large Language Models (LLMs) have demonstrated exceptional performance across a wide range of tasks. To further tailor LLMs to specific domains or applications, post-training techniques such as Supervised Fine-Tuning (SF…

Instruction Following

LAMDA-SSL: Semi-Supervised Learning in Python

2022-08-09 · Lin-Han Jia, Lan-Zhe Guo, Zhi Zhou, Yu-Feng Li

LAMDA-SSL is open-sourced on GitHub and its detailed usage documentation is available at https://ygzwqzd.github.io/LAMDA-SSL/. This documentation introduces LAMDA-SSL in detail from various aspects and can be divided int…

LAMDA: A Longitudinal Android Malware Benchmark for Concept Drift Analysis

2025-05-24 · Md Ahsanul Haque, Ismail Hossain, Md Mahmuduzzaman Kamol, Md Jahangir Alam 외

Machine learning (ML)-based malware detection systems often fail to account for the dynamic nature of real-world training and test data distributions. In practice, these distributions evolve due to frequent changes in th…

Malware Detection