TL;DR
Progressive Module Networks (PMN) introduce a compositional framework for multi-task learning where complex visual reasoning is solved by a hierarchy of neural "specialists." By allowing higher-level modules to query lower-level ones in a program-like manner, the model achieves better data efficiency, avoids catastrophic forgetting, and provides a naturally interpretable "trace" of its reasoning process.
What Problem Does This Paper Address?
Most current multi-task learning (MTL) architectures follow a "shared trunk, independent heads" approach. While this helps models learn general features, the tasks themselves remain siloed—the "counting" head doesn't directly benefit from the "object detection" head's specific outputs.
Humans, by contrast, learn through a curriculum: we master addition before algebra. Visual reasoning tasks like Visual Question Answering (VQA) are inherently hierarchical. For example, answering "How many red cars are behind the bus?" requires detecting objects, identifying attributes (red), understanding spatial relationships (behind), and finally counting. The authors aim to bridge this gap by creating a system where tasks can explicitly build upon one another.
Methods
The core of the paper is the Progressive Module Network (PMN). It treats each task as a neural module that can be categorized into two types:
- Terminal Modules (Level 0): Simple solvers (like an object classifier) that do not query others.
- Compositional Modules (Level > 0): Solvers for complex tasks that act like a "parent" function, calling "child" modules to gather sub-information.
The Communication Protocol
Modules communicate via a standardized interface, treating each other as black boxes:
- Query Transmitter ($Q$): The parent module translates its internal state into a "language" the child module understands.
- Receiver ($R$): The parent translates the child's output back into its own internal representation.
- Soft Gating ($G$): An importance function allows the parent to decide, at each reasoning step, which child modules to trust or ignore.
Training Strategy
PMNs are trained progressively. Low-level modules are trained first, and their weights are subsequently frozen. When training a higher-level module (like VQA), only the communication parameters ($Q, R, G$) and the parent's internal logic are updated. This prevents "catastrophic forgetting"—the model never loses its ability to detect objects just because it is learning to count them.
Datasets
The authors evaluate PMN across a suite of interconnected visual tasks using:
- Visual Genome (VG): Used for training low-level modules like object classification, attribute classification, and relationship detection.
- MS-COCO: Used for the image captioning module.
- VQA 2.0: The primary benchmark for the high-level visual reasoning and counting modules.
Key Insights and Ideas
- Interpretability as a Side Effect: Because the model must choose which modules to query, we get a "reasoning trace" for free. As seen in the VQA execution process, to answer a question about a bird, the model queries the
Relationshipmodule to find what it is standing on and theAttributemodule to check its properties. - The "Library" Analogy: The authors liken their approach to a computer program using software libraries. A programmer doesn't need to know the internal code of a math library to use its
square_rootfunction; they just need to know the input and output format. - Data Efficiency: PMNs excel in "low-data regimes." Because the high-level module is essentially learning to coordinate existing skills rather than learning everything from scratch, it requires significantly less data to reach high performance compared to monolithic baselines.
Key Results
- Performance Gains: In VQA 2.0, the model showed a steady increase in accuracy as more modules were added. The full PMN (using object, attribute, relationship, counting, and captioning modules) outperformed a non-compositional baseline by 2.6%.
- Low Data Superiority: When trained on only 10% of the VQA training data, the PMN achieved a 4.01% absolute accuracy gain over the baseline, proving its efficiency.
- Human-Approved Reasoning: The authors asked human judges to rate the "explanations" generated by the model's module choices. PMN scored 2.54/4, significantly higher than an attention-based baseline (2.24/4). Interestingly, even when the PMN got an answer wrong, humans often gave it "partial credit" because the reasoning steps were logically sound.
Limitations and Future Work
- Hand-Designed Hierarchy: Currently, humans must decide which modules are "parents" and which are "children." A major future direction is "Neural Architecture Search" for these hierarchies—letting the model discover which sub-tasks are useful for a new goal.
- Computational Overhead: Querying multiple deep networks for a single question is computationally expensive. The authors suggest "hard attention" (picking only one or two modules to call) as a way to reduce this overhead in the future.
- Sequential Bottleneck: While freezing lower modules prevents forgetting, it also prevents those modules from improving based on the complex feedback of higher-level tasks. Exploring "joint training" while maintaining stability is a key next step.
Summary updated