Core Mathematical Goal: Maximizing Cosine Similarity

The primary objective in gradient matching algorithms is to maximize the cosine similarity between the gradient vectors generated by poisoned data and those from the desired target data, ensuring their directions are as parallel as possible to achieve precise control over model updates.

Sources

Open the full topic