r/coolgithubprojects • • 57m ago

mimi-brain4-paper: a compact learning agent in C that keeps learning after deployment, with every experiment's pass/fail rule committed before it ran

https://github.com/zOthix/mimi-brain4-paper

This is the code and data behind our research paper on Mimi (libbrain4), a compact reinforcement-learning agent written in C. It keeps adapting while it runs, using a memory of its own mistakes. It comes from a small research team in Rawalpindi/Islamabad, Pakistan.

What's in the repo:

- The agent library in plain C. It builds with CMake in two commands and runs on a normal CPU.

- Bit-for-bit reproducible on CPU. A check of about 1 minute on 4 threads re-runs one trained mind and diffs it against our published output.

- The task suite, baselines (PPO, recurrent PPO, RL2-style), fighting-game matches, and every result file with its verdict.

- Every experiment's pass/fail rule, committed before it ran. Each verdict can be re-read from the result files in minutes with standard-library Python.

Results, wins and losses:

- Our 10-family task suite: 0.498 vs 0.271 for PPO with the same memory module.

- 8 sealed task families written blind to our results: a narrow win, 0.067 vs 0.057.

- Fighting game (DareFightingICE): pre-registered tests passed against PyThunder and ERHEA_PI.

- Public benchmarks Omniglot and XLand-MiniGrid: losses.

Licence: PolyForm Noncommercial (free for research, learning and teaching).

If you'd like to support the next stage (Atari 100k, published win or lose): https://labs.khive.io/fund

23 Upvotes

4 comments sorted by

0

u/DangerousName1863 51m ago

huge man

0

u/Seeker94 50m ago

Thanks! Really proud of it!

0

u/TSF-PK 47m ago

That is very impressive!

0

u/Seeker94 47m ago

Thank you!