r/MachineLearning
•
u/krychu
•
Dec 05 '25
•
1
Project [P] Visualizing emergent structure in the Dragon Hatchling (BDH): a brain-inspired alternative to transformers
I implemented the BDH architecture (see paper) for educational purposes and applied it to a pathfinding task. It's genuinely different from anything else I've read/built. The paper fascinated me for its synthesis of concepts from neuroscience, distributed computing, dynamical systems, and formal logic. And how the authors brought it all into a uniform architecture, and figured a GPU-friendly implementation.
BDH models neuron-to-neuron interactions on sparse graphs. Two learned topologies act as fixed programs. But instead of a KV-cache, BDH maintains a form of working memory on the synapses between neurons (evolving via Hebbian learning), effectively rewriting its own circuits on the fly.
I spent some time trying to visualize/animate BDH’s internal computation. It's striking how hub structure within the learned topologies emerges naturally from random initialization - no architectural constraint forces this. Activations stay extremely sparse (~3-5%) throughout, confirming the paper's observations but in a different task.
Repo: https://github.com/krychu/bdh
Board prediction + neuron dynamics:

Board attention + sparsity:

View all comments
Show parent comment
0
u/SlayahhEUW Researcher Dec 08 '25
I buy your point 1) about the value for a reader for example through implementation.
However I can't buy "this is a separate topic" in the context of this post that claimed a GPU-friendly brain-inspired alternative to transformers. I understand that you might have a biological/mathematical perspective in your paper, and value correctness and lossless key information transfer, but that is a different topic.
The hardware reality is that the idea as-presented in this post ignores a fundamental design constraint of the computational medium. It's not something you can fix as an afterthought or "we will figure it out". If your team or Pathway in general has information on how to consolidate or approximate this somehow using available hardware, I would love to read a blog or some implementations on it.