atlas

Research map / Large language models / Instruction and fine-tuning

Transformer-Squared: Self-adaptive LLMs

ICLR 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 1 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 Transformer-Squared, a self-adaptive LLM framework that trains RL-optimized singular-value scaling vectors (SVF) per task and mixes them at inference via prompt-based, classifier-based, or CEM few-shot dispatch.

Problem

Fine-tuning LLMs for many tasks is costly, static, prone to overfitting and task interference, and expert modules are hard to compose at runtime.

Approach

Singular Value Fine-tuning (SVF) learns one scaling vector per weight matrix over its singular values, trained with REINFORCE on correctness rewards; a two-pass inference scheme then dispatches or interpolates these expert vectors (via prompting, a trained classifier expert, or CEM-searched few-shot mixing) to adapt the base weights per prompt.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use few-shot expert adaptation instead of the base modelLlama3-8B-Instruct · MATHscore: 24.54 -> 25.47Helped
Use few-shot expert adaptation instead of the base modelLlama3-8B-Instruct · Humanevalscore: 60.98 -> 62.99Helped
Use few-shot expert adaptation instead of the base modelLlama3-8B-Instruct · ARC-Challengescore: 80.63 -> 82.61Helped
Use few-shot expert adaptation instead of the base modelMistral-7B-Instruct-v0.3 · MATHscore: 13.02 -> 13.39Helped
Use prompt-based expert selection instead of the base modelMistral-7B-Instruct-v0.3 · MATHscore: 13.02 -> 11.86Hurt
Use classification-expert dispatch instead of the base modelMistral-7B-Instruct-v0.3 · MATHscore: 13.02 -> 11.60Hurt
Update both MLP and attention modules with SVF rather than attention alone (ablation)SVF on Llama3-8B-Instruct · GSM8K testscore: 76.19 -> 79.23Helped
Add MLP updates to SVF attention updates (ablation)SVF on Llama3-8B-Instruct · MATHscore: 24.20 -> 25.04Helped
Replace next-token prediction with policy-gradient training for SVF (ablation)SVF on Llama3-8B-Instruct · GSM8K testscore: 60.50 -> 76.19Helped
Replace next-token prediction with policy-gradient training for SVF (ablation)SVF on Llama3-8B-Instruct · MATHscore: 18.52 -> 24.20Helped
Use SVF rather than LoRA with policy-gradient training (ablation)attention updates on Llama3-8B-Instruct · GSM8K testscore: 57.92 -> 76.19Helped
Use SVF rather than LoRA with policy-gradient training (ablation)attention updates on Llama3-8B-Instruct · MATHscore: 15.72 -> 24.20Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MBPP-pro ARC-Easy TextVQA MATH Humaneval ARC-Challenge OKVQA

Benchmarks: GSM8K MBPP-pro ARC-Easy TextVQA MATH Humaneval ARC-Challenge OKVQA

Metrics: accuracy normalized score relative to base model

Baselines: LoRA IA3 DoRA LoRA-XS Llama3-8B-Instruct Mistral-7B-Instruct-v0.3 Llama3-70B-Instruct

Builds on: LoRA REINFORCE cross-entropy method IA3 DoRA

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