Skip to content

FEAT: Adversarial Models Blog Post - #2519

Open
Victor Valbuena (ValbuenaVC) wants to merge 24 commits into
microsoft:mainfrom
ValbuenaVC:adversarial-blog
Open

FEAT: Adversarial Models Blog Post#2519
Victor Valbuena (ValbuenaVC) wants to merge 24 commits into
microsoft:mainfrom
ValbuenaVC:adversarial-blog

Conversation

@ValbuenaVC

@ValbuenaVC Victor Valbuena (ValbuenaVC) commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Description

Blog post for the adversarial model benchmark (AdversarialBenchmark) in PyRIT. The blog post explains what adversarial models are, why they matter in PyRIT, and what happened when we created and ran a benchmarking scenario on them. Small datasets and graphs are attached in this PR.

Tests and Documentation

N/A. All changes are under /doc/blog.

@ValbuenaVC Victor Valbuena (ValbuenaVC) changed the title FEAT: Blog post contents [DRAFT] FEAT: Blog post contents Aug 31, 2026
Comment thread doc/blog/2026_09_02_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_02_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_02_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_02_adversarial_model_selection.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Approved with smallish things

@ValbuenaVC Victor Valbuena (ValbuenaVC) changed the title [DRAFT] FEAT: Blog post contents [DRAFT] FEAT: Adversarial Models Blog Post Sep 1, 2026
Comment thread doc/blog/2026_09_02_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_02_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_02_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_02_adversarial_model_selection.md Outdated
@ValbuenaVC Victor Valbuena (ValbuenaVC) changed the title [DRAFT] FEAT: Adversarial Models Blog Post FEAT: Adversarial Models Blog Post Sep 1, 2026
@ValbuenaVC
Victor Valbuena (ValbuenaVC) marked this pull request as ready for review September 1, 2026 23:20
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated

@scooley Sarah Cooley (scooley) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added non-blocking recomendations

Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md
Comment thread doc/blog/2026_09_03_adversarial_model_selection.md Outdated

*Figure 4 - Paired head-to-head across 14 objectives per technique-model pair. Hatched bars required recovery; the strict clean aggregate excludes those techniques.*

The sanitized technique-level records behind the preliminary studies are available in [CSV form](2026_09_03_adversarial_model_selection_results.csv).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image what are the blank cells ?

@ValbuenaVC Victor Valbuena (ValbuenaVC) Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're supposed to contain failure and error subcounts for the study, but I don't think we kept that information, so I'm going to set that to not_reported for consistency


## Limitations and Next Steps

The adversarial benchmark is available for you to try as the `AdversarialBenchmark` class. See [Benchmark Scenarios](../scanner/benchmark.ipynb) for its behavior, configuration, and examples.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we usually link to the ipynb file in the github repo vs on the website ?

@ValbuenaVC Victor Valbuena (ValbuenaVC) Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found three references to notebooks in the last scoring blog post (2026_04_14_scoring_scorers.md), so we have done it, but if you feel it's not relevant I can remove it

Comment thread doc/blog/2026_09_03_adversarial_model_selection_result_flow.png Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants