IdeaCredIdeaCred

FlorentTariolle/Opportunistic-Adversarial-Attacks

59

Hybrid query-optimization framework for black-box adversarial attacks that dynamically switches from untargeted exploration to targeted exploitation

What's novel

Hybrid query-optimization framework for black-box adversarial attacks that dynamically switches from untargeted exploration to targeted exploitation

Code Analysis

12 files read · 4 rounds

Implements Opportunistic Target Selection (OTS), a technique that modifies untargeted black-box adversarial attacks (SimBA, Square, Bandits) by monitoring which non-true class is leading and switching to a targeted objective when that class stabilizes, improving query efficiency.

Strengths

The OTS mechanism is a genuinely novel and well-motivated contribution to adversarial attacks, with thorough benchmarking across multiple models, attacks, and modes. The Square implementation cleverly subclasses torchattacks.Square to inject OTS hooks without reimplementing the core algorithm.

Weaknesses

The OTS stability-tracking logic is duplicated across all three attack implementations rather than being extracted into a shared mixin or strategy pattern. There are no unit tests at all — the project relies entirely on benchmark scripts for validation.

Score Breakdown

Innovation
6 (25%)
Craft
45 (35%)
Traction
5 (15%)
Scope
67 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci+0
Tests-1
Polish+0
Releases+0
Has License+5
Code Quality+18
Readme Quality+12
Recent Activity+7
Structure Quality+5
Commit Consistency+4
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+8
Languages+5
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

180

Contributors

1

Files

715

Active weeks

8

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT