atlas

Research map / Large language models / Language, safety and interpretability

LLM Augmented LLMs: Expanding Capabilities through Composition

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Multilingual LLM data and culture · 10 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes CALM, which composes a frozen anchor LLM (PaLM2-S) with a frozen augmenting model via trainable projections and cross-attention over intermediate layers, enabling new capabilities in low-resource translation, math, and code tasks.

Problem

Augmenting a large monolithic foundation model with new skills from specialized models is expensive, and existing routing, ensembling, merging, or further pre-training approaches either fail when neither model has the capability or cause catastrophic forgetting.

Approach

Keep both anchor and augmenting models frozen and learn a small set of linear projections plus cross-attention layers that let the anchor attend over the augmenting model's intermediate representations, trained on a small amount of composition data (about 5-20% of the domain data).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Compose the KV memorization model with the arithmetic-capable anchorPaLM2-XS · KV-MATHaccuracy (%): 0.0 -> 84.3Helped
Compose the NTL-trained augmenting model with the anchorPaLM2-S · FLORES-200 (XX to En; average of 10 shown languages)chrF1: 41.7 -> 46.1Helped
Compose the NTL-trained augmenting model with the anchorPaLM2-S · GSM8K (low-resource languages; average of 10 shown)Accuracy: 22.5 -> 25.0Helped
Compose the NTL-trained augmenting model with the anchorPaLM2-S · GSM8K (high-resource languages; average)Accuracy: 28.0 -> 31.8Helped
Compose the code-trained augmenting model with the anchorPaLM2-S · HumanEvalPass@1: 16.4 -> 22.5Helped
Compose the code-trained augmenting model with the anchorPaLM2-S · MBPPPass@1: 28.6 -> 32.2Helped
Compose the code-trained augmenting model with the anchorPaLM2-S · CodeXGlue C2T (Python)chrF1: 30.4 -> 30.5Helped
Replace specialized NTL augmenting model with vanilla PaLM2-XXS (ablation)CALM · FLORES-200 (XX-En)languages improved over PaLM2-S: 175 -> 115Hurt
Replace specialized NTL augmenting model with random model (ablation)CALM · FLORES-200 (XX-En)languages improved over PaLM2-S: 175 -> 43Hurt
Use augmenting model as encoder without iterative decoding (ablation)CALM · FLORES-200 (XX-En)chrF1: 60.5 -> 59.3Hurt
Adapt the anchor with parameter-matched LoRA instead of CALMPaLM2-S · FLORES-200 (XX-En)chrF1: 60.5 -> 59.2Hurt
Adapt the anchor with parameter-matched LoRA instead of CALMPaLM2-S · GSM-8K (LRL)Accuracy: 21.4 -> 20.9Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Key-value synthetic data (KV-SUBS, KV-MATH, NUM-MATH) Next Thousand Languages (NTL) corpora GitHub open-source code corpus FLORES-200 GSM-8K (multilingual and silver low-resource translations) HumanEval MBPP CodeXGLUE

Benchmarks: FLORES-200 GSM-8K HumanEval MBPP CodeXGLUE Key-value arithmetic synthetic task

Metrics: chrF1 accuracy Pass@1 number of languages improved over base

Baselines: PaLM2-XXS + NTL PaLM2-S + NTL (continued pre-training) LoRA PaLM2-S + Code (continued pre-training) vanilla PaLM2-XXS augmenting random PaLM2-XXS augmenting encoder-only augmenting variant

Builds on: LoRA encoder-decoder cross-attention Flamingo-style cross-attention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy