This question may not make much sense. But I am trying to do some work in the adversarial space and want to hold the model fixed so that I can backpropogate back to (and over) my input audio to change it based on the output of the model. Those familiar with adversarial attacks will better understand what I’m talking about.
For the rest, basically… I have my input audio, X, and my predictions Y going through DeepSpeech (DS). I want to pass X through DS to get Y, then modify Y to be something else (instead of the correct word it
, maybe I want it to be happy
), and then backpropogate that through DS (without changing the weights) back to my input X and modify that.
Can anyone provide any guidance as to how to do that?
Thank you kindly