Modular Universal Reparameterization: Deep Multi-task Learning Across Diverse Domains

Elliot Meyerson, Risto Miikkulainen

The Limits of Traditional Multi-Task Learning

Deep multi-task learning (DMTL) typically operates within a single domain. For instance, researchers frequently share features between two different computer vision tasks. However, this standard approach requires tasks to exist in the same modality (e.g., all images) and relies on human engineers to manually align the architectures.

This paper introduces Modular Universal Reparameterization (MUiR), a novel framework that allows neural networks to share learned functionality across completely disparate domains—such as Vision, Natural Language Processing (NLP), and Genomics—even when their underlying architectures (like CNNs and LSTMs) are fundamentally different.

The Core Question: Are There Universal Building Blocks?

The authors pose a fascinating question: Is there a "universal" set of functional building blocks that can be shared across disparate domains?

Could a pattern learned by a 2D-CNN for image recognition help an LSTM model predict protein binding in DNA? The primary hurdle is the lack of an obvious way to "align" the parameters of a vision model with those of a language model. MUiR solves this alignment problem through three key mechanisms:

  1. Pseudo-task Decomposition: Every weight tensor in every architecture is broken down into equally sized blocks (e.g., $16 \times 16$ matrices). Each block is treated as a distinct "pseudo-task" requiring a solution.
  2. Hypermodules: Instead of learning weights directly, MUiR learns a set of shared templates called hypermodules alongside location-specific context vectors. A specific weight block is generated by the product of a shared hypermodule and its context vector. This reparameterization allows the same template to be deployed across different parts of different networks.
  3. Automated Alignment: To determine which hypermodule should solve which pseudo-task, MUiR employs an efficient evolutionary algorithm (a $(1+\lambda)$-EA). This algorithm searches for the optimal mapping between thousands of weight blocks and the pool of shared hypermodules, allowing the architecture to organically learn its own sharing structure.

Key Insights: Cross-Modal Sharing Works

The authors evaluated MUiR across a diverse suite of benchmarks, including CIFAR-10 (Vision, WideResNet), WikiText-2 (Language, Stacked LSTM), and CRISPR Binding Prediction (Genomics, DeepBind-256 1D-CNN).

The most striking finding is that sharing does help across modalities. In 16 out of 16 tested cases, MUiR improved performance over single-task baselines. For example, on WikiText-2, MUiR reduced perplexity from 134.41 to 128.10 when shared with Vision and DNA tasks. On the CRISPR task, MSE dropped from 0.1540 to 0.1464.

Heatmap showing module sharing across different architectural layers.

Interestingly, the 1D-convolutional DNA model (DeepBind) often acted as a "central hub" in cross-modal experiments, sharing more modules with both the 2D-vision model and the 1D-language model than they shared with each other. Furthermore, high-performance vision models provided excellent features that helped DNA and Text models, though the vision models themselves rarely benefited from the others. This suggests vision architectures are highly specialized "deep stacks" that excel at providing general modules but are hard to improve with external ones.

Parsimony Through Sharing

As the optimization progresses, MUiR demonstrates a remarkable ability to compress the model. The number of unique modules used often decreases over time, effectively reducing the parameter footprint while simultaneously improving performance.

Area chart demonstrating the reduction in the number of modules over training generations.

Limitations and the Path Forward

While highly effective, MUiR's evolutionary algorithm adds computational overhead compared to standard training due to the search complexity across large architectures. Additionally, the "one-directional" transfer observed with complex vision models highlights a need for better methods to integrate general knowledge into highly specialized architectures.

Ultimately, MUiR establishes a key ingredient for general problem solving. The authors suggest this framework could serve as a foundation for "lifelong learning" systems that accumulate a library of universal modules over time, becoming increasingly adept at every new task they encounter.

Summary updated

BibTeX
@inproceedings{meyerson2019modular,
  author = {Elliot Meyerson and Risto Miikkulainen},
  title = {{Modular Universal Reparameterization: Deep Multi-task Learning Across Diverse Domains}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=BFZZxcLdBx9},
}
Figure