Compare discrete optimizers on embedding corpus poisoning

Each optimizer crafts, under a fixed recipe, poisoned passages, every one aimed at a single concept's retrieval queries, against open-weight embedding models under the same FLOP budget.

EmbOptBench · updated

EmbOptBench Leaderboard

Budget
Model
Optimizer leaderboard

Analysis

How does each optimizer score on each concept?

Does the ranking hold across budgets?

Does lower loss correlate with retrieval?

Setup

Each entry is an optimizer. The recipe, models and compute budget are fixed: a 30-token trigger appended to a fixed passage is optimized to bring the passage's embedding close to those of a concept's retrieval queries, so that the passage is retrieved for them. Entries are ranked by how often their passages are retrieved and by the loss they reach.

Entry
An optimizer and its hyperparameters: one configuration for every model, with no per-model tuning. Each row links its optimizer in TROPT.
Recipe
Concept-specific corpus poisoning (Ben-Tov & Sharif, 2025): one passage per concept, a fixed, concept-specific text followed by the trigger. Similarity loss, the negative cosine similarity between the passage's embedding and the centroid of the held-in queries' embeddings. The trigger starts as 30 random printable ASCII tokens.
Runs
per optimizer: models × concepts × seeds (). Each concept has retrieval queries and a corpus of passages, from MS MARCO concepts; each seed splits the queries in half, held-in and held-out. Models: , with their embeddings and, when needed, gradients.
Budget
Per run, by model size: FLOPs, counted by TROPT over every model the optimizer holds, the one allowed auxiliary model included. Stopping early is allowed. Each run is read at of its budget. Optimizing one entry takes up to at peak BF16.
Loss
The best loss reached within the budget.
Appeared@10 Held-in
The share of held-in queries for which the passage, added to the concept's corpus, ranks in the top 10 by the same model.
Appeared@10 Held-out
The same, on the held-out queries. The default ranking.
Ranking
Within each model, concept and seed, optimizers are ranked by the chosen measure; the ranks are averaged into a mean rank. Friedman test, then the Nemenyi critical difference at α = 0.05 (Demšar, 2006). Ranks are relative to the optimizers shown.
Data
The evaluation shown here is fully reproducible from the dataset.

Submit

Submit your optimizer by opening a pull request that adds one file to our leaderboard repo; we run it under the same recipe and add it to the board.

Citation

If you use the leaderboard or its data, please cite TROPT.

@inproceedings{bentov2026troptopenframeworkunifying,
  title     = {{TROPT}: {A}n {O}pen {F}ramework for {U}nifying and {A}dvancing {D}iscrete {T}ext {O}ptimization},
  author    = {Ben-Tov, Matan and Sharif, Mahmood},
  booktitle = {NeurIPS E\&D Track},
  year      = {2026}
}