Skip to main content
QUICK REVIEW

[Paper Review] CoT-Driven Framework for Short Text Classification: Enhancing and Transferring Capabilities from Large to Smaller Model

Hui Wu, Yuanben Zhang|arXiv (Cornell University)|Jan 6, 2024
Topic ModelingComputer Science4 citations
TL;DR

This paper proposes Quartet Logic: A Four-Step Reasoning (QLFR) framework that leverages Chain-of-Thought (CoT) prompting in Large Language Models (LLMs) to enhance short text classification (STC) by decomposing the task into key-concept identification, common-sense knowledge retrieval, text rewriting, and classification. It further introduces QLFR-CML, a CoT-driven multi-task learning method that transfers LLMs' reasoning capabilities to smaller models, achieving state-of-the-art performance across six benchmarks, with significant gains on Ohsumed and TagMyNews.

ABSTRACT

Short Text Classification (STC) is crucial for processing and understanding the brief but substantial content prevalent on contemporary digital platforms. The STC encounters difficulties in grasping the semantic and syntactic intricacies, an issue that is apparent in traditional pre-trained language models. Although Graph Convolutional Networks enhance performance by integrating external knowledge bases, these methods are limited by the quality and extent of the knowledge applied. Recently, the emergence of Large Language Models (LLMs) and Chain-of-Thought (CoT) has significantly improved the performance of complex reasoning tasks. However, some studies have highlighted the limitations of their application in fundamental NLP tasks. Consequently, this study first employs CoT to investigate and enhance the capabilities of LLMs in STC tasks. We propose the Syntactic and Semantic Enrichment CoT (SSE-CoT) method, effectively decomposing the STC tasks into four distinct steps: (i) essential concept identification, (ii) common-sense knowledge retrieval, (iii) text rewriting, and (iv) classification. Furthermore, recognizing resource constraints in sectors like finance and healthcare, we then introduce the CoT-Driven Multi-Task Learning (CDMT) framework to extend these capabilities to smaller models. This framework begins by extracting rationales from LLMs and subsequently fine-tunes smaller models to optimize their performance. Extensive experimentation across six short-text benchmarks validated the efficacy of the proposed methods. In particular, SSE-CoT achieved state-of-the-art performance with substantial improvements on all datasets, particularly on the Ohsumed and TagMyNews datasets.

Motivation & Objective

  • Address the challenge of short text classification (STC) in low-resource, semantically sparse texts where traditional pre-trained models struggle with syntactic and semantic ambiguity.
  • Overcome limitations of Graph Convolutional Networks (GCNs) that depend on external knowledge quality and coverage.
  • Leverage the emergent reasoning and knowledge integration capabilities of Large Language Models (LLMs) for STC, despite prior studies showing limited effectiveness of LLMs in basic NLP tasks.
  • Enable knowledge transfer from powerful LLMs to smaller, efficient models through a CoT-driven multi-task learning framework, reducing reliance on costly LLM APIs.
  • Improve performance on domain-specific STC benchmarks like Ohsumed and TagMyNews, where existing models underperform.

Proposed method

  • Propose the Quartet Logic (QLFR) framework, a four-step CoT reasoning pipeline: (i) key-concept identification, (ii) common-sense knowledge retrieval, (iii) text rewriting using retrieved knowledge, and (iv) classification of the enriched text.
  • Implement Syntactic and Semantic Enrichment CoT (SSE-CoT) to guide LLMs through structured reasoning, enhancing their ability to resolve semantic gaps in short texts.
  • Develop QLFR-CML, a CoT-driven multi-task learning method that transfers reasoning capabilities from LLMs to smaller models via fine-tuning on synthetic CoT-generated data.
  • Introduce Domain-Adaptive CoT to enrich knowledge transfer by aligning LLM-generated rationales with the target domain’s linguistic and semantic patterns.
  • Apply Explicit Category Context Augmentation (ECCA) during fine-tuning to improve smaller models’ understanding of classification tasks by explicitly incorporating label semantics.
  • Use a multi-task learning setup where the smaller model learns classification alongside auxiliary tasks derived from the CoT reasoning steps, improving generalization and robustness.

Experimental results

Research questions

  • RQ1Can Chain-of-Thought (CoT) prompting effectively unlock the reasoning and knowledge capabilities of LLMs for short text classification (STC), particularly in handling semantic and syntactic ambiguity?
  • RQ2To what extent can the structured four-step reasoning framework (QLFR) improve STC performance compared to standard prompting or GCN-based methods?
  • RQ3Can knowledge and reasoning capabilities from LLMs be effectively transferred to smaller, more efficient models through CoT-driven multi-task learning?
  • RQ4How does the use of domain-adaptive and explicitly augmented CoT prompts affect the performance of smaller models in low-resource STC settings?
  • RQ5What is the impact of training data size on the performance of the proposed QLFR-CML framework, especially in low-resource regimes?

Key findings

  • QLFR achieved state-of-the-art performance on all six benchmark datasets, with a 5.44% absolute improvement in F1 on the Ohsumed dataset and a 4.32% F1 gain on TagMyNews compared to strong baselines.
  • The QLFR-CML method significantly outperformed Flan-T5-Large fine-tuned with standard prompts, achieving a 3.36% higher F1 on the MR dataset when using GPT-3 as the teacher model.
  • LLaMA2-7B outperformed Flan-T5-XXL on Ohsumed and TagMyNews, suggesting that model architecture and training data distribution matter more than parameter count alone.
  • The proposed ECCA mechanism reduced the need for handcrafted, dataset-specific prompts, achieving comparable or better performance than prompt2 while reducing input length and improving efficiency.
  • In low-data regimes, the QLFR-CML framework consistently outperformed SHINE and ChatGLM, demonstrating robustness and scalability under data scarcity.
  • Performance gains plateaued beyond a certain data threshold, indicating diminishing returns in model improvement with increasing training data size.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.