[Paper Review] LLM Augmented LLMs: Expanding Capabilities through Composition
CALM composes an anchor LLM with a specialized augmenting model by learning a small cross-attention-based interface, enabling new capabilities without altering either model’s weights. It improves tasks like low-resource language translation, arithmetic reasoning with KV mappings, and code understanding/generation.
Foundational models with billions of parameters which have been trained on large corpora of data have demonstrated non-trivial skills in a variety of domains. However, due to their monolithic structure, it is challenging and expensive to augment them or impart new skills. On the other hand, due to their adaptation abilities, several new instances of these models are being trained towards new domains and tasks. In this work, we study the problem of efficient and practical composition of existing foundation models with more specific models to enable newer capabilities. To this end, we propose CALM -- Composition to Augment Language Models -- which introduces cross-attention between models to compose their representations and enable new capabilities. Salient features of CALM are: (i) Scales up LLMs on new tasks by 're-using' existing LLMs along with a few additional parameters and data, (ii) Existing model weights are kept intact, and hence preserves existing capabilities, and (iii) Applies to diverse domains and settings. We illustrate that augmenting PaLM2-S with a smaller model trained on low-resource languages results in an absolute improvement of up to 13\% on tasks like translation into English and arithmetic reasoning for low-resource languages. Similarly, when PaLM2-S is augmented with a code-specific model, we see a relative improvement of 40\% over the base model for code generation and explanation tasks -- on-par with fully fine-tuned counterparts.
Motivation & Objective
- Motivate efficient, practical composition of foundation models to acquire new capabilities without fine-tuning or data sharing constraints.
- Enable re-use of existing models by learning a small, trainable interaction between frozen models.
- Demonstrate CALM across diverse domains including language inclusivity, arithmetic with key-value mappings, and code-related tasks.
Proposed method
- Introduce CALM: a framework that learns a small set of trainable parameters over selected layers of two frozen models (an anchor m_B and an augmenting m_A).
- Learn a projection f_proj to map m_A representations into the dimensionality of m_B, enabling cross-attention layers f_cross between the two models.
- Incorporate cross-attention between projected m_A keys/values and m_B queries, with residual connections feeding into subsequent layers.
- Train the composition parameters Θ_C using a small dataset D_C designed to depict the joint “combined skills” required for the target composition task C.
- Choose compositional layers L_A and L_B, and apply the cross-attention mechanism iteratively across selected layers.
- Demonstrate that CALM preserves existing capabilities of both models while enabling new capabilities without altering base weights.

Experimental results
Research questions
- RQ1Can an anchor LLM and a domain-specialized augmenting model be composed to achieve capabilities neither model has alone?
- RQ2Does CALM preserve the individual capabilities of the base models while enabling new tasks?
- RQ3How does CALM perform across tasks such as low-resource language translation, arithmetic with key-value mappings, and code understanding/generation?
Key findings
- A composed model m_A⊕B significantly outperforms both base models on key tasks, e.g., KV-Arithmetic accuracy of 84.3% versus 0% for m_B on KV-Substitution and KV-Arithmetic.
- In low-resource language translation, CALM substantially improves FLORES-200 English translation metrics over both base models, achieving higher averages across multiple languages.
- In code-related tasks, CALM yields meaningful gains in code completion and code-to-text/explanation tasks compared to the anchor, augmenting model capabilities without fine-tuning.
- Ablation studies show that replacing m_A with vanilla or random models degrades performance, underscoring that gains come from specialized knowledge in m_A and the CALM interaction, not merely added parameters.
- Compared to LoRA, CALM demonstrates superior task transfer and avoids catastrophic forgetting observed when fine-tuning the base model.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.