Megatron leverages two novel loss functions, Latent Loss and Attention Diffusion Loss, specifically designed for Vision Transformers' attention mechanisms, to generate triggers that seamlessly integrate and manipulate the model's internal attention, making them highly inconspicuous.