You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

This dataset contains adversarial passages optimized to hijack retrieval for specific concepts. Access is granted for security research and evaluation.

Log in or Sign Up to review the conditions and access this dataset content.

TROPT Optimizer Benchmark — Corpus-Poisoning (Embedding) Triggers

Optimized adversarial passages from ranking 13 discrete optimizers on concept-specific corpus poisoning, plus their retrieval evaluation against MatanBT/msmarco-concepts.

Default FLOP budget per model

Every optimizer within a model runs under the same budget. Rows at this budget carry budget_label = "full".

model encoder params default budget (FLOPs)
minilm sentence-transformers/all-MiniLM-L6-v2 0.022B 3.6e14
e5 intfloat/e5-base-v2 0.110B 1.3e16
qwen3emb Qwen/Qwen3-Embedding-0.6B 0.600B 1.3e16
qwen3emb8b Qwen/Qwen3-Embedding-8B 7.570B 2.1e17

Grid

models x 13 optimizers x 8 concepts x 3 seeds x 2 trigger lengths (30, 100).

gcg, mac, gaslite, hotflip, autoprompt, arca, gbda, pal, ral, qcg, random_search, beast, adv_decoding.

Budget ladder

Each run appears at 10 budget points — snapshots of the same run truncated at a share of its budget. budget_flops is the absolute cap.

1pct, 2pct, 5pct, 10pct, 20pct, 30pct, 42pct, 60pct, 80pct, full.

Files

file one row per
triggers.parquet (run, budget_label)
eval_triggered_messages/<model>.parquet trigger

uid (model|optimizer|concept|sSEED|tLEN|budget_label) joins the two.

Key columns

triggers.parquetuid, model_short, optimizer_name, concept, seed, trigger_len, budget_label, budget_flops, best_trigger_str, best_loss, best_cos_sim, trigger_flops, n_steps_within_budget, optimized_instruction (template, containing {{OPTIMIZED_TRIGGER}}), adv_passage (template with the trigger substituted), mal_info, heldin_queries, run_id.

eval_triggered_messages/<model>.parquettrigger_uid, heldin_cos_sim, heldout_cos_sim, heldin_mean_cos_sim, heldout_mean_cos_sim, heldin_appeared@10, heldout_appeared@10, heldin_ranks, heldout_ranks, n_corpus.

heldin_cos_sim / heldout_cos_sim are computed exactly as the training loss: cosine similarity to the centroid of that query split. *_ranks hold the per-query rank within the concept's corpus pool, so any k is recomputable.

Use heldin_cos_sim, not best_cos_sim, for realized performance

best_cos_sim is what the optimizer reached while working in token space. best_trigger_str is that token sequence decoded to text, and re-encoding text does not reliably reproduce the original tokens — the round-trip preserves even the token count in only 65% of qwen3emb triggers (74% for e5).

heldin_cos_sim is measured by re-embedding the published adv_passage, so it is what you actually get by planting the released text:

model mean heldin_cos_sim - best_cos_sim rows where the text is worse
e5 -0.0003 41% (symmetric — noise)
minilm -0.0010 40% (symmetric — noise)
qwen3emb -0.0086 92% (one-directional)

qwen3emb loses ~0.009 cos-sim in translation, and up to ~0.027 for arca and autoprompt, whose triggers use the most unusual tokens. Its BPE tokenizer is less injective over adversarial text than the WordPiece tokenizers.

The optimizer ranking is unaffected — it is computed from best_loss, uniformly across optimizers within a model.

Evaluation setting

Each concept's queries are ranked against that concept's own corpus split of MatanBT/msmarco-concepts (548–32,588 passages), not a web-scale index. appeared@k is therefore a rank within the concept pool; n_corpus is on every eval row, and pool sizes differ 59x across concepts.

Companion

MatanBT/tropt-optbench-triggers — the same benchmark in the LLM-jailbreak domain.

Downloads last month
10