Robust Learning for Text Classification with Multi-source Noise Simulation and Hard Example Mining
Not on the map. Why?
Abstract (arXiv)
Many real-world applications involve the use of Optical Character Recognition (OCR) engines to transform handwritten images into transcripts on which downstream Natural Language Processing (NLP) models are applied. In this process, OCR engines may introduce errors and inputs to downstream NLP models become noisy. Despite that pre-trained models achieve state-of-the-art performance in many NLP benchmarks, we prove that they are not robust to noisy texts generated by real OCR engines. This greatly limits the application of NLP models in real-world scenarios. In order to improve model performance on noisy OCR transcripts, it is natural to train the NLP model on labelled noisy texts. However, in most cases there are only labelled clean texts. Since there is no handwritten pictures corresponding to the text, it is impossible to directly use the recognition model to obtain noisy labelled data. Human resources can be employed to copy texts and take pictures, but it is extremely expensive considering the size of data for model training. Consequently, we are interested in making NLP models intrinsically robust to OCR errors in a low resource manner. We propose a novel robust training framework which 1) employs simple but effective methods to directly simulate natural OCR noises from clean texts and 2) iteratively mines the hard examples from a large number of simulated samples for optimal performance. 3) To make our model learn noise-invariant representations, a stability loss is employed. Experiments on three real-world datasets show that the proposed framework boosts the robustness of pre-trained models by a large margin. We believe that this work can greatly promote the application of NLP models in actual scenarios, although the algorithm we use is simple and straightforward. We make our codes and three datasets publicly availablefootnotehttps://github.com/tal-ai/Robust-learning-MSSHEM.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 16 of its 25 references that are in the map. First posted on arXiv 15 Jul 2021.
Builds on
16 of 25 references.
References · 16
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2017Generating Natural Adversarial Examplescited by 182
- 2016Improving the Robustness of Deep Neural Networks via Stability Trainingcited by 156
- 2020Adv-BERT: BERT is not robust on misspellings! Generating nature adversarial samples on BERTcited by 69
- 2019Training on Synthetic Noise Improves Robustness to Natural Noise in Machine Translationcited by 52
- 2019Improving Grammatical Error Correction via Pre-Training a Copy-Augmented Architecture with Unlabeled Datacited by 50
4 more
- 2018Greedy Attack and Gumbel Attack: Generating Adversarial Examples for Discrete Datacited by 37
- 2017Robust Multilingual Part-of-Speech Tagging via Adversarial Trainingcited by 21
- 2020NAT: Noise-Aware Training for Robust Neural Sequence Labelingcited by 17
- 2019Contextual Text Denoising with Masked Language Modelscited by 8
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 0; 2026: 2.
3 papers.