PrivnetAI/laboratory
GRAPH LEARNING, MADE INSPECTABLE

Compile the graph.
Inspect the computation.

Turn graph propagation into a reusable feature bank. Adjust its degree, perturb the inputs, and compare two independent paths through the same model.

01 / THE GRAPH

A graph you can inspect

Loading graph…BUNDLED DEMO
Interactive demonstration graph Select a node to inspect its model scores. Node positions are illustrative; edges define the graph.
Select a node to inspect its scores
Layout groups reference labels; positions are illustrative.
02 / CLIENT COMPILATION

From edges to a feature bank

PLAINTEXT
1
NormalizeS = D⁻½(A + I)D⁻½Undirected graph · one self loop
2
Compile
B₀ = X · B₁ = SX
3
Evaluatep(Σ BₖΘₖ + b)W + cPolynomial activation · linear readout

Chebyshev recurrence: Bₖ = 2SBₖ₋₁ − Bₖ₋₂. The independent oracle constructs the full Tₖ(S) matrices. Both paths use identical inputs and weights.

SAME-MODEL AGREEMENT—%Compiled vs direct oracle
MAXIMUM LOGIT ERROR—Absolute floating-point difference
ALL-NODE ACCURACY—%Illustrative · no held-out evaluation
BANK SCALAR VALUES—(K + 1) × nodes × features
03 / INSPECT A NODE

Node scores

—

Raw logits are model scores, not calibrated probabilities. The largest score determines the prediction.

COMPUTATION DETAILS

Measured in your browser

LOCAL
Compile the bank
—
Evaluate compiled readout
—
Independent dense oracle
—
Mean absolute logit error
—

One local run, including browser noise. These timings do not measure encrypted execution, a server, or a research benchmark.

WHY A FEATURE BANK?

Move the graph work.
Keep the model explicit.

For a fixed graph operator, the client can compute Chebyshev-transformed features once. The readout then uses dense projections of those features, a polynomial activation, and a final classifier.

This laboratory checks the algebra with an independent direct oracle. It demonstrates numerical equivalence for the selected model; it does not establish accuracy on unseen data, conceal the default plaintext bank, or prove security.

Read the findings and proposed roadmap

Method reference: PrivNet-Krylov by Ehsan Hakimian and Chiman Soltanian ↗. This browser implementation was written independently; upstream source code is not bundled.