Brain v4 learning to learn (Harlow)

This is brain v4's real code (compiled to WebAssembly) and its trained minds, learning live in your browser. Every six tries it is shown two new objects side by side; one of them is fed when chosen, the other is not, and which side each is on changes from try to try. Harlow (1949) found that monkeys, after many such problems, get the second try right almost every time: they have learned how to learn this kind of problem.

By default you see the full brain: four specialist parts (each a 420 KB mind; two share one mind file) and the learned router that picks which part lives the life. Switch to the single 420 KB mind (v4_meta3) to compare them; the switch starts a new life with the same draws.

Loading the full brain (about 1.4 MB)...

The star marks the object that is fed in this problem (only you see it). Swap makes the other one fed, for the rest of this problem.

Router–
0problems this life
–2nd try right, last 20 problems
–1st try right, last 20 (luck: 50%)
0thoughts this life

Second-try success, one bar per 10 problems. On the first try of a new problem it can only guess; the second try is where learning to learn shows. Dashed: you swapped the fed object.

What is going on

How it runs: the same WebAssembly file and mind files as the room demo (shared, so your browser loads them once). The task is Brain Gym's own harlow code, unchanged; your edits change its state between two thoughts. On the same inputs the WebAssembly build gives bit-identical acts to the native build built with the same C maths library, and the router and the memory of moves give the research programs' own results.