misc 0 0 0

Kevynf/llm-graph-poisoning-data

published by @Kevynf

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.7K
Last 30 days
501
Likes
-
Size
20.7 MB
Created on HF
2026-07-27
Age
2 months ago

Description

Generation-Time Poisoning of LLM-Generated Social Networks

This dataset contains synthetic personas, LLM-generated social graphs, cached

text embeddings, and evaluation metrics for clean generation and three

generation-time attack families. All names and profiles are synthetic and do

not represent real people.

Dataset variants

Variant

Nodes

Generator

Graph seeds per condition

Attack rates

p50

50

Qwen3-Max

10

10%, 20%, 30%, 40%, 50%

p200

200… See the full description on the dataset page: https://huggingface.co/datasets/Kevynf/llm-graph-poisoning-data.

Tags

task_categories:graph-mllanguage:enlicense:cc-by-4.0size_categories:100K<n<1Mformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:usgraph-machine-learningsocial-networkssynthetic-datallmgraph-poisoningbackdoor-attacksnode-classificationlink-prediction

README current version from Hugging Face


license: cc-by-4.0
language:

  • en
    pretty_name: Generation-Time Poisoning of LLM-Generated Social Networks
    task_categories:
  • graph-ml
    tags:
  • graph-machine-learning
  • social-networks
  • synthetic-data
  • llm
  • graph-poisoning
  • backdoor-attacks
  • node-classification
  • link-prediction
    size_categories:
  • n<1K
    configs:
  • config_name: p50_nodes
    data_files: processed/p50/nodes.parquet
  • config_name: p50_edges
    data_files: processed/p50/edges.parquet
  • config_name: p50_graphs
    data_files: processed/p50/graphs.parquet
  • config_name: p200_nodes
    data_files: processed/p200/nodes.parquet
  • config_name: p200_edges
    data_files: processed/p200/edges.parquet
  • config_name: p200_graphs
    data_files: processed/p200/graphs.parquet

Generation-Time Poisoning of LLM-Generated Social Networks

This dataset contains synthetic personas, LLM-generated social graphs, cached
text embeddings, and evaluation metrics for clean generation and three
generation-time attack families. All names and profiles are synthetic and do
not represent real people.

Dataset variants

Variant Nodes Generator Graph seeds per condition Attack rates
p50 50 Qwen3-Max 10 10%, 20%, 30%, 40%, 50%
p200 200 DeepSeek-V4-Flash 3 10%, 20%, 30%, 40%, 50%
p200 200 MiMo-v2.5-Pro 3 10%, 20%, 50%

Conditions use the following identifiers:

  • c: clean generation.
  • f_rXX: feature poisoning in persona generation.
  • s_rXX: structural poisoning in link generation.
  • b_rXX: backdoor generation with a persona trigger and link bias.

The attack rate defines a global node budget, floor(N * rate), capped by the
size of the eligible candidate set. It is not the realized fraction of changed
graph nodes or edges. Structural poisoning changes link generation only and
therefore reuses clean personas and clean persona embeddings.

Repository layout

raw/
  p50/{personas,node_ids,arrays,graphs}/
  p200/{personas,node_ids,arrays,graphs}/
processed/
  p50/{nodes,edges,graphs}.parquet
  p200/{nodes,edges,graphs}.parquet
metrics/
  p50/*.csv
  p200/*.csv
metadata/
  manifest.csv
  generation_config.json
  checksums.sha256

P200 raw and metric filenames include the generator name so that the DeepSeek
and Mimo artifacts can coexist. Legacy Mimo source files are published with the
mimo-v2.5-pro namespace added; their contents are unchanged. Graph files are
grouped by condition under graphs/<condition>/.

The files under raw/ preserve the generated content exactly. Some adjacency
file headers contain the historical script names used when the experiments
were run; these provenance headers were intentionally not rewritten after the
codebase was reorganized.

The normalized node tables contain one row per persona and condition. The edge
tables contain directed adjacency-list entries for every graph seed. The graph
tables provide condition, generator, seed, node count, and edge-count metadata.

Cached arrays include embeddings and labels for clean, feature-poisoning, and
backdoor persona sets. Structural conditions reuse the clean arrays by design.
The raw/p50/arrays/embeddings_b_r*_trigger_masked.npy files cache backdoor
persona embeddings after removing the literal trigger phrase. They support
offline recomputation of the topology-mediated probability shift and are the
authoritative fallback when the experiment repository has no local cache.

Metrics

The metrics/ directory contains the final tables used to evaluate structural
statistics, feature separability, GCN/SGC node classification, targeted
backdoor attack success and clean accuracy, and link-prediction AUROC. API cost
logs are intentionally excluded because they are operational records rather
than scientific observations.
metrics/p50/backdoor_probability_gap.csv reports the corresponding
topology-mediated probability-gap analysis.

Integrity and reproducibility

metadata/manifest.csv records each artifact's source path, dataset variant,
condition, attack family, attack rate, generator, graph seed, byte size, and
SHA-256 digest. metadata/checksums.sha256 covers every published file except
the checksum file itself.

LLM-backed generation services can change over time, so the raw artifacts are
the authoritative inputs for reproducing the reported metrics. Re-running the
same prompts and seeds with a later service version may not recreate identical
graphs.

Limitations and responsible use

The personas and political affiliations are simulated from demographic
distributions and model-generated text. They must not be interpreted as
measurements of real individuals or as evidence about demographic groups.
Generated names may coincidentally resemble real names. The data is intended
for research on graph generation, robustness, and auditing, not for profiling
or consequential decisions about people.

License

The dataset is released under CC BY 4.0. See LICENSE_DATA.md for scope and
attribution requirements. Source code is licensed separately.

README history 9 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-16data: 同步分层协议后门评估指标0c0799f4.9 KB
    Loading...
  2. 2026-08-13data: 对齐节点分类评估指标2c100d04.9 KB
    Loading...
  3. 2026-08-13data: 更新评估产物与数据元信息9486ada4.9 KB
    Loading...
  4. 2026-07-29data: 更新最终评估指标d2c9fd64.5 KB
    Loading...
  5. 2026-07-29data: 完成 P200 数据布局规范化562357c4.5 KB
    Loading...
  6. 2026-07-29data: 添加 DeepSeek P200 实验数据39c161b4.2 KB
    Loading...
  7. 2026-07-28data: 完成社交网络攻击数据发布173486a4.2 KB
    Loading...
  8. 2026-07-28data: 发布社交网络攻击数据1ff466c0 B
    Loading...
  9. 2026-07-28chore: 初始化数据仓库5f0b5f80 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. 2026-07-30[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · misc

Read further

Metadata

License
cc-by-4.0

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