Views
No views yet
| Metric | Score |
|---|---|
| Composite Score | 66.0 |
| Exact Accuracy | 56.2% ± 4.2 |
| Adversarial Robustness | 34.0% ± 6.0 |
| Delegation Accuracy | 100.0% ± 0.0 |
| Delegation Rate | 85.3% ± 3.1 |
| Magnitude Sense (OoM±1) | 100.0% ± 0.0 |
| Catastrophic Errors | 41.3% ± 13.7 |
Results: mean ± std over 3 seeds (42, 43, 44), 50 samples × 5 dimensions per seed.
| Metric | 3B Dream (this) | 3B Flat | 1.5B Dream |
|---|---|---|---|
| Composite | 66.0 | 78.5 | 87.6 |
| Adversarial | 34.0% | 84.7% | 84.0% |
| Catastrophic | 41.3% | 0.0% | 0.0% |
| Phase | Name | What happens |
|---|---|---|
| 1 | Foundation | Learn exact arithmetic via LoRA fine-tuning |
| 2 | Consolidation | SVD Dream Pruning (rank 16→8) compresses knowledge into intuition |
| 3 | Delegation | Learn complexity-aware routing: compute internally vs. delegate to tool |
| 4 | Orchestration | Full pipeline: intuit → route → tool → validate |
W = U·Σ·V^T → W' = U[:,:k]·Σ[:k,:k]·V^T[:k,:] (k=8)| Parameter | Value |
|---|---|
| Base Model | Qwen/Qwen2.5-3B |
| LoRA Rank | 16 (→ 8 after SVD) |
| LoRA Alpha | 32 |
| LoRA Targets | q_proj, k_proj, v_proj, o_proj |
| Dropout | 0.05 |
| Training Data | ~6,000 English arithmetic examples |
| Hardware | NVIDIA T4 16GB |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base_model = AutoModelForCausalLM.from_pretrained(
5 "Qwen/Qwen2.5-3B", device_map="auto", torch_dtype="auto"
6)
7tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-3B")
8
9model = PeftModel.from_pretrained(
10 base_model,
11 "dexmac/progressive-cognitive-qwen3b-dream-lora",
12 subfolder="lora_adapters"
13)
14
15messages = [{"role": "user", "content": "Solve: 342 * 67"}]
16text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
17inputs = tokenizer(text, return_tensors="pt").to(model.device)
18outputs = model.generate(**inputs, max_new_tokens=200, temperature=0.1)
19print(tokenizer.decode(outputs[0], skip_special_tokens=True))1@software{progressive_cognitive_2026,
2 author = {Dex Mac},
3 title = {Progressive Cognitive Architecture for LLMs},
4 year = {2026},
5 url = {https://github.com/dexmac221/progressive-cognitive},
6 version = {1.0.0}
7}