While Large Language Models (LLMs) like GPT-4 have captured the public imagination with their "Chain-of-Thought" (CoT) reasoning, they often struggle with traditional Natural Language Understanding (NLU) tasks where smaller, specialized Masked Language Models (MLMs) like BERT and RoBERTa still reign supreme. This paper introduces Chain-of-Thought Tuning (CoTT), a framework that proves you don't need billions of parameters to think step-by-step.
The Challenge of Reasoning in NLU
In the world of NLP, there is a curious divide. LLMs are excellent at complex, multi-step reasoning but are often less competitive than smaller MLMs on "traditional" NLU tasks like classification and relation extraction. This is partly because LLMs are autoregressive rather than bidirectional, and they often lack the fine-tuned domain knowledge required for specific NLU benchmarks.
However, many NLU tasks are inherently multi-step. To classify a research paper into a specific sub-field, one first identifies its broad domain. To extract a relation between two entities, one first identifies their types. Standard MLMs usually jump straight to the final label. The authors ask: Can we transfer the success of step-by-step reasoning (CoT) to these smaller, more efficient models?
Methodology: The CoTT Framework
The authors propose Chain-of-Thought Tuning (CoTT), a two-step reasoning framework that decomposes the prediction process into a structured chain:
- Step I (Generate Intermediate Step): The model predicts an intermediate label (e.g., the "Domain" in a hierarchy) based on the input text.
- Step II (Predict Final Label): The model predicts the final result using both the original text and the intermediate step generated in Step I.
Key Technical Innovations
- Convertible Slot [C]: Traditional prompt tuning uses fixed slots for text input or answer prediction. CoTT introduces a "convertible slot" that can act as an answer slot (to generate the intermediate step) in Step I and then switch to an input slot (to provide that information) in Step II.
- Counterfactual-based Contrastive Learning: To ensure the model actually uses the intermediate information rather than ignoring it, the authors train it to distinguish between factual intermediate steps and "counterfactual" (sampled incorrect) ones.
- Probability Rectification: To handle "exposure bias"—where an error in the first step ruins the second—the authors use a weighting scheme based on the Total Probability Theorem. If the model is unsure about its intermediate step, it relies more on its "intuitive" direct prediction.
Experimental Evaluation
The researchers evaluated CoTT on two core NLU challenges: Hierarchical Classification (using the Web-of-Science dataset) and Relation Extraction (using TACRED, TACREV, and ReTACRED). In relation extraction, the intermediate step involves identifying the types of the subject and object entities (e.g., "Organization" or "Date") before determining the relationship between them.
Key Results
CoTT consistently outperformed both LLMs and standard MLM baselines:
- Superiority over LLMs: On the WOS dataset, CoTT achieved a Micro-F1 of 87.46, dwarfing GPT-3.5 (ChatGPT), which only managed 48.50. This highlights the massive gap between general-purpose LLMs and fine-tuned MLMs in specialized NLU.
- State-of-the-Art Performance: CoTT outperformed existing SOTA models for hierarchical classification (like HGCLR) and relation extraction (like PTR).
- Ablation Success: The authors showed that both Contrastive Learning and Probability Rectification are vital; removing them led to significant performance drops, proving that simply adding a second step isn't enough—you have to train the model to integrate that information correctly.
Conclusion
CoTT effectively creates two paths: a "rational" path (Step II, which uses the intermediate evidence) and an "intuitive" path (Step I's parallel label prediction). By forcing the model to articulate an intermediate step, machine processes align more closely with human taxonomic logic. Furthermore, the reasoning process becomes monitorable; if a model fails, researchers can see exactly where the "chain" broke. Future work will explore scaling these models and implementing more complex multi-step interactions.
Summary updated