TLoRA: Task-aware Low Rank Adaptation of Large Language Models

Weicheng Lin, Yi Zhang, Jiawei Dang, Liang-Jie Zhang
4/20/2026
cs.CLcs.AI

No official code found. Best implementation: Rambo-Yi/TLora (4 stars, last commit 2026-04-16).

Abstract

Low-Rank Adaptation (LoRA) has become a widely adopted parameter-efficient fine-tuning method for large language models, with its effectiveness largely influenced by the allocation of ranks and scaling factors, as well as initialization. Existing LoRA variants typically address only one of these factors, often at the cost of increased training complexity or reduced practical efficiency. In this work, we present Task-aware Low-Rank Adaptation (TLoRA), a unified framework that jointly optimizes initialization and resource allocation at the outset of training. TLoRA introduces a data-driven initialization strategy that aligns the LoRA $A$ matrix with task-relevant subspaces by performing singular value decomposition on the product of pre-trained weights and input activation covariance. After this, the $A$ matrix is frozen, and only the $B$ matrix is trained. Furthermore, TLoRA employs a sensitivity-based importance metric to adaptively allocate ranks and scaling factors across layers under a fixed parameter budget. We conduct extensive experiments that demonstrate TLoRA consistently performs excellently across various tasks, including natural language understanding, commonsense reasoning, math reasoning, code generation, and chat generation, while significantly reducing the number of trainable parameters.

View on arXivView PDF

Code Implementations(1)

Rambo-Yi/TLoraCommunity74%

The code for TLoRA: Task-aware Low Rank Adaptation of Large Language Models (ACL2026)

40C++, CudaApr 7, 20266 months ago

Cite this paper

@article{lin2026tlora,
  title  = {TLoRA: Task-aware Low Rank Adaptation of Large Language Models},
  author = {Weicheng Lin and Yi Zhang and Jiawei Dang and Liang-Jie Zhang},
  year   = {2026},
  eprint = {2604.18124},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.18124v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.18124.svg)](https://codeofpaper.com/paper/2604.18124)

Discussion