mlsanityData to 7 Oct 2026

Do Large GPT Models Discover Moral Dimensions in Language Representations? A Topological Study Of Sentence Embeddings

arXiv 2309.09397 ↗First posted 17 Sep 2023cs.CL cs.AI cs.CYcited by 3

Not on the map. Why?

Abstract (arXiv)

As Large Language Models are deployed within Artificial Intelligence systems, that are increasingly integrated with human society, it becomes more important than ever to study their internal structures. Higher level abilities of LLMs such as GPT-3.5 emerge in large part due to informative language representations they induce from raw text data during pre-training on trillions of words. These embeddings exist in vector spaces of several thousand dimensions, and their processing involves mapping between multiple vector spaces, with total number of parameters on the order of trillions. Furthermore, these language representations are induced by gradient optimization, resulting in a black box system that is hard to interpret. In this paper, we take a look at the topological structure of neuronal activity in the "brain" of Chat-GPT's foundation language model, and analyze it with respect to a metric representing the notion of fairness. We develop a novel approach to visualize GPT's moral dimensions. We first compute a fairness metric, inspired by social psychology literature, to identify factors that typically influence fairness assessments in humans, such as legitimacy, need, and responsibility. Subsequently, we summarize the manifold's shape using a lower-dimensional simplicial complex, whose topology is derived from this metric. We color it with a heat map associated with this fairness metric, producing human-readable visualizations of the high-dimensional sentence manifold. Our results show that sentence embeddings based on GPT-3.5 can be decomposed into two submanifolds corresponding to fair and unfair moral judgments. This indicates that GPT-based language models develop a moral dimension within their representation spaces and induce an understanding of fairness during their training process.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 6 of its 54 references that are in the map. First posted on arXiv 17 Sep 2023.

Builds on

6 of 54 references.

References · 6

  1. 2017Attention Is All You Needcited by 59,932
  2. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  3. 2018The Geometry of Culture: Analyzing Meaning through Word Embeddingscited by 87
  4. 2014word2vec Parameter Learning Explainedcited by 53
  5. 2019MoralStrength: Exploiting a Moral Lexicon and Embedding Similarity for Moral Foundations Predictioncited by 31
  6. 2019BERT has a Moral Compass: Improvements of ethical and moral values of machinescited by 21

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 1.

3 papers.