Learning to Be Self-Aware