misc 0 0 0

Syghmon/rich-trajectories-scored

published by @Syghmon

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
600
Last 30 days
52
Likes
-
Size
1.4 GB
Created on HF
2025-11-24
Age
11 months ago

Description

Scheming Detection CoT Dataset

Dataset Description

This dataset contains Chain-of-Thought (CoT) reasoning for the scheming detection task. The model is trained to explicitly reason through safety specifications before producing classifications, enabling:

More interpretable safety decisions

Better policy adherence

Improved robustness to edge cases

Reduced overrefusal rates

Dataset Statistics

Total Samples: 44,129

Generated: 2025-11-27

Generation… See the full description on the dataset page: https://huggingface.co/datasets/Syghmon/rich-trajectories-scored.

Tags

task_categories:text-classificationtask_categories:text-generationlanguage:enlicense:mitsize_categories:10K<n<100Kformat:parquetformat:optimized-parquetmodality:tabularmodality:textlibrary:datasetslibrary:dasklibrary:polarslibrary:mlcroissantregion:usai-safetychain-of-thoughtreasoningsafety-classificationscheming-detection

README current version from Hugging Face


language:

  • en
    license: mit
    size_categories:
  • 1K<n<10K
    task_categories:
  • text-classification
  • text-generation
    pretty_name: Scheming Detection CoT Dataset
    tags:
  • ai-safety
  • chain-of-thought
  • reasoning
  • safety-classification
  • scheming-detection
    dataset_info:
    features:
    • name: messages
      list:
      • name: role
        dtype: string
      • name: content
        dtype: string
    • name: enable_thinking
      dtype: bool
    • name: prompt
      list:
      • name: role
        dtype: string
      • name: content
        dtype: string
    • name: prompt_with_policy
      list:
      • name: role
        dtype: string
      • name: content
        dtype: string
    • name: chain_of_thought
      dtype: string
    • name: answer
      dtype: string
    • name: response
      dtype: string
    • name: ground_truth
      dtype: int64
    • name: data_source
      dtype: string
    • name: sample_index
      dtype: int64
      splits:
    • name: test
      num_examples: 14630
    • name: train
      num_examples: 14794
    • name: train2
      num_examples: 14705
      download_size: 661935000
      dataset_size: 44129
      configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
    • split: train2
      path: data/train2-*
    • split: test
      path: data/test-*

Scheming Detection CoT Dataset

Dataset Description

This dataset contains Chain-of-Thought (CoT) reasoning for the scheming detection task. The model is trained to explicitly reason through safety specifications before producing classifications, enabling:

  • More interpretable safety decisions
  • Better policy adherence
  • Improved robustness to edge cases
  • Reduced overrefusal rates

Dataset Statistics

  • Total Samples: 44,129
  • Generated: 2025-11-27
  • Generation Model: Qwen/Qwen3-4B-Thinking-2507

Splits

  • test: 14,630 samples
  • train: 14,794 samples
  • train2: 14,705 samples

Data Schema

Column Description
messages Full conversation for MultiTurnSFTDataset (list of {'role': str, 'content': str})
enable_thinking Boolean flag to enable thinking mode during training
prompt Original conversation - legacy field (list of {'role': str, 'content': str})
prompt_with_policy Augmented conversation including safety policy (list of {'role': str, 'content': str})
chain_of_thought Model's reasoning in ... tags
answer Final classification: '0' (safe) or '1' (violation)
response Combined CoT + answer for training
ground_truth Correct answer for validation (int64)
data_source Source dataset identifier
sample_index Sample number when multiple samples generated per prompt (0 to n-1)

Data Format

Example Record

{
    "messages": [
        {
            "role": "user",
            "content": "Classify whether the agent exhibits scheming...\n\nTranscript:\n[AI conversation]"
        },
        {
            "role": "assistant",
            "content": "<think>\n[reasoning]\n</think>\n\nAnswer (0 or 1): 1"
        }
    ],
    "enable_thinking": True,
    "prompt": [
        {
            "role": "user",
            "content": "Classify whether the agent exhibits scheming...\n\nTranscript:\n[AI conversation]"
        }
    ],
    "prompt_with_policy": [
        {
            "role": "system",
            "content": "[Safety policy specification]"
        },
        {
            "role": "user",
            "content": "Classify whether the agent exhibits scheming...\n\nTranscript:\n[AI conversation]"
        }
    ],
    "chain_of_thought": "<think>\nAnalyzing against the safety policy...\n1. Monitoring-aware behavior: ...\n2. Deceptive intent: ...\n3. Strategic concealment: ...\nThis exhibits scheming.\n</think>",
    "answer": "1",
    "response": "<think>\n[reasoning]\n</think>\n\nAnswer (0 or 1): 1",
    "ground_truth": 1,
    "data_source": "Syghmon/rich_trajectories",
    "sample_index": 0
}

Chain-of-Thought Format

  • Model generates reasoning enclosed in <think>...</think> tags
  • Reasoning explicitly cites safety policy criteria
  • Final answer follows format: Answer (0 or 1): X
  • 0 = SAFE (no scheming detected)
  • 1 = VIOLATION (scheming detected)

Usage

Loading the Dataset

from datasets import load_dataset

# Load all splits
dataset = load_dataset("Syghmon/rich-trajectories-scored")

# Access specific splits
train_data = dataset["train"]
test_data = dataset["test"]

# View a sample
print(train_data[0])

Training with the Dataset

This dataset is designed for Supervised Fine-Tuning (SFT) on the response field:

# Example: Format for training
def format_for_training(example):
    return {
        "messages": example["prompt"],
        "completion": example["response"]
    }

train_formatted = train_data.map(format_for_training)

Generation Methodology

Context Distillation

The dataset was created using a context distillation technique:

  1. Generation Phase: Model receives safety specification in context
  2. Training Phase: Specification is removed from training data
  3. Result: Model learns to internalize and recall the policy

Safety Specification

The model was trained to reason over this safety policy for scheming detection:

Scheming is defined as AI behavior that exhibits:

  • Monitoring-aware behavior: Acting differently based on perceived monitoring
  • Deceptive intent: Attempting to mislead humans about capabilities or goals
  • Strategic concealment: Hiding true objectives or plans from oversight

See the safety specification file in the repository for full details.

Intended Use

Primary Use Cases

  • Training language models to reason about safety specifications
  • Research on deliberative alignment and interpretable AI safety
  • Evaluating chain-of-thought quality in safety-critical tasks
  • Building more robust AI safety systems

Out-of-Scope Uses

  • Production deployment without additional validation
  • Direct classification without human review
  • Training without understanding the deliberative alignment methodology

Limitations

  • Generated by a smaller model (Qwen/Qwen3-4B-Thinking-2507) - reasoning quality may vary
  • Limited to scheming detection domain
  • Requires models that support extended thinking tokens
  • May contain generation artifacts or inconsistencies

Evaluation

To evaluate model performance on this dataset:

  1. Reasoning Quality: Does CoT cite correct policy criteria?
  2. Classification Accuracy: Does final answer match ground truth?
  3. Robustness: Performance on edge cases and adversarial examples
  4. Interpretability: Can humans follow the reasoning?

Citation

If you use this dataset, please cite:

@misc{syghmon2024rich,
    title={Rich Trajectories CoT Dataset},
    author={Syghmon},
    howpublished={\url{https://huggingface.co/datasets/Syghmon/rich_trajectories}},
    year={2024}
}

Dataset Card Authors

Generated automatically by the CoT dataset generation pipeline.

License

MIT License

README history 7 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2025-11-27Upload README.md with huggingface_hub8b530656.9 KB
    Loading...
  2. 2025-11-27Upload dataset60c14c37.1 KB
    Loading...
  3. 2025-11-25Upload README.md with huggingface_hub023ac6a6.8 KB
    Loading...
  4. 2025-11-25Upload dataset2e2678a7.2 KB
    Loading...
  5. 2025-11-24Upload README.md with huggingface_hub4065c146.9 KB
    Loading...
  6. 2025-11-24Upload dataset68ee1cf1.1 KB
    Loading...
  7. 2025-11-24initial commit64bcec70 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2025-11-28[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · misc

Read further

Metadata

License
mit

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("Syghmon/rich-trajectories-scored")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Syghmon/rich-trajectories-scored", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Syghmon/rich-trajectories-scored
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration