PAI-240 · Education

Frontiers in Physical AI: Ternary

The multiply is the cost. Three states {−1,0,+1} delete it, and with it the binary tax of multiplier arrays, the data-movement wall, and leading-edge fabs. Backed by information theory, arithmetic, and material science, this course builds the case in code: the trit is the optimal atom, a ternary policy matches full precision, and multiply-free silicon runs on a mature, sovereign node. Ternary is the bridge from the binary world to post–von-Neumann computing, and the only way forward for embodied AI at the edge.

Frontier·3 modules · 10 labs·10 lessons
▶ Start the course ← All courses
THE HORIZON

Where this sits, and what moves it.

Binding constraint · The multiply, and the data movement it drags behind it. Arithmetic is not the bill; moving operands to the arithmetic is, and a multiply is what forces the movement.

Was impossible

Three-state logic was a 1950s Soviet machine and a footnote. The information-theoretic argument that e -- and so three -- is the optimal radix was known and had nowhere to go, because binary had won the manufacturing base.

Is probable

A ternary policy matching its full-precision twin is reproducible and sits in this course. What is not established is the end-to-end trit: most demonstrations keep binary somewhere in the loop, and a ternary model on binary silicon collects part of the prize. Saying so plainly is the point -- the case is strong and it is not finished.

Becomes possible

It lands when multiply-free logic runs on a mature node with no leading-edge fab in the chain, which is a sovereignty argument as much as a physics one. The number to watch is joules per inference measured at the wall on ternary silicon, not parameter counts or accuracy parity, both of which are already there.

Every hard thing was impossible until the constraint that made it impossible was named. How we read a frontier →

Module 2

The model: a ternary policy that matches full precision

Quantize and train a policy whose weights are only {−1,0,+1}, show it matches its FP32 twin, then price the real energy win.

  1. L3Absmean: rounding a net to three statesIf you round a fully-trained FP32 network's weights straight to {-1,0,+1} with absmean, does its task accuracy survive intact?Ternarize a Gaussian weight matrix with the BitNet b1.58 absmean rule (scale = mean(|W|)) so that every value lands in {-1,0,+1} and the zero fraction, by the rule's scale-invariance, lands inside the 0.2-0.45 band.
  2. L4Train for ternary: QAT matches FP32Can a network whose weights are only {-1, 0, +1} ever match its full-precision twin's accuracy on a task a linear model can't solve?Train a 2-H-2 MLP on XOR-quadrants with quantization-aware training and a straight-through estimator so that, evaluated with weights restricted to {-1,0,+1}, it reaches >=90% test accuracy, matching its FP32 twin.
  3. L4BitVLA: the trit ships in productionBitVLA reports its ternary VLA policy is 11.0x smaller AND 4.4x faster than full-precision OpenVLA-OFT, with matched task performance. What is the one thing this production result does NOT establish?Given the cited BitVLA record (arXiv:2506.07530: 1.4 GB footprint, 11.0x smaller and 4.4x faster than a full-precision OpenVLA-OFT baseline, matched task performance), show that a memory ratio and a latency ratio cannot be multiplied into one 'total win' number, then count which of the three legs of the ternary+energy+certificate slot BitVLA closes -- and which two remain open.
  4. L3the joulesYou just deleted 100% of the multiplies (0 of them remain) and the weights are ~20x smaller. Is the end-to-end energy win therefore around 1000x?Given cited per-operation energies, the learner computes a complete end-to-end joule ledger for a ~1e5-param policy and shows the FP32-to-ternary energy speedup is ~tens x (not ~1000x) because memory movement, not arithmetic, dominates once the multiplies are deleted.