Experimental learning

Learning, one example at a time.

JAYCE explores Adaptive Prototype Memory (APM): learning from labeled examples and corrections to improve future predictions.

The name stands for Jayce Associates Your Categorized Exemplars, inspired by a toddler learning toy names.

How APM differs from backpropagation

A prototype starts as the numerical representation of a labeled example, or exemplar. APM learns by saving prototypes or moving them toward new examples.

Two ways to learn from labeled examples
StepAPMNeural network with backpropagation
StoresLabeled prototypes.Weights connecting neurons.
LearnsSaves or moves a prototype.Uses error gradients to update weights.
PredictsUses the label of the closest prototype.Passes the input through the trained network.

In the Java benchmarks, the neural network had higher accuracy in 8 of 12 comparisons; APM led on the digit tests. The results also compare training time and memory use.

Learning in the chat app

Jayce tries → the parent answers → APM learns → Jayce tries again.

A parent model such as Qwen answers every turn. When its answer differs from Jayce's, Jayce learns from it, updates its prototype memory, and tries again. The parent's weights stay fixed. Jayce can learn its mistakes too.

Terminal recording of Jayce. Jayce says it doesn't know, the parent model answers, and Jayce learns and repeats the answer. Later, Jayce is taught a wrong answer and the parent corrects it.
A real session with Qwen3-4B Instruct (Q4_0) as the parent. Model loading is skipped and long waits are shortened.
See the recorded chat ↗

Watch Jayce learn toy names

Step through new toys, corrections, and the predictions that follow.

Jayce's toy bins

6 labels · 2 memory slots each
🛹 SkateboardLabel 0
Empty
Empty
🚲 BikeLabel 1
Empty
Empty
🚗 CarLabel 2
Empty
Empty
🚚 TruckLabel 3
Empty
Empty
🚂 TrainLabel 4
Empty
Empty
🛼 Roller skateLabel 5
Empty
Empty
Bike B1 is already savedSkateboard and Car examples were learned earlier too.

How Jayce compares examples

Toy features, simplified
Skateboard Bike Car Truck Train Roller skate
Start with Bike B1Use Next to add Bike B2, then learn from mistakes.
Check the distances Square each difference, then add them.

Why are toys close?

The map uses illustrative body-length and bulk scores. Similar scores place toys nearby, even when their labels differ.

What does the correction do?

A person supplies the correct label. Jayce saves the example in that bin, or moves its closest prototype if both slots are full.