Finding rare classes in large datasets: the case of polluted white dwarfs from Gaia XP spectra | Synapse