How Do Transformers Integrate Meanings? An Investigation Using Interpretable Brain-Based Componential Semantics in Two-Word Phrases

Research output: Chapter in book / Conference proceedingConference article published in proceeding or bookAcademic researchpeer-review

Abstract

Transformer models have proven to be an efficient architecture for large language models, enabling them to exhibit human-like behaviors. However, it remains unclear how they combine the properties of individual words. To investigate this, we focus on the simplest compositional unit—two-word phrases—and employ four simple, parameter-free composition operations: addition, multiplication, first word, and second word. This approach serves as the first step toward understanding the composition mechanisms in transformer modules. We propose straightforward interpretation methods based on brain-based componential semantics. Specifically, we map the distributed vector space in transformers to an interpretable brain-based componential space to explore the intrinsic properties of representation and their semantic compositionality. Our findings show that, like humans, phrase types and semantic features influence the combination process in transformers. However, unlike humans, most phrase types paired with semantic features require more complex combination operations than simple addition or multiplication.

Original languageEnglish
Title of host publicationHuman Brain and Artificial Intelligence - 4th International Workshop, HBAI 2024, Proceedings
EditorsQuanying Liu, Youzhi Qu, Haiyan Wu, Yu Qi, An Zeng, Dan Pan
PublisherSpringer Science and Business Media Deutschland GmbH
Pages407-419
Number of pages13
ISBN (Print)9789819640003
DOIs
Publication statusPublished - 20 Apr 2025
Externally publishedYes
Event4th International Workshop on Human Brain and Artificial Intelligence, HBAI 2024 - Jeju, Korea, Republic of
Duration: 3 Aug 20243 Aug 2024

Publication series

NameCommunications in Computer and Information Science
Volume2438 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference4th International Workshop on Human Brain and Artificial Intelligence, HBAI 2024
Country/TerritoryKorea, Republic of
CityJeju
Period3/08/243/08/24

Keywords

  • Brain-based componential semantics
  • Composition operations
  • Transformer
  • Word representations

ASJC Scopus subject areas

  • General Computer Science
  • General Mathematics

Fingerprint

Dive into the research topics of 'How Do Transformers Integrate Meanings? An Investigation Using Interpretable Brain-Based Componential Semantics in Two-Word Phrases'. Together they form a unique fingerprint.

Cite this