Home Knowledge Base SCAN (Simplified Compositional Generalization)

SCAN (Simplified Compositional Generalization) is the sequence-to-sequence compositional generalization benchmark that translates natural language navigation commands into action sequences — with carefully designed train/test splits that hold out specific command combinations to test whether models learn compositional rules or memorize input-output pairs, revealing a fundamental failure mode of standard neural architectures.

What Is SCAN?

The Critical Splits

Simple/Random Split: Standard random train/test. Most models achieve >99% accuracy — SCAN is easy for standard seq2seq if splits are random.

"Add Jump" Split: "Jump" appears only in primitive form in training ("jump" → JUMP). Test contains composition with "jump" ("jump around left," "jump twice and run"). Standard LSTM/Transformer: <2% accuracy. Human: ~100%.

"Around Right" Split: "Around" and "right" appear separately in training, but "around right" is held out. Tests right-directional compositional application.

Length Split: Training contains commands generating short action sequences (≤22 actions). Test requires long sequences (24-48 actions). Standard models: ~14% accuracy — reveals length generalization failure.

Why SCAN Failure Is Significant

The "Add Jump" split failure is one of the most striking results in compositionality research. A standard LSTM trained on all other commands perfectly should immediately generalize "jump twice" → JUMP JUMP by applying the "twice" rule it learned from "walk twice" and "run twice." The model fails completely because:

Approaches That Solve SCAN

Performance Comparison

ModelRandomAdd JumpLength
LSTM seq2seq99.7%1.9%13.8%
Transformer99.8%3.1%11.0%
GECA augmentation99.7%81.0%
Meta-Seq2Seq99.9%99.7%78.2%
GPT-4 (few-shot)~99%~88%~70%

Why SCAN Matters

SCAN is learning the syntax of action — a clean, controlled test of whether neural networks can truly abstract and compose the rules they observe, or whether they merely store and interpolate between training examples, with profound implications for the compositional intelligence required by real-world language-guided robotics and AI agents.

scanscanevaluation

Related Topics

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.