atlas

Research map / Architectures and efficiency / RNNs and normalization

Scaling can lead to compositional generalization

NeurIPS 2025 · Architectures and efficiency › RNNs and normalization · approach: Layer-wise analysis of language models · 0 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.

Shows that standard MLPs and transformers compositionally generalize on synthetic compositional task families when data and model size are scaled and training covers the task space, proves an O(1/sqrt(eps)+M) neuron approximation bound, and links linear decodability of task constituents to generalization, including text-to-image composition success.

Problem

Whether standard neural networks (MLPs, transformers) can systematically generalize over tasks sharing compositional structure, and under what data and scale conditions this happens.

Approach

Scaling the number of training tasks and model size makes standard feedforward networks compositionally generalize across task encodings, provided the training support covers modules and is connected; a theorem shows a linear-in-M ReLU MLP can approximate a hyperteacher, and held-out generalization correlates with linear decodability of constituents from hidden activations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace Identity encoding with Orthogonal encodingMLP · Hyperteacher (M=16, K=3)compositional generalization R²: 1.00 ± 0.000 -> 1.00 ± 0.000No clear effect
Use Language encodingMLP · Hyperteacher (M=16, K=3)compositional generalization R²: 1.00 ± 0.000Helped
Use nonlinear Invertible NN encodingMLP · Hyperteacher (M=16, K=3)compositional generalization R²: 0.95 ± 0.000Helped
Use nonlinear Interval shuffle encodingMLP · Hyperteacher (M=16, K=3)compositional generalization R²: 0.98 ± 0.010Helped
Use Few shot task encodingMLP · Hyperteacher (M=16, K=3)compositional generalization R²: 0.97 ± 0.001Helped
Scale the number of training tasksMLP · Hyperteacher task familycompositional generalizationHelped
Increase model size when data is sufficientMLP · Hyperteacher task familycompositional generalizationHelped
Scale training dataDecoder-only transformer · Hyperteacher task familycompositional generalizationHelped
Reduce training support coverage by omitting a moduleMLP · Hyperteacher task familycompositional generalizationHurt
Make a few modules rare in trainingMLP · Hyperteacher task familycompositional generalizationHurt
Increase the frequency of a small set of popular modulesMLP · Hyperteacher task familycompositional generalizationNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic hyperteacher task family compositional preference grid task family image composition task families (text-to-image prompts)

Benchmarks: hyperteacher held-out compositional tasks compositional preference grid image composition task families

Metrics: R² (compositional generalization) accuracy linear decodability R² of task constituents image generation success rate

Baselines: identity encoding orthogonal encoding language encoding invertible NN encoding interval shuffle encoding few-shot encoding

Builds on: hypernetworks compositional preference task family connected support (hypernetwork teacher-student) invertible neural networks

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