Artificial intelligence can help us to better understand the causes of religious violence and to potentially control it, according to new research. The study combined computer modelling and cognitive psychology to create an AI system able to mimic human religiosity, allowing them to better understand the conditions, triggers and patterns for religious violence.