TL;DR
While Chain-of-Thought (CoT) prompting has revolutionized large language model (LLM) reasoning, it often falls short on complex, domain-specific tasks. This happens because models either lack specialized knowledge or struggle to apply it correctly. This paper introduces Re-TASK, a novel framework that reimagines tasks as a "Chain-of-Learning" (CoL). By injecting targeted knowledge and skill demonstrations directly into the prompt, Re-TASK significantly boosts LLM performance across specialized domains.
What Problem Does This Paper Address?
The "Chain-of-Thought" (CoT) paradigm is currently the gold standard for eliciting complex reasoning from LLMs. However, it suffers from a noticeable "domain gap." In specialized fields like law, finance, or advanced STEM, LLMs often fail in two specific ways:
- Decomposition Failure: The model cannot accurately break a complex, domain-specific task into logical subtasks.
- Execution Failure: Even if the model identifies the correct steps, it lacks the specific domain knowledge or the "skill" to apply that knowledge to reach the correct answer.
Existing solutions, such as Retrieval-Augmented Generation (RAG), provide factual context but do not necessarily teach the model how to use those facts. The authors argue that successful task completion requires a synergy of Capability, Skill, and Knowledge—elements that are often missing from standard prompting strategies.
Methods
To bridge this gap, the authors draw on educational psychology—specifically Bloom’s Taxonomy (which categorizes cognitive levels like "remembering" versus "applying") and Knowledge Space Theory (which maps out dependencies between learning items).
They propose the Re-TASK framework, which treats a task not merely as a workflow of steps, but as a sequence of mastered "Capability Items." A Capability Item is defined as a specific piece of Knowledge (factual, conceptual, or procedural) paired with a Skill (the cognitive process of applying that knowledge).
The core of their approach is Re-TASK Prompting, which leverages In-Context Learning (ICL) in two distinct variations:
- Re-TASK (Lite): Injects knowledge and skill demonstrations related only to the overall task.
- Re-TASK (Full): Injects demonstrations for both the overall task and its constituent subtasks, creating a comprehensive "Chain-of-Learning."
To build these structured prompts, the authors utilized "teacher" models (such as Qwen2.5-72B and Llama3.1-70B) to generate the necessary knowledge points and CoT demonstrations for each task.
Datasets
The framework was rigorously evaluated across three high-stakes domains using five distinct datasets:
- Law: Sentencing prediction using the CAIL (China AI Law Challenge) dataset.
- Finance: Multiple-choice questions from the FinanceIQ benchmark.
- STEM: Mathematics, Biology, and Physics subsets of the MMLU (Massive Multitask Language Understanding) benchmark.
Key Insights and Ideas
- Knowledge $\neq$ Capability: Simply having access to a legal statute (Knowledge) isn't enough; the model needs a demonstration of how to apply that statute to a specific case description (Skill Adaptation).
- The "Chain-of-Learning" (CoL): Unlike CoT, which focuses purely on the steps to solve a problem, CoL focuses on the prerequisites needed to solve it. By mastering capability items in sequence, the model is better prepared for the final reasoning step.
- Efficiency Matters: Interestingly, Re-TASK (Lite) often achieves significant gains with a token length comparable to standard one-shot CoT, meaning it provides a high "performance-per-token" value.
- Scaling Synergy: The authors found that while larger models naturally perform better, the Re-TASK framework consistently provides a performance boost regardless of model size (tested on models ranging from 7B to 32B parameters).
Key Results
The Re-TASK framework demonstrated substantial improvements over standard Zero-shot and Few-shot CoT baselines:
- Legal Domain: Achieved a massive 44.42% improvement on the Yi-1.5-9B model and 33.08% on Llama3-Chinese-8B.
- Finance: Re-TASK (Full) provided an average gain of 14.61% across all tested models.
- STEM: The most significant jump was in Biology (+18.29%), while Mathematics saw a +7.61% improvement.
- Comparison: Re-TASK (Lite) outperformed the "Step-Back" prompting method by an average of 9.17% in the legal domain.
Limitations and Future Work
- Generation Dependency: The current method relies on powerful "teacher" LLMs to generate capability items. If the teacher model has a blind spot in a very niche domain, the generated prompt might be suboptimal.
- Static Prompts: The authors manually predefined capability types. A more robust future version might involve an automated system that builds a "Knowledge Graph" of capability items and retrieves them dynamically (similar to a "Skill-RAG").
- Model Scope: Due to budget constraints, the study focused on open-source models. Testing on proprietary models like GPT-4o or Claude 3.5 Sonnet remains an area for future work.
- Optimization: The process of generating and selecting the best capability items for a given task has not yet been fully optimized.
Summary updated