/ Модель

Характеристики

Контекст
262 144 токена
Параметры
3,4 млрд
Размер весов
9,2 ГБ
Лицензия
Своя лицензия
Архитектура
edgerock · dense
Опубликована
7 окт 2026

EdgeRock

Генерация текстаТекст → текст15 профессий

EdgeRock — компактная текстовая и визуальная модель Rock Matrix для рассуждений, программирования и агентных сценариев с постоянным объёмом памяти.

555скачиваний за 30 дней39лайковвеса обновлены23 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

EdgeRock — семейство компактных моделей Rock Matrix для рассуждений при постоянном объёме памяти. В репозитории rockmatrix-ai/EdgeRock опубликована версия EdgeRock-4B; архитектура — плотная авторегрессионная EdgeRockForCausalLM с 3,4 млрд параметров. Модель принимает текст и изображения, а генерирует текст. Рекуррентное состояние, локальное внимание и Rock Memory Anchors сохраняют историю в памяти фиксированного объёма по мере роста запроса; заявленный родной контекст — 262 144 токена.

Модель предназначена для математических и общих рассуждений, программирования, следования инструкциям, визуальных вопросов и агентных сценариев. README приводит результаты на математических, кодовых и визуальных бенчмарках и описывает выполнение на CPU и CUDA, включая оптимизированный путь для GPU Hopper. Репозиторий использует формат safetensors и лицензию, обозначенную в метаданных как other; конкретные условия лицензии следует проверять в карточке модели.

Сценарии применения

  • решение математических задач с пошаговыми рассуждениями
  • написание и анализ программного кода
  • ответы на вопросы по изображениям
  • выполнение инструкций в длинных диалогах
  • генерация текста для агентных рабочих процессов

Ограничения

Визуальная точность в приведённом README сравнении составляет 95,3% от среднего результата Qwen3.5-4B. Указаны отдельные требования для оптимизированного пути Hopper CUDA; точные условия лицензии необходимо сверить в карточке модели.

Для каких профессий подходит15

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Strong reasoning without a growing KV cache. EdgeRock is Rock Matrix's fixed-memory model family. EdgeRock-4B, the first open-source release, understands text and images and generates text for reasoning, coding, and agent workflows.

Recurrent state summarizes the context, local attention handles recent information, and Rock Memory Anchors (RMA) preserve selected distant details. These three parts keep persistent history at a fixed capacity as a request grows, leaving more GPU memory for concurrent requests and making long-running generation more economical.

  • Strong reasoning at constant history: EdgeRock-4B reaches 82.9% mean pass@1 on AIME 2024–2026, versus 18.8% for the strongest evaluated bounded-state baseline, RWKV-7 G1j in the 14B class. Capability results.
  • Fixed-capacity KV storage: EdgeRock-4B uses 72 MiB of attention KV per sequence and 97.76 MiB of total persistent history in the batch runtime, including FP16 recurrent matrices and auxiliary state. At 256K context, its BF16 attention KV is 99.1% smaller than Qwen3.5-4B's. Memory breakdown.
  • Sustained inference: On one Hopper 80GB GPU, EdgeRock-4B sustains 233.7 decode tokens/s at batch size 1 with 128K input and 128K output. At 32K input and 32K output, it delivers 6.42× Qwen3.5-4B's end-to-end output-token throughput, using each model's best measured batch size. Runtime results.
  • Text and image reasoning: EdgeRock-4B reaches 84.9% mean answer-level accuracy across six visual benchmarks, retaining 95.3% of Qwen3.5-4B's mean accuracy. Visual results.

EdgeRock-4B: AIME reasoning, constant attention-KV storage, and Hopper 80GB inference throughput

Throughput counts output tokens only; end-to-end elapsed time includes prefill. Runtime comparisons use BF16 weights/KV and ordinary autoregressive decoding, with FP32 GDN updates. EdgeRock-4B stores GDN state in FP32 at batch size 1 and FP16 for larger batches; Qwen3.5-4B stores it in FP32. The full tables below separate bounded-state models, source-model retention, and compact-model comparisons.

Architecture · Capability · Inference efficiency · Full benchmark tables · FAQ · Citation

Rock Matrix: toward Ultra-Fast Token

On-demand agents and software need fast generation, not just fast prompt processing. Our whitepaper connects three complementary directions:

  • EdgeRock: fixed memory. Strong text and image reasoning with a KV cache that stays constant as context grows.
  • DiffusionRock: parallel generation. Generate a block together, then refine it over several rounds. The route starts with fast text generation and extends to any-to-any multimodal generation.
  • SiliconRock: models in silicon. Build main weights into circuits and keep fixed-capacity state in on-chip SRAM, targeting one million tokens/s for a single user.

EdgeRock and DiffusionRock can run independently or work together. The whitepaper sets out the broader model-and-hardware roadmap; this repository releases EdgeRock-4B.

Read the whitepaper: PDF · Website

Quick start

python -m pip install -U huggingface_hub
hf download rockmatrix-ai/EdgeRock --local-dir EdgeRock \
  --exclude 'evaluation_data/*' 'vision/*'
cd EdgeRock
python -m venv .venv
source .venv/bin/activate
python -m pip install ./wheels/transformers-5.7.0.dev0-py3-none-any.whl -e .
python -I run.py demo --prompt 'Solve 17 × 23, explaining your reasoning.' --max-new-tokens 2048

The portable backend provides PyTorch execution on CPU and CUDA. The optimized Hopper CUDA path requires the additional dependencies in the inference guide. The fast profile uses BF16 weights/KV and FP32 GDN updates, with FP32 recurrent-state storage at batch size 1 and FP16 storage for larger batches.

Model directory

Choose a package by runtime. These links point to the existing model repositories; each card contains its installation instructions, license, and validation scope.

Original model and compact PyTorch

Model repositoryFormat / runtime
EdgeRock-4B (original)BF16 · text and images
EdgeRock-4B-NF4NF4 · included compact loader
EdgeRock-4B-INT8INT8 · included compact loader
EdgeRock-4B-FP8FP8 · included compact loader

The compact packages validate text inference on Hopper; see each card for its conversion checks. Original-model benchmark scores do not establish quantized-package accuracy or throughput.

MLX

Model repositoryFormat / runtime
EdgeRock-4B-MLX-8bit8-bit · group 64
EdgeRock-4B-MLX-6bit-g646-bit · group 64
EdgeRock-4B-MLX-4bit-g324-bit · group 32
EdgeRock-4B-MLX-4bit-mixedMixed 4-bit

These packages use the included EdgeRock MLX runtime. Functional checks were run on Linux CUDA; Apple Metal has not been tested.

GGUF and ONNX

Model repositoryFormat / runtime
EdgeRock-4B-GGUF7 profiles · custom EdgeRock backend
EdgeRock-4B-ONNX-Q4-g324-bit · ONNX Runtime CUDA
EdgeRock-4B-ONNX-Q4-CPU-g324-bit · ONNX Runtime CPU
EdgeRock-4B-ONNX-Q88-bit · ONNX Runtime CUDA

GGUF requires the custom EdgeRock RMA backend; stock llama.cpp/Ollama is not supported. Bundled native binaries target Linux x86-64 Hopper. ONNX packages require their supplied stateful runner; mobile ONNX Runtime has not been tested.

Mobile development previews

Model repositoryFormat / runtime
EdgeRock-4B-LiteRT-LM-INT8INT8 · LiteRT-LM CPU preview
EdgeRock-4B-LiteRT-LM-INT4INT4 · LiteRT-LM CPU preview

Development previews for Google AI Edge Gallery. Full-model long-memory checks and Android device validation are in progress; image and audio inputs are not included.

How Rock Memory Anchors work

A memory anchor is a learned key–value record stored in a fixed-capacity bank and retrieved by later queries after its source information leaves the local attention window. The writer determines what a record represents, admission determines which records remain, and retrieval determines how stored information contributes to the current computation.

EdgeRock-4B architecture: recurrent state, sliding-window attention, and Rock Memory Anchors

EdgeRock-4B converts the eight full-attention layers of its Qwen3.5-4B backbone while retaining 24 Gated DeltaNet layers and the feed-forward blocks:

[GDN, GDN, GDN, sliding-window attention ∥ RMA] × 8
History componentRoleCapacity
Recurrent stateSummarize the evolving contextFixed-dimensional matrices
Local attentionResolve recent token interactions1,024 positions
RMA anchor bankRetain individually retrievable distant records1,024 records per KV group
Pending candidatesCollect records for the next admission update256 positions

A learned writer produces dedicated key–value records. Every 256 tokens, admission retains the highest-priority records separately in each of four KV groups. Queries read the committed bank; newly selected records become visible in the next block. Retained records remain separate and unchanged. A query-dependent read and signed gate integrate retrieved information alongside local attention.

Every component of persistent history has fixed capacity. History storage is O(1) in sequence length, and bounded history access gives O(N) generation work for N output tokens at fixed model and memory dimensions. Total GPU memory also includes model weights, input/output buffers, CUDA Graphs, and workspace.

Capability

Strong reasoning within the bounded-state class

EdgeRock-4B brings strong mathematical reasoning to constant memory: 82.9% mean pass@1 on AIME 2024–2026, versus 18.8% for the strongest evaluated bounded-state baseline on AIME. Across all 29 text benchmarks, EdgeRock-4B leads on 24 and reaches a 77.2% equal-weight mean, 23.8 percentage points above AHN-GDN Qwen2.5 14B.

Bounded-state capability: all-benchmark and AIME means for 17 models

Bounded-state comparison. All scores are percentages. The 29-benchmark mean weights benchmarks equally; AIME weights the 2024–2026 editions equally. Bold marks column maxima, including ties. W2047 denotes Phi-3 Medium's configured 2,047-token attention window.

Model29-benchmark meanAIME meanMATH-500MMLU-ProLiveCodeBench v6IFEval
EdgeRock-4B77.282.997.579.861.688.0
AHN-GDN Qwen2.5 14B53.411.480.063.532.977.4
RWKV-7 G1j 13.3B52.318.877.247.630.777.8
Phi-3 Medium 4K Instruct (W2047)45.42.249.054.019.161.4
RWKV-7 G1j 7.2B43.58.164.246.221.366.5
RWKV-7 G1i 7.2B42.99.468.644.918.853.4
AHN-GDN Qwen2.5 3B40.94.266.242.814.658.6
RWKV-7 G1j 2.9B37.02.248.237.912.156.4
RWKV-7 G1i 2.9B35.31.843.837.811.643.1
QRWKV7 7B Instruct32.60.041.023.012.459.0
Falcon3-Mamba 7B Instruct31.61.241.826.19.364.7
RecurrentGemma 9B IT29.90.422.813.47.939.7
RWKV-7 G1j 1.5B28.41.131.416.66.346.2
RWKV-7 G1i 1.5B27.90.328.213.37.237.0
ARWKV-R1 7B18.10.133.28.82.610.4
xLSTM 7B16.00.025.04.62.234.0
ARWKV-R1 1.5B9.90.013.67.50.311.1

Competitive compact-model capability

EdgeRock-4B combines constant persistent history with competitive mathematics, knowledge, coding, and instruction following. It exceeds LFM2.5-2.6B on 28 of 29 text benchmarks. The comparison models below have growing history. AIME is the equal-weight 2024–2026 mean; bold marks column maxima.

ModelAIMEMMLU-ProSuperGPQAGPQA-DiamondLiveCodeBench v6IFEval
EdgeRock-4B82.979.860.064.661.688.0
Qwen3.5-4B86.177.752.877.375.789.6
Gemma4-E4B-it40.169.041.155.669.184.3
Nemotron-3-Nano-4B57.156.837.443.466.489.5
Phi-4-mini-reasoning38.938.532.248.035.345.7
MiniCPM5-2B87.865.340.967.783.386.3
LFM2.5-2.6B56.259.927.158.259.793.3

Reasoning retained after conversion

EdgeRock-4B retains 96.3% of its Qwen3.5-4B backbone's AIME mean after replacing full attention with a fixed-capacity history. It reaches 97.5% on MATH-500 and exceeds its backbone on eight text benchmarks, including MMLU-Pro, SuperGPQA, HumanEval, and MBPP.

Capability after conversion: EdgeRock-4B and Qwen3.5-4B across all 29 text benchmarks

Bars show EdgeRock-4B minus Qwen3.5-4B in percentage points, ordered from largest to smallest. The tables give absolute scores; bold marks the higher score in each paired comparison. Retained is EdgeRock-4B's score as a percentage of Qwen3.5-4B's.

BenchmarkEdgeRock-4BQwen3.5-4BRetained (%)
AIME 202486.789.696.8
AIME 202577.480.895.8
AIME 202684.687.996.2
HMMT Feb 202571.874.696.2
HMMT Nov 202569.878.389.1
HMMT Feb 202663.665.996.5
MATH-50097.598.099.5
AIME three-year mean82.986.196.3

Full source-model comparison

BenchmarkEdgeRock-4BQwen3.5-4B
GSM8K94.594.8
MATH-50097.598.0
AIME 202486.789.6
AIME 202577.480.8
AIME 202684.687.9
HMMT Feb 202663.665.9
MMLU88.285.2
MMLU-Pro79.877.7
MMLU-Redux92.089.8
CMMLU73.383.9
C-Eval74.684.0
GPQA-Diamond64.677.3
SuperGPQA60.052.8
WinoGrande77.987.1
HellaSwag64.980.6
ARC-C95.596.8
ARC-E98.098.4
BBH85.486.2
BBEH28.934.6
HumanEval96.786.0
MBPP87.871.0
LiveCodeBench v661.675.7
IFEval88.089.6
IFBench65.360.3
DROP77.276.0
MuSR60.464.9
LogiQA272.282.2
HMMT Feb 202571.874.6
HMMT Nov 202569.878.3

Visual reasoning

EdgeRock-4B supports text and image reasoning and reaches 84.9% equal-weight mean visual accuracy, retaining 95.3% of Qwen3.5-4B's mean accuracy.

Answer-level accuracy (%) on six visual benchmarks. Retained is EdgeRock-4B's score divided by Qwen3.5-4B's score. Bold marks the higher accuracy in each row.

BenchmarkEdgeRock-4BQwen3.5-4BRetained (%)
MMBench EN88.390.198.0
MMBench CN89.091.497.4
POPE85.488.896.2
MME83.086.895.6
ChartQA83.990.392.9
AI2D80.087.092.0
Equal-weight mean84.989.195.3

MME answer accuracy and standard MME points measure different aspects of performance. Standard MME scores are shown separately below.

MME metricEdgeRock-4BQwen3.5-4B
Perception (points)1,600.41,738.3
Cognition (points)728.2751.8
Total (points)2,328.72,490.1

Distant memory that reasoning can use

Across 256 contexts of 16K–130,000 input tokens, EdgeRock-4B answers 94.1% of distant-memory queries and gets all four answers correct in 80.1% of contexts. The evaluation covers retrieval, state updates, cross-document combination, and variable binding.

Distant-memory reasoning across adaptation stages and with RMA enabled or disabled

Adaptation stages. Query accuracy measures individual answers; complete-context success requires all four answers to be correct. Each stage uses the same 256-context, 1,024-query evaluation.

Adaptation stageQuery accuracy (%)All four correct (%)
RMA adaptation (M0)79.454.7
Joint adaptation (R)96.187.9
Supervised fine-tuning (S)93.882.4
Reinforcement learning (RLVR)94.180.1

RMA contribution. Both settings retain the final model's recurrent backbone and local attention. Enabling all eight RMA modules restores access to distant evidence.

Final-model settingCorrect queries / totalQuery accuracy (%)Complete contexts / totalAll four correct (%)
RMA enabled964 / 1,02494.1205 / 25680.1
RMA disabled4 / 1,0240.40 / 2560.0

Results by task. Each task contains 64 contexts and requires four correct answers per context.

TaskComplete contexts / totalAll four correct (%)
Exact retrieval58 / 6490.6
State-update interpretation56 / 6487.5
Cross-document combination57 / 6489.1
Variable binding34 / 6453.1
All tasks205 / 25680.1

Paired evidence changes. Success requires both answers in a pair to be correct.

Change to distant evidenceCorrect pairs / totalPair accuracy (%)
Answer should change230 / 25689.8
Answer should stay the same247 / 25696.5

Inference efficiency

All results below use one Hopper 80GB GPU, BF16 weights and KV, ordinary autoregressive decoding, and GPU-resident state. EdgeRock-4B uses FP32 GDN updates, with FP32 state storage at batch size 1 and FP16 storage for larger batches. Qwen3.5-4B uses FP32 GDN state. EdgeRock combines CUDA Graphs with fused BF16 operations; shared storage for original and packed projections removes 4.95 GiB of duplicate weights and enables batch size 512 at unchanged history capacity.

Single-request decoding and serving throughput

Long-context inference: single-request decoding and best-batch output-token throughput

Single request: 128K input + 128K output, batch size = 1. Decode rate excludes prefill and measures subsequent output tokens after the first token, including sampling and state updates. EdgeRock-4B sustains 233.7 tokens/s, 1.54× Qwen3.5-4B's rate.

ModelDecode tokens/s
EdgeRock-4B233.7
Qwen3.5-4B151.3
Gemma 4 E4B133.8
MiniCPM5-2B164.5
LFM2.5-2.6B229.6

At the same 256K total length with 254K input + 2K output, EdgeRock-4B reaches 226.6 decode tokens/s versus Qwen3.5-4B's 133.9 (1.69×).

Best-batch serving: 32K output. Cells give output tokens/s and the best measured batch size in parentheses. The numerator counts output tokens only; elapsed time includes prefill. At 32K input + 32K output, EdgeRock-4B delivers 6.42× Qwen3.5-4B's end-to-end output throughput.

Model4K input8K input16K input32K input
EdgeRock-4B12,479 (512)12,325 (512)12,330 (512)12,124 (512)
Qwen3.5-4B3,103 (64)2,853 (64)2,472 (64)1,889 (64)
Gemma 4 E4B3,940 (128)3,432 (128)2,880 (128)2,196 (64)
MiniCPM5-2B3,152 (64)2,938 (64)2,575 (32)2,117 (32)
LFM2.5-2.6B1,673 (64)1,771 (64)1,695 (32)1,727 (64)

Across these four workloads, the mean throughput ratio is 4.94× relative to Qwen3.5-4B and 7.18× relative to LFM2.5-2.6B. Each model uses its best measured batch size at each input length.

Concurrency scaling

Concurrency scaling: aggregate and per-sequence decode rates at batch sizes 32–512

EdgeRock-4B runs 512 concurrent sequences across all 16 input/output pairs formed from 4K, 8K, 16K, and 32K lengths. Weighted decode throughput divides pooled output tokens after the first token by pooled decode time. Per-sequence rate divides aggregate throughput by batch size. Memory columns report the maximum over the corresponding workloads.

Batch sizeWeighted decode tokens/sPer-sequence tokens/sPeak allocated GiBPeak reserved GiB
324,128129.018.9419.49
646,685104.520.1621.80
1289,04970.726.7427.92
25611,23143.939.9041.77
32011,07434.646.4950.69
38412,09931.553.0657.27
51212,49724.461.2666.97

Short-context decoding

4K input + 2K output. Decode rate excludes prefill. Weights and KV are BF16. GDN updates use FP32; state storage is FP32 at batch size 1 and FP16 for larger batches.

Batch sizeDecode tokens/sPer-sequence tokens/sPeak allocated GiB
1230229.614.27
2358178.814.27
4692172.914.27
81,322165.214.40
162,442152.615.21
324,053126.716.84
646,698104.720.10
1289,06670.826.60
25611,10043.439.62
32011,06234.646.14
38412,08631.552.64
51212,48124.460.71

Constant history and GPU memory

GPU memory scaling: concurrency and input length at fixed batch sizes

EdgeRock-4B's attention KV stays O(1) in sequence length. A fixed 72 MiB capacity per sequence is 99.1% smaller than Qwen3.5-4B's full-attention KV at 256K context. The following values are configuration-derived BF16 attention-KV capacities, excluding model weights and recurrent state.

Model32K context (MiB)64K context (MiB)128K context (MiB)256K context (MiB)History growth
EdgeRock-4B72727272O(1)
Qwen3.5-4B1,0242,0484,0968,192O(N)

Persistent history per sequence in the batch runtime. All entries have fixed capacity; the local ring holds 1,023 preceding positions while the decoder supplies the current token.

ComponentMiB per sequence
Committed RMA anchors32.00
Pending RMA candidates8.00
Local-window KV31.97
FP16 recurrent matrices24.00
Convolution state1.50
Metadata0.29
Total persistent history97.76

Measured GPU allocation includes model weights, history, input/output buffers, and execution workspace. A single 128K-input/128K-output request peaks at 16.02 GiB; the batch-size-512 long-generation sweep peaks at 61.26 GiB. The figure shows concurrency scaling at 4K input + 2K output and allocation across 4K–32K input with 32K output.

Runtime protocol. 1K = 1,024 tokens. EdgeRock configurations use three independent runs; per-workload values are medians, and weighted batch rates pool the 16 length pairs and three repetitions. Timing excludes loading, warmup, tokenization, and text decoding. Workloads use synthetic tokens, a separate 256-token warmup, EOS disabled, temperature 1.0, top-k 20, top-p 0.95, and presence penalty 1.5. In the batch grid, eight continuations share each prompt and retain independent histories. Batch size denotes submitted requests; EdgeRock maintains target concurrency, while vLLM schedules within its cache budget.

Full text benchmark tables

All 29 text benchmarks are expanded below, with EdgeRock-4B in every table. Scores use each benchmark's primary metric on a 0–100 scale. Bold marks the highest score within each comparison column, including ties. Bounded-state and growing-history comparisons remain separate.

Bounded-state comparison: all 29 benchmarks

The comparison contains EdgeRock-4B and 16 bounded-state baselines. Phi-3 Medium uses a configured 2,047-token attention window.

Mathematics

ModelGSM8KMATH-500AIME 2024AIME 2025AIME 2026HMMT Feb 2025HMMT Nov 2025HMMT Feb 2026
EdgeRock-4B94.597.586.777.484.671.869.863.6
ARWKV-R1 1.5B24.813.60.00.00.00.40.81.1
RWKV-7 G1i 1.5B60.328.20.00.40.41.75.00.0
RWKV-7 G1j 1.5B57.231.41.22.10.01.74.20.0
RWKV-7 G1i 2.9B71.743.81.71.72.11.75.00.8
RWKV-7 G1j 2.9B74.148.20.44.61.72.15.00.4
AHN-GDN Qwen2.5 3B83.866.27.12.13.32.96.74.9
ARWKV-R1 7B51.233.20.00.00.40.81.71.1
Falcon3-Mamba 7B Instruct61.441.81.70.81.20.85.42.7
QRWKV7 7B Instruct65.541.00.00.00.00.06.70.0
xLSTM 7B43.425.00.00.00.01.75.01.5
RWKV-7 G1i 7.2B85.168.68.811.77.92.15.03.4
RWKV-7 G1j 7.2B81.864.28.311.24.64.24.20.8
RecurrentGemma 9B IT51.722.80.40.80.01.25.41.9
RWKV-7 G1j 13.3B94.677.217.527.511.23.35.812.1
AHN-GDN Qwen2.5 14B93.680.013.810.010.47.510.04.9
Phi-3 Medium 4K Instruct85.349.03.33.30.06.72.53.0

Knowledge and science

ModelMMLUMMLU-ProMMLU-ReduxCMMLUC-EvalGPQA-DiamondSuperGPQA
EdgeRock-4B88.279.892.073.374.664.660.0
ARWKV-R1 1.5B17.47.517.915.615.213.15.8
RWKV-7 G1i 1.5B49.713.355.433.633.026.817.7
RWKV-7 G1j 1.5B49.316.653.835.333.326.316.1
RWKV-7 G1i 2.9B63.637.863.436.132.526.821.6
RWKV-7 G1j 2.9B64.737.958.937.936.531.821.8
AHN-GDN Qwen2.5 3B62.742.865.762.462.931.323.0
ARWKV-R1 7B32.38.835.229.029.013.18.8
Falcon3-Mamba 7B Instruct57.726.164.833.435.220.712.2
QRWKV7 7B Instruct64.623.034.157.756.08.615.4
xLSTM 7B19.64.637.916.919.512.15.3
RWKV-7 G1i 7.2B69.444.973.549.851.630.325.7
RWKV-7 G1j 7.2B67.546.272.750.848.936.925.3
RecurrentGemma 9B IT55.513.455.043.441.724.719.5
RWKV-7 G1j 13.3B76.747.681.867.466.342.431.8
AHN-GDN Qwen2.5 14B77.263.583.575.074.240.935.5
Phi-3 Medium 4K Instruct76.354.081.453.351.326.825.6

Commonsense and reasoning

ModelWinoGrandeHellaSwagARC-CARC-EBBHBBEH
EdgeRock-4B77.964.995.598.085.428.9
ARWKV-R1 1.5B31.47.419.622.39.81.6
RWKV-7 G1i 1.5B46.633.468.683.027.84.6
RWKV-7 G1j 1.5B49.324.666.280.831.45.0
RWKV-7 G1i 2.9B57.462.781.992.230.34.5
RWKV-7 G1j 2.9B58.165.983.391.639.56.5
AHN-GDN Qwen2.5 3B61.752.376.686.139.54.6
ARWKV-R1 7B34.410.047.456.816.62.4
Falcon3-Mamba 7B Instruct57.538.674.887.632.83.4
QRWKV7 7B Instruct61.848.086.395.437.41.9
xLSTM 7B28.37.925.128.212.83.3
RWKV-7 G1i 7.2B60.470.284.594.538.87.0
RWKV-7 G1j 7.2B59.471.783.794.541.47.7
RecurrentGemma 9B IT56.445.873.387.235.53.2
RWKV-7 G1j 13.3B72.177.491.896.348.77.7
AHN-GDN Qwen2.5 14B74.067.991.594.052.05.3
Phi-3 Medium 4K Instruct79.674.089.895.353.33.1

Code and instruction following

ModelHumanEvalMBPPLiveCodeBench v6IFEvalIFBench
EdgeRock-4B96.787.861.688.065.3
ARWKV-R1 1.5B4.35.40.311.18.3
RWKV-7 G1i 1.5B42.136.67.237.014.7
RWKV-7 G1j 1.5B41.538.66.346.216.0
RWKV-7 G1i 2.9B58.549.211.643.117.0
RWKV-7 G1j 2.9B58.548.212.156.417.3
AHN-GDN Qwen2.5 3B67.749.014.658.626.3
ARWKV-R1 7B16.521.22.610.48.3
Falcon3-Mamba 7B Instruct34.139.29.364.718.7
QRWKV7 7B Instruct62.230.212.459.021.3
xLSTM 7B36.69.22.234.014.7
RWKV-7 G1i 7.2B65.259.018.853.417.7
RWKV-7 G1j 7.2B72.658.021.366.518.3
RecurrentGemma 9B IT37.219.07.939.712.7
RWKV-7 G1j 13.3B86.067.430.777.827.3
AHN-GDN Qwen2.5 14B75.668.632.977.433.3
Phi-3 Medium 4K Instruct73.859.419.161.422.0

Reading and multi-step reasoning

ModelDROP F1MuSRLogiQA2
EdgeRock-4B77.260.472.2
ARWKV-R1 1.5B5.68.617.5
RWKV-7 G1i 1.5B23.019.338.7
RWKV-7 G1j 1.5B24.929.136.1
RWKV-7 G1i 2.9B24.631.947.6
RWKV-7 G1j 2.9B30.734.545.4
AHN-GDN Qwen2.5 3B32.837.850.1
ARWKV-R1 7B11.115.426.8
Falcon3-Mamba 7B Instruct19.929.141.4
QRWKV7 7B Instruct21.22.633.2
xLSTM 7B29.019.320.0
RWKV-7 G1i 7.2B33.349.653.1
RWKV-7 G1j 7.2B34.248.656.4
RecurrentGemma 9B IT37.135.240.2
RWKV-7 G1j 13.3B51.551.466.6
AHN-GDN Qwen2.5 14B66.556.472.3
Phi-3 Medium 4K Instruct51.551.162.7

Comparison with growing-history models: all 29 benchmarks

EdgeRock-4B retains constant persistent history; the eleven comparison models retain history that grows with sequence length.

Mathematics

ModelGSM8KMATH-500AIME 2024AIME 2025AIME 2026HMMT Feb 2025HMMT Nov 2025HMMT Feb 2026
EdgeRock-4B94.597.586.777.484.671.869.863.6
Qwen3.5-4B94.898.089.680.887.974.678.365.9
Gemma4-E2B-it90.178.838.333.833.821.717.520.1
MiniCPM5-2B93.697.087.585.490.476.774.663.3
LFM2.5-2.6B91.092.763.456.348.934.742.932.9
Qwen3.5-2B87.686.841.234.235.426.223.325.4
Granite4.2-3B93.897.885.078.882.975.872.559.5
Phi-4-mini-reasoning93.691.645.432.538.825.028.724.6
Gemma4-E4B-it91.388.242.140.038.325.432.928.8
Nemotron-3-Nano-4B92.494.860.856.753.840.047.136.4
Granite4.2-8B94.498.088.387.991.781.786.773.9
MiniCPM4.1-8B93.696.477.170.070.858.359.649.2

Knowledge and science

ModelMMLUMMLU-ProMMLU-ReduxCMMLUC-EvalGPQA-DiamondSuperGPQA
EdgeRock-4B88.279.892.073.374.664.660.0
Qwen3.5-4B85.277.789.883.984.077.352.8
Gemma4-E2B-it72.247.078.260.261.246.534.1
MiniCPM5-2B79.665.385.379.278.367.740.9
LFM2.5-2.6B75.359.981.757.259.558.227.1
Qwen3.5-2B72.562.879.568.268.754.539.3
Granite4.2-3B77.266.481.659.160.858.639.5
Phi-4-mini-reasoning77.538.578.345.342.448.032.2
Gemma4-E4B-it81.269.086.468.768.655.641.1
Nemotron-3-Nano-4B75.856.881.554.656.443.437.4
Granite4.2-8B78.672.086.355.158.461.645.7
MiniCPM4.1-8B82.767.087.880.279.051.540.6

Commonsense and reasoning

ModelWinoGrandeHellaSwagARC-CARC-EBBHBBEH
EdgeRock-4B77.964.995.598.085.428.9
Qwen3.5-4B87.180.696.898.486.234.6
Gemma4-E2B-it63.250.989.294.880.311.6
MiniCPM5-2B69.852.291.997.082.125.4
LFM2.5-2.6B67.940.791.696.576.713.1
Qwen3.5-2B71.559.391.495.579.114.9
Granite4.2-3B74.067.492.497.185.524.5
Phi-4-mini-reasoning75.862.690.294.472.512.9
Gemma4-E4B-it76.553.594.397.784.117.4
Nemotron-3-Nano-4B65.646.391.996.779.310.8
Granite4.2-8B76.263.190.994.688.931.5
MiniCPM4.1-8B78.249.893.497.486.614.0

Code and instruction following

ModelHumanEvalMBPPLiveCodeBench v6IFEvalIFBench
EdgeRock-4B96.787.861.688.065.3
Qwen3.5-4B86.071.075.789.660.3
Gemma4-E2B-it90.979.659.682.429.0
MiniCPM5-2B97.694.883.386.364.0
LFM2.5-2.6B92.973.659.793.356.2
Qwen3.5-2B54.935.425.081.543.7
Granite4.2-3B97.092.675.992.274.3
Phi-4-mini-reasoning79.964.035.345.714.3
Gemma4-E4B-it93.979.269.184.334.7
Nemotron-3-Nano-4B90.972.266.489.557.7
Granite4.2-8B96.395.485.694.677.0
MiniCPM4.1-8B98.292.270.473.423.7

Reading and multi-step reasoning

ModelDROP F1MuSRLogiQA2
EdgeRock-4B77.260.472.2
Qwen3.5-4B76.064.982.2
Gemma4-E2B-it72.958.959.4
MiniCPM5-2B76.065.373.7
LFM2.5-2.6B72.360.463.2
Qwen3.5-2B73.761.366.3
Granite4.2-3B83.765.169.5
Phi-4-mini-reasoning50.656.758.5
Gemma4-E4B-it72.962.272.6
Nemotron-3-Nano-4B72.658.267.9
Granite4.2-8B76.962.473.8
MiniCPM4.1-8B78.364.575.7

Capability evaluation protocol

Most tasks report accuracy; DROP uses F1 in the 29-benchmark mean. The aggregate weights benchmarks equally after each benchmark’s required subject or subtask aggregation. AIME pools retained responses within each edition and weights the three editions equally. Repetition counts vary by model and benchmark.

EdgeRock text evaluation uses temperature 0.6, top-p 0.95, top-k 20, presence penalty 0, seed 20260923, and a 131,072-token response cap. It uses 64 independent responses per item for benchmarks with fewer than 100 questions, 16 for 100–10,000 questions, and one above 10,000. Visual and memory evaluations use the reference arithmetic path. See Appendix A of the report for verification and scoring details.

Frequently asked questions

What stays constant as context grows?

EdgeRock-4B's persistent history per sequence stays constant: recurrent state, the 1,024-position local window, the 1,024-record anchor bank per KV group, and pending candidates all have fixed capacity. Attention KV occupies 72 MiB per sequence; total persistent history occupies 97.76 MiB in the batch runtime, including FP16 recurrent matrices and auxiliary state. Model weights and execution buffers are accounted for separately in the memory breakdown above.

How do Rock Memory Anchors preserve distant information?

Rock Memory Anchors retain selected information as individually retrievable key–value records after the source tokens leave local attention. A learned writer creates records, admission selects records for the fixed-capacity bank, and later queries retrieve them. Reads use the committed bank; updates take effect at the next block. EdgeRock-4B achieves 94.1% query accuracy in the distant-memory evaluation.

How does EdgeRock-4B compare with other reasoning models?

EdgeRock-4B reaches 82.9% mean pass@1 on AIME 2024–2026, compared with 18.8% for the strongest evaluated bounded-state baseline. Relative to its Qwen3.5-4B backbone, EdgeRock-4B retains 96.3% of the AIME mean while making persistent history constant. Comparisons with MiniCPM5-2B, LFM2.5-2.6B, and other compact models show capability across mathematics, knowledge, coding, and instruction following. The tables above present these three comparison groups separately.

Repository guide

Citation

@techreport{edgerock2026,
  title = {EdgeRock: Strong Reasoning at Constant Memory},
  author = {Ji, Huishan and Zhang, Weiming and Ye, Qirui and Xu, Jinchao and Guo, Yike and Xu, Hua},
  institution = {Rock Matrix},
  year = {2026},
  eprint = {2610.10118},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.10118}
}

License

Runtime code is distributed under Apache-2.0. Model weights are governed by the model license. See NOTICE for attribution and third-party terms.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
EdgeRockForCausalLM
Ревизия весов
f8c04fa

0 моделей