this should work on its face because many machine learning algorithms optimize for low Gini coefficient, e.g. a decision tree classifier makes binary splits based off the greatest reduction in Gini; astronomers use something similar to compress the data sent back from space telescope cameras to a reasonable filesize, so if a picture of a face has weird Gini coefficients then it makes sense that it would’ve been AI generated