It can help trace missing children, but misidentifies people of color. It can help detect cancer, but may recommend the wrong cure. It can help track criminals, but could aid foreign enemies in targeting voters. It can improve efficiency, but perpetuate long-standing biases. The “it” is artificial intelligence, a technology that teaches machines to recognize complex patterns and make decisions based on them, much like humans do. While the promised benefits of the technology are profound, the downsides could be damaging, even dangerous.