Dual Loss Functions for Covert Trigger Generation

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.

Sources

Open the full topic