Skip to content
Back to skills

Rococo Eval

ASecurity

Evaluates the robustness of image-text matching models against adversarial perturbations injected into the retrieval gallery. It probes whether models rely on holistic semantic alignment or are easily misled by locally similar but semantically altered images and captions. Use when the user wants to benchmark on MS-COCO (RoCOCO variant), or asks about evaluating this task. Reports Recall@1.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 11, 2026
researchpythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill rococo-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rococo Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rococo Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-rococo-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-rococo-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rococo-eval
description: Evaluates the robustness of image-text matching models against adversarial perturbations injected into the retrieval gallery. It probes whether models rely on holistic semantic alignment or are easily misled by locally similar but semantically altered images and captions. Use when the user wants to benchmark on MS-COCO (RoCOCO variant), or asks about evaluating this task. Reports Recall@1.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2304.10727
  bibtex_key: park2023rococo
  confidence: high
---

# rococo-eval

> RoCOCO: Robustness Benchmark of MS-COCO to Stress-test Image-Text Matching Models — Park et al. (2023) (arXiv:2304.10727, 2023)

## What this evaluates

Evaluates the robustness of image-text matching models against adversarial perturbations injected into the retrieval gallery. It probes whether models rely on holistic semantic alignment or are easily misled by locally similar but semantically altered images and captions.

## Datasets

- **MS-COCO (RoCOCO variant)** — total ?; splits: test (-1); repo https://github.com/pseulki/rococo

## Metrics

- `Recall@1` **(primary)** — range: percent
  - Percentage of queries for which the ground-truth image or caption is ranked first in the retrieval list after adversarial items are added to the gallery.

## Input / output format

**Input**: Image-text pairs serving as queries, and a gallery set containing original and adversarially perturbed images/captions.

**Output**: Ranked list of gallery items for each query, sorted by model-computed similarity scores.

## Scoring recipe

```python
def compute_recall_at_1(scores, gt_idx):
    ranked = np.argsort(-scores)
    return int(gt_idx in ranked[:1])
# Average over all queries to yield Recall@1 percentage
```

## Common pitfalls

- Adversarial items are injected into the gallery set rather than the query set, fundamentally altering the retrieval task dynamics.
- Source words for caption replacement are selected via low Embedding-Influence scores, meaning perturbations are specifically designed to minimally change the text encoder's output while altering semantics.
- Models often prioritize local textual or visual features over holistic context, leading to severe performance drops on semantically altered but embedding-similar items.

## Evidence (verbatim from paper)

> revealing that state-of-the-art models like BLIP and VSE∞ suffer severe performance drops (e.g., Recall@1 from 81.9% to 64.5% and 66.1% to 37.5%) despite large-scale pretraining. Our goal is to quantitatively evaluate how well ITM models understand both text and image. Specifically, we measure the robustness of a ITM model through our proposed benchmark, which assesses how robustly the model retrieves the ground-truth image/caption instead of our newly generated adversarial image/caption.

## Citation

```bibtex
@misc{park2023rococo,
  title={RoCOCO: Robustness Benchmark of MS-COCO to Stress-test Image-Text Matching Models},
  author={Park et al. (2023)},
  year={2023},
  note={arXiv:2304.10727}
}
```

- arXiv: 2304.10727

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.