CORE用极少的样本和推理次数就能让模型快速变聪明,做推理优化或小样本学习的团队值得关注,尤其适合资源受限场景。
论文提出一种名为对比反思(CORE)的非参数学习算法,通过对比成功与失败的推理轨迹,生成简短的自然语言洞察(如策略和约束),从而快速提升模型推理能力。实验表明,CORE在四个推理任务上比参数方法(如GRPO)和非参数方法(如GEPA、情景RAG)收敛更快,仅需5个训练样本即可达到可比或更优的性能。该方法还显著节省上下文token,将学到的知识压缩为可解释的洞察,而非直接存储轨迹。研究指出,将推理成败对比蒸馏为抽象洞察,是比权重更新或提示优化更高效、更可解释的模型自我改进路径。
CORE: Contrastive Reflection Enables Rapid Improvements in Reasoning
Language models can use verifiable rewards to improve at a wide variety of reasoning tasks. However, both parametric (e.g. RLVR) and non-parametric (e.g. prompt optimization) approaches to doing so typically require hundreds of training samples and thousands of model rollouts, making them expensive in the best case and intractable in the worst. To address this challenge, we introduce Contrastive Reflection (CORE), a non-parametric learning algorithm that compares past reasoning traces to generate insights: short natural-language descriptions of reasoning strategies and constraints that capture differences between successful and unsuccessful problem attempts. Across four reasoning tasks, we demonstrate that CORE enables more rapid improvement than both parametric (GRPO) and non-parametric (GEPA, episodic RAG, and MemRL) methods, while using fewer rollouts. Under fixed rollout budgets with as few as five training samples, we then show that CORE also achieves comparable or greater performance gains than each baseline. Finally, we highlight how CORE is also substantially more context-efficient than non-parametric baselines, requiring fewer prompt tokens while storing learned knowledge as compact, interpretable natural-language insights. Our results therefore suggest that distilling contrasts between successful and unsuccessful reasoning traces into abstract and useful insights can provide a more efficient and interpretable route to model self-improvement than weight updates, prompt optimization, or direct reuse of stored reasoning traces.