Learning to Improve Out-of-Distribution Generalization via Self-Adaptive Language Masking
- 29 April 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE/ACM Transactions on Audio, Speech, and Language Processing
- Vol. 32 (23299290) , 2739-2750
Abstract
Although the pre-trained Transformers learned general linguistic knowledge from large-scale corpus, they still overfit on the lexical biases when fine-tuning on specific datasets. This problem limits the generalizability of pre-trained models, particularly when learning over out-of-distribution (OOD) data. To address this issue, this paper proposes a self-adaptive language masking (AdaLMask) paradigm to fine-tune the pre-trained Transformers. AdaLMask obviates lexical biases by eliminating the dependence on semantically inessential words. Specifically, AdaLMask learns a Gumbel-Softmax distribution to determine the desired masking positions, and the distribution parameters are optimized via a representation-invariant (RInv) objective to ensure the masked positions are semantically lossless. Four natural language processing tasks are chosen to evaluate the effectiveness of the proposed method on the robustness of lexical biases and OOD generalization. All empirical results demonstrate that the AdaLMask paradigm substantially improves the OOD generalization of pre-trained Transformers.Keywords
Funding Information
- National Science and Technology Major (2021ZD0113301)
- Shenzhen Science and Technology Plan (KCXFZ20230731093001002, KJZD20230923115113026)
- National Key R&D Program of China (2022ZD0116002)
- Science and Technology Department of Guizhou Province
- National Social Science Foundation - Major (20&ZD226)
- China Postdoctoral Science Foundation (2023M741843)
- Shenzhen Colleges and Universities Stable Support Program (GXWD20231129115148001, GXWD20220811170504001)
- Basic and Applied Basic Research Foundation of Guangdong Province (2023A1515110561)
- Shenzhen Science and Technology Program (JCYJ20230807094318038)
- Development and Reform Commission of Shenzhen Municipality (XMHT20190108009)
- National Natural Science Foundation of China (62276075, 62106115, 62006062, 62176076)
- Guangdong Provincial Key Laboratory (2022B1212010005)
- Major Key Project of PCL (PCL2022D01, PCL2023A09)
- Key Laboratory of Intelligent Computing in Network Environment
This publication has 37 references indexed in Scilit:
- Abstractive Financial News Summarization via Transformer-BiLSTM Encoder and Graph Attention-based DecoderIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2023
- A survey of transformersAI Open, 2022
- Measuring and Improving Consistency in Pretrained Language ModelsTransactions of the Association for Computational Linguistics, 2021
- CrossAug2021
- An Empirical Study on Robustness to Spurious Correlations using Pre-trained Language ModelsTransactions of the Association for Computational Linguistics, 2020
- Pre-trained models for natural language processing: A surveyScience China Technological Sciences, 2020
- Emergent linguistic structure in artificial neural networks trained by self-supervisionProceedings of the National Academy of Sciences of the United States of America, 2020
- Self-Supervised Learning of Pretext-Invariant Representations2020
- ImageNet classification with deep convolutional neural networksCommunications of the ACM, 2017
- Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification2015