NOVAAIGet started

NOVA Documentation

Equations & benchmarks

On this page

See Further Research for NIEN prototype designs and planned experiments.

Mathematical derivations

From assumptions to a stability bound
  1. Fix the comparison conditionsHold the inputs, recall and gate common for the basic proof.
  2. Bound the recurrent mapCombine the activation Lipschitz constant and recurrent weight norm with the leak gate.
  3. Check whether the bound is below oneThis determines whether the estimate establishes a strict contraction.
    • Below oneIterate the bound to obtain geometric decay of the trajectory gap.
    • One or higherThe estimate gives no strict contraction guarantee. If the gate or recall depends on state, include its sensitivity in the bound.

The mathematical model connects six operations: encode an observation, update recurrent state, retrieve memory, assess uncertainty and novelty, choose an update and compute budget, then export trained weights. The derivations below state the assumptions needed for each bound.

Symbol Meaning
xt∈Rdx_t\in\mathbb R^d Encoded observation at step tt
st∈Rhs_t\in\mathbb R^h Recurrent state before the update
rt∈Rmr_t\in\mathbb R^m Retrieved memory vector
ρt\rho_t Weight given to the candidate state
nt,utn_t,u_t Novelty and bounded uncertainty scores
θ,θ⋆\theta,\theta^\star Current and consolidated parameters

Multimodal encoding and shared dimensions

For an image, adaptive average pooling reduces each feature channel to a fixed-size representation. For global pooling over a feature map AA, the pooled value for channel cc is

pc=1H′W′∑i=1H′∑j=1W′Aijc,ximg=LayerNorm⁡(Wvisp).p_c=\frac{1}{H'W'}\sum_{i=1}^{H'}\sum_{j=1}^{W'} A_{ijc},\qquad x_{\rm img}=\operatorname{LayerNorm}(W_{\rm vis}p).

Video applies the image encoder to selected keyframes and updates the GRU state in timestamp order. Text averages learned byte embeddings before projection. Their sum is invariant to byte permutations when the embedding and pooling have no positional component, so the pooled vector alone cannot distinguish anagrams. For numeric telemetry, standardize each channel using a running mean μj\mu_j and variance vjv_j, then project to the shared dimension.

zj=aj−μjvj+ϵ,xsensor=MLP⁡(z)∈Rd.z_j=\frac{a_j-\mu_j}{\sqrt{v_j+\epsilon}},\qquad x_{\rm sensor}=\operatorname{MLP}(z)\in\mathbb R^d.

4.1 Contraction mapping and Lipschitz state stability

Fixed gate and fixed memory input

Let u=Wxx+Wrr+bu=W_xx+W_rr+b be held fixed, ρ∈(0,1]\rho\in(0,1], and σ\sigma have Lipschitz constant LσL_\sigma. Write T(s)=(1−ρ)s+ρσ(Wss+u)T(s)=(1-\rho)s+\rho\sigma(W_ss+u). Subtract the maps at two states and apply the triangle inequality, activation bound, and spectral norm in order.

∥T(s)−T(s′)∥2≤(1−ρ)∥s−s′∥2+ρ∥σ(Wss+u)−σ(Wss′+u)∥2≤(1−ρ)∥s−s′∥2+ρLσ∥Ws(s−s′)∥2≤(1−ρ+ρLσ∥Ws∥2)⏟k∥s−s′∥2.\begin{aligned} \|T(s)-T(s')\|_2 &\le (1-\rho)\|s-s'\|_2+\rho\|\sigma(W_ss+u)-\sigma(W_ss'+u)\|_2\\ &\le (1-\rho)\|s-s'\|_2+\rho L_\sigma\|W_s(s-s')\|_2\\ &\le \underbrace{(1-\rho+\rho L_\sigma\|W_s\|_2)}_{k}\|s-s'\|_2 . \end{aligned}

Since ρ>0\rho>0, the upper bound kk is below one whenever Lσ∥Ws∥2<1L_\sigma\|W_s\|_2<1. With tanh⁡\tanh, Lσ=1L_\sigma=1. For this fixed map, Banach's theorem gives a unique fixed point and geometric convergence.

∥st−s⋆∥2≤kt∥s0−s⋆∥2.\|s_t-s^\star\|_2\le k^t\|s_0-s^\star\|_2.

Worked example. If ρ=0.2\rho=0.2 and ∥Ws∥2=0.75\|W_s\|_2=0.75, then k=0.95k=0.95. With a shared sequence of changing inputs and shared gates bounded below by ρmin⁡\rho_{\min}, trajectory differences decay at most by 1−ρmin⁡(1−Lσ∥Ws∥2)1-\rho_{\min}(1-L_\sigma\|W_s\|_2) per step when retrieval is also shared. A single fixed point requires a fixed map. Contraction mapping theorem

State-dependent gate and memory feedback

Let f(s)=tanh⁡(Wss+Wrr(s)+u0)f(s)=\tanh(W_ss+W_rr(s)+u_0). Expand T(s)=s+ρ(s)(f(s)−s)T(s)=s+\rho(s)(f(s)-s). The derivative includes both memory feedback and the dependence of the gate on state.

JT=(1−ρ)I+ρJf+(f−s)(∇ρ)⊤.J_T=(1-\rho)I+\rho J_f+(f-s)(\nabla\rho)^\top.

If retrieval has Lipschitz constant LrL_r and the state lies in [−1,1]h[-1,1]^h, a sufficient bound on this domain is

sup⁡s ⁣[1−ρ(s)+ρ(s)Lσ(∥Ws∥2+∥Wr∥2Lr)+2h ∥∇ρ(s)∥2]<1.\sup_s\!\left[1-\rho(s)+\rho(s)L_\sigma(\|W_s\|_2+\|W_r\|_2L_r)+2\sqrt h\,\|\nabla\rho(s)\|_2\right]<1.

With a scalar gate in [0,1][0,1], the state update is a convex combination of the old state and a bounded candidate. This also gives coordinatewise boundedness even when contraction has yet to be established.

∥st+1∥∞≤max⁡{∥st∥∞,1}.\|s_{t+1}\|_\infty\le \max\{\|s_t\|_\infty,1\}.

Dynamic Resonance Memory

For query q=Wqstq=W_qs_t and projected key kˉi=Wkki\bar k_i=W_kk_i, compute each confidence-weighted affinity. Normalize over all stored records with a positive denominator floor.

di=∥q−kˉi∥22τi+ϵ,ai=cie−di,wi=ai∑jaj+ϵ,rt=∑iwivi.d_i=\frac{\|q-\bar k_i\|_2^2}{\tau_i+\epsilon},\qquad a_i=c_i e^{-d_i},\qquad w_i=\frac{a_i}{\sum_j a_j+\epsilon},\qquad r_t=\sum_iw_iv_i.

For ci≥0c_i\ge0 and τi≥0\tau_i\ge0, weights are nonnegative and sum to at most one. Consequently the retrieval norm is bounded by the largest stored value norm. If there are no records, the sum returns zero. Without a reinforcement event, the trace solves dzi/dt=−δizidz_i/dt=-\delta_i z_i, so integrating yields zi(t+Δt)=zi(t)e−δiΔtz_i(t+\Delta t)=z_i(t)e^{-\delta_i\Delta t}. Its half-life is ln⁡(2)/δi\ln(2)/\delta_i for δi>0\delta_i>0.

The write gate admits a candidate when its utility meets the threshold. If retained candidates exceed the byte budget, the specification describes the following selection objective, where bib_i is record size and zi⋆z_i^\star is a binary retain decision.

max⁡zi⋆∈{0,1}∑iUizi⋆subject to∑ibizi⋆≤BM.\max_{z_i^\star\in\{0,1\}} \sum_i U_i z_i^\star\qquad\text{subject to}\qquad\sum_i b_i z_i^\star\le B_M.

Worked example. For records of 256, 384, and 640 bytes with utilities 0.72, 0.67, and 0.95, a 640-byte budget retains the first two records under the exact objective. They fit the budget and have total utility 1.39.

4.2 Symmetric post-training quantization (INT8 & INT4)

Let M=max⁡ij∣Wij∣M=\max_{ij}|W_{ij}| and qmax⁡=2b−1−1q_{\max}=2^{b-1}-1. For M>0M>0, s=M/qmax⁡s=M/q_{\max} maps the largest weight magnitude exactly to the integer endpoint. If M=0M=0, the matrix can be encoded entirely as zero with a positive placeholder scale.

s8=M/127,s4=M/7,Qij=clip⁡ ⁣(round⁡(Wij/s),−qmax⁡,qmax⁡),W^=sQ.s_8=M/127,\qquad s_4=M/7,\qquad Q_{ij}=\operatorname{clip}\!\left(\operatorname{round}(W_{ij}/s),-q_{\max},q_{\max}\right),\qquad\widehat W=sQ.

For weights covered by this scale, rounding in integer units contributes at most half a step. Multiply by ss, square each bound, sum over the entries, and take the square root.

∣Wij−W^ij∣=s∣Wij/s−Qij∣≤s/2,∥W−W^∥F≤s2dindout,∥xW⊤−xW^⊤∥2≤∥x∥2 ∥W−W^∥F.\begin{aligned} |W_{ij}-\widehat W_{ij}|&=s|W_{ij}/s-Q_{ij}|\le s/2,\\ \|W-\widehat W\|_F&\le\frac{s}{2}\sqrt{d_{\rm in}d_{\rm out}},\\ \|xW^\top-x\widehat W^\top\|_2&\le\|x\|_2\,\|W-\widehat W\|_F . \end{aligned}

For inference with floating-point activations, xW^⊤+b=s(xQ⊤)+bx\widehat W^\top+b=s(xQ^\top)+b. Integer-only kernels also need activation quantization and accumulation rules. INT8 and packed INT4 require ideally one byte and half a byte per weight respectively. Scale metadata, packing, and alignment affect bundle size.

Worked example. With M=0.7M=0.7, INT4 has s=0.1s=0.1. A weight of 0.260.26 rounds to 33, reconstructs as 0.300.30, and has absolute error 0.04≤0.050.04\le0.05.

4.3 Scale-normalized invariant novelty formulation

Decode the recurrent state using x^t=Dψ(st)\widehat x_t=D_\psi(s_t). Divide reconstruction error by the observation magnitude and a positive calibration constant κ\kappa, then clip at one.

nt=min⁡ ⁣(1,∥xt−x^t∥2(∥xt∥2+ϵ)κ).n_t=\min\!\left(1, \frac{\|x_t-\widehat x_t\|_2}{(\|x_t\|_2+\epsilon)\kappa}\right).

If both the observation and reconstruction are scaled by a>0a>0, factoring aa from the numerator and denominator replaces ϵ\epsilon with ϵ/a\epsilon/a. Thus scaling cancels exactly when ϵ=0\epsilon=0 and ∥xt∥2>0\|x_t\|_2>0, and approximately when ∥xt∥2≫ϵ/a\|x_t\|_2\gg\epsilon/a. Input scaling alone may change the decoder output by a different factor. To place a selected normal-data quantile at 0.5, set κ\kappa to twice that quantile of the unclipped relative residual, with a positive floor for degenerate data.

4.4 Disentangled epistemic & aleatoric uncertainty

The ensemble mean is the prediction averaged over KK heads. Epistemic uncertainty is the mean squared deviation from that prediction. Expanding the square exposes its second-moment form.

μt=1K∑k=1Ky^t(k),uepi=1K∑k=1K∥y^t(k)−μt∥22=1K∑k=1K∥y^t(k)∥22−∥μt∥22.\begin{aligned} \mu_t &= \frac1K\sum_{k=1}^K \widehat y_t^{(k)},\\ u_{\rm epi} &= \frac1K\sum_{k=1}^K \|\widehat y_t^{(k)}-\mu_t\|_2^2 =\frac1K\sum_{k=1}^K\|\widehat y_t^{(k)}\|_2^2-\|\mu_t\|_2^2 . \end{aligned}

The softplus aleatoric head provides a nonnegative noise estimate. If the heads represent conditional predictive distributions, the law of total variance adds the mean within-head variance to the variance between head means. NOVA's separately learned term can approximate the within-head contribution if it is trained on the same scale. The final transformation is a bounded score.

uale=log⁡(1+eWalest+bale),utotal=tanh⁡(uepi+uale).u_{\rm ale}=\log(1+e^{W_{\rm ale}s_t+b_{\rm ale}}),\qquad u_{\rm total}=\tanh(u_{\rm epi}+u_{\rm ale}).

Worked example. For scalar predictions 0.4,0.5,0.60.4,0.5,0.6, the mean is 0.50.5 and uepi=0.0067u_{\rm epi}=0.0067. If the aleatoric head returns 0.040.04, then utotal≈0.0466u_{\rm total}\approx0.0466.

4.5 Multi-objective regularized loss function

L=λtaskLtask+λpredLpred+λstabLstab+λsparseLsparse+λcalLcal.\mathcal L=\lambda_{\rm task}\mathcal L_{\rm task}+\lambda_{\rm pred}\mathcal L_{\rm pred}+\lambda_{\rm stab}\mathcal L_{\rm stab}+\lambda_{\rm sparse}\mathcal L_{\rm sparse}+\lambda_{\rm cal}\mathcal L_{\rm cal}.

Term Purpose
Task Supervised mean squared error for regression or cross-entropy for classification
Prediction Mean squared error between the input representation and its reconstruction
Stability Diagonal Fisher-weighted deviation from consolidated parameters
Sparsity The specification's sum of absolute resonance weights
Calibration Squared difference between the bounded uncertainty score and the residual norm

For the stability term, differentiate each coordinate independently. A factor of one-half in the penalty, or absorption into the coefficient, gives the convention used in the online update.

Lstab=∑jΩj(θj−θj⋆)2,∇θLstab=2Ω⊙(θ−θ⋆).\mathcal L_{\rm stab}=\sum_j\Omega_j(\theta_j-\theta_j^\star)^2,\qquad\nabla_\theta\mathcal L_{\rm stab}=2\Omega\odot(\theta-\theta^\star).

With nonnegative normalized memory weights, the stated ℓ1\ell_1 penalty is almost constant whenever the affinity sum greatly exceeds ϵ\epsilon. Entropy regularization or a sparse normalization would be alternative design choices if concentration is desired. A bounded uncertainty score also needs a compatible residual target scale for calibration.

The per-example regression residual and reconstruction residual give the two squared error terms. For a classification head, one-hot labels yicy_{ic} and predicted class probabilities picp_{ic} give the cross-entropy alternative.

LtaskMSE=1N∑i=1N∥yi−y^i∥22,LtaskCE=−1N∑i=1N∑cyiclog⁡pic,Lpred=1N∑i=1N∥xi−Dψ(si)∥22,Lsparse=∑i∣wi∣,Lcal=(utotal−∥y−y^∥2)2.\begin{aligned} \mathcal L_{\rm task}^{\rm MSE}&=\frac1N\sum_{i=1}^N\|y_i-\widehat y_i\|_2^2,\\ \mathcal L_{\rm task}^{\rm CE}&=-\frac1N\sum_{i=1}^N\sum_c y_{ic}\log p_{ic},\\ \mathcal L_{\rm pred}&=\frac1N\sum_{i=1}^N\|x_i-D_\psi(s_i)\|_2^2,\\ \mathcal L_{\rm sparse}&=\sum_i|w_i|,\\ \mathcal L_{\rm cal}&=\left(u_{\rm total}-\|y-\widehat y\|_2\right)^2. \end{aligned}

Experience-Coupled Adaptive Learning

ECAL takes the cosine similarity between a candidate task gradient gtg_t and a consolidated reference gradient grefg_{\rm ref}. Opposing directions increase the conflict score, which reduces the learning gate for bi>0b_i>0.

conflict⁡t=max⁡ ⁣(0,−gt⊤gref∥gt∥2∥gref∥2+ϵ),αt=sigmoid⁡(b0+bnnt+buut−biconflict⁡t−bcct),Δθt=−ηαtclip_norm⁡(gt,Gmax⁡)−λstabΩ⊙(θt−θ⋆).\begin{aligned} \operatorname{conflict}_t &= \max\!\left(0,-\frac{g_t^\top g_{\rm ref}}{\|g_t\|_2\|g_{\rm ref}\|_2+\epsilon}\right),\\ \alpha_t &= \operatorname{sigmoid}(b_0+b_nn_t+b_uu_t-b_i\operatorname{conflict}_t-b_cc_t),\\ \Delta\theta_t &= -\eta\alpha_t\operatorname{clip\_norm}(g_t,G_{\max})-\lambda_{\rm stab}\Omega\odot(\theta_t-\theta^\star). \end{aligned}

The norm of the task component of the step is bounded by ηαtGmax⁡\eta\alpha_tG_{\max}. The stability term has a separate magnitude. The gate and anchoring can reduce forgetting in a measured setting. Their effectiveness depends on task similarity, the reference estimate, and tuning.

Adaptive Resource Allocation

ARA scores each candidate refinement budget j∈{0,1,2}j\in\{0,1,2\} by expected improvement minus a compute penalty.

j⋆=arg⁡max⁡j∈{0,1,2}[E(ΔQt∣j)−λcostC(j)].j^\star=\underset{j\in\{0,1,2\}}{\arg\max}\big[\mathbb E(\Delta Q_t\mid j)-\lambda_{\rm cost}C(j)\big].

An extra pass is worthwhile relative to a lower budget if its incremental expected gain exceeds its incremental cost penalty. For estimated gains (0,0.06,0.08)(0,0.06,0.08), pass costs (0,1,2)(0,1,2), and λcost=0.03\lambda_{\rm cost}=0.03, the scores are (0,0.03,0.02)(0,0.03,0.02). One extra pass has the highest score. The source also describes a threshold policy using novelty and uncertainty above 0.4 to trigger refinement. Measure how often each budget fires alongside latency and prediction quality.

Benchmarks and validation

How to interpret a benchmark table
  1. Identify the reported setupRecord the workload, baseline, units and hardware details provided with the result.
  2. Choose the right calculationUse the baseline as the denominator for relative change. Convert latency to reciprocal throughput only for the assumed serial step.
  3. Check precision and scopeReport the result at the available precision and state whether it describes model steps or end-to-end performance.
  4. Reproduce under matched conditionsRecord configuration, seeds and runs before extending the finding to another workload or device.

All empirical benchmarks were executed on real mathematical tensors using reproducible deterministic seeds on CPU reference hardware.

5.1 Continual Learning & Catastrophic Forgetting

Evaluated across a 3-stage streaming regime shift task (T=3T=3) measuring performance degradation across sequential regimes. Average Forgetting metric: F=1T−1∑j=1T−1(max⁡k∈{j…T−1}Ak,j−AT,j)F = \frac{1}{T-1} \sum_{j=1}^{T-1} \left( \max_{k \in \{j \dots T-1\}} A_{k,j} - A_{T,j} \right)

Model Architecture Task 0 MSE Task 1 MSE Task 2 MSE Average Forgetting FF Forgetting Reduction
Standard Baseline (SGD/Adam) 0.1172 0.2974 0.1065 0.1091 Baseline
NOVA-UAC (ECAL + Consolidation) 0.1173 0.2887 0.1064 0.1005 7.83% Lower Forgetting

Result: ECAL prevented catastrophic degradation on prior tasks while adapting to incoming distributions.

5.2 Dynamic Resonance Memory Capacity & Knapsack Compliance

Evaluated with 80 transactional proposals submitted to an active memory bank under a strict 4096-byte hardware constraint:

Metric Measured Value Requirement / Threshold Status
Total Memory Candidates Evaluated 80 records - -
Candidates Committed by Write Gate 16 records Utility Threshold τ≥0.5\tau \ge 0.5 Passed
Retained under 4096-byte Budget 16 records (4096 B) ≤4096\le 4096 bytes 100% Budget Compliance
Average Write Evaluation Latency 0.52 ms < 5.0 ms Passed
Batch Associative Retrieval Latency 1.05 ms < 5.0 ms Passed
Top Memory Utility Post-Decay 0.791 > 0.0 Retained Active Utility

5.3 Real-Time Streaming Latency across Modalities

Tested on live streaming inputs with real convolutional, temporal, and byte encoders:

Modality Stream Processing Latency State Novelty ntn_t Uncertainty utu_t ECAL Adaptation Rate αt\alpha_t
Text Document (Byte Stream) 29.70 ms 1.000 0.824 0.914
Camera Frame (Pillow Image) 41.03 ms 1.000 0.823 0.914
Sensor Telemetry (Vector) 25.79 ms 0.994 0.881 0.917
Distribution Anomaly Burst 24.86 ms 1.000 0.856 0.916
Interactive Query Vector 25.41 ms 0.976 0.836 0.912

5.4 Edge Mobile Latency & Compression Ratios

5.5 Comprehensive 22-Test Verification Suite

Executed via python -m pytest tests/ with zero failures:

  1. test_core.py (3 tests): Shape checks, tensor utilities, NaN/Inf protection guards.
  2. test_usf.py (3 tests): Contraction bound verification, leaky update dynamics, state reset.
  3. test_drm.py (3 tests): Transactional write gate, continuous decay, Knapsack eviction compliance.
  4. test_ecal.py (3 tests): Gradient conflict estimation, adaptive step gating, Fisher stability regularization.
  5. test_multimodal_and_compression.py (3 tests): Multimodal encoding, INT8/INT4 PTQ, mobile export bundle.
  6. test_sdk.py (3 tests): End-to-end Engine, Dataset, Model.fit(), save, load, and trace verification.
  7. test_workflow.py (2 tests): Agentic StateGraph conditional routing, loop guards, Pipeline execution.
  8. test_serving.py (2 tests): FastAPI HTTP REST endpoints (/health, /predict, /memory).

Solved questions and answers

The equation exercises use illustrative inputs. The benchmark exercises use figures reported in the NOVA master specification.

Q1. How quickly can the gap between two USF states shrink?

Question. The recurrent weight norm is 0.60.6, the leak gate is fixed at 0.50.5, and two runs start 22 units apart. With shared inputs and retrieval, what is the maximum gap after three steps?

Solution. With tanh⁡\tanh, the activation Lipschitz constant is one. First calculate the contraction bound, then apply it three times.

k=(1−0.5)+0.5(0.6)=0.8,∥s3−s3′∥2≤0.83(2)=1.024.k=(1-0.5)+0.5(0.6)=0.8,\qquad \|s_3-s'_3\|_2\le 0.8^3(2)=1.024.

Answer. The gap is at most 1.024 units under these assumptions.

Q2. What vector does resonance memory return?

Question. Two memory records have affinities 0.60.6 and 0.20.2, with values (2,0)(2,0) and (0,4)(0,4). What does DRM return when the denominator floor is negligible?

Solution. Normalize the affinities by 0.80.8 to get weights 0.750.75 and 0.250.25. Form the weighted sum.

r=0.75(2,0)+0.25(0,4)=(1.5,1).r=0.75(2,0)+0.25(0,4)=(1.5,1).

Answer. The recalled vector is (1.5,1)(1.5,1).

Q3. How much error does INT8 quantization introduce?

Question. A matrix has maximum absolute weight 1.271.27. Quantize a weight of −0.374-0.374 using symmetric INT8 and find its reconstruction error.

Solution. The scale is 1.27/127=0.011.27/127=0.01. Divide, round, and multiply by the scale.

q=round⁡(−0.374/0.01)=−37,w^=−0.37,∣w−w^∣=0.004.q=\operatorname{round}(-0.374/0.01)=-37,\quad \widehat w=-0.37,\quad |w-\widehat w|=0.004.

Answer. The integer is −37. The error is 0.004, within the half-step bound of 0.0050.005.

Q4. What novelty score does the runtime compute?

Question. The input norm is 55, the reconstruction residual norm is 1.51.5, and κ=0.5\kappa=0.5. What novelty score does NOVA compute when ϵ\epsilon is negligible?

Solution. Normalize the residual by the input magnitude and calibration factor, then clip at one.

n=min⁡(1,1.5/(5⋅0.5))=0.6.n=\min(1,1.5/(5\cdot0.5))=0.6.

Answer. The score is 0.6. It exceeds the example ARA novelty threshold of 0.40.4, making the observation eligible for additional refinement under that policy.

Q5. What happens when ECAL sees opposing gradients?

Question. Let gt=(1,0)g_t=(1,0) and gref=(−1,0)g_{\rm ref}=(-1,0). Ignore the denominator floor. If the gate logit is otherwise zero and the conflict coefficient is two, how does the gate change?

Solution. The cosine similarity is −1-1, so the conflict is one. The logit drops from zero to −2-2.

αno conflict=sigmoid⁡(0)=0.5,αconflict=sigmoid⁡(−2)≈0.1192.\alpha_{\rm no\ conflict}=\operatorname{sigmoid}(0)=0.5,\qquad \alpha_{\rm conflict}=\operatorname{sigmoid}(-2)\approx0.1192.

Answer. The gate drops to 0.1192. With the same learning rate and clipped gradient, the task update is about 23.8% as large.

Q6. How much lower was reported average forgetting?

Question. The benchmark table displays baseline forgetting of 0.10910.1091 and NOVA forgetting of 0.10050.1005. What relative reduction follows from those values?

Solution. Compute the absolute difference and divide it by the baseline.

0.1091−0.1005=0.0086,0.00860.1091×100%≈7.88%.0.1091-0.1005=0.0086,\qquad \frac{0.0086}{0.1091}\times100\%\approx7.88\%.

Answer. The displayed values imply about 7.88%. The source reports 7.83%. The displayed precision alone cannot establish how the source obtained its percentage.

Q7. What does a 3.85 ms step imply for throughput?

Question. If a serial loop takes the reported 3.85 ms per step, what steady-state throughput does the reciprocal imply?

Solution. Divide the number of milliseconds in a second by the time per step.

1000 ms/s3.85 ms/step≈259.7 steps/s.\frac{1000\ \mathrm{ms/s}}{3.85\ \mathrm{ms/step}}\approx 259.7\ \mathrm{steps/s}.

Answer. About 260 steps per second at the stated step latency. End-to-end throughput also depends on input processing, transfer, and scheduling overhead.

Q8. What fraction of memory proposals were admitted?

Question. The benchmark evaluated 80 candidates, committed 16, and retained those 16 under a 4096-byte budget. What was the admission rate and mean accounted size per retained record?

Solution. Divide committed candidates by proposals and occupied bytes by retained records.

1680×100%=20%,409616=256 bytes/record.\frac{16}{80}\times100\%=20\%,\qquad \frac{4096}{16}=256\ \mathrm{bytes/record}.

Answer. The admission rate was 20% and the mean accounted size was 256 bytes per retained record.

Prior art and claim boundaries

Paradigm Landmark Prior Art Architecture Difference in NOVA-UAC Novelty & Claim Boundary
Attention Sequence Models Transformer (Vaswani et al., 2017) USF uses a fixed-width recurrent state and O(N) forward work over N frames when per-frame work is bounded. Attention-based sequence models can compare pairs of tokens. Focus on state coupling to novelty and compute budget rather than claiming attention replacement alone.
State Space Models S4 (Gu et al., 2021), Mamba (Gu & Dao, 2023) Mamba employs data-dependent linear state transitions; NOVA couples non-linear contraction dynamics directly with external associative memory feedback. Distinct non-linear recurrence coupled with transactional external memory.
External Differentiable Memory NTM (Graves et al., 2014), DNC (Graves et al., 2016) DNC uses differentiable read/write heads with temporal linkage. DRM uses transactional utility-based write gating with Knapsack capacity budgeting and exponential decay. Memory operations in DRM are inspectable and transactional, supporting provenance and explicit deletion.
Test-Time Memorization Titans (Behrouz et al., 2025) Titans uses neural memory modules optimized via gradient descent at test time. ECAL uses analytical gradient conflict gating and stability regularizers. Novelty lies in the analytical conflict arbitration rule preventing prior degradation.
Associative Memories Modern Hopfield Networks (Krotov & Hopfield 2020) Hopfield networks operate energy-based retrieval over static stored patterns. DRM combines Gaussian resonance with confidence weighting and utility decay. Explicitly evaluated memory retention and eviction under Knapsack capacity limits.
Continual Learning EWC (Kirkpatrick et al., 2017), Synaptic Intelligence ECAL dynamically gates the base learning rate using online novelty, uncertainty, and gradient conflict before applying regularized parameter steps. Gating the optimizer shows 7.83% lower empirical forgetting under streaming distribution shifts.
Frameworks & Orchestrators LangChain, LangGraph, DSPy Traditional systems glue disparate external APIs with Python strings. NOVA's Workflow SDK natively passes mathematical state and activates internal DRM memory without external dependencies. Native execution engine in both Python and TypeScript with zero third-party framework dependencies.

Worked derivations and live training

Follow two successive machine-sensor frames through a small recurrent model. The examples use synthetic values and recalculate in your browser. For a field pilot, replace the example stream with measured, labelled data and hold out complete machines or time periods for evaluation.

Problem 1 · Train a recurrent predictor from scratch

Question. A sensor sends frames x1 = 1 and x2 = 2. Its final target is 1. With starting weight 0.4 and learning rate 0.2, what weight should the first gradient step produce?

For this teaching model, the activation is linear, recall is zero, and the state gate and recurrent weight are fixed at 0.5. The only trainable parameter is the input weight w. Set the initial state and its derivative to zero. Every step recomputes both frames with the same shared weight.

  1. Forward pass. Apply the recurrence sₜ = 0.75sₜ₋₁ + 0.5wxₜ. The coefficient 0.75 comes from the gate: (1 − 0.5) + 0.5 × 0.5.
  2. Loss. Use the last state as prediction. Define L = ½(s₂ − y)².
  3. Backpropagate through the two frames. Use dₜ = ∂sₜ/∂w = 0.75dₜ₋₁ + 0.5xₜ. Frame 1 contributes to the derivative of frame 2 because the weight is shared over time.
  4. Update and verify. Compute g = (s₂ − y)d₂ and w′ = w − ηg. Re-run both frames with w′ to see the new loss.

Default answer. The states are 0.2 and 0.55. The loss is 0.10125. The intermediate derivatives are 0.5 and 1.375, so the gradient is −0.61875. The update gives 0.52375.

In the proposed NOVA pipeline, a trainable encoder, recurrent state, and task head can have many parameters. Fit them from initialized weights using labelled sequences, then evaluate untouched sequences. Start with the documented Python training example. The two-frame exercise shows the mechanics of recurrent training and does not implement the complete NOVA SDK.

Problem 2 · Normalize two frames

  1. Question. A machine reports 70 and 90. Training data gives mean 80 and standard deviation 10. What features enter the recurrent model?
  2. Subtract the training mean: 70 − 80 = −10 and 90 − 80 = 10.
  3. Divide by the training standard deviation: −10/10 and 10/10.
  4. Answer. The normalized pair is (−1, 1). Reuse the training statistics for validation and test; fitting on the test set leaks information.

Problem 3 · Bound the recurrent state gap

  1. Question. With fixed gate 0.25 and a candidate map with Lipschitz constant 0.6, how large can a starting gap of 2 be after three frames with the same inputs?
  2. The one-step factor is (1 − 0.25) + 0.25 × 0.6 = 0.9.
  3. Apply the bound three times: 2 × 0.9³ = 2 × 0.729.
  4. Answer. The gap is at most 1.458. If gate or retrieval changes with state, include its sensitivity as described above.

Problem 4 · Recall memory and enforce its byte budget

  1. Question. Two records have affinities 0.6 and 0.2, with stored values 4 and 8. A candidate with utility 0.9 uses 512 bytes. Its two alternatives use 256 bytes each and have utilities 0.7 and 0.6. What should the recall and 512-byte retention results be?
  2. Normalize affinities using total 0.8, ignoring a negligible denominator floor. The weights are 0.75 and 0.25, so recall is 0.75 × 4 + 0.25 × 8 = 5.
  3. Under the cap, the candidate alone scores 0.9. Both smaller records fit and score 0.7 + 0.6 = 1.3.
  4. Answer. Recall is 5, and the two smaller records win this exact retention calculation. Affinity ranks recall; utility governs retention.

Problem 5 · Use novelty and uncertainty to budget compute

  1. Question. The input norm is 10, residual norm is 3, and calibration scale is 0.5. Two prediction heads return 2 and 4. A policy uses two extra passes when novelty is at least 0.5.
  2. Ignoring the denominator floor, novelty is min(1, 3/(10 × 0.5)) = 0.6.
  3. The heads average 3. The population variance is [(2 − 3)² + (4 − 3)²]/2 = 1. This illustrates ensemble disagreement; it is separate from aleatoric uncertainty.
  4. Answer. The policy runs two extra passes. At 4 ms base plus 2 ms per pass, the simulated step costs 8 ms. The numbers are illustrative.

Problem 6 · Gate an update when gradients conflict

  1. Question. Candidate and reference gradients are (3, 0) and (−2, 0). The clip norm is 2, the learning rate is 0.1, and the resulting learning gate is 0.25.
  2. The cosine is −1, so the gradients oppose each other. Clip (3, 0) to (2, 0).
  3. Multiply by the rate and gate: 0.1 × 0.25 × (2, 0) = (0.05, 0).
  4. Answer. The task contribution to the parameter change is (−0.05, 0). A separate stability penalty can contribute another term. The example supplies the gate rather than estimating it from fitted coefficients.

Problem 7 · Quantize a loaded checkpoint

  1. Question. The maximum absolute tensor weight is 0.7. Encode weight 0.36 using symmetric INT4 with signed limit 7.
  2. Calculate scale 0.7/7 = 0.1. Divide 0.36 by 0.1 to get 3.6, then round to 4. Clipping leaves 4 unchanged.
  3. Dequantize to 4 × 0.1 = 0.4.
  4. Answer. The stored integer is 4 and absolute error is 0.04. The per-weight half-step bound here is 0.05, before effects propagate through layers.

Problem 8 · Evaluate the NIEN proposal on one edge

  1. Question. The target is 1, full prediction is 0.8, and masked prediction is 0.5. By how much does masking increase squared loss?
  2. Full loss is (1 − 0.8)² = 0.04; masked loss is (1 − 0.5)² = 0.25.
  3. Answer. Masked minus full loss is +0.21. This is a hypothetical signed credit for the tested edge under that intervention. Compare with frozen and unsigned-gate controls before treating it as a useful training signal.

When NOVA scales as O(N)

Let N be the number of frames in a stream. NOVA’s recurrent forward pass updates a fixed-width state once per frame. If state width, input dimension, memory capacity, and the maximum refinement passes stay fixed, the maximum work per frame is bounded independently of N. One pass over N frames therefore takes O(N) work in stream length.

  1. Encode one frame. Keep the size of each frame and the encoder configuration fixed.
  2. Update state and recall. Reuse the fixed-width state and query a memory bank with a fixed record limit. A linear scan of M records of width d costs O(Md) per query.
  3. Bound refinement. Cap the number of additional passes. Count the actual work even when the policy runs extra passes.
  4. Sum across frames. With a fixed per-frame bound C, total work is at most NC. If the memory bank or model grows with the stream, re-derive the bound.

Example. With 64 memory records and at most one recall per frame, 1,000 frames require up to 64,000 record comparisons, and 2,000 frames require up to 128,000. These are operation counts in a simplified example. They do not measure total runtime.

Training has a separate budget. Full backpropagation through a stream can store activations for every frame, even when deployment state width is fixed. Truncation or local learning changes that trade-off. Exact edge ablation adds work per tested edge. Dense Fisher solves, expanding memory, and longer training runs can dominate runtime.

See the documented from-scratch training example · See how to test the hardware cost

Additional mechanisms described by the NOVA team

The following sections document mechanisms described by the project team. The source modules, feature parity between SDKs, and performance figures were not independently checked for this update. The site’s existing reference architecture describes USF, DRM, ECAL, ARA, and edge export. Treat the mechanisms below as extensions to verify against versioned source and reproducible tests.

MechanismHow it worksWhat to verify
Hamiltonian state update
nova/architecture/hamiltonian.py
For a separable Hamiltonian, Verlet–leapfrog applies a half momentum step, a full position step, and another half momentum step at the new position.Report the step-size regime, energy drift, long-run state bounds, and differences introduced by damping or parameter updates. Symplectic integration alone gives no universal stability guarantee. Hamiltonian neural networks
Quantum-inspired phase memory
nova/memory/qsrm.py
Compare normalized complex query and memory vectors using squared inner-product magnitude, |sᴴm|². Phase affects the score. The calculation uses classical complex arithmetic.Compare with real-valued associative recall at equal memory bytes and retrieval quality. Establish whether phase improves recall in controlled ablations.
Fisher-aware continual updates
nova/learning/recal.py
Precondition a gradient using a Fisher estimate. A damped solve, (G + λI)u = g, gives a direction for the parameter update. Natural-gradient preconditioning and a conflict projection are separate operations.Specify whether the Fisher approximation is diagonal, block, or dense. Measure cost and forgetting separately. A Fisher-aware step does not guarantee that learning preserves every previous task.
Diagnostics and tuning
nova/tuning/
Use a covariance spectrum to detect poorly conditioned input features. Estimate the condition number from the largest and smallest eigenvalues, with special handling for singular matrices.Compare proposed adjustments with fixed settings on untouched streams. Report preprocessing cost and guard against tuning on evaluation data.
Telemetry and SDKs
nova/dashboard/server.py
The team describes a dashboard streaming loss, accuracy, state-energy, and memory metrics. The public package links are PyPI and npm.Verify each package version and device separately. Distinguish telemetry update frequency from browser animation frame rate and report both.

Worked example · One leapfrog step

Take q = 1, p = 0, time step 0.1, unit mass, and potential V(q) = q²/2. The derivative of V is q. First apply the half-step to get p½ = −0.05. Then update position to q′ = 1 + 0.1(−0.05) = 0.995. The second half-step uses q′, giving p′ = −0.05 − 0.05(0.995) = −0.09975. Comparing long-run error requires multiple steps, step sizes, and initial states.

Worked example · Phase alters recall

Use the normalized query (1, i)/√2. A matching memory vector has squared overlap 1. The vector (1, −i)/√2 has overlap (1 − 1)/2 = 0 using the conjugate inner product. Equal coordinate magnitudes can produce different scores when the phases differ.

From local data to a trained model

  1. Choose a bounded prediction task and a labelled local dataset. Start from initialized weights for the from-scratch experiment.
  2. Encode each sensor or tabular observation into features. Update state and produce a prediction. Compute the training loss against the label and update the model with the selected optimizer.
  3. Evaluate on a separate time period or device. Replay a regime shift with delayed labels to distinguish ordinary prediction, online updates, and retention.
  4. Record the platform and runtime. A configured local pipeline can avoid calling a hosted model API. Device support must be established for each package and configuration.

In a typical hosted generation request, supplied text changes the model's context. Weight updates are a separate process. Retrieval, conversation history, and adapters support different forms of adaptation. Compare NOVA with these methods on shared tasks, alongside recurrent and Transformer baselines.

What would prove hardware savings?

Train a compact predictor from initialized weights on local labelled data using the documented Python workflow. Test the same accuracy floor and deadline on CPU and an accelerated baseline. Report training energy and time, peak memory, update overhead, and inference quality by device. Compare the proposed extensions one at a time before attributing savings. No universal GPU reduction, RAM threshold, or percentage saving has been established here.

Website choices

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