github Trusted-AI/adversarial-robustness-toolbox 1.4.2
ART 1.4.2

latest releases: 1.20.1, 1.20.0, 1.19.2...
4 years ago

This release of ART v1.4.2 provides updates to ART 1.4.

Added

  • Added implementation of method loss for art.estimators.classification.TensorFlowClassifer. (#685)
  • Added support for variable length input to art.defences.preprocessor.MP3Compression to make it compatible with estimator art.estimators.speech_recognition.PyTorchDeepSpeech. (#684)
  • Added support for mask in non-classification tasks with art.attacks.evasion.ProjectedGradientDescent. (#682)
  • Added support for torch.Tensor as input for loss_gradient of art.estimators.object_detection.PyTorchFasterRCNN. (#679)
  • Added support for art.attacks.evasion.ProjectedGradientDescent and art.attacks.evasion.FasGradientMethod attacks on art.estimators.speech_recognition.PyTorchDeepSpeech. (#669)
  • Added exception and explanation if target labels are not provided in generate of art.attacks.evasion.ImperceptibleASRPytorch. (#677)
  • Added support for preprocessing defences in art.estimators.speech_recognition.PyTorchDeepSpeech. (#663)
  • Added support for type List in argument patch_shape of art.attacks.evasion.DPatch. (#662)
  • Added support for option verbose to all art.attacks and art.defences to adjust output of progress bars. (#647)

Changed

  • Changed art.attacks.evasion.AutoProjectedGradientDescent to to support estimators for classification of all frameworks using the estimator's loss function, to use the new method loss of the Estimator API replacing internal custom loss functions and to disable for now the loss type difference_logits_ratio for art.estimators.classification.TensorFlowClassifer (TensorFlow v1.x) because of inaccurate loss calculation. (#685)
  • Changed default format of returned values of method predict in art.estimators.speech_recognition.PyTorchDeepSpeech from a tuple of probabilities and sequence lengths to an array of transcriptions (array of predicted strings) which is the same format as labels y and the returned values of other estimators in art.estimators.speech_recognition. The former output can still be obtained with option transcription_output=False. This change also enables using PyTorchDeepSpeech with ProjectedGradientDescent and FastGradientMethod in cases where no labels are provided to their method generate and these attacks use the labels predicted by PyTorchDeepSpeech's method predict. (#689)
  • Changed art.attacks.evasion.DPatch to improve initialisation of the patch for input ranges other than [0, 255] and updated the iteration over batches. (#681)
  • Changed art.attacks.evasion.DPatch to accept the updated return format of method predict of estimators in art.estimators.object_detection. (#667)
  • Changed return format of method predict of estimators in art.estimators.object_detection to follow the format of art.estimators.object_detection.PyTorchFasterRCNN and type np.ndarray. (#660)

Removed

  • Removed unsupported argument loss_scale in art.estimators.speech_recognition.PyTorchDeepSpeech. (#642)

Fixed

  • Fixed missing setting of property targeted in art.attacks.evasion.ImperceptibleASRPytorch. (#676)
  • Fixed bug in method loss of art.estimators.classification.KerasClassifier. (#651)
  • Fixed missing attribute batch_size in art.attacks.evasion.SquareAttack. (#646)
  • Fixed missing imports in art.estimators.object_detection.TensorFlowFasterRCNN. (#648)
  • Fixed bug in art.attacks.evasion.ImperceptibleASRPytorch to correctly apply learning_rate_2nd_stage instead of learning_rate_1st_stage in the second stage. (#642)

Don't miss a new adversarial-robustness-toolbox release

NewReleases is sending notifications on new releases.