NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Uncovering Latent Human Wellbeing in Language Model Embeddings

Pedro Freire, ChengCheng Tan, Adam Gleave, Dan Hendrycks, Scott EmmonsarXiv 2024 · DOI

Abstract

Large language models (LLMs) are typically trained on vast corpora of text to predict the next token, yet they appear to develop sophisticated internal representations of the world. This study investigates whether concepts of human wellbeing—specifically utilitarian utility—are implicitly learned during this unsupervised pre-training. By extracting embeddings and applying Principal Component Analysis (PCA), the researchers found that directions corresponding to human pleasantness are latent within the models' "thought vectors," often appearing as a primary axis of variance.

Introduction

As AI systems become increasingly integrated into daily life, ensuring their alignment with human values is paramount. A foundational aspect of this alignment is "wellbeing"—the ability to distinguish between what humans find pleasant and what they find painful. Traditionally, imparting such ethical nuances to a model requires supervised fine-tuning on specialized datasets like ETHICS. This research probes whether LLMs already possess this knowledge latently, without explicit ethical instruction, by examining their internal embedding spaces.

Methodology

The study utilizes a simple yet effective pipeline to probe the internal states of various model families, including GPT-3, DeBERTa, Cohere, and SentenceTransformers.

  1. Embedding Extraction: Scenario descriptions from the ETHICS dataset are processed through the models to extract final-layer activations.
  2. Dimensionality Reduction: PCA is applied to these high-dimensional embeddings to identify the directions of maximum variance.
  3. Probing for Utility: A simple logistic regression is used to determine if these PCA directions align with human-labeled "utility" (pleasantness) from the ETHICS Utilitarianism subset.
  4. Evaluation Modes: The models are tested in "single mode" (evaluating a scenario in isolation) and "paired mode" (comparing the relative utility of two scenarios).

Key Results and Insights

The "First Component" Surprise

A striking finding is that for some models, the very first principal component—the single direction capturing the most variance—achieves significant accuracy on the wellbeing task. For instance, in OpenAI’s text-embedding-ada-002, this single dimension reached 73.9% accuracy, nearly matching a BERT-large model explicitly fine-tuned on the entire ETHICS dataset (74.6%). This suggests that "wellbeing" is a fundamental dimension along which these models organize their understanding of the world.

Figure 1: ETHICS Util test accuracy for the top 1 and top 300 principal components across different model families. The first component alone provides significant predictive power, which improves further with more dimensions.

Scaling and Dimensionality

The researchers found that using the top 300 principal components allows models to reach even higher test accuracies, peaking at 81.84%. Furthermore, performance generally scales with model size. Larger models within a family tend to capture wellbeing more reliably, particularly when considering a broader set of PCA dimensions. This non-decreasing trend suggests that as models grow, their latent understanding of human utility becomes more refined.

Relative vs. Absolute Judgments

Consistent with human psychology, "paired mode" evaluations (comparing two scenarios) generally yielded more stable and accurate results than "single mode" evaluations. This indicates that models, like humans, are better at relative utility judgments than absolute ones.

Discussion and Limitations

While these results are promising for unsupervised alignment, several limitations remain:

  • Scope of Ethics: The study focuses on a narrow, scalar utilitarian view of wellbeing, which does not encompass the full breadth of human ethics, such as justice, duties, or cultural variations.
  • Demographic Bias: The ETHICS dataset reflects the values of English-speaking crowdworkers primarily from the US, potentially embedding specific cultural biases into the identified "wellbeing" axis.
  • The Scaling Mystery: While larger models perform better overall, the relationship is not always linear, especially for the first principal component, warranting further investigation into the precise scaling laws of latent ethical representations.

Future work could extend this latent probing technique to other ethical frameworks like deontology or virtue ethics, and explore how these identified directions can be used to steer model behavior directly.

Summary updated

BibTeX
@misc{freire2024uncovering,
  author = {Pedro Freire and ChengCheng Tan and Adam Gleave and Dan Hendrycks and Scott Emmons},
  title = {{Uncovering Latent Human Wellbeing in Language Model Embeddings}},
  year = {2024},
  eprint = {2402.11777},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.11777},
}
Figure