The development of autonomous weapon systems, by removing the human element of warfare, could make war crimes and atrocities a thing of the past. But if these systems are unable to respect the principles of humanitarian law, we might create a super-intelligent predator that is beyond our control.