Introduction
Standard text classification typically treats labels as arbitrary indices, such as "Label 0" or "Label 1." This approach ignores the inherent semantic meaning of categories, forcing models to learn associations without explicit guidance on what features are relevant. This limitation is particularly evident in complex tasks like multi-aspect sentiment analysis, where a single document may contain conflicting signals for different categories (e.g., a positive review for a hotel's location but a negative one for its service).
This paper proposes a paradigm shift: treating text classification as a machine reading comprehension (MRC) task. By associating each label with a natural language description, the model can leverage semantic priors to "disentangle" relevant information from noise.
Methodology
The core of the proposed framework involves concatenating a category description with the input text (e.g., [CLS] Description [SEP] Text) and feeding it into a pre-trained transformer like BERT. The authors explore three distinct strategies for generating these descriptions:
- Template (Tem): Static, handcrafted descriptions, such as Wikipedia definitions or simple prompts.
- Extractive (Ext): An RL-based agent selects a specific substring from the input text to serve as the label's description.
- Abstractive (Abs): A sequence-to-sequence model, trained via Reinforcement Learning, generates a custom description from scratch.
Since no ground truth exists for "optimal" descriptions, the authors employ the REINFORCE algorithm. The RL agent receives a reward based on the final classifier's accuracy. If a generated description leads to a correct prediction, the agent is incentivized to produce similar outputs in the future. To manage the high variance of RL, the authors utilize the REGS (Reward for Every Generation Step) method.
Experimental Results
The framework was evaluated across a diverse set of benchmarks, including single-label (AGNews, IMDB), multi-label (Reuters, AAPD), and multi-aspect sentiment analysis (BeerAdvocate, TripAdvisor).
The most significant gains were observed in multi-aspect sentiment analysis. On the BeerAdvocate dataset, which requires separating sentiments for aspects like "smell" and "appearance," the error rate dropped from 27.8% (vanilla BERT) to 15.6%—a 44% relative reduction. This demonstrates the model's ability to use descriptions as a form of "hard attention," filtering out irrelevant parts of the document for each specific aspect.
Key Insights
The experimental analysis revealed several critical advantages of the description-based approach:
- Data Efficiency: Even simple templates provide a semantic prior that allows the model to perform well with limited training data. As shown in the figure below (b), the performance gap between description-based methods and vanilla BERT is most pronounced when the proportion of training data is low.
- Handling Long Documents: In long texts, relevant information is often buried under "chaff." Descriptions act as a filter, helping the model maintain lower error rates as text length increases, whereas standard BERT's performance degrades more sharply (a).
- Convergence and Training Dynamics: While RL-based models (Ext and Abs) eventually achieve superior performance, they converge more slowly than Template or BERT models because they must simultaneously learn to generate descriptions and classify text (c).
Conclusion
By rethinking labels as natural language instructions, this work demonstrates that text classification can be significantly improved through semantic grounding. The use of Reinforcement Learning to automate description generation allows the model to adaptively focus on salient text regions. While challenges remain regarding RL convergence and initialization sensitivity, this approach paves the way for more interpretable and data-efficient classification systems, potentially extending into zero-shot learning scenarios.
Summary updated