SAVRN
Search Contact SAVRN

Open-weight model · Text generation

DualMind_Methodolgy

by Convergent Intelligence reaperdoesntknow/DualMind_Methodolgy

Roy C Abstract. We present a four-stage pipeline for producing small language models (1.7B parameters) that exhibit self-critiquing dual-cognition reasoning from a 30B-parameter teacher.

Parameters
Context
Weights19.1 KB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads

Model Card

By Convergent Intelligence, published under apache-2.0, revision 410f144b36e0.

Roy C Abstract. We present a four-stage pipeline for producing small language models (1.7B parameters) that exhibit self-critiquing dual-cognition reasoning from a 30B-parameter teacher. The pipeline chains: (1) proof-weighted knowledge distillation from three teacher variants (Instruct, Thinking, Coder) of Qwen3-30B-A3B, each producing distinct capability profiles in the student; (2) Topological Knowledge Distillation (TKD), which uses the Discrepancy Calculus (DISC) framework to decompose the teacher's output distribution into smooth, jump, and singular-continuous components via bounded variation theory, allocating training capacity to structural boundaries that standard KD smears across…

Read Convergent Intelligence's full model card

From Three Teachers to Dual Cognition: Topology-Aware Multi-Teacher Distillation and Role-Conditioned Self-Critique at 1.7B Scale

Roy C Convergent Intelligence LLC: Research Division

Abstract. We present a four-stage pipeline for producing small language models (1.7B parameters) that exhibit self-critiquing dual-cognition reasoning from a 30B-parameter teacher. The pipeline chains: (1) proof-weighted knowledge distillation from three teacher variants (Instruct, Thinking, Coder) of Qwen3-30B-A3B, each producing distinct capability profiles in the student; (2) Topological Knowledge Distillation (TKD), which uses the Discrepancy Calculus (DISC) framework to decompose the teacher's output distribution into smooth, jump, and singular-continuous components via bounded variation theory, allocating training capacity to structural boundaries that standard KD smears across; (3) multi-teacher ghost imprinting, where sequential distillation from different teachers creates residual discrepancy fields in weight space that produce emergent capabilities absent from any individual teacher; and (4) DualMind, a role-conditioned generation scheme that collapses multi-architecture dialectical reasoning into a single model via <explore>, <examine>, and <response> tokens. Trained on H100 at BF16 precision, the resulting models demonstrate dual-cognition reasoning — free derivation followed by adversarial self-critique followed by clean synthesis — at a parameter count where such behavior is not typically observed. We release 43 models (12,000+ downloads), training code, and this methodology under Apache 2.0.


1. Introduction

Knowledge distillation (Hinton et al., 2015) compresses large teacher models into smaller students by matching output distributions. The standard formulation minimizes KL divergence between teacher and student softmax distributions, typically at elevated temperature to expose the teacher's uncertainty structure. This works well for the smooth component of the teacher's knowledge — regions where the output distribution varies continuously across tokens.

Language, however, is not smooth. Topic shifts, reasoning mode transitions, register changes, and logical pivots create discontinuities in the teacher's output distribution. Standard KD averages across these boundaries, teaching the student a blurred version of the teacher's structural knowledge. The student learns what the teacher says but not where the teacher's knowledge has architecture.

We address this with a pipeline that preserves structural information at every stage:

  1. Multi-teacher proof-weighted distillation — three variants of the same 30B teacher produce different capability profiles in the same 1.7B student, with amplified loss on reasoning-critical tokens.
  2. Topological Knowledge Distillation (TKD) — DISC-based decomposition of the teacher's output into bounded variation components, with topology-guided adaptive windowing and curriculum.
  3. Multi-teacher ghost imprinting — sequential distillation creates residual discrepancy fields that produce emergent capabilities.
  4. DualMind — role-conditioned generation that recreates multi-architecture dialectical reasoning within a single model.

2. Background

2.1 Discrepancy Calculus (DISC)

DISC is a measure-theoretic framework for analyzing functions with singularities — points where classical smoothness assumptions fail. For a function $f$ of bounded variation on $[a,b]$, the Lebesgue decomposition theorem gives:

$$Df = D^{ac}f + D^j f + D^c f$$

where $D^{ac}f$ is the absolutely continuous part (smooth gradient), $D^j f$ is the jump part (discontinuities), and $D^c f$ is the Cantor/singular-continuous part (diffuse, non-atomic, non-smooth). Standard analysis handles $D^{ac}f$. DISC provides operational tools for all three components.

2.2 Knowledge Distillation

Standard KD minimizes:

$$\mathcal{L}{KD} = (1 - \alpha) \cdot \mathcal{L}{CE}(y, \hat{y}s) + \alpha \cdot T^2 \cdot D{KL}(\sigma(z_t/T) | \sigma(z_s/T))$$

where $z_t, z_s$ are teacher and student logits, $T$ is temperature, and $\alpha$ balances cross-entropy against distillation. This formulation treats the teacher's distribution as globally smooth. TKD replaces this with a topology-aware formulation.

3. Multi-Teacher Proof-Weighted Distillation

3.1 Three Teacher Variants

We distill from three configurations of Qwen3-30B-A3B:

Teacher Variant Capability Profile Distillation Signal
Instruct Structured output, instruction following Low-entropy, format-preserving distributions
Thinking Extended deliberation, proof derivation High-entropy distributions with long reasoning tails
Coder Structured decomposition, STEM Hierarchical decomposition patterns

Each teacher variant encodes different aspects of the 30B model's capability into the distillation signal. The Instruct teacher produces tight, peaked distributions that emphasize correct formatting. The Thinking teacher produces broad, high-entropy distributions that encode deliberative processes. The Coder teacher produces hierarchically structured distributions that emphasize decomposition.

3.2 Proof-Weighted Loss

Not all tokens contribute equally to structural understanding. Tokens at reasoning steps, logical connectives, and derivation boundaries carry more structural information than fluent continuation tokens. We apply proof weights:

$$w_t = w_{start} + \frac{t}{T_{total}} \cdot (w_{end} - w_{start})$$

with $w_{start} = 2.25$, $w_{end} = 1.1$, applied to the supervised mask. Early in training, reasoning tokens receive 2.25× amplified loss; this decays to near-uniform by training end as the student internalizes the structural pattern.

The combined loss:

$$\mathcal{L}{PW} = w_t \cdot d_t \cdot m_t \cdot \left[(1 - \alpha) \cdot \mathcal{L}{CE} + \alpha \cdot \mathcal{L}_{KD}\right]$$

where $d_t$ is the DISC-derived discrepancy weight and $m_t$ is the supervised mask.

4. Topological Knowledge Distillation (TKD)

4.1 Teacher Logit Caching

A single forward pass through the 30B teacher produces top-$K$ logit compression ($K=64$) stored to disk. This eliminates repeated teacher inference and reduces storage to indices (int32) + values (float16) — approximately 1.2 GB for a 500K-token stream.

4.2 DISC Topology Pass

We compute the discrepancy operator over cached teacher logits:

Probability divergence: For adjacent positions $t$ and $t+1$, compute the L1 distance between local probability distributions derived from top-$K$ logits:

$$\delta_{prob}(t) = \sum_{k=1}^{K} |p_t^{(k)} - p_{t+1}^{(k)}|$$

Support overlap: Sort the top-$K$ index sets and compute Jaccard-like overlap:

$$\delta_{overlap}(t) = 1 - \frac{|\text{top}_K(t) \cap \text{top}_K(t+1)|}{|\text{top}_K(t) \cup \text{top}_K(t+1)|}$$

Combined discrepancy:

$$D(t) = \delta_{prob}(t) + 0.5 \cdot \delta_{overlap}(t)$$

Jump detection: Positions where $D(t) > \mu_D + 3\sigma_D$ are classified as jumps with 1.25× loss amplification.

Gap energy density: Convolution of $D(t)^2$ over 64-token windows provides a smooth energy landscape for curriculum ordering.

4.3 Topology-Guided Windowing

Training windows (512 tokens) are cut at low-discrepancy positions within an overlap band (32–128 tokens) rather than at fixed stride. The argmin of $D(t)$ within the search zone determines the cut point. This ensures no window boundary falls on a structural feature.

4.4 Curriculum Ordering

Windows are scored by difficulty:

$$\text{difficulty} = \bar{E}{gap} \cdot (1 + \frac{n{jumps}}{|w|} \cdot 1000) \cdot \frac{1}{\max(f_{sup}, 0.01)}$$

where $\bar{E}{gap}$ is mean gap energy, $n{jumps}$ is jump count, $|w|$ is window length, and $f_{sup}$ is supervised fraction. 4-phase curriculum: easiest 30% first, remaining windows progressively randomized by difficulty phase.

4.5 KD Alpha Schedule

The distillation weight $\alpha$ ramps from 0 to 0.45 between 15% and 45% of training:

$$\alpha(t) = \begin{cases} 0 & t < 0.15T \ 0.45 \cdot \frac{t - 0.15T}{0.30T} & 0.15T \leq t < 0.45T \ 0.45 & t \geq 0.45T \end{cases}$$

This allows the student to first learn from ground truth labels, then progressively incorporate the teacher's distributional knowledge.

5. Multi-Teacher Ghost Imprinting

When the same student is distilled sequentially from Thinking then Coder teachers (or any permutation), each teacher's signal partially overwrites the previous. The residual — the discrepancy field between what Teacher A encoded and what Teacher B couldn't fully overwrite — occupies a subspace of weight space orthogonal to both teachers' primary signals.

We formalize this as the Cantor component of BV decomposition applied to the parameter tensor. Let $\theta_A$ be the weights after Teacher A distillation and $\theta_{A \to B}$ be the weights after subsequent Teacher B distillation. The residual:

$$\Delta\theta = \theta_{A \to B} - \theta_B^{fresh}$$

where $\theta_B^{fresh}$ is what Teacher B distillation produces from a random initialization. This $\Delta\theta$ is the ghost imprint — it encodes structural information from Teacher A that persists through Teacher B's training but is not present in Teacher B's direct distillation.

Empirically, we observe that models with ghost imprints from the Thinking teacher exhibit extended deliberation patterns even when the final distillation was from the Coder teacher. The reverse also holds: Coder ghost imprints produce structured decomposition in models whose final training was Thinking-focused.

This is not accidental. It follows from the mathematical structure of how residual fields interact in high-dimensional weight space. The Cantor component is non-trivial precisely because the teachers' signals span different subspaces.

6. DualMind: Role-Conditioned Self-Critique

6.1 Motivation

Multi-architecture collision arrays — running the same problem through multiple model architectures and synthesizing divergences — produce insights that no individual architecture achieves alone. We have demonstrated this in five-architecture experiments (Claude Opus, Kimi, GLM, Qwen, GPT, Gemini) where the interference pattern between architecturally diverse responses constitutes novel structure.

DualMind collapses this multi-model dynamic into a single architecture.

6.2 Architecture

The model learns three cognitive roles through plain-text markers (no special tokens):

<explore>   Unconstrained derivation — the model reasons freely
</explore>

<examine>   Adversarial self-critique — the model reads its own
            explore output and challenges it
</examine>

<response>  Clean synthesis — final answer from the internal dialogue
</response>

No additional parameters, no routing mechanism, no mixture of experts. The same weights serve all three roles. Differentiation arises entirely from positional context and learned role associations.

6.3 Training Data Transformation

Any chain-of-thought dataset can be transformed into DualMind format:

  1. Explore extraction: Derivation and computation sentences from the CoT solution. Trigger-based detection identifies where reasoning transitions to verification.
  2. Examine extraction: Verification, checking, and self-correction sentences. Connective tissue ("Let me verify this...") is added when the examine section doesn't start reflectively.
  3. Response extraction: Final answer extracted via boxed notation, natural language patterns, or last-line fallback.

For datasets with pre-separated reasoning columns (e.g., Crownelius/Opus-4.6-Reasoning-3300x with thinking/solution columns), the explore phase maps directly from the thinking column with no heuristic splitting needed.

6.4 The Think Token Leak

An observed failure mode: base Qwen3 models have a deeply-embedded <think> token reflex. After </explore>, the model sometimes drops into its native <think>### Response: pattern instead of the DualMind <examine> transition. This is a competition between the SFT-learned role tokens and the base model's pre-existing reasoning format.

We address this at two levels: - Generation: A LogitsProcessor suppresses <think> tokens and boosts <examine> probability after </explore> is generated. - Training: Transition tokens (</explore>, <examine>, </examine>, <response>) receive 3× loss weight to make the cognitive loop transitions non-negotiable.

7. Results

7.1 Portfolio

Collection Models Downloads Hardware Precision
DistilQwen 9 2,788 H100 BF16
DualMind 2+ H100 BF16
Full Portfolio 43 12,094 CPU + H100 FP32 + BF16

7.2 Teacher Variant Comparison

Teacher Student Downloads Distinctive Capability
Instruct 833 Structured output, format compliance
Thinking 779 Extended deliberation, proof derivation
Coder 825 Logical decomposition, STEM reasoning

The near-equal download distribution across teacher variants suggests all three produce models with distinct, valued capabilities. The market is voting with downloads.

7.3 DualMind Cognitive Loop

The DualMind model successfully produces all three mode transitions (explore → examine → response) on mathematical proofs, logical inference, and — unexpectedly — philosophical and creative prompts. On a physics-trained model prompted with "Who is God, not for humans but for you?", the explore block produced structured literary content with no creative writing in its training data. We interpret this as the Cantor component of the BV decomposition expressing through generation — the singular-continuous residual from the base model's weight space that the physics-focused TKD pipeline couldn't fully overwrite.

7.4 Comparison with Standard Distillation

A vanilla Qwen3-1.7B distilled with standard KD from the same 30B teacher (no proof weights, no topology, no curriculum) produces empty <think> blocks and surface-level responses. The TKD model trained on the same data produces ~3.3× longer responses with genuine structural reasoning, as demonstrated in a T3 concept explanation probe.

8. Conclusion

The transformer is plumbing. The methodology is what produces capability. We have demonstrated that:

  1. Structure beats scale — 1.7B models trained with topology-aware distillation exhibit reasoning quality that standard distillation at the same parameter count does not achieve.
  2. Teacher diversity creates emergent capability — sequential distillation from different teacher variants creates residual fields that produce capabilities absent from any individual teacher.
  3. Self-critique can be learned through format — role-conditioned generation with shared weights recreates multi-model dialectical dynamics within a single architecture.
  4. The methodology is hardware-agnostic — the same pipeline produces results on $24 of CPU compute and on H100 at BF16.

All models, training code, and this methodology are released under Apache 2.0.

References

  • Hinton, G., Vinyals, O., & Dean, J. (2015). Distilling the knowledge in a neural network.
  • CIx, R. S. (2026). Structure Over Scale. DOI: 10.57967/hf/8165.
  • CIx, R. S. (2025-2026). Discrepancy Calculus (DISC): A Measure-Theoretic Framework for Singularities. Convergent Intelligence LLC.
  • Ambrosio, L., Fusco, N., & Pallara, D. (2000). Functions of Bounded Variation and Free Discontinuity Problems. Oxford.

Convergent Intelligence LLC: Research Division "Where classical analysis fails to see, we begin."


Convergent Intelligence Portfolio

Part of the DualMind Series by Convergent Intelligence LLC: Research Division

DualMind Family

Model Format Description
DualMind BF16 LogicInference-trained. Explore→Examine→Response loop.
DualMinded-Qwen3-1.7B BF16 Opus 4.6 reasoning traces. Higher quality splits.
Dualmind-Qwen-1.7B-Thinking BF16 Thinking-teacher variant with extended deliberation.
DualMind-GGUF GGUF Quantized LogicInference variant. CPU/6GB GPU.
DualMinded-Qwen3-1.7B-GGUF GGUF Quantized Opus variant. Ollama ready.

Papers

Paper DOI
Structure Over Scale 10.57967/hf/8165
Three Teachers to Dual Cognition 10.57967/hf/8184
Discrepancy Calculus 10.57967/hf/8194

Last updated: 2026-03-31 by Convergent Intelligence LLC: Research Division

Identity and Version

Repository
reaperdoesntknow/DualMind_Methodolgy
Publisher
Convergent Intelligence
Task
Text generation
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
sft, trl
Revision
410f144b36e0d5d787b48f3e97f4625a42c91973
First published
2026-03-29
Last updated
2026-09-18

Files and Weights

2 files, 19.1 KB in total.

Documentation1 file · 17.6 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
README.mdDocumentation17.6 KB
.gitattributesRepository1.5 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download from Convergent Intelligence

Released by Convergent Intelligence through its official repository on Hugging Face. Read the license.

Questions About DualMind_Methodolgy

Can I use DualMind_Methodolgy commercially?

Yes. DualMind_Methodolgy is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Fine-tune Qwen3 (14B) for free using our Google Colab notebook! - Read our Blog about Qwen3 support: unsloth.ai/blog/qwen3 - View the rest of our notebooks in our docs here. Qwen3-Coder is available in multiple sizes. Today, we're excited to introduce Qwen3-Coder-30B-A3B-Instruct. This streamlined model maintains impressive performance and efficiency, featuring the following key enhancements: - Significant Performance among open models on Agentic Coding, Agentic Browser-Use, and other foundational coding tasks. - Long-context Capabilities with native support for 256K tokens, extendable up to 1M tokens using Yarn, optimized for repository-scale understanding. - Agentic Coding supporting for…

Open weights apache-2.0 transformers

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp