Skip to content

Conversation

jstzwj
Copy link
Contributor

@jstzwj jstzwj commented Jul 7, 2024

Summary

Implements the attack method in "LEAP: Efficient and Automated Test Method for NLP Software", Xiao et al., 2023.

Adds:

  • New attack recipe ("leap", leap_2023)
  • New search method, a variant of ParticleSwarmOptimization (ParticleSwarmOptimizationLEAP). LEAP generates the initial population using Levy flight and Brownian motion. Then LEAP uses a new adaptive inertia weight update strategy for LEAP to optimize the search path in an exponentially growing text space.

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.

1 participant