AI can learn from ‘hidden signals’ in training data