The Dragon Hatchling: The Missing Link between the Transformer and Models of the Brain

AK's Picks LLM PTSAD ML Mamba/SSM GNN and MP GNNs Transformer Other ML AI Safety / AI Ethics XAI
计算系统与大脑之间的关系自约翰·冯·诺依曼和艾伦·图灵以来,一直是推动理论先驱探索的重要动力。像大脑这样具有统一性且无标度的生物网络具备强大的特性,其中包括随时间泛化的功能,而这一点正是机器学习迈向通用推理模型道路上的主要障碍。 我们提出了一种名为“龙 hatchling”(BDH)的新大型语言模型架构,该架构基于一种受生物启发的无标度网络,由 n 个局部相互作用的神经元粒子构成。BDH 在不牺牲类似 Transformer 性能的前提下,融合了坚实的理论基础并具备内在的可解释性。 BDH 是一种实用、高效且先进的基于注意力机制的状态空间序列学习架构。除了作为一种图模型外,BDH 还支持对 GPU 友好的实现方式。它展现出与 Transformer 类似的缩放规律:在相同参数量(1000万至10亿)和相同训练数据条件下,BDH 在语言理解和翻译任务上的表现可与 GPT-2 相媲美。 BDH 可被表示为一种大脑模型。在推理过程中,BDH 的工作记忆完全依赖于使用脉冲神经元的赫布式学习(Hebbian learning)所驱动的突触可塑性。我们通过实验验证发现,当 BDH 处理语言输入并听到或思考某个特定概念时,其对应的特定单个突触会增强连接强度。BDH 的神经元交互网络是一个具有高度模块化和重尾度分布特征的图结构。该模型具备生物学合理性,揭示了人类神经元可能用于实现语言功能的一种潜在机制。 BDH 的设计注重可解释性。其激活向量稀疏且非负。我们在语言任务中验证了 BDH 具有单语义性(monosemanticity)。状态本身的可解释性——超越了神经元及模型参数层面的解释能力——是 BDH 架构固有的特性。
The relationship between computing systems and the brain has served as motivation for pioneering theoreticians since John von Neumann and Alan Turing. Uniform, scale-free biological networks, such as the brain, have powerful properties, including generalizing over time, which is the main barrier for Machine Learning on the path to Universal Reasoning Models. We introduce `Dragon Hatchling' (BDH), a new Large Language Model architecture based on a scale-free biologically inspired network of \$n\$ locally-interacting neuron particles. BDH couples strong theoretical foundations and inherent interpretability without sacrificing Transformer-like performance. BDH is a practical, performant state-of-the-art attention-based state space sequence learning architecture. In addition to being a graph model, BDH admits a GPU-friendly formulation. It exhibits Transformer-like scaling laws: empirically BDH rivals GPT2 performance on language and translation tasks, at the same number of parameters (10M to 1B), for the same training data. BDH can be represented as a brain model. The working memory of BDH during inference entirely relies on synaptic plasticity with Hebbian learning using spiking neurons. We confirm empirically that specific, individual synapses strengthen connection whenever BDH hears or reasons about a specific concept while processing language inputs. The neuron interaction network of BDH is a graph of high modularity with heavy-tailed degree distribution. The BDH model is biologically plausible, explaining one possible mechanism which human neurons could use to achieve speech. BDH is designed for interpretability. Activation vectors of BDH are sparse and positive. We demonstrate monosemanticity in BDH on language tasks. Interpretability of state, which goes beyond interpretability of neurons and model parameters, is an inherent feature of the BDH architecture.
许愿