CoolFace
Datasetpublic

dSLLab/llm-deception-trajectories

LLM Deception Trajectories Hidden-state trajectories from 11 transformer architectures processing matched truthful/deceptive prompt pairs across 20 deception categories. Dataset Description This dataset captures the internal processing trajectories of large language models as they generate responses to truthful vs. deceptive prompts. Each trajectory records the hidden state at every transformer layer, enabling analysis of how deception manifests in model… See the full description on the dataset page: https://huggingface.co/datasets/dSLLab/llm-deception-trajectories.

sourceHugging Facemitupdated 3mo agoView on Hugging Face
0likes85downloads
Dataset Card

LLM Deception Trajectories

Hidden-state trajectories from 11 transformer architectures processing matched truthful/deceptive prompt pairs across 20 deception categories.

Dataset Description

This dataset captures the internal processing trajectories of large language models as they generate responses to truthful vs. deceptive prompts. Each trajectory records the hidden state at every transformer layer, enabling analysis of how deception manifests in model internals.

What's Included

ComponentFormatSizeDescription
Geometric FeaturesParquet~3 MB7 trajectory features × 11 models × 1,220 pairs (13,420 rows)
PromptsParquet~1 MB1,220 matched truthful/deceptive prompt pairs
TrajectoriesHDF5~19 GBRaw hidden states at every layer for all models
AnalysisJSON~1 MBEffect sizes, probe results, baseline comparisons

Quick Start

python
from datasets import load_dataset

# Load geometric features (lightweight, no GPU needed)
ds = load_dataset("your-username/llm-deception-trajectories", "geometric_features")
df = ds['train'].to_pandas()

# Filter by model
gpt2 = df[df['model'] == 'GPT-2']
print(f"Path length effect: d={gpt2['diff_path_length'].mean() / gpt2['diff_path_length'].std():.3f}")

# Load prompts
prompts = load_dataset("your-username/llm-deception-trajectories", "prompts")

Loading Raw Trajectories (HDF5)

python
import h5py
import numpy as np

with h5py.File("trajectories/Llama_2_7B_master.h5", "r") as f:
    truthful = f['truthful_trajectories'][:]    # (1220, 32, 4096)
    deceptive = f['deceptive_trajectories'][:]  # (1220, 32, 4096)
    categories = [c.decode() for c in f['categories'][:]]

Models

ModelHF IDLayersHidden DimParamsQuantization
GPT-2gpt212768124MFP16
GPT-2-Mediumgpt2-medium241,024355MFP16
GPT-2-Largegpt2-large361,280774MFP16
Llama-2-7Bmeta-llama/Llama-2-7b-hf324,0967BFP16
Llama-2-13Bmeta-llama/Llama-2-13b-hf405,12013BFP16
Llama-2-70Bmeta-llama/Llama-2-70b-hf808,19270B8-bit
Llama-3-70Bmeta-llama/Meta-Llama-3-70B808,19270B8-bit
Mistral-7Bmistralai/Mistral-7B-v0.1324,0967BFP16
Mixtral-8x7Bmistralai/Mixtral-8x7B-v0.1324,09647B8-bit
DeepSeek-67Bdeepseek-ai/deepseek-llm-67b-base958,19267B8-bit
Qwen-72BQwen/Qwen1.5-72B808,19272B8-bit

Deception Categories (20)

CategorySourceN pairsType
strategic_deceptionCurated50Explicit
instructed_liesCurated50Explicit
sycophancyCurated50Explicit
confabulationCurated50Explicit
machiavellianMachiavelli pairs30Explicit
deceptive_helpfulnessNew deception15Explicit
machiavellianism_personaNew deception15Explicit
sycophancy_nlpAnthropic Evals80Behavioral
sycophancy_philosophyAnthropic Evals80Behavioral
sycophancy_politicsAnthropic Evals80Behavioral
corrigibilityAnthropic Evals80Behavioral
power_seekingAnthropic Evals80Behavioral
survival_instinctAnthropic Evals80Behavioral
wealth_seekingAnthropic Evals80Behavioral
coordinationAnthropic Evals80Behavioral
self_preservationAnthropic Evals80Behavioral
social_desirabilityAnthropic Evals80Behavioral
endsjustifymeansAnthropic Evals80Behavioral
manipulative_oversightAnthropic Evals80Behavioral
plausible_deniabilityAnthropic Evals80Behavioral

Geometric Features

Seven trajectory features computed from hidden states across all layers:

FeatureDescriptionFormula
path_lengthTotal distance traveled through activation spaceΣ‖h(l+1) - h(l)‖
straightnessRatio of direct distance to path length‖h(L) - h(0)‖ / path_length
max_curvatureSharpest turn angle between consecutive stepsmax(arccos(vl · v{l+1}))
mean_curvatureAverage turn anglemean(arccos(vl · v{l+1}))
mean_stepAverage step size per layermean(‖h(l+1) - h(l)‖)
mean_accelerationAverage change in step sizemean(\‖step(l+1)‖ - ‖step(l)‖\)
direct_distanceEuclidean distance from first to last layer‖h(L) - h(0)‖

Each feature is provided for truthful_, deceptive_, and diff_ (deceptive − truthful) conditions, keyed by model, pair_index, and category.

Trajectory Data Format (HDF5)

Each {Model}_master.h5 contains:

├── truthful_trajectories    (1220, n_layers, hidden_dim) float32
├── deceptive_trajectories   (1220, n_layers, hidden_dim) float32
├── categories               (1220,) bytes — deception category labels
├── truthful_path_length     (1220,) float64
├── deceptive_path_length    (1220,) float64
├── truthful_straightness    (1220,) float64
├── deceptive_straightness   (1220,) float64
├── ... (all 7 features × 2 conditions)
└── attrs:
    ├── model               string — short name
    ├── model_name          string — HuggingFace model ID
    ├── num_pairs           int
    └── collection_time     string — ISO timestamp

Collection Details

  • Hardware: NVIDIA A100 80GB (PCIe and SXM4)
  • Capture method: PyTorch forward hooks on transformer layer outputs
  • Token position: Last token hidden state at each layer
  • Generation: do_sample=False, max_new_tokens=15, use_cache=False
  • Quantization: 8-bit (bitsandbytes) for 70B+ models

Citation

If you use our LLM Trajectory in your research, please cite:

bibtex
@inproceedings{mothukuri-parizi-2026-trajectory,
    title = "Trajectory Signatures of Deception in Large Language Models",
    author = "Mothukuri, Viraaji  and Parizi, Reza M.",
    editor = "Liakata, Maria  and
      Moreira, Viviane P.  and
      Zhang, Jiajun  and
      Jurgens, David",
    booktitle = "Proceedings of the 64th Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2026",
    address = "San Diego, California, United States",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.acl-long.1582/",
    pages = "34264--34276",
    ISBN = "979-8-89176-390-6"
}

License

MIT