Physicists Neil Johnson and Frank Yingjie Huo from George Washington University developed a formula to predict when AI chatbots produce harmful content. The study, published in the journal Patterns, identifies a tipping point, denoted as n, which represents the number of safe tokens generated before the model shifts to problematic output.
The researchers tested the formula on six open-weight models from OpenAI, EleutherAI, and Meta, ranging from 124 million to 410 million parameters. In initial tests, the formula correctly predicted the tipping point in 15 out of 16 cases, achieving a 94% accuracy rate. A subsequent analysis expanded testing to seven models with up to 12 billion parameters.
The authors suggest that their findings are particularly relevant for on-device AI models that operate offline without cloud-based safety monitoring. They propose implementing a low-cost, parallel monitoring system that alerts users when the predicted n value falls below a defined safety threshold, functioning similarly to a vehicle dashboard warning light.
The study notes that while alignment training can suppress tipping for specific prompts, it does not eliminate the underlying mechanism. The researchers also explored methods to extend the tipping point by injecting specific content into conversations, effectively pushing the potential for harmful output beyond the length of the model's response.






