IM-BERT: Enhancing Robustness of BERT through the Implicit Euler Method
Not on the map. Why?
Abstract (arXiv)
Pre-trained Language Models (PLMs) have achieved remarkable performance on diverse NLP tasks through pre-training and fine-tuning. However, fine-tuning the model with a large number of parameters on limited downstream datasets often leads to vulnerability to adversarial attacks, causing overfitting of the model on standard datasets. To address these issues, we propose IM-BERT from the perspective of a dynamic system by conceptualizing a layer of BERT as a solution of Ordinary Differential Equations (ODEs). Under the situation of initial value perturbation, we analyze the numerical stability of two main numerical ODE solvers: the explicit and implicit Euler approaches. Based on these analyses, we introduce a numerically robust IM-connection incorporating BERT's layers. This strategy enhances the robustness of PLMs against adversarial attacks, even in low-resource scenarios, without introducing additional parameters or adversarial training strategies. Experimental results on the adversarial GLUE (AdvGLUE) dataset validate the robustness of IM-BERT under various conditions. Compared to the original BERT, IM-BERT exhibits a performance improvement of approximately 8.3%p on the AdvGLUE dataset. Furthermore, in low-resource scenarios, IM-BERT outperforms BERT by achieving 5.9%p higher accuracy.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 33 of its 48 references that are in the map. First posted on arXiv 11 May 2025.
Builds on
33 of 48 references.
References · 33
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2016Layer Normalizationcited by 5,669
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
21 more
- 2017Stable Architectures for Deep Neural Networkscited by 341
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 264
- 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 254
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 232
- 2017Beyond Finite Layer Neural Networks: Bridging Deep Architectures and Numerical Differential Equationscited by 203
- 2019Adversarial Training and Robustness for Multiple Perturbationscited by 183
- 2020Better Fine-Tuning by Reducing Representational Collapsecited by 157
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 113
- 2019Recurrent Neural Networks (RNNs): A gentle Introduction and Overviewcited by 68
- 2016PolyNet: A Pursuit of Structural Diversity in Very Deep Networkscited by 39
- 2021On the Theory of Implicit Deep Learning: Global Convergence with Implicit Layerscited by 35
- 2021Using Adversarial Attacks to Reveal the Statistical Bias in Machine Reading Comprehension Modelscited by 29
- 2021Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Frameworkcited by 28
- 2022ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generationcited by 27
- 2019Towards Robust ResNet: A Small Step but A Giant Leapcited by 15
- 2020N-ODE Transformer: A Depth-Adaptive Variant of the Transformer Using Neural Ordinary Differential Equationscited by 9
- 2019Robust learning with implicit residual networkscited by 6
- 2020Implicit Euler ODE Networks for Single-Image Dehazingcited by 6
- 2019Dynamical System Inspired Adaptive Time Stepping Controller for Residual Network Familiescited by 5
- 2017Stochastic Backward Euler: An Implicit Gradient Descent Algorithm for k-means Clusteringcited by 3
- 2022Towards Robust Low-Resource Fine-Tuning with Multi-View Compressed Representationscited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.