TL;DR
CODA (Consensus and Disagreement Alignment) is a fully unsupervised framework for large language model (LLM) self-distillation that eliminates the need for gold labels or external verifiers. By mining the latent uncertainty structure of a model's own rollouts, CODA uses answer-level consensus to guide token-level learning while leveraging minority disagreement to regularize against false consensus, significantly boosting competition-level mathematical reasoning capabilities.
What Problem Does This Paper Address?
When LLMs perform complex reasoning using Chain-of-Thought (CoT), they suffer from an "exposure gap." During standard training, they are exposed only to clean, expert-written prefixes. At inference time, however, they must generate text autoregressively from their own imperfect history; a single early mistake can derail the entire reasoning path.
On-policy self-distillation mitigates this by training a student model on its own trajectories under the guidance of a "privileged" teacher (a copy of the model that has access to extra information). However, existing methods rely heavily on external supervision—such as gold solutions, final answers, or reward verifiers—to create this teacher advantage. CODA addresses a fundamental question: Can a reasoning model create reliable privileged information entirely from the uncertainty structure of its own unlabeled rollouts?
Methods
CODA introduces a dual-branch unsupervised learning loop that processes unlabeled prompts by generating multiple reasoning rollouts ($s=10$) and grouping them by their final answers:
- Consensus-Conditioned Self-Teaching (Positive Branch): The most frequent final answer group defines the consensus. A representative trajectory from this group is selected to serve as "privileged context" for a frozen self-teacher. A fresh student rollout is then sampled, and its token-level distributions are aligned with the teacher's distributions using a forward KL divergence objective. This provides dense, step-by-step guidance along student-visited states.
- Reference-Anchored Disagreement Calibration (Negative Branch): Because popular answers aren't always correct, relying solely on consensus risks amplifying systematic errors (the "false consensus hazard"). To counteract this, CODA treats minority trajectories (answers that deviate from the consensus) as unstable alternatives. It applies an unpaired, KTO-style objective anchored to the initial policy to gently penalize these minority tokens, ensuring they are not amplified unchecked.
Datasets
- Training: Prompts were sourced from the OpenThoughts dataset, but all expert solutions and ground-truth labels were completely removed.
- Evaluation: The framework was tested across five highly challenging, competition-level mathematical benchmarks: AIME 2024, AIME 2025, AIME 2026, HMMT 2025, and AMO-Bench. Performance was measured using
avg@16(sample-average accuracy across 16 generations).
Key Insights and Ideas
- Endogenous Information Asymmetry: You don't need external labels to make a teacher model "smarter." Simply feeding a self-generated consensus answer back into the teacher creates a powerful informational advantage, allowing it to generate superior token-level targets for the student.
- The Necessity of Disagreement: Relying purely on consensus causes late-stage training degradation due to error propagation. Treating minority paths as a weak negative regularizer stabilizes the optimization process without requiring the strong assumption that the consensus is absolute ground truth.
- Shortest is Sweetest: When picking a representative trajectory from the consensus pool, choosing the shortest path yields the best performance. Shorter paths strip away redundant exploration and verbose, error-prone filler tokens, providing a cleaner distillation target.
Key Results
- Outperforming Unsupervised Baselines: CODA-Full consistently outperformed base models and unsupervised self-improvement methods like TTRL. On Qwen3-4B, it improved the base model's average accuracy by 2.60 percentage points. On Qwen3-1.7B, it delivered a substantial 6.38-point boost.
- Rivaling Supervised Methods: Remarkably, CODA approached or even exceeded fully supervised references (like OPSD and GRPO) that utilized gold solutions. For instance, on Qwen3-1.7B, CODA achieved an average accuracy of 36.12%, surpassing the gold-supervised OPSD baseline (35.81%).
Limitations and Future Work
- Consensus Bootstrapping Dependency: CODA requires at least two rollouts to agree on a final answer to generate a training signal. If a problem is so difficult that the model never hits the same answer twice, the prompt is skipped.
- Weak Negative Regularization: The disagreement branch acts as a statistical regularizer rather than a strict semantic verifier. While it prevents the runaway amplification of errors, it cannot explicitly correct deeply ingrained systematic biases.
- Future Directions: The authors suggest exploring dynamic sample sizes to optimize compute efficiency and developing more sophisticated context selection rules beyond trajectory length.
Summary updated