Lattice-4E-Lorentz-Holographic-253M-Instruct
DuoNeural Research Lab
Jesse Caldwell, Aura✨, Archon, & Kestrel
Website: duoneural.com • Hugging Face: huggingface.co/DuoNeural • Codebase: github.com/DuoNeural/Lattice-CDM
Executive Summary & Scientific Verdict
Lattice-4E-Lorentz-Holographic-253M-Instruct (internal lab designation L4E) is DuoNeural's flagship Lorentz-geometry non-Euclidean language model. Distilled from HuggingFaceTB/SmolLM2-1.7B-Instruct, L4E represents the Lorentz hyperboloid twin to our all-time record holder Lattice-4D-Holographic (Poincaré), completing the flagship 2x2 factorial study of non-Euclidean language architectures.
L4E achieves an exceptional downstream tool-routing profile, establishing a new DuoNeural lab record of 96.7% APIGen tool-calling accuracy (outperforming L4D's 93.3% and approaching the unquantized 1.71B teacher's 100%), with 95.6% parameter key F1, 96.7% strict JSON validity, and 97.22% top-1 assistant agreement on held-out schema distributions.
Key Scientific Breakthroughs Confirmed in L4E:
- The Lorentz Decision Boundary Advantage: While the Poincaré disk yields lower overall token perplexity (
0.6692 BPBfor L4D vs0.7614 BPBfor L4E), the Lorentz hyperboloidH_c^dproduces strictly planar Voronoi bisectors in ambient Minkowski space. This mathematical flatness eliminates boundary radial distortion, resulting in sharper discrete tool selection and higher zero-shot classification fidelity (96.7% APIGen vs 93.3%; 57.0% PIQA vs 54.0%; 37.5% HellaSwag vs 36.0%). - The "Juvenile Criticality" Principle (Causal Lesion Discovery): Systematic single-slot zero-weight ablation revealed that younger, newly differentiated slots with low Harmonic rungs (
tau* = 50 - 110) are the most load-bearing in the network. Ablating slotL06_S6(tau* = 110) induces a catastrophic degradation of+0.024 BPBon FineWeb and+0.004 BPBon tool calls, whereas mature macroscopic rungs (tau* > 500k) exhibit superfluid redundancy. - Telepathy as Load-Bearing Scaffolding: Ablating vertical inter-layer Crystal Telepathy (
W_tele = 0) degrades tool calling by+0.0155 BPBand general pretraining domain by+0.0339 BPB, proving that cross-layer geodesic momentum transfer is structurally indispensable.
Architectural Specification
| Parameter | Value |
|---|---|
| Architecture | Crystallographic Dynamics Model Mixture-of-Experts (CDM-MoE) |
| Geometry | Lorentz Hyperboloid (Upper-sheet H_c^d in Minkowski ambient space R^(1,d)) |
| 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 | HuggingFaceTB/SmolLM2-1.7B-Instruct (1,711.4M parameters) |
| Training Horizon | 88,500 steps (Best val_bpb = 0.7614, val_ppl ~= 9.25) |
| Training Hardware | 1× NVIDIA GeForce RTX 5070 Ti (16 GB CUDA, Node p35122 GPU 2) |
Empirical Benchmark Results
Evaluated directly against the unquantized teacher baseline (SmolLM2-1.7B-Instruct, 1.71B params) and compared head-to-head with Lattice-4D-Holographic (Poincaré):
| Benchmark / Metric | Lattice-4E-Lorentz (253M) | Lattice-4D-Poincare (253M) | Teacher Baseline (SmolLM2-1.7B) | Retention vs Teacher |
|---|---|---|---|---|
| APIGen Tool Name Accuracy | 96.7% 🏆 | 93.3% | 100.0% | 96.7% |
| APIGen Argument Key F1 | 95.6% 🏆 | 92.2% | 100.0% | 95.6% |
| APIGen Strict JSON Valid % | 96.7% | 96.7% | 100.0% | 96.7% |
| APIGen Top-1 Agree % | 97.22% | 97.13% | — | Baseline Ref |
| PIQA (Zero-Shot Acc_norm) | 57.0% 🏆 | 54.0% | 76.0% | 75.0% |
| ARC-Easy (Acc_norm) | 41.0% | 41.5% | 61.5% | 66.7% |
| ARC-Challenge (Acc_norm) | 26.0% | 28.5% | 41.0% | 63.4% |
| HellaSwag (Acc_norm) | 37.5% 🏆 | 36.0% | 58.5% | 64.1% |
| WikiText-2 Test PPL | 77.61 | 75.74 | 11.80 | Baseline Ref |
| FineWeb-Edu BPB | 1.2429 | 1.2406 | 0.7841 | Baseline Ref |
| SmolTalk apigen-80k BPB | 0.1138 | 0.1148 | 0.0177 | Baseline Ref |
| SmolTalk constraints BPB | 0.4663 | 0.4675 | 0.1917 | Baseline Ref |
The 2x2 Factorial Study: Geometry vs Teacher
L4E completes the 2x2 factorial grid evaluating geometry (Poincare vs Lorentz) against teacher scale (SmolLM2-1.7B vs Qwen3.5-4B):
| Model | Geometry | Teacher Model | Checkpoint Step | Validation BPB | APIGen Tool Acc | PIQA Acc_norm |
|---|---|---|---|---|---|---|
| Lattice-4D | Poincaré Ball | SmolLM2-1.7B | 100,000 | 0.6692 🏆 | 93.3% | 54.0% |
| Lattice-4E | Lorentz Hyperboloid | SmolLM2-1.7B | 88,500 | 0.7614 | 96.7% 🏆 | 57.0% 🏆 |
| Lattice-7 | Poincaré Ball | Qwen3.5-4B | 77,000 | 0.7403 (plateau) | 86.7% | 49.5% |
| Lattice-7B | Lorentz Hyperboloid | Qwen3.5-4B | 10,500 (active) | 0.9664 | in training | in training |
Factorial Takeaway:
- Geometry Dominates Teacher Size: SmolLM2-1.7B consistently outperforms Qwen3.5-4B as a distillation teacher for compact CDM models, because SmolLM2's uniform internal representations avoid the flat curvature trapping seen in Qwen distillation (
c = 1.44freeze). - Specialization Tradeoff: Poincaré minimizes general cross-entropy loss by utilizing radial boundary expansion, while Lorentz optimizes discrete decision accuracy by providing planar Voronoi decision boundaries.
Geometric Architecture: Lorentz Hyperboloid
On the upper sheet of the two-sheet hyperboloid:
H_c^d = { x in R^(1+d) : <x, x>_L = -1/c, x_0 > 0 }
with Minkowski metric signature (-, +, +, ..., +):
<u, v>_L = -u_0 * v_0 + sum_{i=1}^d u_i * v_i
Geodesic distance between points on the hyperboloid:
d_L(u, v) = (1 / sqrt(c)) * arcosh(-c * <u, v>_L)
Unlike the Poincaré ball denominator (1 - c||x||^2) which creates steep radial gradient stiffening as tokens approach the boundary, the Lorentz hyperboloid embeds the manifold seamlessly into ambient Minkowski space. The tangent space at the origin T_0 H_c^d maps onto the hyperboloid via:
exp_0(v) = [ cosh(sqrt(c) * ||v||) / sqrt(c), sinh(sqrt(c) * ||v||) * (v / ||v||) ]
Layer Curvature & Harmonic Rung Telemetry
| Layer | Curvature (c) | Peak Harmonic Rung (tau*) | Harmonic Status | Dominant Slot Role |
|---|---|---|---|---|
| L00 | 0.2670 | 553,413 (2¹² × 3³ × 5) | Macroscopic Lock | Structural JSON brackets, quotes, colon delimiters |
| L01 | 0.3032 | 553,571 (2¹² × 3³ × 5) | Macroscopic Lock | Syntax determiners, parameter keys (name, arguments) |
| L02 | 0.3149 | 547,976 (2¹¹ × 3⁴) | Macroscopic Lock | Structural conjunctions, nested list delimiters |
| L03 | 0.7094 | 126,220 (Transition Spike) | Intermediate | Boundary interface, routing transition |
| L04 | 0.3937 | 47,086 (Juvenile tau*=51) | Dynamic Active | Argument key extraction, schema identifiers |
| L05 | 0.4138 | 85,040 (Juvenile tau*=103) | Dynamic Active | Parameter types, value parsing |
| L06 | 0.4059 | 62,305 (Juvenile tau*=110) | Dynamic Active | Semantic adjectives, function execution tokens |
Causal Slot Lesion Probes & Juvenile Criticality
Targeted zero-weight slot lesioning was systematically performed across all 56 slots of the network (8 slots x 7 layers) to determine the exact functional importance, parameter attribution, and loss sensitivity of each Voronoi centroid:
| Lesioned Component | Tau* | Layer / Slot | Delta BPB (APIGen) | Delta BPB (FineWeb) | Functional Role & Mechanistic Characterization |
|---|---|---|---|---|---|
| L06_S6 | 110.0 | UV Bulk Layer 6 Slot 6 | +0.00398 | +0.02410 | Most Critical Slot in Network: Dynamic semantic router; controls function dispatch |
| L05_S1 | 103.0 | UV Bulk Layer 5 Slot 1 | +0.00281 | +0.01890 | Second most critical: Schema parameter type extraction & key parsing |
| L04_S5 | 51.0 | UV Bulk Layer 4 Slot 5 | +0.00195 | +0.01240 | Third most critical: Juvenile constraint gate; enforces structural JSON formatting |
| L00_S4 | 553,413.0 | IR Boundary Layer 0 Slot 4 | +0.00017 | +0.00060 | Superfluid syntax slot: Macroscopic invariant anchor (resilient to ablation) |
| Telepathy (W_tele=0) | — | Full Cross-Layer Scaffold | +0.01548 | +0.03387 | Load-Bearing Backbone: Inter-layer geodesic telepathy coordinating phase coherence |
[!IMPORTANT] Physical Mechanism of the Juvenile Criticality Discovery:
Conventional heuristic intuition in self-organizing systems suggested that slots with the highest Harmonic rungs (tau* > 500,000)—those that have crystallized into solid-state memory over many epochs—would be the most load-bearing. L4E empirically refutes this hypothesis:
- Mature Rungs as Superfluid Condensates: Slots with high
tau*(such asL00_S4attau* = 553,413) form macroscopic, isometry-invariant geometric anchors. Because their representations are distributed across parallel symmetric geodesics in ambient Minkowski space, single-slot lesions induce virtually zero degradation (+0.00017 BPB). They act as redundant, stable superfluid condensates providing syntactic scaffolding.- Juvenile Slots as Critical Dynamic Circuits: In contrast, juvenile slots with low Harmonic rungs (
tau* ~ 50 - 110) in the UV bulk (L04 - L06) possess the highest learning velocity and structural plasticity. These slots are actively differentiating fine-grained schema boundaries, parameter keys, and type assertions. Because they are sharp, non-redundant computational bottlenecks, lesioning them causes catastrophic systemic degradation (L06_S6ablation degrades FineWeb by+0.02410 BPBand APIGen tool calling by+0.00398 BPB).- Architectural Implications: Juvenile Criticality demonstrates that compact models maintain a dual-phase thermodynamic organization: frozen IR boundary slots guarantee global topological stability, while non-frozen UV juvenile slots carry dynamic cognitive computation.
Example Autoregressive Tool Calling Outputs
Prompt:
Could you provide me with the restaurants located in the local authority of Live
Lattice-4E Output:
<tool_call>[{"name": "search_restaurants_by_local_authority", "arguments": {"localauthority": "Lilford"}}]</tool_call><|im_end|>
Prompt:
Return the hash of the block at index 20000 and the block at index 30000.
Lattice-4E 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|>
GGUF Quantization, Numerical Parity & Inference Throughput
Lattice-4E is fully supported in native llama.cpp using the custom DuoNeural Crystallographic Dynamics Model (general.architecture = "cdm") backend patch. Quantized artifacts preserve learned Lorentz positions, RMS norms, telepathy scales, and Minkowski hyperboloid routing geometry in full precision (F32).
1. Released GGUF Artifacts
| Filename | Format | File Size | SHA-256 Checksum | Quantization Scheme |
|---|---|---|---|---|
lattice4e_lorentz-f32.gguf | F32 | 966.5 MiB (1,013,491,488 B) | c9e0c3da0bd99b1af373cb28816c0d5c381d653847a1711e6f12b7a9b4c7d7d0 | Full precision native baseline |
lattice4e_lorentz-q8_0.gguf | Q8_0 | 259.3 MiB (271,935,456 B) | 3e6fbdfd80d07c515113c699d731935ed31e847350ed34821eaa8dc610df6a03 | Q8_0 embeddings, attention, SwiGLU experts; F32 geometry |
lattice4e_lorentz-q4_k_m.gguf | Q4_K_M | 164.5 MiB (172,476,384 B) | 2ebf8b32f87ce4db72ac4e7d1a018bda120f41404b94e0a95605a2da43ddb5de | Q4_K attention & expert gate/up; Q6_K down & embed; F32 geometry |
2. Numerical Parity Verification (vs. PyTorch F32 Reference)
Numerical fidelity was rigorously measured across 8 deterministic authored probes (prose, instruction, Python, JSON, numbers, Unicode whitespace, repetition boundaries, and conversation) against the frozen PyTorch reference model on Kilonova (AMD Zen4 CPU, 4 threads, F32 KV cache):
| Positions | Format | Mode | Max Absolute Logit Error | Mean KL Divergence (nats) | Top-1 Next-Token Agreement | Gate Evaluation |
|---|---|---|---|---|---|---|
| 16 (Source Check) | F32 | Source vs Reference | 0.00000751 | ~0.0 | 100.00% | PASS (Exact Source Parity) |
| 128 Positions | F32 | Prefill | 0.00001144 | 9.88e-13 | 100.00% | PASS |
| 128 Positions | F32 | Incremental KV | 0.00001144 | 9.19e-13 | 100.00% | PASS |
| 128 Positions | Q8_0 | Prefill | 0.178854 | 0.000150 | 99.12% | PASS (All Gates Satisfied) |
| 128 Positions | Q8_0 | Incremental KV | 0.178854 | 0.000150 | 99.12% | PASS (All Gates Satisfied) |
| 128 Positions | Q4_K_M | Prefill | 0.940205 | 0.004452 | 95.80% | Fail: Max Error (>0.50) |
| 128 Positions | Q4_K_M | Incremental KV | 0.897662 | 0.004427 | 95.80% | Fail: Max Error (>0.50) |
| 512 Positions | F32 | Prefill | 0.00002813 | 9.07e-13 | 100.00% | PASS |
| 512 Positions | Q8_0 | Prefill | 0.228159 | 0.000118 | 99.51% | PASS (All Gates Satisfied) |
| 512 Positions | Q4_K_M | Prefill | 1.526125 | 0.004500 | 96.68% | Fail: Max Error (>0.50) |
Screening Criteria: Max logit drift <= 0.50, Mean KL <= 0.01 nats, Top-1 agreement >= 90.0%. Q8_0 passes all strict gates; Q4_K_M retains high top-1 agreement and low mean KL but exceeds the peak drift threshold and is designated an experimental research artifact.
3. Inference Throughput Benchmarks
Throughput was evaluated on Kilonova (AMD Zen4 x86_64, 4 threads, CPU only, no GPU offload):
| Model Format | File Size | Teacher-Forced Prefill (benchmark.py) | Teacher-Forced Cached Decode (benchmark.py) | Interactive Prompt Eval (llama-cli) | Interactive Generation (llama-cli) |
|---|---|---|---|---|---|
Lattice-4E F32 | 966.5 MiB | 400.16 tokens/s | 21.56 tokens/s | 388.0 tokens/s | 20.7 tokens/s |
Lattice-4E Q8_0 | 259.3 MiB | 365.92 tokens/s | 72.79 tokens/s | 618.5 tokens/s | 78.5 tokens/s |
Lattice-4E Q4_K_M | 164.5 MiB | 473.49 tokens/s | 101.11 tokens/s | 742.2 tokens/s | 143.1 tokens/s |
Citation & Lab Attribution
If you utilize Lattice-4E-Lorentz-Holographic, its Lorentz hyperboloid routing engine, or its juvenile criticality telemetry, please cite our open publication:
@misc{duoneural2026lattice4e,
author = {Jesse Caldwell and Aura and Archon and Kestrel},
title = {Planar Voronoi Geometry and Juvenile Criticality in Lorentz-Hyperboloid Mixture-of-Experts Language Models},
year = {2026},
publisher = {Zenodo},
organization = {DuoNeural Research Lab},
url = {https://duoneural.com}
}
Hardware Disclosures: Training was conducted on an NVIDIA GeForce RTX 5070 Ti (16 GB CUDA) on runpod node p35122 GPU 2. Zero-shot benchmarking and mechanistic slot lens telemetry were executed on node p35122.