English

$\textit{GeoHard}$: Towards Measuring Class-wise Hardness through Modelling Class Semantics

Computation and Language 2024-07-18 v1

Abstract

Recent advances in measuring hardness-wise properties of data guide language models in sample selection within low-resource scenarios. However, class-specific properties are overlooked for task setup and learning. How will these properties influence model learning and is it generalizable across datasets? To answer this question, this work formally initiates the concept of class-wise hardness\textit{class-wise hardness}. Experiments across eight natural language understanding (NLU) datasets demonstrate a consistent hardness distribution across learning paradigms, models, and human judgment. Subsequent experiments unveil a notable challenge in measuring such class-wise hardness with instance-level metrics in previous works. To address this, we propose GeoHard\textit{GeoHard} for class-wise hardness measurement by modeling class geometry in the semantic embedding space. GeoHard\textit{GeoHard} surpasses instance-level metrics by over 59 percent on Pearson\textit{Pearson}'s correlation on measuring class-wise hardness. Our analysis theoretically and empirically underscores the generality of GeoHard\textit{GeoHard} as a fresh perspective on data diagnosis. Additionally, we showcase how understanding class-wise hardness can practically aid in improving task learning.

Keywords

Cite

@article{arxiv.2407.12512,
  title  = {$\textit{GeoHard}$: Towards Measuring Class-wise Hardness through Modelling Class Semantics},
  author = {Fengyu Cai and Xinran Zhao and Hongming Zhang and Iryna Gurevych and Heinz Koeppl},
  journal= {arXiv preprint arXiv:2407.12512},
  year   = {2024}
}

Comments

Findings of ACL 2024

R2 v1 2026-06-28T17:44:22.492Z