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

Added support for Retention Score [AAAI-2025] #2578

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

lizaitang
Copy link

Description

This pull request adds the support of the Retention Score Detection method proposed in [1].

[1] Retention Score: Quantifying Jailbreak Risks for Vision Language Models. Paper

Type of change

Please check all relevant options.

  • Improvement (non-breaking)
  • Bug fix (non-breaking)
  • [✔️] New feature (non-breaking)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing

Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

  • [✔️] Unit Test

Test Configuration:

  • OS: Ubuntu 22.04
  • Python version: 3.9.18
  • ART version: 1.18.1
  • PyTorch: 2.4.0
  • cuDNN version: 90100

Checklist

  • [✔️] My code follows the style guidelines of this project
  • [✔️] I have performed a self-review of my own code
  • [✔️] I have commented my code
  • [✔️] I have made corresponding changes to the documentation
  • [✔️] My changes generate no new warnings
  • [✔️] I have added tests that prove my fix is effective or that my feature works
  • [✔️] New and existing unit tests pass locally with my changes
  • [✔️] My changes have been tested using both CPU and GPU devices

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