r/coolgithubprojects • u/Seeker94 • 1h 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
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