Abstract
Neural networks often struggle with systematic generalization—the ability to combine known concepts in novel ways. This paper investigates adverb-verb combinations in the gSCAN benchmark, where adverbs transform action sequences. We propose a modular architecture combined with structured data augmentation using a Domain-Specific Language. Our approach achieves significant performance gains, improving exact match accuracy from ~1% to over 80% on challenging few-shot tasks, demonstrating that modularity enables models to effectively leverage diverse training data.
Introduction
Humans possess a remarkable capacity for compositionality. If one understands the command to "walk cautiously" and knows how to "cycle," they can immediately infer how to "cycle cautiously" without prior demonstration. In contrast, standard neural networks tend to memorize patterns rather than learning underlying compositional rules. This study addresses the challenge of adverb-verb combinations in grounded language learning using the gSCAN benchmark. In this 2D grid-world, adverbs like "cautiously" require complex sequence transformations (e.g., "look left and right before every move"), a task where traditional models typically fail to generalize.
Methodology
The researchers propose a dual-pronged strategy involving high-level modularity and structured data augmentation.
High-Level Modularity
The task is decomposed into four specialized functional modules rather than using a monolithic "black box" architecture:
- Perception Module: Identifies the agent's current state and the target object's location.
- Navigation Module: Generates a basic path plan.
- Interaction Module: Determines the specific interaction required (e.g., push or pull).
- Transformation Module: Acts as the "adverb engine," modifying the basic plan according to the specified manner of movement (e.g., "spinning" or "cautiously").
Structured Data Augmentation
To provide the model with sufficient experience in adverbial logic, the authors developed a Domain-Specific Language (DSL) based on L-systems. This recursive rewriting system allowed for the generation of up to 150 novel adverbs with complex movement rules, significantly enriching the training signal compared to the original four adverbs in gSCAN.
Results and Key Insights
The combination of modularity and augmentation led to a new state-of-the-art (SOTA) on the most difficult gSCAN splits. On the few-shot "cautiously" task (k=5), exact match accuracy soared from a baseline of 1.12% to 80.04%. Similarly, generalization for "pull while spinning" improved from 19.04% to 76.84%.
Several key insights emerged from the experiments:
- Modularity as an Enabler: Data augmentation alone was insufficient for standard baseline models. The modular architecture was essential for the model to isolate and learn the logic of the "Transformation" module without interference from perception or navigation tasks.
- Quality over Quantity: Performance was highly dependent on the type of augmented data. Adding a single adverb structurally similar to the test case (e.g., another adverb requiring "looking around") was more effective than adding 100 unrelated adverbs. This suggests that the models may be utilizing a form of "nearest-neighbor" reasoning rather than purely abstract logic.
Conclusion
This work demonstrates that systematic generalization can be significantly improved by combining modular inductive biases with structured data. While the results on gSCAN are promising, the reliance on hand-designed DSLs for augmentation remains a limitation. Future research should aim to automate the induction of these rules, moving toward systems that can generate their own internal "mental simulations" to facilitate generalization across diverse contexts.
Summary updated