Introduction
Neural Architecture Search (NAS) has significantly advanced deep learning by automating the design of neural network "cells," often surpassing human-engineered architectures. However, conventional NAS typically focuses on optimizing for a single task, leading to "tunnel vision." This specialization results in two primary drawbacks: catastrophic forgetting in sequential learning environments and poor generalization to unseen tasks. This paper introduces two extensions to the Efficient Neural Architecture Search (ENAS) framework—Continual Architecture Search (CAS) and Multi-Task Architecture Search (MAS)—to create automated models that are both adaptable and robust.
Methodology
The proposed methods build upon the weight-sharing strategy of ENAS, utilizing a reinforcement learning controller to sample architectures efficiently.
Multi-Task Architecture Search (MAS)
MAS aims to discover a single, unified cell structure that generalizes across multiple domains. Unlike standard NAS, which optimizes for a single reward, the MAS controller is trained using a joint reward—the average validation performance across a set of diverse tasks. This approach encourages the discovery of robust architectural patterns that are not overfitted to the idiosyncrasies of a single dataset.
Continual Architecture Search (CAS)
CAS addresses the challenge of learning tasks sequentially without degrading performance on previously learned ones. To mitigate catastrophic forgetting, the authors implement two key constraints:
- Block-Sparsity: By enforcing sparsity in model parameters, the framework ensures that the model retains sufficient capacity to accommodate future tasks.
- Orthogonality: Weight updates for new tasks are constrained to be orthogonal to the weights utilized for prior tasks, preventing interference with established knowledge.
As shown in the figure above, the model "evolves" its structure by adding new edges for new capabilities while preserving the essential properties of old edges through these constraints.
Experimental Setup
The researchers evaluated CAS and MAS across two distinct domains:
- Natural Language Inference (NLI): Utilizing the GLUE benchmark (QNLI, RTE, and WNLI) for sentence-pair classification.
- Video Captioning: A multimodal generation task using the MSR-VTT, MSVD, and DiDeMo datasets, requiring the model to generate descriptive text for video clips.
Key Results and Insights
Performance and Generalization
- CAS Stability: In the QNLI task, the CAS model maintained a performance of 73.3% even after sequential training on two additional tasks. In contrast, standard models without these constraints typically experience a total collapse in performance on initial tasks.
- MAS Robustness: A cell structure discovered via MAS on QNLI and WNLI achieved 53.9% on the unseen RTE dataset. This outperformed cells optimized for single tasks (52.2%–52.9%) and standard LSTM cells (52.3%), demonstrating superior transferability.
Architectural Simplicity
A significant finding was that MAS-discovered cells were often less complex than their single-task counterparts. These multi-task cells favored identity functions over complex activation functions, suggesting that architectural simplicity is a key driver for cross-task generalization.
Multimodal Application
This work represents one of the first successful applications of NAS to complex multimodal generation tasks like video captioning. Human evaluation via Amazon MTurk confirmed that CAS-generated captions maintained high quality throughout the sequential learning process.
Conclusion
By integrating block-sparsity and orthogonality constraints into the NAS process, CAS and MAS effectively bridge the gap between automated architecture design and transfer learning. These methods allow for the discovery of simpler, more generalizable architectures that can learn continually without forgetting, paving the way for more versatile and efficient automated machine learning systems.
Summary updated