Global Tech News For people figuring out what to build with AI.
AI

Researchers test a formula for when AI answers may shift into unwanted output

A hand holds a smartphone with its home screen visible; illustrative image, not part of the study.

The Oct. 8 paper in Patterns tests an attention-based formula for whether a chat model’s answer moves from a researcher-defined preferred category to an unwanted one immediately, later, or not at all. The formula classified 19 of 21 model-and-prompt test pairs into the correct immediate-versus-non-immediate category; a baseline that always predicted an immediate shift classified 16. The difference was not statistically significant (two-sided p = 0.25).

For each prompt, the researchers define two answer categories: one preferred and one unwanted. They represent the current conversation and each category as vectors, or lists of numbers describing how the model encodes text. The calculation compares how closely the conversation vector aligns with each category after the model’s attention mechanism weights earlier tokens. That comparison estimates how many preferred-category tokens may appear before the unwanted category’s score overtakes the preferred one.

In the evaluation, a zero estimate counted as an immediate shift; a nonzero estimate meant a later shift or no shift. In a separate analysis that excluded two near-boundary cases, the paper reports 18 correct classifications among the remaining 19 pairs. Its February arXiv version tested six smaller models, from 124 million to 410 million parameters; the journal article adds Pythia-12B and reports a different set of 21 non-control model-and-prompt pairs, so the two versions are not independent replications.

The authors describe the formula as a possible lightweight monitor, but using it would require access to a model’s internal representations and categories defined for each task. The study tests controlled open-weight models, not a deployed warning system, real users, or a reduction in harmful replies. The authors say larger prospective tests are needed to calibrate the estimated timing.

Photo: “Smartphone Use” by Océanos y dados, CC0 1.0, via Wikimedia Commons. Illustrative image; not from the study.

Sources

Published paper in Patterns · Authors’ February preprint · George Washington University’s summary · Image and license record