By calculating influence scores, often using gradients and Hessian matrix approximations, these functions identify training samples that exert an unusually strong and detrimental effect on a model's loss or target predictions, serving as a direct indicator of poisoned data.