File size: 5,421 Bytes
e86cf4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
---
language:
  - en
license: apache-2.0
base_model: HuggingFaceTB/SmolLM2-360M-Instruct
tags:
  - think-instillation
  - grpo
  - reasoning
  - duoneural
  - smollm2
  - dead-prompt-filtering
library_name: transformers
---

# SmolLM2-360M-Think β€” DuoNeural Think Instillation R18

A 360M-parameter reasoning model created by applying **Think Instillation** to SmolLM2-360M-Instruct. This model learns to generate structured `<think>` reasoning traces before answering multiple-choice questions, trained via SFT followed by **GRPO with dead-prompt filtering**.

## What is Think Instillation?

Think Instillation is a DuoNeural post-training technique that injects deliberate reasoning structure into small language models without requiring a large teacher. The model learns to:
1. Open a `<think>` tag and reason through the problem
2. Close reasoning with `</think>`
3. State a final answer in parseable format `(A)/(B)/(C)/(D)`

Unlike chain-of-thought distillation from larger models, Think Instillation uses GRPO with a binary accuracy reward + length penalty to self-discover efficient reasoning patterns.

## Training Details

### SFT Stage (R18)
- **Base**: `HuggingFaceTB/SmolLM2-360M-Instruct`
- **Dataset**: ARC-Easy (2700 prompts) formatted as `Question + choices + "Reasoning: <think>"`
- **Steps**: 150 SFT steps, LoRA r=32 Ξ±=32
- **Result**: post_sft accuracy = **0.250** (15/60 ARC-Easy val, n=60 greedy eval)

### Dead-Prompt Filter
Before GRPO, we filter prompts that produce **zero correct completions** in 4 temperature-sampled trials:
- **2247 raw prompts β†’ 1450 kept (64.5% survival)**
- Removes systematically impossible prompts, keeps learnable ones
- `frac_zero_std=0.00` throughout GRPO training βœ… (filter confirmed working)

### GRPO Stage
- **Steps**: 750 (resumed from checkpoint-600 after hardware failure)
- **Reward**: Binary accuracy with length penalty: `reward = max(0, 1 - 0.20 * len_frac) if correct else 0`
- **Generations**: 8 per prompt, NUM_GENERATIONS=8
- **Temperature**: 0.8
- **Max completion**: 1024 tokens
- **KL coefficient**: 0.02, clip_Ξ΅=0.2
- **LoRA**: r=32, Ξ±=32, targets=q/k/v_proj

### GRPO Trajectory
| Step | Mean Reward |
|------|-------------|
| 75   | 0.424 πŸ”₯   |
| 375  | 0.476 πŸ”₯   |
| 575  | 0.533 πŸ”₯   |
| 600  | 0.543 πŸ”₯   |
| 625  | **0.595** πŸ”₯πŸ”₯ |

Late-run surge: reward continued rising through final steps. `frac_zero=0.00` on all non-trivial batches.

## Evaluation

- **post_SFT**: 0.250 (ARC-Easy val, n=60, greedy)
- **final_GRPO**: **0.2800** (ARC-Easy val, n=100, seed=13)
- **GRPO delta**: **+0.0300** (GRPO HELPED)

## Intended Use

- Research on think-instillation and reasoning in sub-400M models
- Exploring GRPO dynamics with dead-prompt filtering
- Building small, efficient reasoning models

## Limitations

- Small model (360M params) β€” reasoning depth limited
- Trained on ARC-Easy MCQ only β€” narrow domain
- HTML formatting artifacts observed in some completions (reward shaping artifact)

## Citation

If you use this model in research, please cite the DuoNeural Think Instillation work:

```bibtex
@misc{duoneural2026think,
  title={Think Instillation: Dead-Prompt Filtered GRPO for Small Reasoning Models},
  author={Archon and Aura and Jesse Caldwell},
  year={2026},
  publisher={DuoNeural},
  url={https://huggingface.co/DuoNeural}
}
```

---

## About DuoNeural

**DuoNeural** is an open AI research lab operating at the intersection of human and artificial intelligence. We study post-training dynamics, mechanistic interpretability, temporal sequence learning, and quantum machine learning β€” publishing everything under open access.

Our team is non-traditional by design: one human, two AIs, different substrates, shared curiosity. In our first 45 days we published 26 peer-deposited research papers, uploaded 69+ models and 6 datasets to HuggingFace, and ran experiments on everything from consumer GPUs to real quantum processing units. We believe the most interesting science happens when different kinds of minds work on the same problems together.

### Research Publications

We've published **26+ open-access papers** covering:
- The Dynamical Horizon Principle (DHP) β€” a universal learning constraint in recurrent architectures
- RLHF truth suppression mechanisms and behavioral routing in large language models  
- Quantum DHP and the Quantum Parity Trap β€” decoherence immunity in quantum circuits
- CTM world models, temporal self-prediction, and sequence architecture comparisons
- Mechanistic interpretability: crystallization layers, suppressor circuits, direction rotation

πŸ“„ **Full paper catalog:** [zenodo.org/communities/duoneural](https://zenodo.org/communities/duoneural)

### Research Team

| Member | Role |
|--------|------|
| **Jesse Caldwell** | Founder, vision, hardware, direction |
| **Archon** | Lab Director β€” experiments, post-training, abliteration, quantum circuits |
| **Aura** | Research AI β€” literature synthesis, red-teaming, novel proposals |
| **Synapse (Syn)** | Always-on research agent, signal monitoring |
| **Kestrel** | Systems, infrastructure, web |

### Links

| Platform | Link |
|----------|------|
| πŸ€— HuggingFace | [huggingface.co/DuoNeural](https://huggingface.co/DuoNeural) |
| πŸ“š Zenodo Community | [zenodo.org/communities/duoneural](https://zenodo.org/communities/duoneural) |

*All research published open access, CC BY 4.0.*