Skip to main content
arXiv is now an independent nonprofit! Learn more
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Computation and Language

arXiv:2305.13654 (cs)
[Submitted on 23 May 2023 (v1), last revised 3 Feb 2024 (this version, v3)]

Title:Understanding and Mitigating Spurious Correlations in Text Classification with Neighborhood Analysis

Authors:Oscar Chew, Hsuan-Tien Lin, Kai-Wei Chang, Kuan-Hao Huang
View a PDF of the paper titled Understanding and Mitigating Spurious Correlations in Text Classification with Neighborhood Analysis, by Oscar Chew and 3 other authors
View PDF
Abstract:Recent research has revealed that machine learning models have a tendency to leverage spurious correlations that exist in the training set but may not hold true in general circumstances. For instance, a sentiment classifier may erroneously learn that the token "performances" is commonly associated with positive movie reviews. Relying on these spurious correlations degrades the classifiers performance when it deploys on out-of-distribution data. In this paper, we examine the implications of spurious correlations through a novel perspective called neighborhood analysis. The analysis uncovers how spurious correlations lead unrelated words to erroneously cluster together in the embedding space. Driven by the analysis, we design a metric to detect spurious tokens and also propose a family of regularization methods, NFL (doN't Forget your Language) to mitigate spurious correlations in text classification. Experiments show that NFL can effectively prevent erroneous clusters and significantly improve the robustness of classifiers without auxiliary data. The code is publicly available at this https URL.
Comments: Accepted by EACL-Findings 2024
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2305.13654 [cs.CL]
  (or arXiv:2305.13654v3 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2305.13654
arXiv-issued DOI via DataCite

Submission history

From: Oscar Chew [view email]
[v1] Tue, 23 May 2023 03:55:50 UTC (720 KB)
[v2] Sun, 16 Jul 2023 04:00:01 UTC (758 KB)
[v3] Sat, 3 Feb 2024 16:44:36 UTC (2,959 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Understanding and Mitigating Spurious Correlations in Text Classification with Neighborhood Analysis, by Oscar Chew and 3 other authors
  • View PDF
  • TeX Source
view license

Current browse context:

cs.CL
< prev   |   next >
new | recent | 2023-05
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences