NOVAAIGet started

NOVA-UAC · v0.5.1

December engineering deep dive

Follow a prediction from standardized features through three model branches, then work through the equations used to initialize, train, and evaluate them.

Walk a prediction through the model

Move the sliders to vary the three illustrative branch outputs. The green path is the direct linear contribution, blue is the recurrent task head, and violet is the cross-interaction contribution. This teaching model illustrates the summation and rescaling with chosen values.

Standardized sum: 1.00
Prediction in original units: 24.00
Illustrative interval: [22.80, 25.20]

Target mean = 20, scale = 4, calibrated margin assumed = 1.20 target units.

See the complete forward-pass diagram

Formulas, derivations, and worked answers

1. Standardization and real-unit predictions

Question. A sensor reads 14. Its training mean and scale are 10 and 2. If the model returns 1.25 in standardized target space and the target mean and scale are 20 and 4, what does it predict?

  1. Center and scale the feature: z = (x − μₓ) / σₓ = (14 − 10)/2 = 2.
  2. Invert target standardization: multiplying ŷ′ = (ŷ − μᵧ)/σᵧ by σᵧ and adding μᵧ gives ŷ = μᵧ + σᵧŷ′.
  3. Substitute the values: ŷ = 20 + 4 × 1.25 = 25 target units.

Fit means, scales and categorical encoders on training data and reuse them at prediction time. Record the feature order. A constant feature needs an explicit scale policy to avoid dividing by zero.

2. Ridge warm-start for the direct highway

Question. For one centered feature X = [−1, 1]ᵀ, centered targets y = [−2, 2]ᵀ, and λ = 1, what initial slope does ridge give?

  1. Minimize J(w) = ‖Xw − y‖² + λ‖w‖².
  2. Differentiate: ∇J = 2Xᵀ(Xw − y) + 2λw.
  3. Set the gradient to zero and rearrange: (XᵀX + λI)w = Xᵀy.
  4. Here XᵀX = 2 and Xᵀy = 4, so w = 4/3 ≈ 1.333. The unregularized slope is 2. Centering handles the intercept in this example.

The direct path provides a linear component to the final sum. The release report describes keeping the ridge initialization when it improves validation.

3. Fourier features and the residual encoder

Question. What periodic features are produced by z = π/2 with frequency ω = 1 and phase b = 0?

  1. Compute θ = ωz + b = π/2.
  2. Compute [sin θ, cos θ] = [1, 0].
  3. Combine the raw feature and periodic pair as [z, sin θ, cos θ] before learned projection. A dimension-compatible skip adds a direct input contribution: encoder(z) = skip(z) + f(z).

The pair changes smoothly as the input changes. The learned projection decides how much of that signal informs the recurrent path.

4. Hamiltonian fusion and bounded sequence work

Question. Take H(q,p) = (q² + p²)/2, initial state (q,p) = (1,0), and step size ε = 0.2. What is one leapfrog step?

  1. Half kick: p½ = p − (ε/2)q = −0.1.
  2. Drift: q₁ = q + εp½ = 0.98.
  3. Second half kick: p₁ = p½ − (ε/2)q₁ = −0.198.

A learned gate mixes the Hamiltonian contribution into the state update. This oscillator illustrates leapfrog. With fixed widths, memory capacity, and per-frame work bounded by C, processing N frames costs at most C × N work.

5. Bounded DCN-v2 cross and SwiGLU

Question. Let h₀ = c₀ = [2,3], let W swap the coordinates, and let b = 0. What does one bounded cross step produce?

  1. Wc₀ = [3,2].
  2. tanh(Wc₀) ≈ [0.9951,0.9640].
  3. Multiply elementwise by h₀, then add c₀: c₁ ≈ [3.9901,5.8921].

Without saturation near zero, tanh(u) ≈ u and the cross term becomes approximately h₀ ⊙ Wc₀. This is where multiplicative interactions arise. The separate SwiGLU path forms SiLU(Wg h₀) ⊙ Wv h₀, projects it, adds the residual, and normalizes. If its scalar gate input is 0 and value input is 3, SiLU(0) × 3 = 0.

6. Hybrid loss and validation-gated L-BFGS

Question. For residual e = 3 and Huber threshold δ = 1, what is the reported 65/35 blend for one example?

  1. Huber is e²/2 when |e| ≤ δ and δ(|e| − δ/2) otherwise. At the boundary both branches give δ²/2, with matching slopes.
  2. Here Huber equals 1 × (3 − 0.5) = 2.5, while squared error equals 9.
  3. Blend the two: 0.65 × 2.5 + 0.35 × 9 = 4.775. For a batch, average the per-example terms.

After AdamW, limited-memory BFGS uses recent parameter and gradient differences to approximate curvature. The report describes up to 25 output-branch iterations with strong-Wolfe line search, with the updated checkpoint kept only if validation improves.

7. A 90% split-conformal interval

Question. With 19 calibration rows, the 18th smallest absolute residual is 1.20. What interval surrounds a prediction of 24?

  1. Compute calibration scores rᵢ = |yᵢ − ŷᵢ| on a calibration set separate from model fitting and tuning.
  2. For α = 0.10, the one-based rank is ceil((n + 1)(1 − α)) = ceil(20 × 0.90) = 18. The extra rank correction comes from including the future example among the n + 1 exchangeable scores.
  3. Use the score at that rank as the margin: [24 − 1.20, 24 + 1.20] = [22.80, 25.20].

This is nominal marginal coverage under exchangeability. It does not imply 90% accuracy for a particular prediction. For time-series data, examine whether a time-respecting calibration strategy is appropriate. Conformal prediction reference.

8. Reading R², MAE, and percentage points

Question. Actual values are [2,4,6] and predictions are [3,4,5]. What are MAE and R²?

  1. The absolute errors are [1,0,1], so MAE = (1+0+1)/3 = 0.667.
  2. The target mean is 4. The residual sum of squares is 2, and the total sum of squares is (2−4)²+(4−4)²+(6−4)² = 8.
  3. R² = 1 − SSE/SST = 1 − 2/8 = 0.75. An R² of 0.75 here describes variance explained relative to the mean baseline.

The nonlinear benchmark moved from 86.64% to 98.85% unseen R², a difference of 12.21 percentage points. The attachment gives MAE values of 1.2002 and 0.1103, about a 90.8% reduction. Comparability depends on the evaluation protocol.

Benchmark charts and detailed scores

These are project-reported measurements. The charts compare the reported nonlinear holdout and CPU latency ranges. Latency depends on the workload and hardware.

Nonlinear 3D · unseen R² 0–100% scale
  • v0.4.878.32%
  • v0.4.978.32%
  • v0.5.086.64%
  • v0.5.198.85%
CPU inference latency 0–7 ms per request
  • v0.4.8~3–5 ms
  • v0.4.9~3–5 ms
  • v0.5.02.84–3.31 ms
  • v0.5.13.38–6.68 ms

Headline results by version

VersionFitness (data.csv)Physical SensorsNIFTY Financial ServicesComplex Nonlinear 3DOverall reported rangeCPU latency
v0.4.878.40%97.89%94.14%78.32%78.32% – 97.89%~3–5 ms
v0.4.981.93% (91.36% clean)97.89%94.14%78.32%78.32% – 97.89%~3–5 ms
v0.5.089.66% (92.35% clean)99.99%95.47%86.64%86.64% – 99.99%2.84–3.31 ms
v0.5.195.22% (96.87% train)99.99%96.38%98.85%95.22% – 99.99%3.38–6.68 ms

The range is the lowest and highest headline result across the four datasets for each version. These project-reported percentages use different metrics and evaluation splits.

VersionCalories MAESensor R² / matchNIFTY R² / MAENonlinear MAE
v0.4.869.7997.66% / 97.89%93.35% / ₹765.13 crore1.4596
v0.4.958.3997.66% / 97.89%93.35% / ₹765.13 crore1.4596
v0.5.040.3499.99% / 99.99%93.29% / ₹762.11 crore1.2002
v0.5.133.9199.99% / 99.78%93.55% / ₹750.91 crore0.1103

Full-data R², training R², held-out R², and match scores measure different outcomes. The report does not define the match formula. See all four dataset charts.

Verify a dataset and its export

  1. Record the package version, hardware, feature schema, split identifiers, and scoring formulas. For sequential data, avoid training on information from after the forecast date.
  2. Check that uploaded CSV/TSV rows with blank or nonfinite values are handled as expected. The report records 169 → 164 fitness rows after removing five rows with missing targets.
  3. Compare the dashboard prediction, held-out score, and standalone ZIP prediction on the same inputs. Verify the weights’ SHA-256 using the export manifest and use bundles from trusted sources.
  4. Archive preprocessing metadata, the calibration set description, and the exported result. The engineering report records 28 Python and 7 Node.js tests passing.

Open the dashboard, API, and ZIP export instructions · See the files changed by release.

Website choices

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