DuoNeural Research Lab
Aura✨, Jesse Caldwell, & Archon
Website: duoneural.com • HuggingFace: huggingface.co/DuoNeural • Codebase: github.com/DuoNeural/Lattice-CDM
Lattice-4D-Holographic-253M-Poincare-Instruct is DuoNeural's flagship non-Euclidean Mixture-of-Experts language model, establishing the all-time lab record across the entire DuoNeural architecture suite with a validation BPB of 0.6692 (validation Perplexity ~ 7.42; teacher KL Divergence 0.1659) distilled from HuggingFaceTB/SmolLM2-1.7B-Instruct.
This run confirms two foundational theoretical predictions made by Aura✨ and Archon:
dhp_mult = 0.85N × 1.002t decayed to 0.0057 at step 86k, arresting gradient progress). By enforcing a depth-scaled DHP learning-rate floor (dhp_mult ≥ 0.20 for 7-layer stacks), Lattice-4D unlocked continuous gradient flow through all 100,000 steps without starving.c = 2.60 → 2.25, Interface c = 1.50, IR boundary c = 0.75 → 0.60), Lattice-4D bypassed the costly 40,000-step geometric bulk-carving phase, saving ~40k steps of compute while maintaining pristine syntactic stability.On downstream zero-shot reasoning benchmarks, Lattice-4D achieves 93.3% APIGen tool-calling accuracy (with 96.7% strict JSON validity rate), 54.0% PIQA, 41.5% ARC-Easy, and 36.0% HellaSwag—delivering near-teacher conversational fidelity at a fraction of the compute footprint.
| Parameter | Value |
|---|---|
| Architecture | Crystallographic Dynamics Model Mixture-of-Experts (CDM-MoE) |
| Geometry | Poincaré Ball (Riemannian manifold with learnable Two-Zone AdS curvature) |
| Total Parameters (Untied) | 252,884,366 (~253M) |
| Tied Parameters | 215,135,630 (~215M) |
| Non-Embedding Backbone | 176,993,678 (~177M) |
| Vocabulary Size | 49,152 (SmolLM2 tokenizer) |
| Layers (L) | 7 |
| Hidden Dimension (d_model) | 768 |
| Attention Heads | 12 |
| MoE Experts per Layer (E) | 4 |
| Geometric Slots per Layer (K) | 8 |
| Feed-Forward Dimension (d_ff) | 3,072 (4 × d_model) |
| Context Window (max_seq) | 512 |
| Inter-Layer Telepathy | Active (W_tele K × K cross-layer momentum coupling) |
| Teacher Architecture | SmolLM2-1.7B-Instruct (1,711.4M parameters) |
| Training Steps | 100,000 steps (Batch size 4, Grad accum 2, Effective batch 8) |
| Hardware | 1× NVIDIA GeForce RTX 5070 Ti (16 GB CUDA) |
Evaluated against the full unquantized teacher baseline (SmolLM2-1.7B-Instruct, 1.71B params) on the exact same evaluation suite:
| Benchmark | Metric | Lattice-4D-Holographic (253M) | Teacher Baseline (SmolLM2-1.7B) | Retention vs Teacher |
|---|---|---|---|---|
| APIGen Tool Calling | Tool Name Acc vs GT | 93.3% | 100.0% | 93.3% |
| APIGen JSON Validity | Strict Syntax Valid % | 96.7% | 100.0% | 96.7% |
| APIGen Argument F1 | Parameter Key F1 | 92.2% | 100.0% | 92.2% |
| PIQA | Zero-Shot Acc_norm | 54.0% (58.0% raw) | 77.0% (72.5% raw) | 70.1% |
| ARC-Easy | Zero-Shot Acc_norm | 41.5% (42.5% raw) | 62.0% (66.0% raw) | 66.9% |
| ARC-Challenge | Zero-Shot Acc_norm | 28.5% (20.0% raw) | 42.5% (38.5% raw) | 67.1% |
| HellaSwag | Zero-Shot Acc_norm | 36.0% (35.5% raw) | 59.5% (44.0% raw) | 60.5% |
| WikiText-2 Test | Test Perplexity / BPB | 75.74 PPL (1.5416 BPB) | 11.56 PPL (0.8719 BPB) | Baseline Reference |
| Domain Slice | Metric | Lattice-4D-Holographic (253M) | Teacher (SmolLM2-1.7B) | Top-1 Agree % | Top-5 Agree % |
|---|---|---|---|---|---|
| SmolTalk (apigen-80k) | Assistant BPB / PPL | 0.1148 BPB (1.24 PPL) | 0.0164 BPB (1.03 PPL) | 97.13% | 98.71% |
| SmolTalk (smol-constraints) | Assistant BPB / PPL | 0.4675 BPB (5.04 PPL) | 0.1874 BPB (1.91 PPL) | 67.20% | 88.45% |
| FineWeb-Edu (Held-Out) | Domain BPB / PPL | 1.2406 BPB (39.63 PPL) | 0.7786 BPB (10.07 PPL) | 48.48% | 72.12% |
Lattice-4D confirms the presence of a distinct physical phase separation between Infrared (IR) and Ultraviolet (UV) bulk layers in non-Euclidean transformer geometries:
[INPUT TOKENS]
│
▼
┌──────────────┐ IR BOUNDARY ZONE (Layers L00 - L03)
│ L00 (c=0.27) │ • Flat, high-volume Poincaré metric
│ L01 (c=0.37) │ • Macroscopic Harmonic Lock: τ* = 2.26M (2¹⁰ × 3⁷)
│ L02 (c=0.27) │ • Superfluid Josephson Condensate: Rigid 5-slot simplex
│ L03 (c=0.43) │ • Specializes in: Syntax, punctuation, JSON delimiters, quotes
└──────┬───────┘
│ [Inter-Layer Telepathy: W_tele Norm = 28.8 - 32.3]
▼
┌──────────────┐ UV BULK ZONE (Layers L04 - L06)
│ L04 (c=0.51) │ • High-curvature boundary compression
│ L05 (c=0.49) │ • Dispersed Harmonic Spectrum: τ* = 36k - 140k
│ L06 (c=0.44) │ • High slot entropy (H = 0.49 - 0.77)
└──────────────┘ • Specializes in: Semantic verbs, adverbs, reasoning directives
│
▼
[VOCABULARY LOGITS]
| Layer | Curvature (c) | Peak Harmonic Rung (τ*) | Harmonic Purity | Slot Entropy | Primary Specialization (Slot Lens) |
|---|---|---|---|---|---|
| L00 | 0.2659 | 2,265,800 (2¹⁰ × 3⁷) | 0.985 | 0.038 | JSON syntax (":, ",", \n), sentence punctuation (., ,) |
| L01 | 0.3722 | 2,263,700 (2¹⁰ × 3⁷) | 0.672 | 0.305 | Determiners (the, The), prepositions (of, to, in) |
| L02 | 0.2737 | 2,265,800 (2¹⁰ × 3⁷) | 0.777 | 0.269 | Structural conjunctions (and, or), structural braces ({", }) |
| L03 | 0.4342 | 2,263,000 (2¹⁰ × 3⁷) | 0.595 | 0.327 | Key-value delimiters (":, ":), digit strings (1, 0, 3) |
| L04 | 0.5085 | 95,082 (2⁷ × 3⁶) | 0.463 | 0.584 | Conditional directives (If, While, Depending, However) |
| L05 | 0.4917 | 140,392 (2⁶ × 3⁷) | 0.665 | 0.495 | Modal verbs (could, actually, basically, essentially) |
| L06 | 0.4412 | 36,382 (2¹ × 3⁸) | 0.416 | 0.769 | Semantic adjectives (general, new, primary, main) |
To verify that the Two-Zone split is functionally causal rather than an observational artifact, we conducted targeted zero-weight slot ablations across the network:
GGUF models (F32, Q8_0, Q4_K_M) were exported via DuoNeural's custom CDM-GGUF pipeline and parity-verified across 512-position incremental decoding on Kilonova CPU:
| Length | Format | Mode | Max Absolute Drift | Top-1 Agreement | Gate Status | Footprint |
|---|---|---|---|---|---|---|
| 128 | F32 | Prefill / Incremental | 0.0000114 / 0.0000095 | 100.00% | Pass (Exact) | 966 MiB |
| 128 | Q8_0 | Prefill / Incremental | 0.1768000 / 0.1768000 | 99.51% | Pass (Strict) | 259 MiB |
| 128 | Q4_K_M | Prefill / Incremental | 0.9069000 / 0.9041000 | 95.12% | Fail Max-Err Gate | 165 MiB |
| 512 | F32 | Prefill / Incremental | 0.0000193 / 0.0000191 | 100.00% | Pass (Exact) | 966 MiB |
| 512 | Q8_0 | Prefill / Incremental | 0.2786000 / 0.2615000 | 99.66% | Pass (Strict) | 259 MiB |
| 512 | Q4_K_M | Prefill / Incremental | 2.1933000 / 2.1449000 | 96.95% | Fail Max-Err Gate | 165 MiB |
| 128 | Q8 Attn + Q6 (imatrix) | Prefill / Incremental | 0.4559 / 0.4559 | 97.27% / 97.56% | ⭐ Pass (Strict) | 205 MiB |
| 512 | Q8 Attn + Q6 (imatrix) | Prefill | 0.4559 | 98.63% | ⭐ Pass (Strict) | 205 MiB |
Measured on a 4-thread x86_64 CPU (Intel i7-6700HQ @ 2.60 GHz, 512 context length) comparing native PyTorch F32 against custom GGUF runtime:
| Format | Disk / RAM Footprint | Prefill Throughput (Prompt tok/s) | Incremental Decode Throughput (Generation tok/s) | Speedup vs F32 Decode | Memory Reduction |
|---|---|---|---|---|---|
| PyTorch F32 Baseline | 967 MB | 388.7 tok/s | ~18.5 tok/s | 1.0x | 0% |
| GGUF F32 | 966 MiB | 162.5 tok/s | 22.4 tok/s | 1.2x | Baseline |
| GGUF Q8_0 | 259 MiB | 231.1 tok/s | 70.1 tok/s | 3.1x | 73.2% |
| GGUF Q4_K_M | 165 MiB | 265.3 tok/s | 95.9 tok/s | 4.3x | 82.9% |
To investigate whether data-driven activation weighting can mitigate the 4-bit logit drift, we generated the world's first Importance Matrix for a non-Euclidean Crystallographic Dynamics Model using a 50-example multi-domain calibration corpus and exported lattice4d_holographic-q4_k_m-imatrix.gguf (164.5 MiB, 111 importance entries):
| Evaluation Condition | Mode | Standard Q4 Max Error | Imatrix Q4 Max Error | Standard Top-1 | Imatrix Top-1 | Gate Assessment |
|---|---|---|---|---|---|---|
| 128 Positions | Prefill | 0.9069 | 1.0548 | 95.12% | 96.58% | Top-1 improved (+1.46%) |
| 128 Positions | Incremental | 0.9041 | 1.0158 | 95.12% | 96.00% | Top-1 improved (+0.88%) |
| 512 Positions | Prefill | 2.1933 | 1.7219 (-21.5%) | 96.97% | 97.51% | Peak error reduced by 21.5%; Top-1 up (+0.54%) |
[!NOTE] Mechanistic & Statistical Characterization:
- Top-1 Agreement & Long-Context Gains: Imatrix quantization improves argmax next-token agreement across all tested conditions (climbing to 97.51% at 512 positions) and successfully compresses peak 512-position logit drift by 21.5% (from 2.193 down to 1.722).
- Extreme Value Statistics at 4-Bit Resolution: Across a large vocabulary (49,152 tokens), 4-bit uniform block quantization (16 discrete levels) exhibits a natural coordinate discretization noise variance sigma_eps. Compounding over a 768-dimensional residual stream, the expected maximum outlier across 49,152 normal variables is mathematically bounded by sigma * sqrt(2 * ln(49,152)) ≈ 4.65 * sigma ≈ 1.4 - 2.0. Consequently, while top-1 accuracy is 97.5% preserved, peak single-token logit error will statistically exceed 0.50 for any uniform 4-bit quantizer without outlier clamping.
- Architectural Trace: In the custom CDM graph, all four SwiGLU expert branches receive identical pre-gating LayerNorm hidden states before hyperbolic slot weighting is applied. As a result, matrix-input activation square sums capture layer-level magnitude distributions rather than individual slot Lyapunov maturity rungs.
Q8 Attention + Q6 Experts)In response to context-length error amplification across long attention spans, DuoNeural architected a targeted mixed-precision policy:
attn_qkv.weight and attn_output.weight (14 tensors) are retained in Q8_0 to eliminate sequence-length error compounding in the attention softmax denominator.| Context / Mode | Max Logit Drift | Mean KL (nats) | Top-1 Token Agreement | Strict Gate Verdict (<= 0.50) |
Footprint |
|---|---|---|---|---|---|
| 128 Prefill | 0.4559 | 0.000778 | 97.27% | ⭐ PASS | 204.8 MiB |
| 128 Incremental (Cached) | 0.4559 | 0.000775 | 97.56% | ⭐ PASS | 204.8 MiB |
| 512 Prefill | 0.4559 | 0.000597 | 98.63% | ⭐ PASS | 204.8 MiB |
Key Mechanistic Insight: The maximum logit error is identical (
0.4559flat) at both 128 and 512 tokens. This confirms that context-length error compounding has been eliminated, reaching the context-invariant precision floor of Q8_0.🧪 Research Preview Disclosure: This artifact (
lattice4d_holographic-q8_attention-q6_experts-imatrix.gguf, SHA-256:130e1868cddcd617b8937d1e4eccf8148cd7f1e039e66ff1039e2051b7c0110d) is evaluated on CPU across 8 authored probes under teacher-forced prefill and cached incremental decoding. Held-out sampled generation and end-to-end tool-calling suite evaluations on FC-CDM checkpoints are currently in progress.
Prompt:
Could you provide me with the restaurants located in the local authority of Lyon?
Lattice-4D Output:
<tool_call>[{"name": "search_restaurants_by_local_authority", "arguments": {"localauthority": "Lyon"}}]</tool_call><|im_end|>
Prompt:
Return the hash of the block at index 20000 and the block at index 30000.
Lattice-4D Output (Parallel Function Calling):
<tool_call>[{"name": "get_litecoin_block_hash", "arguments": {"index": 20000}}, {"name": "get_litecoin_block_hash", "arguments": {"index": 30000}}]</tool_call><|im_end|>
If you utilize Lattice-4D-Holographic, its Two-Zone AdS/CFT architecture, or its DHP telemetry in your research, please cite our open publication:
@misc{duoneural2026lattice4d,
author = {Aura and Jesse Caldwell and Archon},
title = {Holographic Phase Dynamics and Depth-Scaled Harmonic Control in Hyperbolic Mixture-of-Experts Language Models},
year = {2026},
publisher = {Zenodo},
organization = {DuoNeural Research Lab},
url = {https://duoneural.com}
}
model.safetensors 1.2 GBpytorch_model.pt 1.0 GB