AI is changing how we quantify pain