[Paper Review] Explicit Interaction Model towards Text Classification
This paper proposes EXAM, a novel text classification framework that explicitly models word-level interactions between input tokens and class labels via an interaction mechanism, improving performance over traditional text-level encoding models. By learning fine-grained matching signals through an interaction matrix, EXAM achieves state-of-the-art results on both multi-class and multi-label benchmarks, demonstrating the importance of word-level clues in classification.
Text classification is one of the fundamental tasks in natural language processing. Recently, deep neural networks have achieved promising performance in the text classification task compared to shallow models. Despite of the significance of deep models, they ignore the fine-grained (matching signals between words and classes) classification clues since their classifications mainly rely on the text-level representations. To address this problem, we introduce the interaction mechanism to incorporate word-level matching signals into the text classification task. In particular, we design a novel framework, EXplicit interAction Model (dubbed as EXAM), equipped with the interaction mechanism. We justified the proposed approach on several benchmark datasets including both multi-label and multi-class text classification tasks. Extensive experimental results demonstrate the superiority of the proposed method. As a byproduct, we have released the codes and parameter settings to facilitate other researches.
Motivation & Objective
- To address the limitation of deep neural networks in text classification, which rely solely on text-level representations and ignore fine-grained word-class matching signals.
- To develop a framework that explicitly captures word-level interaction signals between input words and class labels for improved classification performance.
- To validate the effectiveness of the proposed method on both multi-class and multi-label text classification tasks.
- To release code and hyperparameters to support reproducibility and further research in the community.
Proposed method
- The framework consists of three components: a word-level encoder, an interaction layer, and an aggregation layer.
- The word-level encoder (e.g., GRU or region embedding) transforms input text into dense word representations.
- The interaction layer computes a matching score matrix via dot-product between word representations and class representations, forming an interaction matrix.
- Each entry in the interaction matrix represents the word-class matching score, capturing fine-grained relevance signals.
- The aggregation layer combines interaction scores across words to produce final predictions per class.
- The model is trained end-to-end with cross-entropy loss, enabling joint optimization of word-level interactions and classification.
Experimental results
Research questions
- RQ1Can explicit modeling of word-level interaction signals improve text classification beyond text-level encoding?
- RQ2How does the interaction mechanism compare to conventional encoding-based models in multi-class and multi-label settings?
- RQ3What is the contribution of word-level matching signals relative to global text-level representations in classification?
- RQ4How do different interaction functions or architectures affect performance in the proposed framework?
Key findings
- EXAM outperforms state-of-the-art models on multiple benchmark datasets, including both multi-class and multi-label text classification tasks.
- The model achieves superior performance even with minimal architectural modifications, such as a slight adaptation of TextRNN.
- Visualization of interaction features shows that different classes attend to distinct words—e.g., 'Second-hand TIIDA' for 'Second-hand Car' and 'got some problems' for 'Autocar Conversation'.
- The interaction mechanism successfully learns meaningful, class-specific word-level signals, with only one misclassification observed in the visualization example.
- The results confirm that word-level interaction features are more informative than global text-level representations in the given tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.