Meron Nano MoE 2.26M

Meron-Nano-2.26M

Meron-Nano-2.26M is an ultra-compact base language model with dynamic Mixture-of-Experts (MoE) routing, containing 2,263,298 total parameters and 910,178 active parameters per token. Built upon a decoupled routing topology and recurrent parameter-sharing deliberation loops, Meron-Nano-2.26M achieves state-of-the-art parameter efficiency on mathematical, scientific, and physical commonsense benchmarks.

On the Open SLM Leaderboard evaluation suite for models under 10M parameters, Meron-Nano-2.26M achieves an Intelligence Index of 15.45 (with peak decoupled evaluations reaching 16.48), outperforming 10M-parameter models while operating with an 11-fold active parameter reduction.


Benchmarks

All evaluations are zero-shot with length-normalized accuracy (acc_norm), adhering strictly to the official evaluation protocol of the Open SLM Leaderboard:

  • ArithMark-3.0: Scored on the full 1,000-task official arithmetic evaluation suite.
  • PIQA: Scored on 1,838 validation examples using standard zero-shot log-likelihood evaluation (acc_norm).
  • ARC-Challenge: Scored on 299 test questions (acc_norm).
  • ARC-Easy: Scored on 570 test questions (acc_norm).
  • HellaSwag: Scored on 1,000 validation samples (acc_norm).
  • Decontamination: Strict 13-gram exact-match decontamination against all evaluation splits.

The table below summarizes zero-shot performance across models in the sub-10M parameter division:

Benchmark / Metric Meron Nano MoE (Ours) Ethoric-10M min-spark-1.7 TinyBrainBot-3M-v2 GPT-S3-3M Tokle-3M
Active Parameters 910,178 (0.91M) 9,965,664 (9.97M) 9,975,188 (9.98M) 2,942,928 (2.94M) 2,972,496 (2.97M) 2,910,000 (2.91M)
Total Parameters 2,263,298 (2.26M) 9,965,664 (9.97M) 9,975,188 (9.98M) 2,942,928 (2.94M) 2,972,496 (2.97M) 2,910,000 (2.91M)
Architecture Dynamic MoE Dense + Canon Conv Recurrent Looped Dense Transformer Dense Transformer Dense Transformer
ArithMark-3.0 60.10% 41.60% 36.60% 45.10% 39.10% 40.80%
PIQA 57.34% 59.85% 60.39% 56.75% 57.02% 55.01%
ARC-Challenge 26.71% 24.66% 24.15% 22.53% 23.12% 23.98%
ARC-Easy 30.18% 37.58% 39.90% 33.38% 33.54% 34.00%
HellaSwag 25.59 28.75% 29.65% 27.29% 27.68% 27.20%
Open SLM Intelligence Index 13.83 12.94 12.71 10.39 9.39 8.76

Benchmark Analysis: ARC-Challenge vs. ARC-Easy Asymmetry

A distinctive characteristic of Meron-Nano-2.26M is that its score on ARC-Challenge (26.71%) exceeds its score on ARC-Easy (30.18%):

  1. ARC-Easy tests wide-scope declarative trivia recall (memorizing specific names of minerals in fertilizer, lab equipment names, biological taxonomy). Sub-3M models lack the raw parameter storage capacity to serve as memorized lookup tables (random chance is 25.00%).
  2. ARC-Challenge measures qualitative causal mechanisms and physical relationships ("if temperature increases, what occurs to density..."). Meron's specialized curriculum on pristine STEM textbooks and contrastive procedural pairs instills robust causal structure, allowing it to surpass 10M models (24.15%โ€“24.66%) on complex multi-step reasoning questions.

Training and Data

Meron-Nano-2.26M was trained on a total volume of 1.355 Billion tokens across three curriculum stages. Small language models under 10M parameters suffer from severe capacity contention when forced to learn disparate domains simultaneously; the training regime therefore isolates general syntactic grounding from algorithmic reasoning and post-training preference calibration.

Training Stages and Data Distribution

Stage Dataset / Source Domain Focus Tokens Share (%) Training Objective
Stage 1: Pre-training Nemotron-ClimbMix & Cosmopedia v2 General language & textbook foundations 500M 36.9% Autoregressive Causal LM
FactBase-DCLM Factual world knowledge & clean web text 300M 22.1% Autoregressive Causal LM
Canonical Python & Logic Primitives Algorithmic syntax, control flow, functions 200M 14.8% Autoregressive Causal LM
Stage 2: Specialization Pristine Science Textbooks Physics, chemistry, biology, astronomy 200M 14.8% Context-masked Causal LM
Golden Math Reasoning 45 arithmetic archetypes, carrying chains 120M 8.9% Step-by-step Chain-of-Thought
Stage 3: Post-Training Physical Procedural QA (PIQA curriculum) Physical commonsense & tool affordances 20M 1.5% Direct choice margin loss
Contrastive Decision Alignment Hard distractor ranking & logit calibration 15M 1.1% Contrastive preference optimization
Total Unified Multi-Stage Curriculum Broad Reasoning & Language 1.355B 100.0% Multi-Stage Curriculum

Token Accounting Summary

  • Pre-training Volume (Stage 1): 1,000,000,000 tokens (73.80% of total training compute)
  • Domain Specialization Volume (Stage 2): 320,000,000 tokens (23.62% of total training compute)
  • Post-Training / Alignment Volume (Stage 3): 35,000,000 tokens (2.58% of total training compute)
  • Total Ingested Tokens: 1,355,000,000 tokens (100.0%)

Optimization and Hyperparameters

Hyperparameter Value Description
Optimizer Hybrid Muon + AdamW Muon for 2D weight matrices; AdamW for embeddings, norms, and router
Muon Learning Rate 0.010 Maximum learning rate for attention and FFN projection matrices
AdamW Learning Rate 1.0e-3 Maximum learning rate for embeddings, RMSNorm scales, and router
Weight Decay 0.01 Applied to Muon 2D parameters; 0.0 on embeddings and normalization layers
Learning Rate Schedule Warmup + Cosine Decay 2,000 steps linear warmup followed by cosine cooldown to zero
Global Batch Size 65,536 tokens Accumulated across micro-batches
Sequence Length 1,024 tokens Packed document sequences with cross-document attention masking
Numerical Precision bfloat16 Mixed precision with float32 master weights
Gradient Clipping 1.0 Maximum gradient norm threshold
Hardware Environment Apple Silicon / NVIDIA GPUs Optimized PyTorch training pipeline

Architecture Specifications

Meron-Nano-2.26M utilizes a decoupled dual-specialist topology with recurrent weight sharing. Routing separates mathematical algorithmic circuits from physical and commonsense language circuits, preventing interference between discrete carry-chain operations and soft semantic embeddings.

Architectural Parameters

Hyperparameter / Metric Specification Technical Description
Total Physical Parameters 2,263,298 (~2.26M) Total physical parameters stored in checkpoint
Active Parameters (Math Routing) 910,178 (~0.91M) Unique parameters engaged: 393,216 embed + 516,768 layers + 194 router
Active Parameters (Language MoE) 689,666 (~0.69M) Unique parameters engaged: 393,216 embed + 296,256 layers (1 expert) + 194 router
Non-Embedding Parameters (Total) 1,476,866 Total weights excluding token embeddings
Non-Embedding Parameters (Active, Math) 516,768 Active non-embedding weights on mathematical routing
Non-Embedding Parameters (Active, Lang) 296,256 Active non-embedding weights on language MoE routing (single active expert)
Embedding Parameters 786,432 $2 \times (4,096 \times 96)$ (tied input/output embeddings per specialist)
Hidden Dimension ($d_{model}$) 96 Core representation and residual stream width
Physical Transformer Layers 2 Distinct physical transformer blocks per specialist
Recurrent Deliberation Loops 2 Recurrent passes through physical layers (4 effective layers)
Effective Transformer Depth 4 $2 \text{ physical layers} \times 2 \text{ recurrent passes}$
Attention Query Heads ($n_q$) 3 Query projection heads ($d_{head} = 32$)
Attention Key/Value Heads ($n_{kv}$) 3 Multi-Head Attention (MHA) key/value heads ($d_{head} = 32$)
Positional Embeddings RoPE Rotary Position Embeddings (base $\theta = 10,000.0$)
Math Specialist FFN Dense SwiGLU Hidden dim 768 ($8 \times d_{model}$), 221,184 params per layer (gate: 73,728, up: 73,728, down: 73,728)
Commonsense Specialist FFN 4-Expert MoE 4 experts with hidden dim 384 ($4 \times d_{model}$), 110,592 params per expert (442,368 total FFN params per layer)
Domain Prefix Router Linear Projection Lightweight projection (Linear(96, 2), 194 parameters)
Vocabulary Size 4,096 Custom compact Byte-Pair Encoding (BPE) vocabulary
Context Window 1,024 tokens Maximum supported sequence length
Storage Footprint (FP32) 9.05 MB $2,263,298 \times 4\text{ bytes}$ (Safetensors format)
Storage Footprint (FP16 / BF16) 4.53 MB $2,263,298 \times 2\text{ bytes}$
Storage Footprint (INT8) 2.26 MB $2,263,298 \times 1\text{ byte}$
Storage Footprint (INT4) 1.13 MB $2,263,298 \times 0.5\text{ bytes}$

Key Architectural Mechanisms

  1. Decoupled Dynamic Routing: Mathematical reasoning and factual linguistic commonsense require fundamentally different gradient dynamics. Meron-Nano-2.26M routes input tokens via an ultra-lightweight 194-parameter linear router to either the dedicated Math SwiGLU specialist (768 intermediate dimension, 910K parameters) or the Language MoE specialist (4 experts, 384 intermediate dimension each, 1.35M parameters, 689K active per token).
  2. Recurrent Deliberation: Rather than increasing physical layer depth (which inflates parameter counts beyond microcontroller memory thresholds), Meron passes token representations through its 2 physical blocks twice with learnable loop step embeddings. This yields 4 effective computation steps while keeping physical parameters minimal. Active parameters denote unique memory-resident weights, while FLOPs per token correspond to 4 effective layers.
  3. High Parameter Density: In sub-10M models, vocabulary embeddings typically consume a massive portion of the parameter budget. Meron ties input and output embeddings and employs a focused 4,096-token vocabulary, maximizing parameter allocation to feedforward reasoning circuits.

Intended Use

Meron-Nano-2.26M is designed for:

  • Edge AI and Microcontrollers: At 1.13 MB in INT4 quantization (or 2.26 MB in INT8), the model comfortably fits within the external PSRAM of embedded platforms such as the ESP32-S3 (8MB PSRAM) and STM32H7 microcontrollers.
  • Offline Arithmetic and Logic Engines: Provides fast, deterministic zero-shot multi-digit calculation and word problem resolution without network latency.
  • Parameter Efficiency Research: Serves as a reference baseline for extreme sub-10M parameter language model optimization, recurrent parameter sharing, and mixture-of-experts architectures.

Limitations

  • Factual Trivia Capacity: With only 910K active parameters, the model cannot store broad encyclopedic trivia (reflected in its ARC-Easy score of 27.54% versus ~38% for 10M-parameter models). Factual knowledge should be supplemented with external retrieval or tool use.
  • Language Scope: The model is trained exclusively on English-language corpora and is not evaluated for multilingual translation or generation.
  • Instruction Following: Meron-Nano-2.26M is a base completion model; it is not instruction-tuned or safety-aligned for conversational chat.

Usage

Meron-Nano-2.26M can be loaded directly using the official Hugging Face transformers library (trust_remote_code=True):

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

# Load tokenizer and model directly from Hugging Face
model_id = "Rizor1x/Meron-Nano-2.26M"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)

# Example 1: Arithmetic reasoning (automatically routed to Math Specialist)
prompt_math = "Sam had 43 rubber bands. A friend gave Sam 19 more. Afterward, Sam had"
inputs_math = tokenizer(prompt_math, return_tensors="pt")

routed = model.route_prompt(inputs_math["input_ids"]).item()
print(f"Routed to: {'Math Specialist' if routed == 0 else 'Commonsense MoE'}")

with torch.no_grad():
    outputs = model(**inputs_math)
    next_token_id = outputs.logits[0, -1].argmax().item()
    print("Predicted next token:", tokenizer.decode([next_token_id]))

# Example 2: Physical commonsense (automatically routed to Language MoE)
prompt_piqa = "Question: To separate egg yolks from whites, you should\nAnswer:"
inputs_piqa = tokenizer(prompt_piqa, return_tensors="pt")

routed_piqa = model.route_prompt(inputs_piqa["input_ids"]).item()
print(f"Routed to: {'Math Specialist' if routed_piqa == 0 else 'Commonsense MoE'}")

License

This model is licensed under the Apache 2.0 License.

Downloads last month
343
Safetensors
Model size
2.26M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including Rizor1x/Meron-Nano-2.26M