[Paper Review] Depthwise Separable Convolutions for Neural Machine Translation
Introduces SliceNet, a convolutional sequence-to-sequence model using depthwise separable and super-separable convolutions for neural machine translation, achieving state-of-the-art results with fewer parameters and no dilation.
Depthwise separable convolutions reduce the number of parameters and computation used in convolutional operations while increasing representational efficiency. They have been shown to be successful in image classification models, both in obtaining better models than previously possible for a given parameter count (the Xception architecture) and considerably reducing the number of parameters required to perform at a given level (the MobileNets family of architectures). Recently, convolutional sequence-to-sequence networks have been applied to machine translation tasks with good results. In this work, we study how depthwise separable convolutions can be applied to neural machine translation. We introduce a new architecture inspired by Xception and ByteNet, called SliceNet, which enables a significant reduction of the parameter count and amount of computation needed to obtain results like ByteNet, and, with a similar parameter count, achieves new state-of-the-art results. In addition to showing that depthwise separable convolutions perform well for machine translation, we investigate the architectural changes that they enable: we observe that thanks to depthwise separability, we can increase the length of convolution windows, removing the need for filter dilation. We also introduce a new "super-separable" convolution operation that further reduces the number of parameters and computational cost for obtaining state-of-the-art results.
Motivation & Objective
- Motivate reducing parameter count and computation in convolutional NMT architectures.
- Explore applying depthwise separable and grouped convolutions to sequence-to-sequence models.
- Evaluate the impact of removing filter dilation by using larger convolution windows.
- Introduce and assess the new super-separable convolution operation.
- Demonstrate state-of-the-art translation results with SliceNet under constrained resources.
Proposed method
- Propose SliceNet, a stack of depthwise separable convolution layers with residual connections and optional grouped and super-separable convolutions.
- Replace traditional regular convolutions with depthwise separable convolutions to reduce parameters and computation.
- Use two sub-networks to encode inputs and outputs, concatenated before an autoregressive decoder with attention.
- Employ layer normalization and ReLU activations within convolutional modules.
- Explore and compare dilation versus larger convolution windows for receptive field growth.
- Provide code reference to TensorFlow Tensor2Tensor implementation.
Experimental results
Research questions
- RQ1Do depthwise separable convolutions improve translation quality over regular convolutions in a ByteNet-like architecture?
- RQ2Can removing dilation and relying on larger convolution windows maintain or improve performance in NMT?
- RQ3What is the impact of intermediate grouped (sub-separable) convolutions compared to full depthwise separable convolutions?
- RQ4Does the proposed super-separable convolution offer additional performance gains over standard depthwise separable convolutions?
Key findings
- Depthwise separable convolutions yield better accuracy with fewer parameters and lower computational cost than regular convolutions in a ByteNet-like NMT model.
- Replacing dilation with larger convolution windows in depthwise separable convolutions can achieve comparable or better results; dilation is not required.
- Using grouped convolutions (16 groups) performs worse than full depthwise separable convolutions, suggesting higher separability is beneficial.
- The super-separable convolution provides incremental performance gains over standard depthwise separable convolutions.
- Larger SliceNet models with depthwise separable or super-separable convolutions achieve state-of-the-art BLEU scores on WMT EN-DE, e.g., 26.1 on newstest14 for the larger Super 2/3 model and 25.5–26.1 on newstest14/2014 when compared to prior work.
- SliceNet models use over two times fewer non-embedding parameters and FLOPs than ByteNet, while achieving superior translation quality.
Better researchstarts right now
From reading papers to final review, dramatically reduce your research time.
No credit card · Free plan available
This review was created by AI and reviewed by human editors.