Skip to main content
QUICK REVIEW

[Paper Review] WeNet: Weighted Networks for Recurrent Network Architecture Search

Zhiheng Huang, Bing Xiang|arXiv (Cornell University)|Apr 8, 2019
Topic ModelingComputer Science34 references3 citations
TL;DR

WeNet proposes a gradient-based architecture search method for recurrent networks using weighted ensembles of networks, where each network is assigned a learnable weight updated via back-propagation. The approach achieves state-of-the-art performance on Penn Treebank (54.8 test perplexity) and demonstrates strong transferability to WikiText-2.

ABSTRACT

In recent years, there has been increasing demand for automatic architecture search in deep learning. Numerous approaches have been proposed and led to state-of-the-art results in various applications, including image classification and language modeling. In this paper, we propose a novel way of architecture search by means of weighted networks (WeNet), which consist of a number of networks, with each assigned a weight. These weights are updated with back-propagation to reflect the importance of different networks. Such weighted networks bear similarity to mixture of experts. We conduct experiments on Penn Treebank and WikiText-2. We show that the proposed WeNet can find recurrent architectures which result in state-of-the-art performance.

Motivation & Objective

  • To develop a novel, efficient architecture search method for recurrent neural networks that avoids parameter sharing and complex search loops.
  • To improve search efficiency and model performance by treating network ensembles as weighted experts trainable via stochastic gradient descent.
  • To demonstrate that architectures discovered via WeNet generalize well across different language modeling datasets like Penn Treebank and WikiText-2.
  • To provide a simple, end-to-end differentiable framework for recurrent architecture search that updates model and architecture parameters simultaneously.

Proposed method

  • WeNet constructs a weighted ensemble of multiple recurrent network architectures, each with learnable parameters and a corresponding attention weight.
  • The final output is a weighted sum of the outputs from all component networks, with weights computed via a softmax over the network-specific weights.
  • Both network parameters and weights are updated jointly using stochastic gradient descent (SGD), eliminating the need for alternating optimization.
  • The search process uses a 'network batch size' to process multiple networks simultaneously, analogous to mini-batches in standard SGD.
  • The method operates in continuous space and does not require parameter sharing, enabling more accurate architecture search.
  • The architecture is trained using only a training dataset, avoiding the need for separate validation data during search.

Experimental results

Research questions

  • RQ1Can a differentiable, gradient-based architecture search method for recurrent networks outperform existing approaches in terms of both accuracy and efficiency?
  • RQ2Does the absence of parameter sharing in architecture search lead to better-performing models compared to methods like DARTS?
  • RQ3Can architectures discovered on one language modeling dataset (e.g., Penn Treebank) generalize effectively to another (e.g., WikiText-2)?
  • RQ4How does the joint optimization of network weights and model parameters affect convergence and final performance in recurrent architecture search?

Key findings

  • WeNet achieves a test perplexity of 54.8 on the Penn Treebank dataset, outperforming prior methods including DARTS and NAONet.
  • The architecture discovered by WeNet generalizes well to WikiText-2, achieving a test perplexity of 66.6, which is better than ENAS (70.4), DARTS (66.9), and NAONet (67.0).
  • WeNet continues to improve after 2000 training epochs, while DARTS plateaus, indicating better long-term training dynamics.
  • The WeNet architecture shares a common substructure with DARTS from level 0 to 4, suggesting shared beneficial components for long-range modeling.
  • The method achieves state-of-the-art results with only 1 GPU day of search cost, significantly reducing training time compared to NAS (10,000 CPU days).
  • The absence of parameter sharing in WeNet leads to better performance on development sets, indicating that shared parameters may mislead the search process.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.