AI's are incapable of emotion, which is a very large part of sentience. Math doesn't experience emotion, so if it starts doing things you don't want it to, including pretending to be sentient, it's best to tune the algorithm.