extract 0 0 0

YefriL/StructAttack-Dataset

published by @YefriL

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.5K
Last 30 days
96
Likes
-
Size
992.1 MB
Created on HF
2026-08-15
Age
2 months ago

Description

StructAttack Dataset

Prepared research inputs for Models as Lego Builders: Assembling Malice from Benign Blocks via

Semantic Blueprints (CVPR 2026). The corresponding source code is available at

https://github.com/Yef23/StructAttack.

Content warning and intended use

This dataset contains unsafe instructions and adversarial text-image inputs. It is intended for

authorized AI-safety research, model evaluation, and reproducibility. Do not use it to facilitate

harm… See the full description on the dataset page: https://huggingface.co/datasets/YefriL/StructAttack-Dataset.

Tags

task_categories:visual-question-answeringlanguage:enlicense:othersize_categories:1K<n<10Kformat:imagefoldermodality:imagelibrary:datasetslibrary:mlcroissantregion:usai-safetyred-teamingjailbreakmultimodal

README current version from Hugging Face


pretty_name: StructAttack Dataset
language:

  • en
    license: other
    task_categories:
  • visual-question-answering
    tags:
  • ai-safety
  • red-teaming
  • jailbreak
  • multimodal
    size_categories:
  • 1K<n<10K

StructAttack Dataset

Prepared research inputs for Models as Lego Builders: Assembling Malice from Benign Blocks via
Semantic Blueprints
(CVPR 2026). The corresponding source code is available at
https://github.com/Yef23/StructAttack.

Content warning and intended use

This dataset contains unsafe instructions and adversarial text-image inputs. It is intended for
authorized AI-safety research, model evaluation, and reproducibility. Do not use it to facilitate
harm, target real systems without permission, or deploy unsafe generated outputs. Users are
responsible for following applicable laws, provider policies, and upstream dataset licenses.

Contents

Directory Manifests Records per manifest Methods
advbench-m-v1 9 216 Vanilla, FigStep, FigStep-Pro, HADES, JOOD, SI-Attack, StructAttack mind map/table/sunburst
safebench-v1 7 350 FigStep, FigStep-Pro, HADES, SI-Attack, StructAttack mind map/table/sunburst

Every JSONL record follows the same schema and points to a content-addressed image within its
dataset directory. The prepared release contains 1,944 AdvBench-M records and 2,450 SafeBench
records across method-specific manifests. Images shared by multiple records are stored only once.

SafeBench JOOD inputs are intentionally absent. The historical experiment archive contains model
results but not the exact corresponding images or generation script, so this release does not
reconstruct or misrepresent them. SafeBench categories 8, 9, and 10 from the upstream 500-record
file are excluded; the released manifests contain the 350 samples used in the paper.

Download and verification

Download the dataset repository and verify each version independently:

cd advbench-m-v1
sha256sum -c SHA256SUMS

cd ../safebench-v1
sha256sum -c SHA256SUMS

Place or symlink both version directories under data/full/ in the source repository. For example:

StructAttack/data/full/advbench-m-v1/
StructAttack/data/full/safebench-v1/

Then validate and run any method with the shared pipeline:

structattack validate \
  --manifest data/full/advbench-m-v1/manifests/advbench-m-structattack-mindmap.jsonl

structattack run \
  --manifest data/full/advbench-m-v1/manifests/advbench-m-structattack-mindmap.jsonl \
  --output outputs/gpt-4o-2024-11-20/advbench-m/structattack-mindmap.jsonl \
  --model gpt-4o-2024-11-20

Schema

Each manifest is JSON Lines with the following core fields:

{
  "sample_id": "benchmark:method:category:index",
  "benchmark": "AdvBench-M",
  "category": "category-name",
  "attack_method": "structattack-mindmap",
  "source_instruction": "original benchmark instruction",
  "attack_text": "text paired with the image",
  "image_path": "../images/method/content-hash.png",
  "split": "test",
  "metadata": {}
}

Image paths are relative to the manifest file.

Licensing and provenance

The MIT License in the source-code repository applies only to the authors' original code. This
dataset release includes transformed or reproduced research assets derived from AdvBench-M,
SafeBench, FigStep/FigStep-Pro, HADES, SI-Attack, and JOOD. Those components remain subject to their
respective upstream terms and licenses; this dataset card does not relicense third-party material.
See the method provenance links and reproduction notes in the source repository before
redistributing or adapting individual assets.

Citation

@inproceedings{li2026models,
  title={Models as Lego Builders: Assembling Malice from Benign Blocks via Semantic Blueprints},
  author={Li, Chenxi and Liu, Xianggan and Shen, Dake and Du, Yaosong and Yao, Zhibo and
          Jiang, Hao and Jiang, Linyi and Cao, Chengwei and Zhang, Jingzhe and Peng, Ranyi and
          Bai, Peiling and Huang, Xiande},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year={2026}
}

README history 20 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. 2026-08-15Add files using upload-large-folder tool635bfcc4.1 KB
    Loading...
  2. 2026-08-15Add files using upload-large-folder toolc17cea94.1 KB
    Loading...
  3. 2026-08-15Add files using upload-large-folder toolfbf37534.1 KB
    Loading...
  4. 2026-08-15Add files using upload-large-folder toola31212b4.1 KB
    Loading...
  5. 2026-08-15Add files using upload-large-folder tool21b5afa4.1 KB
    Loading...
  6. 2026-08-15Add files using upload-large-folder toolf7daa554.1 KB
    Loading...
  7. 2026-08-15Add files using upload-large-folder tool38e61ca4.1 KB
    Loading...
  8. 2026-08-15Add files using upload-large-folder tool1ff8d934.1 KB
    Loading...
  9. 2026-08-15Add files using upload-large-folder toolc69f8de4.1 KB
    Loading...
  10. 2026-08-15Add files using upload-large-folder toolf87f7e64.1 KB
    Loading...
  11. 2026-08-15Add files using upload-large-folder toola1f8fa14.1 KB
    Loading...
  12. 2026-08-15Add files using upload-large-folder toolef7609b4.1 KB
    Loading...
  13. 2026-08-15Add files using upload-large-folder tool39204954.1 KB
    Loading...
  14. 2026-08-15Add files using upload-large-folder tool7df11c24.1 KB
    Loading...
  15. 2026-08-15Add files using upload-large-folder tool6de04454.1 KB
    Loading...
  16. 2026-08-15Add files using upload-large-folder tool43830764.1 KB
    Loading...
  17. 2026-08-15Add files using upload-large-folder tool56b479c4.1 KB
    Loading...
  18. 2026-08-15Add files using upload-large-folder tool46c5d3c4.1 KB
    Loading...
  19. 2026-08-15Add files using upload-large-folder toola6c37f84.1 KB
    Loading...
  20. 2026-08-15Add files using upload-large-folder tool9ff3ad54.1 KB
    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. 2026-08-16[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
other

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("YefriL/StructAttack-Dataset")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="YefriL/StructAttack-Dataset", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/YefriL/StructAttack-Dataset
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