brainintelli/BioSignal-Guided-LLM-Reinforcement-Learning
Machine LearningResearch repo testing whether organoid neural-signal readouts change LLM agent exploration and survival in a Godot game, with paired evaluation code.
What it is
This is a research project, not a general-purpose RL library. It asks a narrow, measurable question: when an LLM agent plays a grid survival game in Godot, does feeding it offline recordings of organoid electrical activity change how much terrain it reveals per time budget, and does it change survival from low-health, severe-thirst or severe-hunger starts?
The setup converts each one-second microelectrode-array window into four readouts (spikes per selected channel, fraction of firing channels, temporal concentration and cross-channel entropy), calibrates them, and passes them to Qwen3.5-0.8B in the prompt and to its value network. The model base is frozen while PPO updates a policy adapter; the value network is updated separately. Comparisons include intact replay, time-shuffled replay, an all-zero masked control, and a second recording from a different chip, all matched by seed and map Preprint Source guide.
Quick start
You can reproduce the headline analyses offline from the included paired outcomes, without the game, checkpoints or electrophysiology files. Requirements are Python 3.12 and the repository root as working directory Environment:
python -m src.reproduce smoke
python -m src.reproduce exploration
Each command writes a fresh run directory containing results and input hashes. Interval estimation, the remaining endpoints and figure generation are documented in the reproduction guide; a result-by-result matrix states which results can be regenerated here and which need extra assets.
Accessing data and model artifacts
- The 182 raw H5 electrophysiology files are distributed through a Quark Drive share with extraction code
mFFv; verify downloads against the published SHA-256 list data access archive. - Checkpoints, optimizer states and historical archives are in the research-artifacts-v1 release, with a download and checksum guide in the archive guide.
- Per-game tables, action records and the data dictionary are in the repository data actions dictionary.
Constraints and caveats
- The repository's own results cut against a simple claim that organoid replay helps. At six decisions the intact group revealed 1.99 more cells on average on 48 maps, but the median difference was zero (615 of 768 matched games tied), and intervals at equal elapsed time crossed zero. Exploration did not replicate on the second chip (22554), and all six adverse-start intervals crossed zero.
- Because actions have variable duration, equal decision counts and equal elapsed time answer different questions; the README's analysis attributes most of a first-day score gap to action duration (84.3% intact, 95.9% unstimulated) rather than better survival choices.
- The audit trail notes deviations: all adverse-start maps and eight seeds had been used in pilot work, design identifiers were updated after evaluation, and a registered audit-game source and scenario-verification hash did not match the registration. Section 5, Section 8 and Appendix B of the manuscript describe these source notes.
- The README explicitly avoids interpreting health bars or water-seeking as subjective feelings.
- Code, data and training artifacts carry separate licenses code data training artifacts. The training trials used organizer-specific firmware and acquisition programs; the project contents page lists the remaining dependencies needed for full reproduction.
What to expect
This suits readers evaluating the paper's methodology, researchers interested in biosignal-conditioned agent policies, and anyone reproducing the statistics. It is not a toolkit for running your own organoid experiment or a packaged RL framework; the training and evaluation entry points live under historical and src, with broader game and acquisition code under original.
HotRepo's take
HotRepo recorded the project once, on 2026-11-24 in the new-project list, at 107 stars and 23 forks, with 107 stars and 23 forks added in a window just over 12 hours long; there is no daily all-language rank for it. That is a single-snapshot observation, so it says nothing about sustained traction. The notable thing is substantive: the repo publishes per-game paired outcomes that show a small mean cell gain with a median of zero and no replication on the second chip. A reader can rerun those numbers offline before deciding how much weight to give the organoid-signal story.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.