Pseudo-ood Training For Robust Language Models · The Large Language Model Bible Contribute to LLM-Bible

Pseudo-ood Training For Robust Language Models

Sundararaman Dhanasekar, Mehta Nikhil, Carin Lawrence. Arxiv 2022

[Paper]    
Applications Attention Mechanism Model Architecture Reinforcement Learning Tools Training Techniques

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.

Similar Work