NOVAAIGet started

NOVA-UAC · Scaling & Hardware

The quadratic bottleneck

Dense self-attention compares token pairs. NOVA explores a different way to process streams: carry a bounded state forward and spend a fixed amount of work per frame.

Global AI infrastructure report

The proposed 96% quadratic-attention scenario

The project’s draft proposes the following figures. They are unverified hypotheses. Global commercial compute and deployment counts would need separate denominators, defined dates and audited architecture data. The categories may overlap and the figures should not be added or used as market shares.

Draft categoryProposed figure · unverified
Standard, GQA and FlashAttention Transformers using global attention96.2%
Hybrid and linear approaches, including Mamba, RWKV and linear attention3.8%
Continuous physical or symplectic architectures with quantum-inspired memory<0.1%

See the documented 17-organization sample

Which companies use quadratic attention?

In this selected sample of 17 model families from 17 organizations, 7 of 17 (41.2%) are classified as global-attention Transformers, including local–global variants. Three use attention alongside state-space or sparse layers and are classified separately. Seven are left unclassified where the cited evidence does not establish a scaling class.

41.2% · Documented global attention

7 of 17 families. This includes models that alternate global attention with local windows. A global layer still compares token pairs during full-sequence processing.

17.6% · Hybrid or sparse

3 of 17 families. Full-attention layers can still contribute quadratic work in a hybrid. A sparse kernel’s scaling depends on how the selected positions are found and how many are scored.

41.2% · Unclassified

7 of 17 families. The sources identify a model or product, but this review leaves its sequence scaling unclassified.

How to interpret the percentage. Each selected family counts once. The sample is illustrative and version-specific. It does not estimate market share, the fraction of a company’s models using an algorithm, or the fraction of industry compute spent on attention. A global 96.2% figure would need a defined unit, audited deployment or compute totals, and architecture data for those workloads.

Organization and modelSample classWhat the disclosure shows
Meta · Llama 3.1GlobalGrouped-query attention reduces sharing costs for keys and values. Global token-pair scoring remains. Technical report
Google DeepMind · Gemma 3GlobalInterleaves five local attention layers per global layer. The global layers still span the available context. Technical report
Microsoft · Phi-3 MiniGlobalDecoder-only Transformer based on the Llama-2 architecture. The 128K variant extends positions using LongRoPE. Technical report
Mistral AI · Mixtral 8×7BGlobalSparse expert routing applies to feed-forward layers. The attention configuration spans the model context. Technical report
Alibaba · Qwen2.5-7B-InstructGlobalStandard release uses grouped-query attention with sliding-window attention disabled in its published configuration. Configuration
xAI · Grok-1GlobalThe open-weight release uses an autoregressive Transformer and expert routing, with causal attention over the sequence in the reference code. Reference release
DeepSeek · V3.2SparseDeepSeek Sparse Attention selects a subset of positions for the main attention operation. This entry refers to V3.2 specifically. Technical report
AI21 Labs · JambaHybridInterleaves Mamba state-space blocks and attention blocks, with mixture-of-experts layers. Technical report
NVIDIA · Nemotron-HHybridCombines Mamba and attention blocks. NVIDIA also provides accelerators used by other developers. Technical report
OpenAI · GPT-4Insufficient disclosureThe report describes a Transformer-style model and omits detailed architecture. Technical report
Anthropic · Claude 3Insufficient disclosureThe public model card describes evaluations and deployment. It does not establish layer-level attention scaling for this audit. Release and model card
Amazon · Nova foundation modelsInsufficient disclosureThe cited report describes the family. This audit leaves the exact layer-level scaling unclassified. Technical report
Apple · 2024 foundation language modelsGlobalThe published decoder architecture uses grouped-query attention with causal language modeling. This is a release-specific classification. Technical report
ByteDance · DoubaoUnclassifiedProduct branding covers a family of deployments. The provider overview does not establish a common attention pattern for those deployments. Provider overview
Baidu · ERNIE 4.5UnclassifiedThe report covers dense and multimodal MoE variants. Expert sparsity alone does not identify the attention scaling of each variant. Technical report
Tencent · Hunyuan-A13BUnclassifiedUses sparse expert activation and supports different reasoning modes. This review does not infer attention scaling from the active parameter count. Technical report
Cohere · Command R+UnclassifiedThe model page documents long context and retrieval-oriented use. This review leaves serving configurations and exact attention work unclassified. Model documentation

Named releases are historical examples. Commercial assistants, such as ChatGPT or Copilot, can route between models and tools. Classifying an assistant requires disclosure of the models and configurations used for that request.

Additional named products and hardware examples

These names broaden the company comparison. Architecture findings apply to the named releases in the audit above. A cloud partnership, accelerator announcement or cluster size does not establish a particular model’s hardware allocation.

OrganizationAdditional products or releases
OpenAIGPT-4o, o1, o3, ChatGPT
Google / AlphabetGemini 1.5 Pro and Flash, Gemma 2, PaLM 2
AnthropicClaude 3.5 Sonnet, Claude 3 Opus and Haiku
MetaLlama 2, Llama 3 and Llama 3.1 405B
MicrosoftCopilot, Turing-NLG and Phi-4
xAIGrok-2
AmazonAmazon Titan
Mistral AIMistral Large and Mixtral 8×22B
ByteDanceDoubao
BaiduERNIE Bot 4.0
AlibabaQwen 2.5 variants
TencentHunyuan variants
AppleApple Intelligence on-device and server models
DeepSeekDeepSeek-V2 and V3 with MLA
CohereCommand R+ and Aya
NVIDIAMegatron-Turing NLG and Nemotron

Examples of distinct infrastructure platforms include Azure AI supercomputing, Google Cloud TPU, AWS Trainium, NVIDIA DGX, and Apple silicon. The report does not assign fleet totals or a hardware count to individual models.

What the infrastructure optimizations change

FlashAttention

Tiling and recomputation avoid materializing the full attention score matrix in device memory. Exact global attention retains quadratic pairwise work during full-sequence processing. FlashAttention · FlashAttention-3

PagedAttention

Allocates inference KV cache in blocks. This reduces wasted allocations and supports cache sharing. It does not change how many token pairs an exact global-attention layer must score. vLLM paper

MQA, GQA and latent attention

Share or compress cached keys and values. DeepSeek-V3’s MLA compresses cache representations; V3.2 introduces sparse attention separately. Cache compression and attention sparsity change different costs. GQA paper · DeepSeek-V3 report

Worked example · 100,000 tokens

A fully materialized attention-score matrix has 100,000 × 100,000 = 10 billion entries per head, or 20 GB in 16-bit precision and 40 GB in 32-bit precision. That is the size of this particular intermediate alone. Tiled attention can avoid materializing it. Cached autoregressive decoding scores a new query against its history, so the cost of one full-attention decode step grows linearly with that history. Summing those steps over an increasingly long generation can give quadratic total work.

Worked example · KV cache

For one sequence, an uncompressed 16-bit cache with 80 layers, 8 KV heads and head width 128 uses 2 × 80 × 8 × 128 × 2 = 327,680 bytes per token. At 96,000 cached tokens, that is about 31.5 GB before overhead. The factor of 2 counts keys and values. Batch size, cache precision, retention windows, and sharding change where that memory is allocated.

How NOVA differs from established training methods

An architecture defines how the model processes inputs. A training objective specifies what it learns, and an optimizer specifies how weights change. Context and orchestration tools operate at a different layer.

MethodWhat it doesHow it relates to NOVA
Decoder Transformer pretrainingPredicts the next token over a corpus, usually with backpropagation and a variant of Adam.NOVA’s streaming predictor carries bounded state and can train from scratch on task targets such as the next sensor reading. Next-token prediction could still be used if a NOVA model were configured for language.
BERT-style masked language modelingPredicts hidden tokens using bidirectional context.NOVA’s causal streaming mode uses information available at the current frame. Bidirectional reconstruction is a separate objective.
RNNs, LSTMs, GRUs and state-space modelsCarry recurrent state or apply a scan over the sequence, often with linear work at fixed width.These are close baselines. Evaluate NOVA’s state dynamics, memory and adaptive updates separately with ablations.
Local, sparse and linear attentionLimit or approximate token interactions. A fixed window of width w gives O(Nw) pairwise work.NOVA’s bounded-state forward path summarizes past inputs in state. Compare how each method preserves information needed by the task.
Supervised fine-tuning and LoRA/QLoRAAdapt a pretrained model from labeled examples. LoRA updates low-rank adapters and QLoRA uses a quantized frozen base.NOVA can initialize a compact predictor for local training. The ability to update on new labels is a separate experiment from the choice of parameter-efficient fine-tuning.
RLHF, RLAIF and DPOUse preferences or rewards to shape model behavior after pretraining.NOVA’s proposed feedback updates address task adaptation on streams. Preference alignment would require its own data, objective and evaluation.
Distillation and quantizationDistillation learns from a teacher. Quantization reduces numeric precision, especially for inference.A NOVA model can be initialized without a teacher and evaluated separately after INT8 or INT4 export on the target device.
Continual learningReplay, regularization or parameter isolation manage the trade-off between new learning and retention.Test ECAL-style selective adaptation against these baselines. Report performance before and after drift on both old and new data.
RAG, CAG and memory-augmented generationRetrieve documents, reuse cached context or maintain longer-lived application memory.NOVA’s internal bounded memory serves the streaming predictor. Retrieval, caches and external memory can complement it.
LangChain and LangGraphCompose model calls, retrieval and stateful application workflows.These frameworks can orchestrate a NOVA model endpoint alongside other services.

A practical test with sensor drift

Train NOVA, a GRU and a compact causal Transformer on the same historical readings. Hold out a later time period. Introduce the same calibration shift, allow identical access to new labels, and report prediction error before and after each update. Compare retained accuracy on the original data, update time, peak RAM and wall-plug energy. Sweep sequence length separately so the scaling result is distinct from the accuracy result.

See the from-scratch training comparison · Try the sequence scaling simulator

What happens when the sequence grows?

At a fixed model width, dense attention performs O(N²) pairwise work. NOVA’s bounded-state forward pass performs O(N) work when state width, memory capacity and per-frame processing stay fixed. Each bar is normalized to its own workload at 1,024 inputs. The multipliers measure growth, with no implication about absolute speed or model quality.

Normalized work · logarithmic bar scale
16×Dense attention
4×Bounded-state streaming

Compute

Scaled dot-product attention computes softmax(QKᵀ / √dₖ)V. Doubling N yields about four times the pairwise work for dense attention. A fixed budget per frame doubles the streaming work.

Training memory

A materialized attention score matrix has N² entries per head. Tiled exact attention such as FlashAttention avoids storing that full matrix while preserving dense pairwise computation.

FlashAttention paper

Inference memory

A conventional autoregressive KV cache grows linearly with cached tokens when other dimensions are fixed. A bounded recurrent state can stay fixed in size, with a trade-off in how much earlier detail it retains.

Interactive memory lab

Will the model fit your system?

Compare CPU only, GPU only, and configured offload against your available memory. Use free system RAM and usable GPU VRAM after other processes and runtime reservations. These estimates model separate memory pools.

14 GB model data + 2 GB additional memory = 16 GB workload.

CPU only

GPU only

CPU + GPU offload

How the estimate works

Memory = parameters × bytes per parameter + additional workload memory. For the 7B FP16 example, 14 GB of weights plus 2 GB of extra memory gives 16 GB. With a 50% split, the model assigns 8 GB to each pool. Offload is an idealized split of the entire workload. Real runtimes can duplicate buffers, place activations and KV caches separately, and incur transfer costs.

Use additional memory for cache, activations, quantization metadata and temporary buffers. The calculator evaluates capacity only. Shared-memory GPUs and unified-memory devices draw from one pool, so use the CPU-only scenario as a single-pool capacity estimate and enter usable unified memory in the RAM field.

Training memory by parameter count

This illustrative mixed-precision AdamW setup uses 16 bytes per parameter: 2 for working weights, 2 for gradients, 4 for a master copy, and 8 for two optimizer moments. The estimate applies to either architecture under the same setup. Activations, temporary tensors, allocator overhead and parallelism are separate.

Parameters16-bit weightsTraining state80 GB GPU capacity floor
125 million0.25 GB2 GB1
1 billion2 GB16 GB1
7 billion14 GB112 GB2
70 billion140 GB1,120 GB14
150 billion300 GB2,400 GB30
1 trillion2,000 GB16,000 GB200

Capacity floors assume ideal sharding and decimal GB. They only describe the listed training state. Actual device counts depend on the training configuration.

Simulate a hardware configuration

112 GB total · minimum 2 devices by capacity.

How NOVA processes a stream

  1. Input frame
  2. Hamiltonian state update
  3. Bounded memory lookup
  4. Prediction
  5. Optional feedback update

Hamiltonian state flow

The research model evolves position q and momentum p using dq/dt = ∂H/∂p and dp/dt = −∂H/∂q. A fixed number of integration steps per frame gives linear forward scaling in stream length. Training through a long sequence may still require stored activations or recomputation.

Phase-based memory

QSRM assigns a normalized score to each slot using the squared magnitude of a complex inner product. Scanning M slots of width d takes O(Md), constant with respect to stream length when those dimensions are fixed. A zero sum needs a fallback policy.

Fisher-aware adaptation

R-ECAL explores natural-gradient updates by solving a damped Fisher system before updating parameters. Retention on earlier tasks and update costs need to be measured. See the worked examples and equations in Research.

NOVA’s research architecture, step by step

1. Advance the state

For a separable Hamiltonian T(p) + V(q), leapfrog alternates a half momentum step, a full position step, and a half momentum step. Fixed state width and a fixed number of steps give O(N) forward work over N frames. Symplectic integration can keep energy error bounded under appropriate conditions; discrete energy can still vary, and damping or learning changes the system.

2. Score the memory slots

For slot k, compute aₖ = |⟨ψ, φₖ⟩|² and normalize pₖ = aₖ / Σⱼaⱼ when the denominator is positive. For scores 0.60 and 0.20, the normalized weights are 0.75 and 0.25. Scanning the slots costs O(Md). The cost stays constant in stream length when slot count M and slot width d are fixed.

3. Adapt with feedback

In a damped natural-gradient update, solve (F + λI)v = ∇L, then apply θ ← θ − ηv. Fisher structure, approximations and update frequency determine the cost. To assess forgetting, measure old-task performance before and after adaptation using held-out examples.

4. Allocate extra passes

ARA can use novelty and uncertainty to request additional refinement under a cap. In an illustrative run, 900 routine frames with one pass and 100 flagged frames with three passes require 1,200 passes total, compared with 3,000 at a fixed three passes. That is 60% fewer passes in this scenario. Actual energy and quality depend on pass costs, the gating overhead and the task.

Structural comparison

DimensionCommon global-attention baselineNOVA research design
Sequence workO(N²) pairwise work for full-sequence global attention at fixed width.O(N) forward work when state size and per-frame work are bounded.
Inference contextFull-history KV cache grows linearly with retained tokens.Fixed-width state and fixed QSRM capacity are constant in stream length. Retention quality is a separate metric.
LearningOffline pretraining and subsequent fine-tuning, adapters or continual updates.Task-specific training and selective stream updates when feedback is available.
ForgettingNew updates can degrade old-task performance.Fisher-aware updates may help manage the trade-off. Measure old-task retention empirically.
Compute allocationWork can vary with context, expert routing, output length and reasoning budget.ARA also varies recurrent passes per frame using novelty and uncertainty, subject to a cap.
HardwareRanges from on-device deployments to accelerator clusters.Compact workloads target CPUs and edge devices. Hardware comparisons require matched quality and latency.

Leapfrog update

For a separable Hamiltonian H(q,p) = T(p) + V(q), one valid drift–kick–drift step is:

  1. q₁⁄₂ = q₀ + (ε/2)∇T(p₀)
  2. p₁ = p₀ − ε∇V(q₁⁄₂)
  3. q₁ = q₁⁄₂ + (ε/2)∇T(p₁)

For T(p) = p²/2, V(q) = q²/2, ε = 0.2, and (q₀,p₀) = (1,0), the steps give q₁⁄₂ = 1, p₁ = −0.2 and q₁ = 0.98. Energy changes from 0.5 to 0.5002 in this step.

Related linear and adaptive systems

Mamba uses selective state-space updates, RWKV uses recurrent sequence processing, and Liquid AI develops models with efficient sequence operators. NOVA’s proposed combination emphasizes Hamiltonian state updates, phase-based memory, Fisher-aware adaptation and gated recurrent computation. The cited examples establish related approaches. They cannot establish whether an undisclosed implementation uses the same combination. A focused literature review and reproducible ablations are needed to establish NOVA’s contribution.

Mamba · RWKV · Liquid AI · NOVA research notes

From early AI to long streams

1950 · Alan Turing proposed the imitation game. 1956 · The Dartmouth summer project helped establish AI as a research field. 2017 · The Transformer paper introduced an attention-based architecture. Today · State-space and hybrid architectures explore different trade-offs for long sequences.

Turing’s paper · Dartmouth proposal · Transformer paper · Mamba paper

What this means for hardware

Compare published baselines such as Meta Llama, Google Gemma, Mistral Mixtral and DeepSeek on workloads where a compact local model is a credible option. Attention variants, sharding and caching differ by release. To establish savings, run the same task to matched quality and latency, then measure wall-clock time, total energy and peak memory. A first test is industrial sensor monitoring with a fixed history budget and a held-out time period. Test INT8 or INT4 inference separately on each supported device.

Use NOVA’s energy comparison calculator

Website choices

Read the Terms and Conditions and Privacy Policy. The site includes research information and illustrative results.