To Think or Not to Think: The Hidden Cost of Meta-Training with Excessive CoT Examples
Vignesh Kothapalli, Ata Fatahibaarzi, Hamed Firooz, Maziar Sanjabi
TL;DR
<3-5 sentence high-level summary> The paper addresses the brittleness of chain-of-thought in-context learning when task knowledge is novel or under-specified. It introduces CoT-ICL Lab-2.0, a framework with special tokens and DAG-driven sequence generation, and the CoT-Recipe method to modulate the mix of CoT and non-CoT examples during meta-training. Through controlled experiments on abstract reasoning and symbolic tasks, it demonstrates that carefully tuned CoT-Recipe can significantly boost performance and enable reasoning even without CoT in-context prompts, including when transferring to pretrained LLMs like Qwen-2.5. It further shows that data diversity and forcing strategies influence length generalization and OOD performance, and provides practical guidance for selecting the CoT mix parameter alpha. These results highlight a principled approach to shaping meta-training data for improved reasoning in transformers and large language models.
Abstract
Chain-of-thought (CoT) prompting combined with few-shot in-context learning (ICL) has unlocked significant reasoning capabilities in large language models (LLMs). However, ICL with CoT examples is ineffective on novel tasks when the pre-training knowledge is insufficient. We study this problem in a controlled setting using the CoT-ICL Lab framework, and propose meta-training techniques to learn novel abstract reasoning tasks in-context. Although CoT examples facilitate reasoning, we noticed that their excessive inclusion during meta-training degrades performance when CoT supervision is limited. To mitigate such behavior, we propose CoT-Recipe, a formal approach to modulate the mix of CoT and non-CoT examples in meta-training sequences. We demonstrate that careful modulation via CoT-Recipe can increase the accuracy of transformers on novel tasks by up to 300% even when there are no CoT examples available in-context. We confirm the broader effectiveness of these techniques by applying them to pretrained LLMs (Qwen2.5 series) for symbolic reasoning tasks and observing gains of up to 130% in accuracy.
