SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.07002 · ACL · 2023

Classical Out-of-Distribution Detection Methods Benchmark in Text Classification Tasks

Maciej Zięba, Mateusz Wójcik, Mateusz Baran, Adam Gonczarek, Joanna Baran

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
mateuszbaransanok/TrustworthyAI canonical 3 of 5
FunctionStatusWhere it lives
fpr Ran mateuszbaransanok/TrustworthyAI/trustworthyai/utils/metrics.py
pointer only (licence: NONE) · get_code("93204434ae2d97ca")
get_checkpoint_epoch Ran mateuszbaransanok/TrustworthyAI/trustworthyai/utils/checkpoints.py
pointer only (licence: NONE) · get_code("326df5323a1a9812")
get_checkpoint_path Ran mateuszbaransanok/TrustworthyAI/trustworthyai/utils/checkpoints.py
pointer only (licence: NONE) · get_code("8e63b8dff24f870b")
auc Not yet run mateuszbaransanok/TrustworthyAI/trustworthyai/utils/metrics.py
pointer only (licence: NONE) · get_code("6f8a5d1694970c5a")
calc_metrics Not yet run mateuszbaransanok/TrustworthyAI/trustworthyai/utils/metrics.py
pointer only (licence: NONE) · get_code("a356e503fd42cd9a")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

State-of-the-art models can perform well in controlled environments, but they often struggle when presented with out-of-distribution (OOD) examples, making OOD detection a critical component of NLP systems. In this paper, we focus on highlighting the limitations of existing approaches to OOD detection in NLP. Specifically, we evaluated eight OOD detection methods that are easily integrable into existing NLP systems and require no additional OOD data or model modifications. One of our contributions is providing a well-structured research environment that allows for full reproducibility of the results. Additionally, our analysis shows that existing OOD detection methods for NLP tasks are not yet sufficiently sensitive to capture all samples characterized by various types of distributional shifts. Particularly challenging testing scenarios arise in cases of background shift and randomly shuffled word order within in domain texts. This highlights the need for future work to develop more effective OOD detection approaches for the NLP problems, and our work provides a well-defined foundation for further research in this area.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2307.07002")
get_code_for_paper("2307.07002")
have("2307.07002")

Connect an agent — have() is free.