TECHNOLOGY

LoRA Soups CAT: learned coefficients for composing skills

In this article
THE QUICK TAKE

CAT learns a composition using data; frozen skill adapters do not make the coefficient-fitting stage training-free or establish a measured VRAM saving.

LoRA Soups studies whether independently trained adapters can cooperate on a task requiring their combined skills. Its Learnable Concatenation method, called CAT, fits mixing coefficients after the skill adapters have been trained. That additional learning stage matters when comparing it with a fixed arithmetic merge or with training on mixed data.

Composition is the actual evaluation question

The published COLING paper distinguishes composition from retaining separate task scores. Its math example combines mathematical reasoning with code generation to answer difficult word problems through programs. A model that performs each source task separately has not automatically demonstrated the ability to coordinate them.

That distinction changes the appropriate test set. An evaluation containing only the original coding and arithmetic examples could miss failures in selecting and combining the skills. Preserve examples requiring the interaction as well as source-task checks. Otherwise, a successful inventory of isolated capabilities can be mistaken for success on the intended application.

CAT learns coefficients while freezing skill adapters

The method assigns layer-specific coefficients to the contributions of the trained skill modules. Its additional fitting stage uses a small mixture of the skill datasets. This is supervised adaptation, even though the original adapter factors stay frozen. It should have a separate data record and cost accounting.

The pinned training code makes this distinction visible: parameter names containing lora_learnable remain trainable, while other parameters have gradients disabled. A small trainable subset reduces optimizer work for those parameters, but the full model still participates in the forward computation. Training memory therefore cannot be inferred from the coefficient count alone; the LoRA memory guide explains the other components.

Interpret the reported comparison precisely

For the difficult math experiment, the paper reports CAT at 21.11% accuracy versus 18.8% for its data-mixing comparison. These are benchmark scores under the described training and prompting conditions. They do not establish an equivalent improvement on every composition task or a universal advantage over all merge implementations.

The paper’s linear-factor baseline also deserves attention. Combining factors separately introduces cross terms, whereas combining complete adapter updates follows different algebra. A method label is therefore insufficient to reproduce a comparison. Preserve which tensors were mixed and where the coefficients entered the computation, rather than treating every weighted LoRA combination as the same operation.

Published hardware is available, peak memory is not

Contrary to an impression that the hardware is wholly unspecified, the appendix names A100 GPUs and describes its largest textbook training on 2 A100 GPUs. It does not supply a matched table of peak RAM or VRAM for all merging methods. This hardware description cannot establish a minimum GPU capacity or a quantified memory saving for CAT.

Preserve the environment and selection boundary

The author repository specifies a PEFT 0.6.0 basis for CAT and a separate environment for the MoE comparison. Those dependencies are part of the experimental context. A current library with a similarly named merging function may implement a different operation.

Keep coefficient-fitting examples, model selection and final testing separate. Save the coefficients alongside adapter and base revisions, then check the reloaded result on independent composition examples. The LoraHub explanation offers a useful comparison for accounting for adaptation examples, while CAT’s gradient-based coefficient fitting remains its own procedure.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles