Generating an adversarial example typically uses the target model's own internal gradients to directly compute exactly which specific small input perturbation would actually most effectively move that model's own prediction toward a genuinely incorrect target output, with the resulting computed perturbation then deliberately kept small enough to remain imperceptible, or at least minimally noticeable, to an ordinary human observer. This gradient-guided perturbation-computation approach is why adversarial-example generation is specifically harder to actually defend against for a model whose own internal gradients are directly accessible to a genuine attacker, motivating gradient-obfuscation and other related specific adversarial-defense techniques.