pathwaycom/bdh

BDH (Dragon Hatchling) – Architecture and Code

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 19th, 2026
Created on September 30th, 2025
Open Issues & Pull Requests: 6 (+0)
GitHub issues: Disabled - open counts may still include pull requests.
Number of forks: 252
Total Stargazers: 3,565 (+0)
Total Subscribers: 46 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

GitHub issues are disabled for this repository, so issue analytics and the issue explorer are not available.

Detailed Description

BDH is a biologically inspired large language model architecture that bridges transformer-based deep learning with neuroscience principles.

BDH addresses the limitation of transformer models' token-by-token processing and minimal internal state by implementing a scale-free, locally interacting network of neurons with intrinsic reasoning dynamics. The architecture uses Hebbian working memory based on synaptic plasticity, excitatory and inhibitory neuron interactions, and a graph-based topology that makes attention emerge naturally from neuron-level computations rather than being explicitly designed. This approach enables sparse, positive, and interpretable activations while maintaining a GPU-friendly state-space formulation for efficient computation.

Developers should consider BDH if they prioritize interpretability and theoretical grounding alongside performance. The tool suits projects where understanding the fine-grained dynamics of model reasoning matters, particularly for reasoning-heavy tasks like constraint satisfaction problems. BDH matches transformer performance at equivalent parameter scales across language and translation tasks while retaining full interpretability, making it valuable for research into how macro-level reasoning behavior emerges from micro-level neuron dynamics. The architecture's larger latent reasoning space and intrinsic memory support learning and adaptation during use, distinguishing it from standard transformers on tasks requiring search-heavy reasoning without relying on chain-of-thought or external tools.

Development activity shows sustained research engagement with the project. The repository contains the official implementation accompanying a peer-reviewed research paper. The maintainers provide clear documentation of the baseline variant's capabilities and explicitly note where internal implementations diverge from the open-source version, maintaining transparency about benchmark results. Active maintenance includes addressing implementation details and clarifying the relationship between published research outcomes and reproducible results in the repository.