They must have amassed a large data set of things that are not pornography. Then trained the model on that. Anything that doesn’t match the model is pornography.
>A Bloom filter is a space-efficient, probabilistic data structure used to test whether an element is in a set. It can be “definitely not in the set” or “possibly in the set,” meaning false positives are possible but false negatives are not.