Hybrid recurrent language models are turning context memory into a mixed state-and-KV system

Qwen3.5, Nemotron 3 and the Mamba line are making recurrent and linear-attention layers a practical part of large language models. The serving consequence is not simply “less KV cache”: production runtimes must now manage fixed-size recurrent state and sequence-length-dependent attention state together, with different precision, checkpointing, branching, batching and recovery rules.

Share this article

Facebook WhatsApp X LinkedIn Telegram Reddit Email

Evidence confidence98%
Hype riskMedium-high
Adoption stageRapid across Qwen3.5, NVIDIA Nemotron 3, Jamba, Mamba and recurrent-model research
The 60-second answer

What is happening?

A standard Transformer remembers prior tokens by keeping keys and values for every attention layer. That cache grows as the conversation grows. Recurrent and linear-attention layers remember the past differently: they update a fixed-size state as tokens arrive. Hybrid models combine both ideas. Most layers may keep a compact recurrent state while occasional attention layers still keep ordinary KV tensors. This can reduce long-context memory and decode cost, but it also creates a new systems problem. The server must know which state belongs to each layer, how to copy or restore it, which precision is safe, how to branch a conversation, and when a supposedly fast kernel has fallen back to a slower implementation.

Why now

Why this trend is moving

  • 01Qwen3.5 and Qwen3.6 expose a 3:1 Gated DeltaNet/full-attention stack in mainstream Transformers tooling.
  • 02NVIDIA Nemotron 3 Super and Ultra bring hybrid Mamba-attention architecture to large open reasoning and agentic models.
  • 03Mamba-3 improves recurrent state tracking while keeping an inference-first design goal.
  • 04Hybrid models retain periodic full attention for retrieval and global interaction while reducing the number of layers whose KV memory grows with sequence length.
  • 05Serving libraries increasingly need model-specific cache classes that combine recurrent state, convolution state and KV tensors.
  • 06Long-running agents and multimodal inputs make context memory a capacity problem even when most layers no longer allocate ordinary KV cache.
  • 07Kernel availability and state precision can decide whether a theoretically efficient hybrid model is actually faster on a given accelerator.
What it changes

What this means in practice

  • Context length is no longer enough to estimate memory; capacity models need separate recurrent-state and attention-KV terms.
  • A model checkpoint must include the exact layer-type layout and cache-state schema because hybrid state is architecture-specific.
  • Prefix reuse for recurrent layers generally requires a saved state at the exact prefix boundary rather than arbitrary block lookup alone.
  • Branching an agent trajectory may require copying recurrent state plus the attention KV prefix, so fork cost should be measured explicitly.
  • Recurrent-state precision is a quality control, not merely a memory optimization, because numerical drift can accumulate across long sequences.
  • Fast-path kernel support must be part of qualification; reference fallbacks can erase the expected throughput advantage.
  • Long-context quality still requires retrieval, state-tracking and extrapolation tests because lower asymptotic cost does not guarantee faithful memory.
Engineering Lens

What the headline leaves out

This is the practical technical view: how the system is put together, where it can fail, and what a real deployment asks from the team running it.

01

How it is built

A production hybrid-recurrent serving stack starts by reading the model architecture into an explicit state schema: which layers use recurrence or linear attention, which use full attention, which convolution or local states accompany them, and what dtype and layout each state requires. Prefill runs the complete prompt through both paths. Recurrent layers collapse the consumed prefix into fixed-size state tensors while attention layers append KV blocks. The request scheduler tracks both state classes separately, including per-sequence bytes, device placement and copy cost. Continuous batching must update recurrent states in the correct sequence slots while attention pages follow their own allocator. Prefix checkpoints bind a token boundary to recurrent state, attention KV identity, model revision and tokenizer. Forking duplicates or references both state classes with copy-on-write where supported. Offload and pause/resume policies account for small but latency-sensitive recurrent states as well as larger KV blocks. Observability reports state dtype, fallback kernels, cache bytes, restore time, numerical anomalies and long-context quality. The deployment keeps a Transformer or known-good engine baseline for workloads where the hybrid fast path is unsupported or loses quality.

How it works in practice

Hybrid recurrent language models replace a single KV-cache mental model with a mixed state system. Recurrent or linear-attention layers compress the consumed prefix into fixed-size state, while periodic full-attention layers still retain token-indexed KV tensors. Production serving therefore has to qualify two memory semantics at once: sequential state that is cheap to extend but difficult to edit or randomly splice, and attention state that is expensive to grow but naturally supports token-addressable reuse. The engineering target is not the smallest cache. It is the best accepted-task quality, latency and capacity under the actual layer mix, state precision, kernel support and workload branching behavior.

Architecture Constraints Benchmarks Security Deployment
The full system

How the parts work together

The headline technology is only one part of the product. Reliability, security and cost are usually decided by the handoffs around it.

  1. 01

    Inventory the layer mix

    Read the exact checkpoint configuration and classify every token-mixing layer as recurrent or linear attention, full attention, local attention or another model-specific state mechanism.

  2. 02

    Define the state schema

    Record recurrent matrices, convolution buffers, attention KV tensors, positions, dtypes, layouts, model revision, tokenizer and adapter identity as one versioned cache contract.

  3. 03

    Qualify the fast kernels

    Verify that Mamba, DeltaNet or related fused kernels actually execute on the target accelerator instead of silently falling back to slower reference operations.

  4. 04

    Prefill both memory paths

    Consume the prompt through recurrent updates and attention layers together, then measure how much state each path leaves resident after prefill.

  5. 05

    Advance recurrent state

    Update fixed-size state in-place for each active sequence while preserving the correct slot, dtype and numerical ordering.

  6. 06

    Append attention KV

    Allocate and append paged KV blocks only for the attention layers, tracking their context-dependent growth separately from recurrent-state bytes.

  7. 07

    Schedule mixed batches

    Batch requests by complete state compatibility and account for recurrent-state copies, attention-page pressure, prompt lengths and decode readiness.

  8. 08

    Checkpoint stable prefixes

    At useful token boundaries, snapshot recurrent state together with the matching attention prefix and exact execution identity so future turns can resume without recomputing the entire prefix.

  9. 09

    Fork trajectories deliberately

    When an agent or search procedure branches, clone or reference both recurrent and attention state using copy-on-write only where the runtime guarantees correctness.

  10. 10

    Pause, offload and restore

    Move inactive state according to expected pause duration, restore latency and device pressure, recognizing that small recurrent states and large attention KV have different optimal tiers.

  11. 11

    Protect state precision

    Keep recurrent-state and KV-cache precision independently qualified because recurrent numerical errors can accumulate through many sequential updates.

  12. 12

    Observe state health

    Record state bytes, update latency, KV occupancy, fallback kernels, snapshot age, restore time, fork cost, numerical anomalies and long-context quality by model and workload.

  13. 13

    Test context extension

    Evaluate retrieval and state tracking beyond the training window; do not assume linear computational scaling implies stable long-context behavior.

  14. 14

    Canary engine changes

    Treat kernel, cache-layout, quantization and model-server upgrades as correctness changes and compare them against pinned reference traces before promotion.

  15. 15

    Retain a fallback path

    Keep a qualified baseline for hardware, adapters or workloads where the hybrid fast path is unsupported, unstable or slower than a conventional attention model.

Back-of-the-envelope planning

Estimate the limits before the demo

These equations are planning tools rather than substitutes for testing. They help expose a design that is unlikely to fit its hardware, budget, reliability or risk limits.

Mixed context-state memory

Memory ≈ weights + active_sequences × recurrent_state_bytes + active_tokens × attention_KV_bytes_per_token + workspace

Hybrid models reduce the number of token-linear cache layers, but they still pay fixed recurrent state per sequence and KV growth in the remaining attention layers.

  • Estimate by layer type rather than headline context window.
  • Include convolution state and allocator slack.

State checkpoint value

Checkpoint value = avoided recompute time - snapshot write, storage, restore and invalidation cost

A recurrent state snapshot is useful only when the same exact prefix is likely to resume and restoring both state classes is cheaper than replaying the prefix.

  • Measure by agent pause duration.
  • Invalidate on model, tokenizer or adapter change.

Hybrid long-context goodput

Goodput = accepted completions inside latency and quality SLO / accelerator time

Tokens per second can hide retrieval failures, state drift or kernel fallbacks at long context.

  • Segment by context length and branch count.
  • Report p95 completion as well as median throughput.

Fork amplification

Fork amplification = total state bytes after branching / state bytes before branching

Search and multi-agent trees can erase memory savings if every child eagerly copies recurrent state and attention KV.

  • Measure eager copy versus copy-on-write.
  • Track retained dead branches until garbage collection.

Fast-path realization

Fast-path realization = requests executed with qualified recurrent kernels / requests routed to the hybrid model

Architectural efficiency is irrelevant when unsupported hardware or packaging sends production traffic through slow fallback implementations.

  • Alert on reference-kernel fallback.
  • Break down by accelerator generation and container image.
Architecture

The important change is the memory contract, not the model-family label

A pure Transformer gives the serving system a relatively uniform rule: each attention layer appends keys and values as the sequence grows. The details vary by grouped-query attention, sliding windows, precision and paging, but the state remains token-indexed and context-dependent.

A recurrent or state-space layer uses a different contract. The consumed prefix is folded into a compact state that is updated sequentially. The state does not grow with every additional token in the same way that KV tensors do. That changes decode memory and often decode compute, but it also removes the simple assumption that any arbitrary old token block can be reconstructed from independent cache pages.

Current large models increasingly combine both contracts. Production systems should therefore stop treating cache as one homogeneous tensor family and instead represent the exact state semantics of each layer.

Model design

Periodic attention is the quality escape hatch that makes recurrence practical at scale

Recurrent and linear-attention models are attractive because their per-token state can stay bounded, yet fully compressing a long prefix into fixed state creates a difficult information bottleneck. Retrieval, exact copying and synchronous interaction between distant tokens have historically been strong areas for softmax attention.

Hybrid architectures keep recurrence for most layers and insert full attention periodically. Qwen3.5 documents three Gated DeltaNet layers for each full-attention layer. Nemotron-H and Nemotron 3 use their own Mamba-attention schedules. Jamba established another Transformer-Mamba mixture.

The result is a deliberate compromise: the model preserves some token-addressable global interaction while reducing how many layers maintain sequence-length-dependent KV. Serving capacity depends on that ratio and on the exact attention implementation, not on a generic label such as “Mamba model.”

Mechanics

Recurrent state is compact because the past is continuously rewritten

A simplified recurrence carries a state h from one token to the next. The current token controls how new information is written and how old information decays or is replaced. Mamba makes those dynamics input-dependent, while DeltaNet-style systems use matrix-valued associative updates and delta rules.

This compactness is not magic storage compression with perfect random access. The state is a learned summary produced by a sequence of updates. If an earlier token changes, the mathematically correct downstream state generally requires replay from a checkpoint before that change.

That distinction matters for editing, speculative branches, prompt mutation and retrieval pipelines that frequently rewrite earlier context. The workload may be inexpensive to extend and expensive to surgically modify.

Runtime

The cache object must become a typed state schema

Hybrid serving needs more than an array of KV block pointers. A sequence can own recurrent matrices, short convolution buffers, attention keys and values, position information and model-specific metadata at the same time.

Hugging Face already exposes dedicated Mamba cache classes, and hybrid model implementations expose composite cache structures. This is a useful architectural signal: serving frameworks cannot safely assume that all decoder history is represented as standard past_key_values.

A production schema should be versioned and bound to the exact checkpoint, tokenizer, adapter, quantization mode, layer schedule, recurrent-state dtype and attention-cache layout. Restoring a structurally compatible but semantically different state can produce plausible-looking wrong output rather than an obvious crash.

Reuse

Prefix caching changes from block lookup to state checkpointing

Transformer prefix caching works well with content-addressed token blocks because later attention can consume previously materialized KV for an exact prefix. Recurrent layers need the accumulated state at the matching token boundary.

A useful hybrid prefix checkpoint therefore contains both pieces: recurrent state after token N and the attention KV prefix through token N. The checkpoint key must bind canonical tokens and every execution parameter that changes the state transition.

Checkpoint granularity creates a tradeoff. Frequent snapshots improve reuse and editing recovery but increase storage and write traffic. Sparse snapshots reduce overhead but force more replay after a branch or context edit.

  • Token-boundary identity
  • Model and tokenizer revision
  • Adapter and quantization identity
  • Recurrent-state dtype and layout
  • Attention KV layout and position
  • Multimodal input identity where applicable
Agents

Agent branching exposes the hidden cost of compact state

Long-running agents increasingly fork work: generate several plans, launch subagents, explore alternative tool paths or retain a parent trajectory while children run. Every live branch needs a logically independent model state.

For a hybrid model, that means preserving both the recurrent state and the attention prefix. The recurrent portion may be fixed-size, but eager copies across many layers and branches still consume bandwidth and memory. The attention portion can dominate at long context.

Copy-on-write and immutable shared prefixes can reduce amplification, but only if the runtime knows which state regions remain read-only and when a child begins mutating them. Measure branch creation, branch deletion and restore latency as first-class serving operations.

Scheduling

Continuous batching has to keep recurrent slots aligned with sequence identity

Paged KV systems can move block tables while keeping token history logically stable. Recurrent state is usually stored in fixed tensors indexed by batch or sequence slot. When requests finish, pause or compact, a scheduler must move or remap those states without pairing one sequence with another sequence’s memory.

Dynamic batching therefore has a correctness dimension beyond utilization. Sequence compaction, preemption and worker migration need explicit state-copy tests. A single slot-mapping defect can contaminate outputs while remaining numerically well-formed.

Schedulers should expose separate counters for recurrent-state moves, KV-page moves and restore operations so operators can identify whether a throughput regression comes from compute, memory pressure or state orchestration.

Numerics

Recurrent-state precision can accumulate error across the whole trajectory

KV-cache quantization stores representations that future attention reads, but recurrent-state quantization is repeatedly fed back into the next state update. Small numerical differences can therefore influence many subsequent tokens.

The safe dtype for weights is not automatically the safe dtype for recurrent state. Some runtimes expose state precision separately for exactly this reason. Teams should qualify long rollouts, repeated state updates and difficult state-tracking tasks before reducing state precision.

A useful canary compares logits, accepted outputs and task-level quality against a higher-precision reference across increasing sequence lengths. Divergence that appears only after tens of thousands of updates will not be found by a short smoke test.

Hardware

Linear asymptotics do not guarantee a fast implementation

Mamba and DeltaNet families depend on specialized scan, convolution and recurrent kernels to turn favorable algorithms into real accelerator throughput. Hardware support, compiler versions and packaged extensions can determine whether those kernels are available.

Current Qwen3.5 documentation explicitly warns that missing optional fast-kernel packages can fall back to slower and more memory-hungry PyTorch operations. A model can therefore be architecturally efficient and operationally disappointing on an unsupported device.

Qualification should prove the kernel path actually used in production. Record operator selection, kernel versions and fallback counters alongside latency and memory metrics.

Long context

Constant state size does not guarantee unlimited usable memory

Computational scaling and information retention are different questions. A recurrent layer can process another token without allocating another KV block, yet the fixed state still has finite representational capacity and learned dynamics.

Recent work on hybrid Mamba-Transformer context extension reports that models can fail beyond their training windows because recurrent state dynamics and positional mechanisms become unstable. Methods such as Universal Position Interpolation attempt to control those effects rather than assuming the architecture extrapolates automatically.

Test exact retrieval, overwrite behavior, state tracking, instruction persistence and adversarial distractors at the context lengths you intend to sell. Maximum accepted tokens in a tokenizer API are not evidence of useful long-context reasoning.

Multimodal

Multimodal hybrids add position semantics to the mixed-state problem

Qwen3.5 applies its hybrid text backbone to interleaved multimodal inputs and uses multimodal rotary position structure in the attention path. That means context state can depend on temporal, image-height and image-width position semantics as well as ordinary token order.

A runtime that changes position handling, packs sequences incorrectly or restores a state under different multimodal metadata can corrupt output without violating tensor shapes. Model-specific position rules therefore belong in cache identity and compatibility testing.

Long video or image-heavy prompts also change the balance between recurrent state and periodic attention KV. Benchmark text-only and multimodal traffic separately rather than extrapolating one memory curve to the other.

Operations

One cache-utilization graph is no longer enough

Operators need to see recurrent-state occupancy, attention KV occupancy, per-sequence state bytes, copy operations, snapshot restores, kernel fallbacks and state dtype independently. Aggregating them into a single cache-used percentage hides the mechanism that is limiting capacity.

Correlate state metrics with TTFT, token cadence, long-context quality and worker topology. A system may have free KV pages while recurrent-state slots or workspace allocation prevent another sequence from being admitted.

For agent workloads, attach state events to trajectory identifiers so a latency spike can be traced to a fork, restore, migration or replay rather than attributed generically to model inference.

Security

Opaque recurrent state is still sensitive user data

A fixed-size state tensor may not contain readable prompt text, but it is derived from the prompt and may preserve information that influences later output. It should be treated as sensitive context state rather than anonymous numerical metadata.

Snapshots and offloaded state need tenant partitioning, encryption where appropriate, access control, deletion propagation and retention limits. Cross-tenant state reuse should be prohibited unless an explicit security design proves equivalence and authorization.

Crash dumps, debugging hooks and telemetry exporters deserve particular scrutiny because they can capture both recurrent and attention state outside the normal storage policy.

Decision rule

Choose hybrid recurrence when the workload earns the complexity

Hybrid recurrent models are most attractive when contexts are long, generation is sustained, concurrency is memory-constrained and the runtime has first-class support for the architecture. They can be especially compelling for long-running agents whose histories would make full-attention KV expensive.

They are less compelling when prompts are short, hardware lacks fused kernels, applications constantly edit early context, or the serving platform has mature Transformer-specific cache reuse that the hybrid path cannot match.

The correct comparison is workload-level accepted cost and latency. A theoretically smaller state system that loses quality, breaks branching semantics or falls back to slow kernels is not an optimization.

Test it properly

What a benchmark worth believing should report

A performance number means little unless the workload, system configuration and quality bar are fixed. This is the minimum record a team should keep.

MetricHow to measure itWhy it matters
State memory curve Recurrent-state, convolution-state and attention-KV bytes across context length and active sequence count Shows which state class actually limits capacity.
Prefill throughput Tokens per second by prompt length with fast kernels confirmed active Hybrid models can have different scan and attention bottlenecks during prompt ingestion.
Decode latency Inter-token latency and throughput across growing context Tests whether reduced KV growth produces the expected decode benefit.
Long-context quality Retrieval, state tracking, overwrite, instruction retention and task accuracy across the intended context range Cheap context is useful only when the model remembers the right information.
State precision stability Output and logit divergence by recurrent-state dtype over long trajectories Feedback through recurrent updates can accumulate numerical error.
Prefix checkpoint restore Snapshot write bytes, restore latency and recompute avoided at several prefix lengths Determines whether recurrent prefix reuse is economically useful.
Branch creation cost Latency and bytes copied when one trajectory forks into 2, 4, 8 and 16 children Agent search can amplify state memory despite compact recurrence.
Pause and resume Offload and restore latency after idle intervals under device pressure Long-running agents spend substantial time outside model execution.
Batch compaction correctness Reference-output equivalence while sequences finish, cancel, preempt and move slots Recurrent state must remain bound to the correct sequence through scheduler changes.
Kernel-path coverage Share of requests using qualified fused recurrent kernels versus fallback operators Fallbacks can erase the expected efficiency advantage.
Multimodal state integrity Image/video/text prompts across packing and resume paths with correct positional metadata Hybrid multimodal models add model-specific position semantics to state identity.
Accepted-task economics Accelerator-seconds and dollars per accepted completion at matched quality and latency Normalizes architecture, cache, kernel and quality differences into a deployment decision.
Product choices

Four sensible deployment patterns

01

Native hybrid engine

Where it fits
High-volume deployment where the serving engine explicitly supports the model cache schema and fused recurrent kernels
What you take on
Best efficiency but tightly coupled to model and engine versions.
02

Hybrid model with local prefix snapshots

Where it fits
Long sessions or agents that repeatedly resume stable prefixes on the same worker
What you take on
Low restore latency but limited cross-worker mobility and added state retention.
03

Checkpointed cross-worker sessions

Where it fits
Durable agents that need worker replacement or scheduled pause/resume
What you take on
Requires versioned state serialization, secure storage and restore qualification.
04

Attention-heavy hybrid

Where it fits
Workloads needing stronger exact retrieval while still reducing some KV growth
What you take on
Higher long-context memory than recurrence-heavy designs.
05

Recurrence-heavy hybrid

Where it fits
Long generation and memory-constrained serving with strong fast-kernel support
What you take on
Greater dependence on compressed-state quality and state checkpoint semantics.
06

Transformer fallback pool

Where it fits
Mixed hardware or workloads where hybrid kernels and adapters are not uniformly supported
What you take on
Adds operational complexity but provides a safe compatibility path.
07

Edge or local recurrent model

Where it fits
Devices where fixed per-sequence state is more important than server-scale batching
What you take on
Model quality, kernel maturity and local memory bandwidth may dominate.
Lessons from the edge cases

Where projects usually go wrong

01

Wrong state paired with sequence slot

What you see: Fluent but unrelated continuation after batching or compaction

What to do: Sequence-identity assertions, deterministic trace replay and slot-remap tests.

02

Fast kernel unavailable

What you see: Memory and latency far above benchmark expectations

What to do: Startup capability checks and runtime fallback counters.

03

Recurrent-state precision too low

What you see: Quality degrades only on long trajectories

What to do: Long-horizon dtype qualification and higher-precision fallback.

04

Checkpoint restored under incompatible model state

What you see: Plausible output drift after resume

What to do: Content-addressed compatibility manifest covering model, tokenizer, adapter, dtype and layout.

05

Branch copies explode memory

What you see: Agent search causes sudden device pressure despite bounded state per sequence

What to do: Copy-on-write, branch quotas and rapid garbage collection.

06

Attention KV still dominates

What you see: Memory continues to grow sharply with context despite recurrent layers

What to do: Capacity model based on actual attention-layer count and KV head configuration.

07

Context extrapolation fails

What you see: Retrieval or state tracking collapses beyond training length

What to do: Length-sweep qualification and explicit supported-context limit.

08

State snapshot becomes sensitive data leak

What you see: Offloaded state appears in shared storage or debugging bundles

What to do: Tenant isolation, encryption, retention and deletion controls.

09

Early-context edit reuses stale state

What you see: Output reflects removed or changed prompt content

What to do: Invalidate downstream state and replay from the nearest prior valid checkpoint.

10

Multimodal positions mismatch

What you see: Image/video understanding degrades after packing or resume

What to do: Bind positional metadata to state identity and test multimodal restore paths.

11

Scheduler counts only KV pages

What you see: Admission succeeds then recurrent-state allocation fails

What to do: Dual-resource admission accounting for fixed state and token-linear KV.

12

Migration loses convolution state

What you see: Short-term continuation changes after worker restore

What to do: Serialize every model-defined cache component, not only the recurrent matrix.

13

Adapter change leaves state live

What you see: A new adapter inherits context encoded under an old adapter

What to do: Treat adapter identity as a hard state-cache namespace boundary.

14

Throughput metric hides quality regression

What you see: Hybrid model wins tokens per second but loses accepted task rate

What to do: Promote on SLO-qualified task goodput at matched quality.

Before release

A checklist you can actually use

  1. Have we documented the exact recurrent, convolution and attention layer schedule?
  2. Do we know the recurrent-state bytes per active sequence?
  3. Do we know the attention-KV bytes per token for the remaining attention layers?
  4. Are the intended fused recurrent kernels active on every production accelerator?
  5. Is recurrent-state dtype qualified separately from weight and KV precision?
  6. Can the runtime safely compact and remap active sequence slots?
  7. Is every state snapshot bound to model, tokenizer, adapter and token boundary?
  8. Do early-context edits invalidate all downstream recurrent state?
  9. Can we pause and restore a sequence without output drift?
  10. Have we measured branch creation and copy amplification for agent workloads?
  11. Do dead branches release both recurrent state and attention KV promptly?
  12. Does admission control account for both fixed state and token-dependent KV?
  13. Have we tested long-context retrieval beyond the training window?
  14. Have we tested state tracking and overwrite behavior, not only needle retrieval?
  15. Are multimodal position rules included in state compatibility checks?
  16. Are state snapshots treated as sensitive tenant data?
  17. Can deletion propagate through every offload and checkpoint tier?
  18. Do observability dashboards separate recurrent state from KV occupancy?
  19. Do we detect slow reference-kernel fallbacks automatically?
  20. Have we benchmarked short prompts as well as long contexts?
  21. Is there a qualified fallback for unsupported hardware or adapters?
  22. Is promotion based on accepted-task latency, quality and cost rather than headline throughput?
Plain-language definitions

Terms worth knowing

State-space model
A sequence model that represents prior input through a recurrent state updated as new tokens arrive.
Mamba
A selective state-space architecture whose state transitions depend on the input and are implemented with hardware-aware sequence algorithms.
Mamba-2
A state-space architecture derived through structured state space duality with a more efficient formulation related to semiseparable matrices.
Mamba-3
A 2026 state-space architecture with improved recurrence, complex-valued state dynamics and an inference-oriented multi-input multi-output formulation.
DeltaNet
A linear-attention architecture that updates an associative matrix state using a delta-rule style correction.
Gated DeltaNet
A DeltaNet variant that adds gating for adaptive erasure and memory control.
Recurrent state
Fixed-shape tensors that summarize the consumed sequence and are fed into the next token update.
Convolution state
Short local-history buffers used by some recurrent architectures alongside the main recurrent state.
KV cache
Stored key and value tensors from attention layers that normally grow with the retained token sequence.
Hybrid attention
A model design that interleaves recurrent or linear-attention layers with full or local attention layers.
State checkpoint
A saved recurrent and attention state bundle at an exact token boundary for later resume or reuse.
Prefix replay
Recomputing tokens from a valid earlier checkpoint to rebuild state after an edit or invalidation.
Copy-on-write
A branching technique where child sequences share immutable state until one branch modifies it.
Fast path
The qualified fused kernel and memory implementation intended to deliver the architecture’s performance advantage.
Fallback kernel
A slower generic implementation used when the optimized operator is unavailable.
State drift
Accumulating numerical or learned-memory divergence across many recurrent updates.
Context extrapolation
Using a model at sequence lengths beyond those represented during training or formal qualification.
State slot
The runtime location holding recurrent tensors for one active sequence in a batch.
Fork amplification
The increase in total resident state caused by branching one sequence into multiple live continuations.
Mixed-state admission
Capacity control that considers both fixed recurrent-state demand and token-dependent attention-KV demand.
About the author

H. Omer Aktas

H. Omer Aktas is the independent editor and publisher of WTFIsTrending.com. He applies more than 30 years of operational, surveillance, analytics and systems experience from regulated casino environments to questions of evidence, controls, implementation risk and deployment reality. He also publishes ChipsAndTruths.com and AIUpdateWatch.com and develops the practical casino-operations project CasinoOpsAI.com.

Source trail · 30 references

Primary references and technical starting points

These sources support the architecture, runtime, benchmark and security claims. Vendor capabilities can change, so the article records the distinction between established evidence, measured product behavior and editorial interpretation.

  1. 01 Mamba-3: Improved Sequence Modeling using State Space Principlesarxiv.org
  2. 02 Official Mamba repositorygithub.com
  3. 03 Mamba: Linear-Time Sequence Modeling with Selective State Spacesarxiv.org
  4. 04 Transformers are SSMs: Structured State Space Duality and Mamba-2arxiv.org
  5. 05 Hugging Face Mamba documentation and MambaCachehuggingface.co
  6. 06 NVIDIA Nemotron-H paperarxiv.org
  7. 07 NVIDIA NeMo Mamba and Nemotron-H documentationdocs.nvidia.com
  8. 08 NVIDIA NeMo AutoModel Nemotron-H coveragedocs.nvidia.com
  9. 09 NVIDIA Nemotron 3 Super research pageresearch.nvidia.com
  10. 10 NVIDIA Nemotron 3 Super technical blogdeveloper.nvidia.com
  11. 11 NVIDIA Nemotron 3 Ultra research pageresearch.nvidia.com
  12. 12 NVIDIA Nemotron projects indexresearch.nvidia.com
  13. 13 NVIDIA Nemotron 3 Nano technical reportresearch.nvidia.com
  14. 14 Qwen3.5 official repositorygithub.com
  15. 15 Hugging Face Qwen3.5 architecture documentationhuggingface.co
  16. 16 Qwen3.5 35B-A3B Base model cardhuggingface.co
  17. 17 Qwen3.5 4B Base model cardhuggingface.co
  18. 18 Qwen3.5 397B-A17B model cardhuggingface.co
  19. 19 Gated Delta Networks at ICLR 2025proceedings.iclr.cc
  20. 20 Gated Delta Networks paperarxiv.org
  21. 21 Parallelizing Linear Transformers with the Delta Rulearxiv.org
  22. 22 AI21 Jamba hybrid Transformer-Mamba research pageai21.com
  23. 23 Jamba-1.5: Hybrid Transformer-Mamba Models at Scalearxiv.org
  24. 24 AI21 Jamba model documentationdocs.ai21.com
  25. 25 AI21 Jamba 1.6 releaseai21.com
  26. 26 RWKV-7 Goose with Expressive Dynamic State Evolutionarxiv.org
  27. 27 RWKV architecture and paper indexwiki.rwkv.com
  28. 28 Universal Position Interpolation for hybrid Mamba-Transformer modelsresearch.ibm.com
  29. 29 Asymmetric Virtual Memory Paging for Hybrid Mamba-Transformer Inferencearxiv.org
  30. 30 Looped State-Space Language Models with Adaptive Exit-State Selectionarxiv.org