SubRegWeigh: Effective and Efficient Annotation Weighing with Subword Regularization
Kohei Tsuji, Tatsuya Hiraoka, Yuchang Cheng, Tomoya Iwakura
TL;DR
SubRegWeigh tackles annotation errors in NLP by using subword regularization to implicitly generate multiple inference views from a single model, enabling fast annotation weighing. The method trains a scouting model on deterministic tokenization, infers with multiple tokenizations ($K$) at inference, and assigns weights to training samples based on agreement with original labels, using a weighted loss for the final model. Empirically, SubRegWeigh, especially with $K$-means selection of tokenizations, achieves 4–5× faster weighing than CrossWeigh and yields performance gains on CoNLL-CW (and competitive results on NER and SST-2) while effectively flagging pseudo-incorrect labels. The approach is task-agnostic beyond NER, scalable, and aligns with Green AI goals by reducing compute while improving annotation robustness.
Abstract
NLP datasets may still contain annotation errors, even when they are manually annotated. Researchers have attempted to develop methods to automatically reduce the adverse effect of errors in datasets. However, existing methods are time-consuming because they require many trained models to detect errors. This paper proposes a time-saving method that utilizes a tokenization technique called subword regularization to simulate multiple error detection models for detecting errors. Our proposed method, SubRegWeigh, can perform annotation weighting four to five times faster than the existing method. Additionally, SubRegWeigh improved performance in document classification and named entity recognition tasks. In experiments with pseudo-incorrect labels, SubRegWeigh clearly identifies pseudo-incorrect labels as annotation errors. Our code is available at https://github.com/4ldk/SubRegWeigh .
