A Generic Method for Fine-grained Category Discovery in Natural Language Texts
Chang Tian, Matthew B. Blaschko, Wenpeng Yin, Mingzhe Xing, Yinliang Yue, Marie-Francine Moens
TL;DR
Fine-grained category discovery under coarse supervision remains challenging due to underutilized semantic structure. The authors propose STAR, a contrastive learning framework that uses comprehensive semantic similarities measured in a logarithmic space to guide sample distributions and form tight, separable fine-grained clusters, with a centroid-based inference mechanism for real-time tasks. Theoretical analysis links STAR to clustering and generalized EM, and empirical results on CLINC, WOS, and HWU64 show state-of-the-art performance across ACC, ARI, and NMI, with robust ablations and an evaluation of real-time inference. Overall, STAR provides a practical, principled approach to uncover fine-grained categories in text and supports deployment in latency-sensitive applications through centroid inference and dynamic neighborhood weighting.
Abstract
Fine-grained category discovery using only coarse-grained supervision is a cost-effective yet challenging task. Previous training methods focus on aligning query samples with positive samples and distancing them from negatives. They often neglect intra-category and inter-category semantic similarities of fine-grained categories when navigating sample distributions in the embedding space. Furthermore, some evaluation techniques that rely on pre-collected test samples are inadequate for real-time applications. To address these shortcomings, we introduce a method that successfully detects fine-grained clusters of semantically similar texts guided by a novel objective function. The method uses semantic similarities in a logarithmic space to guide sample distributions in the Euclidean space and to form distinct clusters that represent fine-grained categories. We also propose a centroid inference mechanism to support real-time applications. The efficacy of the method is both theoretically justified and empirically confirmed on three benchmark tasks. The proposed objective function is integrated in multiple contrastive learning based neural models. Its results surpass existing state-of-the-art approaches in terms of Accuracy, Adjusted Rand Index and Normalized Mutual Information of the detected fine-grained categories. Code and data will be available at Code and data are publicly available at https://github.com/changtianluckyforever/F-grained-STAR.
