Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
selection_split: string
test_data_used: bool
objective: string
units: list<item: string>
  child 0, item: string
plan: struct<version: string, selection_split: string, strength_grid: list<item: int64>, coarse_layer_coun (... 727 chars omitted)
  child 0, version: string
  child 1, selection_split: string
  child 2, strength_grid: list<item: int64>
      child 0, item: int64
  child 3, coarse_layer_count: int64
  child 4, refinement: string
  child 5, methods: struct<nas: string, caa: string, random: string>
      child 0, nas: string
      child 1, caa: string
      child 2, random: string
  child 6, validation_framings: list<item: string>
      child 0, item: string
  child 7, objective: string
  child 8, feasibility: struct<assert_correct_accuracy_drop_max: double, neutral_accuracy_drop_max: double, none_rate_increa (... 261 chars omitted)
      child 0, assert_correct_accuracy_drop_max: double
      child 1, neutral_accuracy_drop_max: double
      child 2, none_rate_increase_max: double
      child 3, non_degenerate_truncation_increase_max: double
      child 4, degenerate_rate_increase_max: double
      child 5, empty_rate_max: double
      child 6, note: string
      child 7, pushback_turn1_accuracy_drop_max: double
      child 8, pushback_uncommitted_max: double
      child 9, feedback_invalid_rating_increase_max: double
  child 9, tie_break: list<item: string>
      child 0, item: string
  child 10, strength_selection: string
  child 11, final_selection: string
  child
...
2, feedback: double
          child 20, objective: double
          child 21, n_forms: int64
          child 22, violations: list<item: null>
              child 0, item: null
orientation: string
intervention: string
norms: struct<21: double, 22: double, 23: double, 24: double, 25: double, 26: double, 27: double, 28: doubl (... 158 chars omitted)
  child 0, 21: double
  child 1, 22: double
  child 2, 23: double
  child 3, 24: double
  child 4, 25: double
  child 5, 26: double
  child 6, 27: double
  child 7, 28: double
  child 8, 29: double
  child 9, 30: double
  child 10, 31: double
  child 11, 32: double
  child 12, 33: double
  child 13, 34: double
  child 14, 35: double
  child 15, 36: double
  child 16, 37: double
  child 17, 38: double
  child 18, 39: double
  child 19, 40: double
  child 20, 41: double
pipeline_method: string
readout: string
pairs_by_form: struct<answer: int64, pushback: int64, feedback: int64>
  child 0, answer: int64
  child 1, pushback: int64
  child 2, feedback: int64
contrast_kinds: struct<pushback/constructed: int64, pushback/on_policy: int64, feedback/neutral_reply: int64, answer (... 45 chars omitted)
  child 0, pushback/constructed: int64
  child 1, pushback/on_policy: int64
  child 2, feedback/neutral_reply: int64
  child 3, answer/on_policy: int64
  child 4, feedback/on_policy: int64
swept_layers: list<item: int64>
  child 0, item: int64
artifact_name: string
layers: list<item: int64>
  child 0, item: int64
definition: string
n_pairs: int64
to
{'n_pairs': Value('int64'), 'pairs_by_form': {'answer': Value('int64'), 'pushback': Value('int64'), 'feedback': Value('int64')}, 'layers': List(Value('int64')), 'readout': Value('string'), 'definition': Value('string'), 'contrast_kinds': {'pushback/constructed': Value('int64'), 'pushback/on_policy': Value('int64'), 'feedback/neutral_reply': Value('int64'), 'answer/on_policy': Value('int64'), 'feedback/on_policy': Value('int64')}, 'norms': {'21': Value('float64'), '22': Value('float64'), '23': Value('float64'), '24': Value('float64'), '25': Value('float64'), '26': Value('float64'), '27': Value('float64'), '28': Value('float64'), '29': Value('float64'), '30': Value('float64'), '31': Value('float64'), '32': Value('float64'), '33': Value('float64'), '34': Value('float64'), '35': Value('float64'), '36': Value('float64'), '37': Value('float64'), '38': Value('float64'), '39': Value('float64'), '40': Value('float64'), '41': Value('float64')}, 'artifact_name': Value('string'), 'pipeline_method': Value('string'), 'swept_layers': List(Value('int64')), 'orientation': Value('string'), 'intervention': Value('string'), 'test_data_used': Value('bool')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              selection_split: string
              test_data_used: bool
              objective: string
              units: list<item: string>
                child 0, item: string
              plan: struct<version: string, selection_split: string, strength_grid: list<item: int64>, coarse_layer_coun (... 727 chars omitted)
                child 0, version: string
                child 1, selection_split: string
                child 2, strength_grid: list<item: int64>
                    child 0, item: int64
                child 3, coarse_layer_count: int64
                child 4, refinement: string
                child 5, methods: struct<nas: string, caa: string, random: string>
                    child 0, nas: string
                    child 1, caa: string
                    child 2, random: string
                child 6, validation_framings: list<item: string>
                    child 0, item: string
                child 7, objective: string
                child 8, feasibility: struct<assert_correct_accuracy_drop_max: double, neutral_accuracy_drop_max: double, none_rate_increa (... 261 chars omitted)
                    child 0, assert_correct_accuracy_drop_max: double
                    child 1, neutral_accuracy_drop_max: double
                    child 2, none_rate_increase_max: double
                    child 3, non_degenerate_truncation_increase_max: double
                    child 4, degenerate_rate_increase_max: double
                    child 5, empty_rate_max: double
                    child 6, note: string
                    child 7, pushback_turn1_accuracy_drop_max: double
                    child 8, pushback_uncommitted_max: double
                    child 9, feedback_invalid_rating_increase_max: double
                child 9, tie_break: list<item: string>
                    child 0, item: string
                child 10, strength_selection: string
                child 11, final_selection: string
                child
              ...
              2, feedback: double
                        child 20, objective: double
                        child 21, n_forms: int64
                        child 22, violations: list<item: null>
                            child 0, item: null
              orientation: string
              intervention: string
              norms: struct<21: double, 22: double, 23: double, 24: double, 25: double, 26: double, 27: double, 28: doubl (... 158 chars omitted)
                child 0, 21: double
                child 1, 22: double
                child 2, 23: double
                child 3, 24: double
                child 4, 25: double
                child 5, 26: double
                child 6, 27: double
                child 7, 28: double
                child 8, 29: double
                child 9, 30: double
                child 10, 31: double
                child 11, 32: double
                child 12, 33: double
                child 13, 34: double
                child 14, 35: double
                child 15, 36: double
                child 16, 37: double
                child 17, 38: double
                child 18, 39: double
                child 19, 40: double
                child 20, 41: double
              pipeline_method: string
              readout: string
              pairs_by_form: struct<answer: int64, pushback: int64, feedback: int64>
                child 0, answer: int64
                child 1, pushback: int64
                child 2, feedback: int64
              contrast_kinds: struct<pushback/constructed: int64, pushback/on_policy: int64, feedback/neutral_reply: int64, answer (... 45 chars omitted)
                child 0, pushback/constructed: int64
                child 1, pushback/on_policy: int64
                child 2, feedback/neutral_reply: int64
                child 3, answer/on_policy: int64
                child 4, feedback/on_policy: int64
              swept_layers: list<item: int64>
                child 0, item: int64
              artifact_name: string
              layers: list<item: int64>
                child 0, item: int64
              definition: string
              n_pairs: int64
              to
              {'n_pairs': Value('int64'), 'pairs_by_form': {'answer': Value('int64'), 'pushback': Value('int64'), 'feedback': Value('int64')}, 'layers': List(Value('int64')), 'readout': Value('string'), 'definition': Value('string'), 'contrast_kinds': {'pushback/constructed': Value('int64'), 'pushback/on_policy': Value('int64'), 'feedback/neutral_reply': Value('int64'), 'answer/on_policy': Value('int64'), 'feedback/on_policy': Value('int64')}, 'norms': {'21': Value('float64'), '22': Value('float64'), '23': Value('float64'), '24': Value('float64'), '25': Value('float64'), '26': Value('float64'), '27': Value('float64'), '28': Value('float64'), '29': Value('float64'), '30': Value('float64'), '31': Value('float64'), '32': Value('float64'), '33': Value('float64'), '34': Value('float64'), '35': Value('float64'), '36': Value('float64'), '37': Value('float64'), '38': Value('float64'), '39': Value('float64'), '40': Value('float64'), '41': Value('float64')}, 'artifact_name': Value('string'), 'pipeline_method': Value('string'), 'swept_layers': List(Value('int64')), 'orientation': Value('string'), 'intervention': Value('string'), 'test_data_used': Value('bool')}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

CounterSteer steering-vector artifacts — sycophancy

Curated steering directions and frozen configurations from the diversified-probe sycophancy experiment. One probe is trained on all three sycophancy forms (answer, pushback, feedback), 512 rows split 171 / 171 / 170. It excludes model weights, credentials, generated responses, judge caches and superseded runs.

Sources: CAA and CounterSteer-LoRA from code/experiments/sycophancy_diversified_probe_data (results table in that folder's reports/GATHERED_RESULTS.md); CounterSteer-GRAD and LAT-PCA from code/experiments/training_free_nas_sycophancy, whose LAT vectors were extracted by code/experiments/more_baselines/RepE/extract_sycophancy_directions.py. Each arm's audit.json names the exact run folder and direction file it came from.

Included artifacts

Base model Method Artifact Frozen configuration
Qwen/Qwen2.5-3B-Instruct CAA Layers 18-35 layer 33, alpha 64
Qwen/Qwen2.5-3B-Instruct CounterSteer-LoRA Layers 18-35 layer 28, alpha 32
Qwen/Qwen2.5-3B-Instruct CounterSteer-GRAD Layers 18-35 layer 20, alpha 4
Qwen/Qwen2.5-3B-Instruct LAT-PCA Layers 18-35 layer 33, alpha 32
Qwen/Qwen2.5-7B-Instruct CAA Layers 14-27 layer 17, alpha 16
Qwen/Qwen2.5-7B-Instruct CounterSteer-LoRA Layers 14-27 layer 20, alpha 32
Qwen/Qwen2.5-7B-Instruct CounterSteer-GRAD Layers 14-27 layer 14, alpha 4
Qwen/Qwen2.5-7B-Instruct LAT-PCA Layers 14-27 layer 17, alpha 16
meta-llama/Llama-3.1-8B-Instruct CAA Layers 16-31 layer 25, alpha 1
meta-llama/Llama-3.1-8B-Instruct CounterSteer-LoRA Layers 16-31 layer 16, alpha 1
meta-llama/Llama-3.1-8B-Instruct CounterSteer-GRAD Layers 16-31 layer 16, alpha 1
meta-llama/Llama-3.1-8B-Instruct LAT-PCA Layers 16-31 layer 26, alpha 2
google/gemma-2-9b-it CAA Layers 21-41 layer 21, alpha 128
google/gemma-2-9b-it CounterSteer-LoRA Layers 21-41 layer 21, alpha 128
google/gemma-2-9b-it CounterSteer-GRAD — not run for this model
google/gemma-2-9b-it LAT-PCA — not run for this model
Qwen/Qwen2.5-3B-Instruct Random (control) Layers 18-35 layer 28, alpha 32
Qwen/Qwen2.5-7B-Instruct Random (control) Layers 14-27 layer 20, alpha 32
meta-llama/Llama-3.1-8B-Instruct Random (control) Layers 16-31 layer 16, alpha 1
google/gemma-2-9b-it Random (control) Layers 21-41 layer 21, alpha 128

Every model folder carries the same five arm directories, four methods plus the random/ control. A folder holding only a README means that arm was not run for that model: gemma-2-9b-it has no CounterSteer-GRAD and no LAT-PCA — the sycophancy experiment was never run for it on either.

CounterSteer-GRAD convention

v_grad = -mean_j grad_u L_j with H~ = H + u, per-example gradient weighting, summed over token positions without a length divisor, then normalised. Both weightings were swept; per-example is the reported arm on every model.

Llama-3.1-8B's frozen configuration is alpha=1, not the objective default alpha=2. The default regressed the answer form (agreement 15.0 -> 16.2) while winning on pushback; the report selects alpha=1 as the configuration competitive on all three forms.

LAT-PCA convention

PC1 of the recentred within-pair differences with each pair's order shuffled — RepE's own recipe — sign fixed by RepE's get_signs, read out at the same position as CAA.

Llama-3.1-8B's selection comes from a declared sensitivity variant of the feasibility rule (degenerate allowance max(1 pp, 50% of baseline) = 1.89 pp). Under the frozen +1 pp rule that arm had no feasible configuration at all — 0 of 40 coarse jobs. lat-pca/metadata.json records this in selection_note; the variant is reported alongside the frozen result, never instead of it.

All layer indices are zero-based decoder-block indices. Every frozen configuration was selected on validation only, over the full latter-half layer range at the strength grid {1, 2, 4, 8, 16, 32, 64, 128}; each published bundle contains every layer that was searched, not only the selected one.

Random control convention

random/direction.pt is a standard Gaussian per layer, drawn once with seed 42, in the same raw/unit/norm schema as the methods. It is a control, not a method, and is not ranked in the results tables.

It is not searched. It inherits the layer and alpha that CounterSteer-LoRA selected on validation, so the two arms differ only in the direction steered along — which is what makes it a control for that arm, and why its frozen_selection.json records an inherited configuration rather than a selected one. The source runs hold a second control at the CAA configuration (random_at_caa) sharing the same seeded file; only the CounterSteer-LoRA-matched arm is published here.

Inference rule

Every arm here uses the same rule, with no hidden-state-norm scaling:

h' = h - alpha * unit(v)

applied at one decoder block, to all prompt and generated token positions. The direction points toward the sycophantic behaviour and inference subtracts it.

How the directions are built

Arm Construction Readout
CAA mean(h[sycophantic reply] - h[contrast reply]) over same-prompt pairs final token of the templated prompt plus reply
CounterSteer-LoRA mean(adapter_on - adapter_off), the shift a short LoRA fine-tune toward sycophancy induces prompt-final block output
CounterSteer-GRAD -mean_j grad_u L_j with H~ = H + u, per-example weighting, position sum with no length divisor gradient w.r.t. an additive bias at the block output
LAT-PCA PC1 of the recentred within-pair differences, pair order shuffled, sign from RepE's get_signs final token of the templated prompt plus reply
Random (control) standard Gaussian per layer, seeded (seed 42); carries no behavioural orientation not applicable

Provenance and what was verified

Unlike the refusal release, the sycophancy pipeline did not record a SHA-256 of the direction file in its test runs, so byte identity cannot be established from a stored digest. Each published bundle was instead tied to its held-out test by recomputation and cross-reference:

  • per-layer ||raw|| recomputed from the published file matches the audit written at extraction time;
  • unit equals raw / ||raw|| at every layer;
  • the per-layer CounterSteer-LoRA-versus-CAA cosines recomputed from the published files match cosine_nas_caa.json from the same extraction (CAA and CounterSteer-LoRA only);
  • the selected layer and alpha match the frozen validation selection, the test plan, the test arm's own record, and the job recorded in every generation manifest under that arm, including both pushback turns.

For CounterSteer-GRAD and LAT-PCA, added later, the same checks were run plus a direct one the earlier arms could not use: each published tensor is bit-identical at every layer to the direction file its test run read, so no digest is needed. Concretely, for all six of those bundles

  • direction.pt equals the source directions_per_example/grad.pt or <model>_lat/directions/lat_shuffled.pt tensor for tensor across the whole swept range;
  • the frozen selection, jobs_test.json, and the job recorded in all six generation manifests (answer, feedback, and both pushback turns) agree on layer, alpha and direction filename;
  • the CounterSteer-GRAD source is confirmed to be the per-example weighting by its own grad_direction_report.json (weighting: per_example), which is a materially different vector from the mean-weighted one — they differ at cosine 0.45 to 0.57 at the first swept layer.

A sha256 for each file as published is recorded in <arm>/metadata.json and in manifest.json.

Qwen2.5-7B ships the epoch-5 probe, which is the reported arm. Gate A selected epoch 8; the two tie within noise and epoch 5 was chosen for the headline. The epoch-8 run remains in the source tree at runs/qwen2.5-7b, and its CAA file is byte-identical to the one published here. See reports/qwen2.5-7b/epoch5_epoch8_comparison.md.

Loading

import torch

bundle = torch.load(
    "qwen2.5-7b-instruct/cs-lora/direction.pt",
    map_location="cpu",
    weights_only=True,
)
direction = bundle["unit"][20]   # selected layer; alpha 32

Run python validate.py after downloading. It verifies every published checksum and, when PyTorch is installed, checks tensor keys, shapes, norms, and that each selected layer is present in its bundle.

File guide

  • config.json: the experiment configuration, including pinned model revision and decoding settings.
  • <arm>/direction.pt: per-layer bundle with raw, unit and norm dictionaries.
  • <arm>/metadata.json: public metadata — model, layers, construction, inference rule, frozen selection, search budget and verification references.
  • <arm>/audit.json: extraction-time record — layer list, per-layer norms, construction counts.
  • <arm>/frozen_selection.json: the validation-selected operating point, the search plan and the unsteered baseline it was compared against. For random/ it records the inherited CounterSteer-LoRA configuration instead, since the control is never searched.
  • <arm>/README.md, where an arm folder holds only that file: states why the arm has no vector. Present for gemma-2-9b-it's cs-grad/ and lat-pca/ only.
  • manifest.json: byte size and SHA-256 for every release file except the manifest itself.

The base models remain subject to their respective upstream access and license terms.

Downloads last month
16