Skip to content
module

AdaMSS

5 members
lucid.peft.tuners.adamss

lucid.peft.tuners.adamss — AdaMSS: independent low-rank updates inside clustered subspaces of the SVD.

AdaMSS (Zheng et al., 2025, NeurIPS) takes the SVD of each weight, clusters the rows of its leading left singular directions into subspaces and learns an independent low-rank update inside each, optionally freezing the less important subspaces while training. Pick it for a low-rank adapter whose capacity is spent where the weight's spectrum needs it: a handful of tiny factors per layer instead of one large pair.

Where the reference library keeps them, so isinstance(m, AdamssLayer) and from lucid.peft.tuners.adamss import AdamssConfig, Linear read as they do there. One layer type for the one module the method adapts, nn.Linear; SubspaceAllocator is the adaptive allocation's state, which AdamssModel.update_and_allocate drives. AdamssConfig and AdamssModel are here and exported from lucid.peft. Importing the package registers the method (its config under PeftType.ADAMSS, its tuner and layer), which is what makes get_peft_model and PeftModel.from_pretrained know it.

Paper

Zheng, Jingjing, et al. "AdaMSS: Adaptive Multi-Subspace Approach for Parameter-Efficient Fine-Tuning." NeurIPS, 2025.

Overview

AdaMSS (Zheng et al., 2025, NeurIPS — Adaptive Multi-Subspace Approach for Parameter-Efficient Fine-Tuning) takes the SVD of each weight (joined to its bias as one more column), clusters the rows of its top-r left singular directions into num_subspaces subspaces, and learns an independent rank-subspace_rank update inside each one while the weight stays frozen. With use_asa, an adaptive allocation freezes the less important subspaces during training, down to about asa_target_subspaces trainable ones in all.

Classes