Semantic Role Labeling Guided Out-of-distribution Detection

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zou, Jinan, Guo, Maihao, Tian, Yu, Lin, Yuhao, Cao, Haiyao, Liu, Lingqiao, Abbasnejad, Ehsan, Shi, Javen Qinfeng
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909140677296128
author Zou, Jinan
Guo, Maihao
Tian, Yu
Lin, Yuhao
Cao, Haiyao
Liu, Lingqiao
Abbasnejad, Ehsan
Shi, Javen Qinfeng
author_facet Zou, Jinan
Guo, Maihao
Tian, Yu
Lin, Yuhao
Cao, Haiyao
Liu, Lingqiao
Abbasnejad, Ehsan
Shi, Javen Qinfeng
contents Identifying unexpected domain-shifted instances in natural language processing is crucial in real-world applications. Previous works identify the out-of-distribution (OOD) instance by leveraging a single global feature embedding to represent the sentence, which cannot characterize subtle OOD patterns well. Another major challenge current OOD methods face is learning effective low-dimensional sentence representations to identify the hard OOD instances that are semantically similar to the in-distribution (ID) data. In this paper, we propose a new unsupervised OOD detection method, namely Semantic Role Labeling Guided Out-of-distribution Detection (SRLOOD), that separates, extracts, and learns the semantic role labeling (SRL) guided fine-grained local feature representations from different arguments of a sentence and the global feature representations of the full sentence using a margin-based contrastive loss. A novel self-supervised approach is also introduced to enhance such global-local feature learning by predicting the SRL extracted role. The resulting model achieves SOTA performance on four OOD benchmarks, indicating the effectiveness of our approach. The code is publicly accessible via \url{https://github.com/cytai/SRLOOD}.
format Preprint
id arxiv_https___arxiv_org_abs_2305_18026
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Semantic Role Labeling Guided Out-of-distribution Detection
Zou, Jinan
Guo, Maihao
Tian, Yu
Lin, Yuhao
Cao, Haiyao
Liu, Lingqiao
Abbasnejad, Ehsan
Shi, Javen Qinfeng
Computation and Language
Identifying unexpected domain-shifted instances in natural language processing is crucial in real-world applications. Previous works identify the out-of-distribution (OOD) instance by leveraging a single global feature embedding to represent the sentence, which cannot characterize subtle OOD patterns well. Another major challenge current OOD methods face is learning effective low-dimensional sentence representations to identify the hard OOD instances that are semantically similar to the in-distribution (ID) data. In this paper, we propose a new unsupervised OOD detection method, namely Semantic Role Labeling Guided Out-of-distribution Detection (SRLOOD), that separates, extracts, and learns the semantic role labeling (SRL) guided fine-grained local feature representations from different arguments of a sentence and the global feature representations of the full sentence using a margin-based contrastive loss. A novel self-supervised approach is also introduced to enhance such global-local feature learning by predicting the SRL extracted role. The resulting model achieves SOTA performance on four OOD benchmarks, indicating the effectiveness of our approach. The code is publicly accessible via \url{https://github.com/cytai/SRLOOD}.
title Semantic Role Labeling Guided Out-of-distribution Detection
topic Computation and Language
url https://arxiv.org/abs/2305.18026