arXiv · 2210.09132
Pseudo-OOD training for robust language models
Abstract
While pre-trained large-scale deep models have garnered attention as an important topic for many downstream natural language processing (NLP) tasks, such models often make unreliable predictions on out-of-distribution (OOD) inputs. As such, OOD detection is a key component of a reliable machine-learning model for any industry-scale application. Common approaches often assume access to additional OOD samples during the training stage, however, outlier distribution is often unknown in advance. Instead, we propose a post hoc framework called POORE - POsthoc pseudo-Ood REgularization, that generates pseudo-OOD samples using in-distribution (IND) data. The model is fine-tuned by introducing a new regularization loss that separates the embeddings of IND and OOD data, which leads to significant gains on the OOD prediction task during testing. We extensively evaluate our framework on three real-world dialogue systems, achieving new state-of-the-art in OOD detection.
Explore related subjects
Keep this discovery
Dhanasekar Sundararaman, Nikhil Mehta, Lawrence Carin. 2022-10-17. Pseudo-OOD training for robust language models. https://arxiv.org/abs/2210.09132
Cite the original work for its findings. Save a collection to share your selection of sources.