Multi-Task Deep Neural Networks for Natural Language Understanding
Written for the Research library (claude-opus-5-5) from the paper text. Original — aclanthology.org/P19-1441.pdf
Summary
The paper brings together two usually separate ways of learning text representations: multi-task learning and language model pre-training. The authors' MT-DNN builds on an earlier multi-task network from Liu et al. (2015) and uses a pre-trained BERT model as its shared encoder. Training has two stages. First, BERT is pre-trained in the usual way. Then the shared Transformer layers are refined jointly on all GLUE tasks, with a separate output head for each task type: single-sentence classification, text similarity, pairwise classification and relevance ranking. The pairwise head uses the multi-step answer module from SAN, and QNLI is treated as a ranking problem instead of binary classification. Each task can then be fine-tuned separately. MT-DNN set new state-of-the-art results on eight of the nine GLUE tasks and on SNLI and SciTail. Its representations also adapted to new domains with far fewer labelled examples than plain BERT. This matters wherever annotated data is scarce, for example in lower-resource languages.
Key points
- MT-DNN reached a GLUE score of 82.7%, which is 2.2 points above BERT as of February 2019. The only GLUE task where it did not set a new best was WNLI, a dataset with known problems.
- After adaptation, MT-DNN LARGE scored 91.6% test accuracy on SNLI (+1.5 points) and 95.0% on SciTail (+6.7 points over the previous best).
- With only 0.1% of the training data, MT-DNN scored much higher than BERT on the dev sets: 82.1% vs 52.5% on SNLI (549 examples) and 81.9% vs 51.2% on SciTail (23 examples). The advantage shrinks as more data is used.
- A single-task ablation called ST-DNN beat BERT on MNLI, QQP, RTE and MRPC, which supports using the SAN answer module. Its large gain on QNLI shows how much the ranking formulation helps.
- The code and pre-trained models are published at github.com/namisan/mt-dnn.
Cited by
- Muppet: Massive Multi-task Representations with Pre-Finetuning
- Unified Language Model Pre-training for Natural Language Understanding and Generation
- Parameter-Efficient Transfer Learning with Diff Pruning
- DeBERTa: Decoding-enhanced BERT with Disentangled Attention
- SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimization
- SpanBERT: Improving Pre-training by Representing and Predicting Spans
- DADA: Dialect Adaptation via Dynamic Aggregation of Linguistic Rules
- The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- True Few-Shot Learning with Language Models
- AdapterFusion: Non-Destructive Task Composition for Transfer Learning
- Intermediate-Task Transfer Learning with Pretrained Language Models: When and Why Does It Work?
- Pre-trained Models for Natural Language Processing: A Survey
- Efficient Content-Based Sparse Attention with Routing Transformers
- Recent Advances in Natural Language Inference: A Survey of Benchmarks, Resources, and Approaches
- ERNIE 2.0: A Continual Pre-training Framework for Language Understanding
- ERNIE: Enhanced Representation through Knowledge Integration
- How to Fine-Tune BERT for Text Classification?
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- BERT Rediscovers the Classical NLP Pipeline
- SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systems
- XLNet: Generalized Autoregressive Pretraining for Language Understanding
- Revisiting Few-sample BERT Fine-tuning
- A Survey of Large Language Models
- FreeLB: Enhanced Adversarial Training for Natural Language Understanding
Cite
@inproceedings{liu2019multi,
title = {{Multi-Task Deep Neural Networks for Natural Language Understanding}},
author = {Liu, Xiaodong and He, Pengcheng and Chen, Weizhu and Gao, Jianfeng},
booktitle = {Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},
year = {2019},
doi = {10.18653/v1/p19-1441},
eprint = {1901.11504},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/p19-1441}
}References
- Samuel R Bowman, Gabor Angeli, Christopher Potts, and Christopher D Manning. 2015a. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 632–642. find
- Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. 2015b. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP). Association for Computational Linguistics. find
- Chris Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Greg Hullender. 2005. Learning to rank using gradient descent. In Proceedings of the 22nd international conference on Machine learning, pages 89–96. ACM. find our card
- J. Gao, M. Galley, and L. Li. 2018. Neural approaches to conversational AI. CoRR, abs/1809.08267. find
- Max Glockner, Vered Shwartz, and Yoav Goldberg. 2018. Breaking nli systems with sentences that require simple lexical inferences. In The 56th Annual Meeting of the Association for Computational Linguistics (ACL), Melbourne, Australia. find our card
- Han Guo, Ramakanth Pasunuru, and Mohit Bansal. 2018. Soft layer-specific multi-task summarization with entailment and question generation. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 687–697. find
- Po-Sen Huang, Xiaodong He, Jianfeng Gao, Li Deng, Alex Acero, and Larry Heck. 2013. Learning deep structured semantic models for web search using clickthrough data. In Proceedings of the 22nd ACM international conference on Conference on information & knowledge management, pages 2333–2338. ACM. find
- Tushar Khot, Ashish Sabharwal, and Peter Clark. 2018. SciTail: A textual entailment dataset from science question answering. In AAAI. find
- Seonhoon Kim, Jin-Hyuk Hong, Inho Kang, and Nojun Kwak. 2018. Semantic sentence matching with densely-connected recurrent and co-attentive information. arXiv preprint arXiv:1805.11360. — [arXiv:1805.11360](https://arxiv.org/abs/1805.11360) find
- Diederik Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980. find
- Xiaodong Liu, Kevin Duh, and Jianfeng Gao. 2018a. Stochastic answer networks for natural language inference. arXiv preprint arXiv:1804.07888. — [arXiv:1804.07888](https://arxiv.org/abs/1804.07888) find
- Rich Caruana. 1997. Multitask learning. Machine learning, 28(1):41–75. find
- Xiaodong Liu, Jianfeng Gao, Xiaodong He, Li Deng, Kevin Duh, and Ye-Yi Wang. 2015. Representation learning using multi-task deep neural networks for semantic classification and information retrieval. In Proceedings of the 2015 Conference of the North American Chapter of the Association for Computati… find
- Ronan Collobert, Jason Weston, Léon Bottou, Michael Karlen, Koray Kavukcuoglu, and Pavel Kuksa. 2011. Natural language processing (almost) from scratch. Journal of Machine Learning Research, 12(Aug):2493–2537. find our card
- Xiaodong Liu, Pengcheng He, Weizhu Chen, and Jianfeng Gao. 2019. Improving multi-task deep neural networks via knowledge distillation for natural language understanding. arXiv preprint arXiv:1904.09482. — [arXiv:1904.09482](https://arxiv.org/abs/1904.09482) find
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805. find
- Xiaodong Liu, Yelong Shen, Kevin Duh, and Jianfeng Gao. 2018b. Stochastic answer networks for machine reading comprehension. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics. find
- Li Dong, Nan Yang, Wenhui Wang, Furu Wei, Xiaodong Liu, Yu Wang, Jianfeng Gao, Ming Zhou, and Hsiao-Wuen Hon. 2019. Unified language model pre-training for natural language understanding and generation. arXiv preprint arXiv:1905.03197. find our card
- Minh-Thang Luong, Quoc V Le, Ilya Sutskever, Oriol Vinyals, and Lukasz Kaiser. 2015. Multi-task sequence to sequence learning. arXiv preprint arXiv:1511.06114. find our card
- Matthew E Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations. arXiv preprint arXiv:1802.05365. find
- Jason Phang, Thibault Févry, and Samuel R Bowman. 2018. Sentence encoders on stilts: Supplementary training on intermediate labeled-data tasks. arXiv preprint arXiv:1811.01088. find our card
- Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. 2018. Improving language understanding by generative pre-training. find
- Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100,000+ questions for machine comprehension of text. pages 2383–2392. find our card
- Sebastian Ruder12, Joachim Bingel, Isabelle Augenstein, and Anders Søgaard. 2019. Latent multi-task architecture learning. find
- Aarne Talman and Stergios Chatzikyriakidis. 2018. Testing the generalization power of neural network models across nli benchmarks. arXiv preprint arXiv:1810.09774. find
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. arXiv preprint arXiv:1706.03762. find
- Alex Wang, Amapreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. 2018. Glue: A multi-task benchmark and analysis platform for natural language understanding. arXiv preprint arXiv:1804.07461. find our card
- Yichong Xu, Xiaodong Liu, Yelong Shen, Jingjing Liu, and Jianfeng Gao. 2018. Multi-task learning for machine reading comprehension. arXiv preprint arXiv:1809.06963. — [arXiv:1809.06963](https://arxiv.org/abs/1809.06963) find
- Yu Zhang and Qiang Yang. 2017. A survey on multi-task learning. arXiv preprint arXiv:1707.08114. — [arXiv:1707.08114](https://arxiv.org/abs/1707.08114) find