Artificial Intelligence

    Physicists' New Formula Estimates When a Chatbot Will Slip Into Harmful Replies

    Saturday, October 10, 2026 at 03:01 PM UTCOriginally reported by Decrypt
    Physicists New Formula Estimates When a Chatbot Will Slip Into Harmful Replies cryptocurrency guide featured image

    Physicists at George Washington University say they have built a mathematical formula that estimates how many acceptable responses an AI chatbot will give before it produces a harmful or undesirable one. The work, by Neil Johnson and Frank Yingjie Huo, appeared in the journal Patterns and builds on a preprint released in February.

    What the researchers found

    Chatbots can hold sensible conversations for a long time and then suddenly produce unsafe advice or extremist statements. The researchers trace this to the attention head, the part of a model that decides which earlier words matter most when choosing the next word. As a conversation grows, its accumulated context influences the attention head until the model leans toward one cluster of responses over another.

    The formula estimates a tipping point, labeled n, meaning the number of good tokens (word fragments) produced before the first bad one. If the conversation is already biased toward harmful content, n is zero. If it stays positive, the model gives a run of appropriate output first.

    • In early tests, the formula correctly predicted immediate or delayed tipping in 15 of 16 clear-cut cases, about 94%.
    • Those tests used six open-weight models from OpenAI, EleutherAI and Meta, with 124 million to 410 million parameters.
    • The published paper widened testing to seven models of up to 12 billion parameters, still small next to the largest models available today.
    • The preprint used a 300-token window, roughly a few short paragraphs, and predictions were sometimes off by a single output.

    Focus on on-device AI

    The study centers on models that run entirely on a phone or laptop without an internet connection. Google's experimental AI Edge Gallery app, which lets Android phones run models offline, is one example. Offline models lack cloud-based safety checks, so the authors propose a low-cost monitor that runs beside the model and warns when the tipping point is near, like a dashboard warning light.

    They also describe ways to push the tipping point later, such as adding content to a conversation so the shift falls beyond a typical response length. Alignment training can move or suppress the tipping point for particular prompts but cannot remove the underlying mechanism.

    Earlier work by the same authors, covered in April 2025, found that polite words such as "please" and "thank you" have little effect on a model's output, based on analysis of a single simplified attention head.

    Why it matters

    As AI tools move onto personal devices, safety can no longer depend only on remote servers. This research shows that researchers are trying to put numbers on when chatbots go wrong, rather than treating failures as random. For anyone learning about AI and crypto tools, it is a reminder that chatbot answers can change over a long conversation, and that results from small test models do not automatically apply to the biggest systems.