atlas

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

Beyond Single-Task: Robust Multi-Task Length Generalization for LLMs

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Calibration and knowledge in LLM tuning · 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 Meta-RFFT, multi-task rule-following fine-tuning on 74 of 86 constructed length-generalization tasks, enabling cross-task length generalization on unseen tasks with minimal fine-tuning or 1-shot prompting.

Problem

Length generalization in LLMs has been studied mainly for single symbolic tasks trained from scratch on small transformers; single-task RFFT requires per-task fine-tuning, so cross-task length generalization for practical LLMs is unaddressed.

Approach

Two-stage pipeline: first fine-tune an instruction-tuned LLM on a large multi-task rule-following dataset (RF-pretraining, 74 tasks, lengths 1-15), then adapt to unseen tasks with 1-5 length samples or a single rule-following exemplar in context.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply Meta-RFFT before fine-tuning on 1-5-digit additionQwen2.5-32B-Instruct · 30-digit additionaccuracy: 95% vs. vanilla RFFT (40%)Helped
Use Meta-RFFT instead of DeepSeek-R1-671B30-digit addition · 30-digit additionaccuracy: 95% vs. 72%Helped
Use Meta-RFFT instead of QwQ-32B30-digit addition · 30-digit additionaccuracy: 95% vs. 32%Helped
RF-pretrain on 74 diverse tasks rather than only 1 task (ablation)Meta-RFFT · Downstream length-generalization tasksaccuracyHelped
Use outcome-reward PPO instead of supervised rule-following fine-tuning (ablation)Qwen2.5-7B · Length generalizationaccuracyHurt
Pretrain on code-based rules, then adapt using natural-language rules (ablation)Meta-RFFT · LC Add Digits, lengths 12-30accuracyHelped
Add synthetic tasks to RF-pretraining for 1-shot rule-following (ablation)Meta-RFFT · Downstream tasks, 1-shotMax_Len_90%: 28.5, an improvement of 14.5 over the base model and even 10.3 over the vanilla RFFT modelHelped
RF-pretrain on multiple tasks before downstream adaptation instead of using vanilla RFFT aloneQwen2.5-32B-Instruct · Downstream tasksMax_Len_90%Helped
Increase RF-pretraining data or training steps in the early phase (ablation)Meta-RFFT · Downstream length-generalization tasksaccuracyHelped
Increase RF-pretraining data or training steps after performance stabilizes (ablation)Meta-RFFT · Downstream length-generalization tasksaccuracyNo clear effect
Increase downstream adaptation data or training steps in the early phase (ablation)Meta-RFFT · Downstream length-generalization tasksaccuracyHelped
Increase downstream adaptation data or training steps after performance stabilizes (ablation)Meta-RFFT · Downstream length-generalization tasksaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: LeetCode problems NUPA Big-Bench Hard Symbolic Reasoning (coin flip, last letter concatenation)

Benchmarks: LeetCode length generalization tasks (8 downstream) NUPA tasks (4 downstream)

Metrics: accuracy at length 30 (ACC_Len30) Max_Len_90% (max length with >=90% accuracy) accuracy by length

Baselines: direct answer fine-tuning scratchpad fine-tuning vanilla RFFT DeepSeek-R1-671B QwQ-32B DeepSeek-R1-Distill-7B Llama-3.1-Tulu-3.1-8B PPO reinforcement learning

Builds on: RFFT scratchpad fine-tuning PiSSA PPO

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