Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attack Recipe Implementation - Leap #794

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

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