映射神经语言模型的时间尺度组织
Mapping the Timescale Organization of Neural Language Models
摘要:
在人类大脑中,语言输入序列是在分布式和分层架构中处理的,其中更高的处理阶段在更长的时间尺度上编码上下文信息。相比之下,在执行自然语言处理的递归神经网络中,我们对上下文信息的多个时间尺度是如何在功能上组织的知之甚少。因此,我们应用神经科学中开发的工具来映射单词级LSTM语言模型中各个单元的"处理时间尺度"。这种时间尺度映射方法将长时间尺度分配给以前发现的跟踪长范围语法依赖关系的单元。此外,映射揭示了网络的一个小子集(不到15%的单位),具有较长的时间尺度,其功能以前没有被探索过。接下来,我们通过研究单位的处理时间尺度与其网络连通性之间的关系,探索了网络的功能组织。我们确定了两类长时间尺度单元:“控制器”单元组成了一个密集互连的子网络,并强烈地投射到网络的其余部分,而“集成器”单元显示了网络中最长的时间尺度,并表示投影轮廓更接近平均投影轮廓。将积分器和控制器单元分开影响句子中不同位置的模型性能,表明这两组单元的不同功能。最后,我们测试了将这些结果推广到字符级LSTM模型和具有不同架构的模型。总之,我们展示了一种用于映射递归神经网络中时间尺度组织的无模型技术,并且我们应用这种方法来揭示神经语言模型的时间尺度和功能组织。
英文摘要:
In the human brain, sequences of language input are processed within a distributed and hierarchical architecture, in which higher stages of processing encode contextual information over longer timescales. In contrast, in recurrent neural networks which perform natural language processing, we know little about how the multiple timescales of contextual information are functionally organized. Therefore, we applied tools developed in neuroscience to map the "processing timescales" of individual units within a word-level LSTM language model. This timescale-mapping method assigned long timescales to units previously found to track long-range syntactic dependencies. Additionally, the mapping revealed a small subset of the network (less than 15% of units) with long timescales and whose function had not previously been explored. We next probed the functional organization of the network by examining the relationship between the processing timescale of units and their network connectivity. We identified two classes of long-timescale units: "controller" units composed a densely interconnected subnetwork and strongly projected to the rest of the network, while "integrator" units showed the longest timescales in the network, and expressed projection profiles closer to the mean projection profile. Ablating integrator and controller units affected model performance at different positions within a sentence, suggesting distinctive functions of these two sets of units. Finally, we tested the generalization of these results to a character-level LSTM model and models with different architectures. In summary, we demonstrated a model-free technique for mapping the timescale organization in recurrent neural networks, and we applied this method to reveal the timescale and functional organization of neural language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。