One is when you sign an enforceable treaty with your rivals. That would be something like START.
Two would be when you know that the arms race is very unlikely to bear fruit. For example, it didn't make sense to keep throwing money at the Star Wars (ballistic missile defense) program because it was very unlikely to succeed.
Military applications for AI could change the global balance of power in a fundamental way. If you care about peace and human rights you don't want the repressive regimes to gain an advantage in that sphere. Because that makes conflict more likely, not less.
I don't mean to be snarky, but with the inevitable colonization of space, do you really expect people to just be super awesome peaceful and loving? And not have an arms race?
We have to stop this arms race.