Skip to content
Interactive Laboratory

15. Interactive Laboratory

Deterministic simulations validated by automated tests

Every lab computes its displayed state from explicit inputs. Playback changes the current state, not a decorative timer. Step forward/backward, reset, parameters, and speed are functional controls. Reduced-motion preferences disable autoplay. Each lab also draws its current state as an animated 3D scene: it glides from one step to the next, and light travels along links in the direction the data moves. Rotate it by dragging or with the arrow keys, zoom with plus and minus or Ctrl and the scroll wheel, and point at an object to read what it is. The scene is built from the same state as the text and tables below it, which remain the exact view. Motion can be paused, and stays off under reduced-motion preferences; where WebGL is unavailable the lab says so and the text view still works.

How each lab is laid out

Each lab follows one question from start to finish. You choose a prepared question once, and every lab, diagram and the protection tour uses it. A bar shows which stop of the trip the lab covers: prepare, split, place, send, compute, check or wipe. Then come three cards. What goes in is your question and what this lab takes from it. What the other party sees is what a worker, a relay or the next user of the memory actually gets. What comes out is the model’s full answer, with this lab’s own result under it. Below the cards the lab says why that protects you, what it relies on, and where it stops; where there is an attack to try, a button runs it, and a step that fails its check releases no answer. The questions and answers are prepared, because no language model runs in this manual; the numbers each lab shows are computed in your browser from the question you chose. The same trip appears on screens inside the 3D view, and the exact numbers and controls follow underneath. The protection tour uses these cards to go through the design layer by layer.

One stage for every animation

Every animation in this manual uses the same stage: a dark 16:9 box with the 3D scene in the middle, what goes in on the left, what comes out on the right, and along the bottom a caption and a ribbon that shows the data in each form it takes. A stage plays by itself and starts again when it finishes; it stops when you scroll away and stands still if your system asks for reduced motion. All animations shows every stage on one page.

Live demonstration

The live demonstration puts the whole pipeline on a stage, in eight steps: split, attest, seal, route, compute, return, check, combine. The numbers are shuffled with a secret order and cut into random pieces; each piece is sealed in three layers and passes three relays that each remove one; four workers, each inside an enclave that first shows a signed report of its software, compute on the pieces; your device checks and combines. The relays stand in for a Tor circuit and the enclaves are simulated, and an enclave counts as one more layer, not as proof. You can change a worker’s result, swap a worker’s software or alter a sealed packet and watch each be caught. A prepared answer, a picture and a short clip are produced one step at a time, and every step is one matrix product computed on additive shares, checked with a Freivalds test and recombined in your browser, while a 3D view plays the same steps. The tiles beside it show the numbers each worker holds, and “Tamper with a worker” changes one number so that the check rejects the step. The models are toys: text comes from a lookup table that holds a prepared answer, and pictures come from a small hand-built linear decoder. No language or image model runs, the four workers are roles inside the page, and the pace measures nothing. You can also type your own text or draw your own picture, and look through the eyes of one worker, two workers together, or someone watching the network.

Laboratories

The complete mounted suite is available at Mounted laboratory.

  • Share grid: exact role products, epoch refresh, and tamper attribution.
  • Freivalds: prime-field verification and malformed challenge handling.
  • Quantized formats: source decoding, independent quantization, and exact modular shares.
  • Placement: operation/provider assignments and epoch reshuffling.
  • Conjugation: original/transformed matrices, recovered output, equivalence error, and norm leakage.
  • FWHT: every butterfly stage and direct-matrix comparison.
  • Pipeline: discrete events for encrypted messages, failure, retry, and cleanup.
  • Onion: actual ECDH/AES-GCM layers, per-hop visibility, tamper, and replay.
  • MoE: router logits, expert selection, dummy padding, and output combination.
  • Diffusion/video: latent rotation, Euler steps, permutation, and recurrent state.
  • Memory: allocation, release, synchronization, zeroization, and reuse.

These are teaching models, not production inference substitutes. No chart reports a hardware benchmark unless explicitly labeled as measured on physical equipment.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical