语义枢纽假说:语言模型跨语言与跨模态共享语义表示
The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalities
AI总结:
本文提出语义枢纽假说,证明语言模型在中间层为不同语言和模态的语义等价输入构建共享表示空间,且该空间可被模型主动利用并影响跨类型输出。
摘要:
现代语言模型能够处理跨多种语言和模态的输入。我们假设模型通过在学习异构数据类型(例如不同语言和模态)时习得一个共享表示空间来获得这种能力,该空间将语义相似的输入彼此靠近放置,即使它们来自不同的模态或语言。我们将其称为语义枢纽假说,这一命名借鉴了神经科学中的枢纽-辐条模型(Patterson et al., 2007),该模型认为人脑中的语义知识通过一个跨模态的语义“枢纽”来组织,该枢纽整合来自各个模态特异性“辐条”区域的信息。我们首先表明,模型对语义等价的不同语言输入在中间层中的表示是相似的,并且该空间可以通过logit lens用模型的主导预训练语言进行解释。这种趋势也扩展到其他数据类型,包括算术表达式、代码以及视觉/音频输入。对共享表示空间在一种数据类型中的干预也会可预测地影响模型在其他数据类型中的输出,这表明该共享表示空间不仅仅是大规模广泛数据训练的一个退化副产品,而是模型在输入处理过程中会主动利用的东西。
英文摘要:
Modern language models can process inputs across diverse languages and modalities. We hypothesize that models acquire this capability through learning a shared representation space across heterogeneous data types (e.g., different languages and modalities), which places semantically similar inputs near one another, even if they are from different modalities/languages. We term this the semantic hub hypothesis, following the hub-and-spoke model from neuroscience (Patterson et al., 2007) which posits that semantic knowledge in the human brain is organized through a transmodal semantic "hub" which integrates information from various modality-specific "spokes" regions. We first show that model representations for semantically equivalent inputs in different languages are similar in the intermediate layers, and that this space can be interpreted using the model's dominant pretraining language via the logit lens. This tendency extends to other data types, including arithmetic expressions, code, and visual/audio inputs. Interventions in the shared representation space in one data type also predictably affect model outputs in other data types, suggesting that this shared representations space is not simply a vestigial byproduct of large-scale training on broad data, but something that is actively utilized by the model during input processing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。