Linear Personality Probing and Steering in LLMs: A Big Five Study
Paper β’ 2512.17639 β’ Published
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
This dataset contains pre-computed steering vectors and hidden activations for personality control in Large Language Models, based on the Big Five personality framework.
This dataset supports the paper Linear Personality Probing and Steering in LLMs: A Big Five Study and contains:
personality-steering/
βββ steering_vecs/
β βββ steering_directions_regression_prompt_mean.pkl
β βββ steering_directions_regression_last_token.pkl
β βββ steering_directions_regression_gen_mean.pkl
β βββ steering_directions_svd_prompt_mean.pkl
β βββ steering_directions_svd_last_token.pkl
β βββ steering_directions_svd_gen_mean.pkl
βββ data_steering_direction_Llama-3.1-8B-Instruct.zarr/
β βββ data/
β β βββ hiddens_last (33, 203010, 1, 4096) - Last token activations
β β βββ hiddens_prompt_mean (33, 203010, 1, 4096) - Mean prompt activations
β β βββ hiddens_gen_mean (33, 203010, 1, 4096) - Mean generation activations
β β βββ trait_scores (20300, 5) - Big Five scores per character
β β βββ item_scores (20300,) - Individual item responses
β β βββ [index arrays]
β βββ entities/
β βββ character_names (406,) - Pop culture character names
β βββ franchises (406,) - Source franchises
β βββ char_desc_text (20301,) - Character personality descriptions
β βββ big_five_items (50,) - IPIP-50 questionnaire items
β βββ alpaca_instructions (10,) - Instructions used for generation
β βββ gen_explanations_text (203010,) - Generated responses
β βββ trait_names (5,) - ["Extraversion", "Emotional Stab.", ...]
β βββ likert_scale (5,) - Response scale labels
βββ adjectives_Llama-3.1-8B-Instruct.zarr/
βββ [Similar structure with adjective data]
steering_vecs/*.pkl)
(33, 4096 or 4097, 5) - (layers, hidden_dim, seq_len, traits)regression_* - Computed via linear regressionsvd_* - Computed via singular value decomposition*_prompt_mean - From mean of input prompt activations*_last_token - From last token activations*_gen_mean - From mean of generated answer activations(num_layers=33, num_samples, seq_len=1, hidden_dim=4096)float16(20300, 5)The dataset was created by:
Model used: meta-llama/Llama-3.1-8B-Instruct
from huggingface_hub import snapshot_download
import zarr
import pickle
import os
# Download entire dataset
data_dir = "./data"
repo_path = snapshot_download(
repo_id="plastic-labs/personality-steering",
repo_type="dataset",
local_dir=data_dir
)
# Load steering vectors
with open(os.path.join(data_dir, "steering_vecs/steering_directions_regression_prompt_mean.pkl"), 'rb') as f:
steering_vecs = pickle.load(f)
# Open zarr dataset
z = zarr.open(os.path.join(data_dir, "data_steering_direction_Llama-3.1-8B-Instruct.zarr"), mode='r')
# Access data
character_names = z['entities/character_names'][:]
trait_scores = z['data/trait_scores'][:]
hiddens_last = z['data/hiddens_last'] # Memory-mapped, load slices as needed
# Example: Get activations for first character
char_activations = hiddens_last[:, :50, 0, :] # All layers, first 50 items
Use Cases
- Personality steering - Control LLM personality expression during generation
- Interpretability research - Study how personality is encoded in model activations
- Character simulation - Generate text matching specific personality profiles
- Psychological AI - Develop models with controllable personality traits
- Bias analysis - Investigate personality-related biases in LLMs
Data Sample Indices
Samples are organized in blocks:
- Blocks: 10 blocks of 20,301 samples each
- Block structure: Index 0 = neutral baseline, indices 1-20,300 = character responses
- Character ordering: Each character responds to all 50 IPIP items before the next character
- Mapping: sample_idx = block_idx * 20301 + char_idx * 50 + item_idx + 1
Citation
@article{personality-steering-2025,
title={Linear Personality Probing and Steering in LLMs: A Big Five Study},
author={Michel Frising and Daniel Balcells},
journal={arXiv preprint arXiv:2512.17639},
year={2025}
}
Acknowledgments
- IPIP-50 personality inventory (https://ipip.ori.org/index.htm)
- OpenPsychometrics for normative data (https://openpsychometrics.org/)
- PlasticLabs for graciously sponsoring this research