[Paper Review] Transfer Learning to Learn with Multitask Neural Model Search
This paper proposes Multitask Neural Model Search (MNMS), a reinforcement learning framework that jointly searches for optimal neural network architectures across multiple tasks while learning transferable knowledge. By pre-training on prior tasks, MNMS accelerates search for new tasks, achieving faster convergence and performance surpassing human-designed models without sacrificing accuracy.
Deep learning models require extensive architecture design exploration and hyperparameter optimization to perform well on a given task. The exploration of the model design space is often made by a human expert, and optimized using a combination of grid search and search heuristics over a large space of possible choices. Neural Architecture Search (NAS) is a Reinforcement Learning approach that has been proposed to automate architecture design. NAS has been successfully applied to generate Neural Networks that rival the best human-designed architectures. However, NAS requires sampling, constructing, and training hundreds to thousands of models to achieve well-performing architectures. This procedure needs to be executed from scratch for each new task. The application of NAS to a wide set of tasks currently lacks a way to transfer generalizable knowledge across tasks. In this paper, we present the Multitask Neural Model Search (MNMS) controller. Our goal is to learn a generalizable framework that can condition model construction on successful model searches for previously seen tasks, thus significantly speeding up the search for new tasks. We demonstrate that MNMS can conduct an automated architecture search for multiple tasks simultaneously while still learning well-performing, specialized models for each task. We then show that pre-trained MNMS controllers can transfer learning to new tasks. By leveraging knowledge from previous searches, we find that pre-trained MNMS models start from a better location in the search space and reduce search time on unseen tasks, while still discovering models that outperform published human-designed models.
Motivation & Objective
- To automate neural architecture search across multiple tasks simultaneously, reducing reliance on manual design and grid search.
- To learn transferable knowledge from prior tasks to accelerate search for new, unseen tasks.
- To discover specialized, high-performing models for each task while maintaining shared, generalizable learning across tasks.
- To demonstrate that pre-trained MNMS controllers start from better initial points in the search space, reducing search time and improving efficiency.
Proposed method
- Uses a reinforcement learning controller to sample and train child networks across multiple tasks in parallel.
- Employs a shared RNN controller that learns task-specific architecture distributions while sharing knowledge across tasks.
- Introduces task embeddings to encode relationships between different tasks, enabling transfer learning.
- Applies Savitzky-Golay filtering to smooth accuracy curves for clearer visualization and analysis of search progress.
- Leverages pre-trained word embeddings and allows for end-to-end training of embeddings during search, adapting to task complexity.
- Uses policy gradient optimization to update the controller based on child network performance, favoring high-reward architectures.
Experimental results
Research questions
- RQ1Can a single controller effectively search for high-performing architectures across multiple diverse tasks simultaneously?
- RQ2Does multitask training enable the learning of transferable knowledge that improves search efficiency on new, unseen tasks?
- RQ3Can the MNMS framework differentiate between tasks and learn task-specific optimal hyperparameters and architectures?
- RQ4How does pre-training on prior tasks affect the convergence speed and final performance of the search on new tasks?
- RQ5What kind of structural relationships between tasks are encoded in the learned task embeddings?
Key findings
- MNMS successfully discovers models that outperform published human-designed models on both the IMDB and Corpus Cine sentiment classification tasks.
- Pre-trained MNMS controllers converge significantly faster on new tasks, starting from a better initial location in the search space.
- The best models discovered via MNMS achieve performance comparable to or better than state-of-the-art hand-tuned models using averaged word vectors.
- MNMS learns task-specific behaviors, such as continuing to train word embeddings for complex tasks like SST, while fixing them for simpler tasks like language identification.
- The framework learns meaningful correlations between tasks through task embeddings, with strong similarities observed between IMDB and SST, and between Spanish language ID and Corpus Cine.
- Transfer learning via pre-trained MNMS does not bias the search toward local optima, as final performance remains consistent regardless of initialization method.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.