CC-LEARN: Cohort-based Consistency Learning

Xiao Ye, Shaswat Shrivastava, Zhaonan Li, Jacob Dineen, Shijie Lu, Avneet Ahuja, Ming Shen, Zhikun Xu, Ben Zhou

Abstract

Large language models excel at many tasks but still struggle with consistent, robust reasoning. We introduce Cohort-based Consistency Learning (CC-Learn), a reinforcement learning framework that improves the reliability of LLM reasoning by training on cohorts of similar questions derived from shared programmatic abstractions. To enforce cohort-level consistency, we define a composite objective combining cohort accuracy, a retrieval bonus for effective problem decomposition, and a rejection penalty for trivial or invalid lookups that reinforcement learning can directly optimize, unlike supervised fine-tuning. Optimizing this reward guides the model to adopt uniform reasoning patterns across all cohort members. Experiments on challenging reasoning benchmarks (including ARC-Challenge and StrategyQA) show that CC-Learn boosts both accuracy and reasoning stability over pretrained and SFT baselines. These results demonstrate that cohort-level RL effectively enhances reasoning consistency in LLMs.

Introduction

Large Language Models (LLMs) are notoriously "brittle." A model might correctly answer a complex question about a specific topic but fail completely when the same question is asked about a different entity using the exact same logical structure. This "consistency gap" suggests that models often exploit statistical shortcuts—memorized facts or patterns—rather than performing true logical reasoning. CC-LEARN (Cohort-based Consistency Learning) is a reinforcement learning framework designed to bridge this gap by training models on "cohorts" of logically identical but factually different questions.

Methodology

CC-LEARN moves away from standard supervised fine-tuning (SFT) toward a structured Reinforcement Learning (RL) approach. The pipeline forces the model to adopt robust reasoning patterns rather than relying on brittle, surface-level associations.

The CC-LEARN framework: Abstraction of questions into templates, program synthesis, and cohort execution to ensure consistency.

The methodology consists of four main stages:

  1. Abstraction & Cohort Generation: Each training question is transformed into a "masked template" (e.g., "Are Film1 and Film2 both [Genre] films that involve [Location]?"). The system then generates a cohort of variants by swapping parameters.
  2. Program Synthesis: Instead of generating free-form text, the model emits a compact Python-like program. This program uses atomic retrieve() calls to fetch facts and basic control flow to reach an answer, making the reasoning process transparent and verifiable.
  3. The "Gatekeeper" Retriever: To prevent the model from "cheating" (e.g., asking the retriever the full original question), a separate Retriever Model uses a rejection filter. If a query is too complex, the retriever returns "idk," penalizing the model.
  4. RL Optimization (GRPO): The model is optimized using Group Relative Policy Optimization to maximize a reward based on cohort accuracy, retrieval efficiency, and a penalty for invalid or "lazy" queries.

Evaluation and Metrics

The framework was evaluated on five challenging reasoning benchmarks, including ARC-Challenge, StrategyQA, and HotpotQA. To provide a more rigorous assessment of reliability than standard top-1 accuracy, the authors introduced cohort-level metrics.

The evaluation protocol utilizes self-consistency sampling and strict vs. lenient accuracy thresholds.
  • Lenient Accuracy: Requires at least 4 out of 6 cohort variants to be answered correctly.
  • Strict Accuracy: Requires at least 5 out of 6 cohort variants to be answered correctly.

Key Results

CC-LEARN consistently outperformed both vanilla pretrained models and standard SFT baselines across all tested benchmarks:

  • ARC-Challenge: Achieved 29.8% lenient accuracy, a +10.8 point absolute improvement over the vanilla baseline. Strict consistency reached 22.0%, compared to just 14.4% for SFT.
  • Human Preference: In a blind study, human evaluators preferred the reasoning paths generated by CC-LEARN 47% of the time, significantly higher than SFT (23%) or standard RL (30%).
  • Generalization: The model showed better stability across diverse tasks, proving that training on programmatic cohorts helps the model learn "how to think" rather than just "what to say."

Conclusion

CC-LEARN demonstrates that treating consistency across a group of related questions as a primary training signal can significantly enhance the reliability of LLMs. By forcing models to synthesize executable programs and rewarding multi-step decomposition, the framework encourages the development of robust, generalizable reasoning skills. Future work will focus on scaling this approach to larger models and further refining the interaction between the policy and the retriever.

Summary updated

BibTeX
@misc{ye2025cc,
  author = {Xiao Ye and Shaswat Shrivastava and Zhaonan Li and Jacob Dineen and Shijie Lu and Avneet Ahuja and Ming Shen and Zhikun Xu and Ben Zhou},
  title = {{CC-LEARN: Cohort-based Consistency Learning}},
  year = {2025},
  eprint = {2506.15662},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.15662},
}
Figure