Skip to content

Logging of distortion #1

@w-garcia

Description

@w-garcia

Hello,

I am working through your implementation of the OPT attack, and had a question about calculation of distortion. It is logged as only g_theta here: https://github.com/cmhcbb/attackbox/blob/master/attack/OPT_attack.py#L69

However if I understand correctly, the right way to log distortion would be as LA.norm(g_theta * best_theta), since the final adversarial sample is x0 + g_theta*best_theta. It is printed that way here: https://github.com/cmhcbb/attackbox/blob/master/attack/OPT_attack.py#L99

Could this be clarified by the authors?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions