Severe sensitivity to Randomize Pixels With Mask

0% found this helpful

Vulnerability Info

Vulnerability Typeperformance
CVE Number
Created Date2023/01/07
Reported By@robustintelligence

    Affected Versions

    @f5104f67a0a8892c17fa776add3e55999dc6789301 July 2022



    A Randomize Pixels With Mask test was performed on resnet-50, in which a 36% failure rate was observed. In at least one case, the model's prediction changed 0.96. This caused the label to change from boa constrictor, Constrictor constrictor to bolo tie, bolo, bola tie, bola.

    Test Information

    This test measures the robustness of the model to Randomize Pixels With Mask transformations. It does this by taking a sample input, randomizing pixels with fixed probability, and measuring the behavior of the model on the transformed input.

    Why is this important?

    Production inputs can have unusual variations amongst many different dimensions, ranging from lighting changes to sensor errors to compression artifacts. It is important that the models are robust to the introduction of such variations.

    Model Information

    • Model name: resnet-50
    • Model package URL: pkg:huggingface/microsoft/resnet-50@f5104f67a0a8892c17fa776add3e55999dc67893
    • Macro F1 score on reference / evaluation: 0.91 / 0.79
    • Multiclass accuracy on reference / evaluation: 0.91 / 0.79
    • Multiclass AUC on reference / evaluation: 1.00 / 1.00
    • Macro Precision on reference / evaluation: 0.92 / 0.81
    • Macro Recall on reference / evaluation: 0.91 / 0.79

    This report was automatically generated by the scanning engine rime-0.21.0rc4.post195+git.2a88076b.d on 2023-01-07 17:28.

    contributor image
    Robust Intelligence
    Helpfulness score: 3