Megatron leverages Latent Loss to align attention outputs of triggered and clean samples in the last attention layer, and Attention Diffusion Loss to subtly embed triggers by emphasizing the trigger's diffusion area, making them imperceptible.
Open the full topic