AdaRank: Disagreement Based Module Rank Prediction for Low-rank Adaptation
Yihe Dong
TL;DR
AdaRank addresses the inefficiency of applying a uniform low-rank adaptation across all layers in large pretrained models. It introduces a disagreement-based, two-step method to predict per-module ranks by perturbing individual modules and measuring output disagreement, then mapping these importances to absolute ranks with a target average rank $r$. The approach preserves pretraining and finetuning stages without extra objectives, and empirical results on TREC, Yelp, and AG News show AdaRank improves generalization over uniform-rank baselines, both when adapting individual modules and when adapting all modules jointly. The findings highlight that later transformer modules are more critical and that lower disagreement correlates with better generalization, offering a practical and transferable strategy for parameter-efficient adaptation with potential runtime and memory benefits. The work suggests future directions including broader input protocols, task-specific vs generic prompts for rank estimation, and theoretical grounding of the disagreement-to-rank link.
Abstract
With the rise of language and multimodal models of ever-increasing size, pretraining a general-purpose foundational model and adapting it to downstream tasks has become common practice. To this end, adaptation efficiency can be a critical bottleneck given the large model sizes, hence efficient finetuning methods such as LoRA have become prevalent. However, LoRA is typically applied with the same rank across all model layers, despite mounting evidence from transfer learning literature that during finetuning, later layers diverge more from pretrained weights. Inspired by the theory and observations around feature learning and module criticality, we develop a simple model disagreement based technique to predict the rank of a given module relative to the other modules. Empirically, AdaRank generalizes notably better on unseen data than using uniform ranks with the same number of parameters. Compared to prior work, AdaRank has the unique advantage of leaving the pretraining and adaptation stages completely intact: no need for any additional objectives or regularizers, which can hinder adaptation accuracy and performance. Our code is publicly available at https://github.com/google-research/google-research/tree/master/adaptive_low_rank.
