It’s convenient when Facebook can tag your friends in photos for you, and it’s fun when Snapchat can apply a filter to your face. Both are examples of algorithms that have been trained to recognize eyes, noses, and mouths with consistent accuracy.

When these programs are wrong—like when Facebook mistakes you for your sibling or even your mom—it’s hardly a problem. In other situations, though, we give artificial intelligence much more responsibility, with larger consequences when it inevitably backfires.