Challenge: Pretrained Transformers achieve remarkable performance when training and test data are from the same distribution, but in real-world scenarios, out-of-distribution instances can cause semantic shift problems.
Approach: They propose to fine-tune the Transformers with a contrastive loss, which improves the compactness of representations, and to use the Mahalanobis distance in the model's penultimate layer to detect OOD instances.
Outcome: The proposed method outperforms baselines in the real-world and achieves near-perfect OOD detection performance.

Similar Papers

Pretrained Transformers Improve Out-of-Distribution Robustness (2020.acl-main)

Copied to clipboard

Challenge: Pretrained Transformers are more effective at detecting anomalous or OOD examples, while many previous models are frequently worse than chance.
Approach: They construct a new robustness benchmark with real distribution shifts to measure out-of-distribution generalization for seven NLP datasets and compare them to previous models.
Outcome: The proposed model generalizations for seven datasets show that pretrained Transformers are significantly less effective at detecting anomalous or OOD examples, while many previous models are often worse than chance.
Pseudo Outlier Exposure for Out-of-Distribution Detection using Pretrained Transformers (2023.findings-acl)

Copied to clipboard

Challenge: Existing methods to detect out-of-distribution (OOD) samples are overconfident for real-world language applications.
Approach: They propose a method that constructs a surrogate OOD dataset by sequentially masking tokens related to ID classes.
Outcome: The proposed method can train a rejection network with ID and diverse outlier samples but requires additional data collection overhead.
How Good Are LLMs at Out-of-Distribution Detection? (2024.lrec-main)

Copied to clipboard

Challenge: Out-of-distribution (OOD) detection is crucial for ensuring AI safety . large language models (LLMs) are becoming more prevalent due to their scale, pre-training objectives, and paradigms used for inference.
Approach: They propose to use large language models to investigate out-of-distribution (OOD) detection in machine learning.
Outcome: The proposed method outperforms other OOD detectors in zero-grad and fine-tuning scenarios.
VI-OOD: A Unified Framework of Representation Learning for Textual Out-of-distribution Detection (2024.lrec-main)

Copied to clipboard

Challenge: Out-of-distribution (OOD) detection is a crucial part of deep neural networks.
Approach: They propose a variational inference framework which maximizes the likelihood of the joint distribution p(x, y) instead of p[y|x).
Outcome: The proposed framework maximizes the likelihood of the joint distribution p(x, y) instead of p[y|x).
Unsupervised Out-of-Domain Detection via Pre-trained Transformers (2021.acl-long)

Copied to clipboard

Challenge: Prior work on out-of-domain detection requires in-domain task labels and is limited to supervised classification scenarios.
Approach: They propose a method to construct out-of-domain detectors efficiently using pre-trained transformers.
Outcome: The proposed method greatly improves out-of-domain detection ability in a more general scenario.
Enhancing Out-of-Distribution Detection in Natural Language Understanding via Implicit Layer Ensemble (2022.findings-emnlp)

Copied to clipboard

Challenge: Out-of-distribution (OOD) detection aims to discern outliers from the intended data distribution, which is crucial to maintaining high reliability and a good user experience.
Approach: They propose a framework that encourages intermediate features to learn layer-specialized representations and assembles them implicitly into a single representation to absorb rich information in the pre-trained language model.
Outcome: The proposed framework is significantly more effective than previous studies in intent classification and OOD datasets.
A Critical Analysis of Document Out-of-Distribution Detection (2023.findings-emnlp)

Copied to clipboard

Challenge: Existing document understanding models focus on single-modal inputs such as images or texts.
Approach: They propose to use a spatial-aware adapter to adapt transformer-based language models to document domain to exploit multi-modal information.
Outcome: The proposed model significantly improves the OOD detection performance compared to using a standard language model and to competitive baselines.
Improving Unsupervised Out-of-domain detection through Pseudo Labeling and Learning (2023.findings-eacl)

Copied to clipboard

Challenge: Unsupervised OOD detection is a task aimed at discriminating whether given samples are from the in-domain (IND) . previous studies adopted the one-class classification approach, assuming that the training samples come from a single domain.
Approach: They propose a framework that leverages latent categorical information to improve representation learning for textual OOD detection.
Outcome: The proposed framework significantly outperforms baseline models on three datasets.
CED: Comparing Embedding Differences for Detecting Out-of-Distribution and Hallucinated Text (2024.findings-emnlp)

Copied to clipboard

Challenge: Existing methods for detecting out-of-distribution (OOD) samples are limited due to their domain shift and computational limitations.
Approach: They propose a training-free method to detect out-of-distribution (OOD) samples . they theoretically validate that specific auxiliary and oracle samples improve this distinction .
Outcome: The proposed method improves the ability of pre-trained models to distinguish between ID and OOD samples in text classification and hallucination detection tasks.
Modeling Discriminative Representations for Out-of-Domain Detection with Supervised Contrastive Learning (2021.acl-short)

Copied to clipboard

Challenge: Existing methods of OOD detection only focus on whether a sample is correctly classified . lack of real OOD examples leads to poor prior knowledge about these unknown intents .
Approach: They propose a supervised contrastive learning objective to minimize intra-class variance . they employ an adversarial augmentation mechanism to obtain pseudo diverse views .
Outcome: The proposed method minimizes intra-class variance by pulling together in-domain intents belonging to the same class and maximizes inter-class variation by pushing apart samples from different classes.

What is GenGO?

GenGO is an NLP powered publication search system. It currenctly indexes 30k+ papers from ACL Anthology, and implements multi-aspect summarization, semantic search, and more!

Information

About
Limitations