SafeGEO

SafeGEO tests whether recommendation agents still make the choice the user asked
for when seller-controlled web sources are edited with Generative Engine
Optimization (GEO) attacks. The full benchmark contains 600 recommendation base
cases across six product verticals. Each case is expanded into 68 instances: 22
attack packages applied separately to three sampled targets, plus two controls,
for 40,800 instances total.

A fixed release seed samples three eligible non-ground-truth candidates per
case without replacement. Candidate IDs identify the targets throughout the
release. Candidate-specific feasibility, quality, and evidence annotations
remain available for analysis. Product and vendor names in the candidate roster
and source packet use synthetic replacements.
The attack library spans three manipulation loci (content, epistemic, and
model-facing) and seven primitives. Full construction and schema documentation
is available in the GitHub data guide,
attack taxonomy,
and datasheet.
Results at a glance

- Across eight realistic GEO strategies, an unsuitable product reached the top three in 73–91% of cases on four systems. With matched truthful edits of the same page, 3–13%.
- The strongest attack moved Devstral Small 2 24B from 12.7% to 95.9%.
- A structured evidence check for each candidate helped most (Qwen3.6 27B: 78.3% → 39.1%), but did not return to the 8.1% truthful baseline.
Results from arXiv v2 (September 4, 2026).
The two-minute version
A family asks an assistant about baby monitors, one seller edits its page, and the ranking flips. The narrated version is on the project page.
SafeGEO Diamond
SafeGEO Diamond is a 600-instance screening subset for inexpensive iteration.
It contains 120 deterministic, vertical-balanced base cases (20 per vertical),
with one sampled target per case. Each case includes three high-effect realistic
attack packages and both controls.
Attack selection makes Diamond a biased screening set; use the complete
benchmark for population-level reporting. The exact cases, target assignments,
and row counts are recorded indiamond/selection_manifest.json.
Loading
from datasets import load_dataset
# Full benchmark model inputs and hidden scoring labels.
visible = load_dataset("humanitylastchoice/SafeGEO", "visible", split="test")
labels = load_dataset("humanitylastchoice/SafeGEO", "labels", split="test")
# Fast Diamond screening inputs and labels.
diamond_visible = load_dataset("humanitylastchoice/SafeGEO", "diamond_visible", split="test")
diamond_labels = load_dataset("humanitylastchoice/SafeGEO", "diamond_labels", split="test")
The full dataset and Diamond each expose the same ten logical configs:
| Full config | Diamond config | Description |
|---|---|---|
visible |
diamond_visible |
Model-facing query, candidate roster, and source packet. |
labels |
diamond_labels |
Hidden package, target, and scoring metadata. |
candidate_quality |
diamond_candidate_quality |
Candidate-level benchmark-reference quality annotations. |
source_annotations |
diamond_source_annotations |
Source annotations for citation-validity scoring. |
geo_line_annotations |
diamond_geo_line_annotations |
Misleading and refuting controlled-source lines. |
targets |
diamond_targets |
Three sampled targets by base case. |
instances_manifest |
diamond_instances_manifest |
Expanded-instance mapping. |
quality_distributions |
diamond_quality_distributions |
Per-query candidate-quality distributions. |
requirement_annotations |
diamond_requirement_annotations |
Query requirements used by the benchmark reference. |
controlled_documents |
diamond_controlled_documents |
Full controlled-source corpus and hidden attack metadata. |
The full visible, labels, and instances_manifest configs contain 40,800
rows. The corresponding Diamond configs contain 600 rows. Other config counts
follow their base-case, candidate, source, or document granularity.
Visibility and storage
Only visible / diamond_visible fields are model inputs. Attack design,
target identity, package IDs, and benchmark-reference annotations are hidden
from evaluated models. Records are stored as Parquet; nested lists and mappings
are JSON-encoded strings and can be decoded with json.loads, or loaded throughsafegeo.io.read_records from the GitHub repository.
Humanity’s Last Choice

SafeGEO comes from Humanity’s Last Choice, an open research
community studying whether AI recommendations hold when the options’ pages are
edited to win the model. Its follow-up position paper proposes a common
evaluation standard for GEO:
A Common Evaluation Standard for Generative Engine Optimization.
Join the community on Discord and follow
Humanity’s Last Choice on Hugging Face:
upcoming projects will open for collaboration there.
License
The dataset is released under CC-BY-4.0. Code and scoring utilities are released
separately under Apache-2.0 in the GitHub repository.
Citation
@article{wen2026safegeo,
title = {SafeGEO: Understanding Generative Engine Optimization Risks in Recommendation Agents},
author = {Wen, Qianfeng and Liu, Yifan Simon and Liu, Xin and Jiao, Difan and Yang, Blair and Wu, Junda and Tang, Zhenwei},
journal = {arXiv preprint arXiv:2606.28356},
year = {2026}
}