TensorX
返回文献探索

Paper · arXiv 2411.04986

The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalities

Zhaofeng Wu, Xinyan Velocity Yu, Dani Yogatama, Jiasen Lu, Yoon Kim

5 upvotesNovember 7, 2024arXiv 预印本
AI 摘要

Language models develop a shared representation space that organizes semantically similar inputs from diverse languages and modalities, facilitating cross-modal and cross-lingual understanding and processing.

semantic hub hypothesishub-and-spoke modelsemantic representation spacepretraining languagelogit lensarithmetic expressionscodevisual/audio inputs

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalities | TensorX