The global chaos caused by the July 19, 2024 technology meltdown highlights the need for a theory of what large-scale cohesive behaviors-dangerous or desirable-could suddenly emerge from future systems of interacting humans, machinery, and software, including artificial intelligence; when they will emerge; and how they will evolve and be controlled. Here, we offer answers by introducing an aggregation model that accounts for the interacting entities' inter- and intraspecies diversities. It yields a novel multidimensional generalization of existing aggregation physics. We derive exact analytic solutions for the time to cohesion and growth of cohesion for two species, and some generalizations for an arbitrary number of species. These solutions reproduce-and offer a microscopic explanation for-an anomalous nonlinear growth feature observed in various current real-world systems. Our theory suggests good and bad "surprises" will appear sooner and more strongly as humans, machinery, artificial intelligence, and so on interact more, but it also offers a rigorous approach for understanding and controlling this.
We derive a first-principles physics theory of the individual “atom” at the heart of generative AI such as ChatGPT: the basic attention head. The theory shows how, when, and why its output can become repetitive or suddenly switch to potentially harmful content. In situations where a small subset of attention heads dominates generative AI’s output or multi-layer effects average out, such undesirable microscale behavior will emerge at the macroscale to threaten generative AI’s safety in medical, legal, and business settings. The theory also quantifies the impact of bias from training and fine-tuning. The theory’s 2-spin form suggests why generative AI such as ChatGPT can work so well but hints that a generalized 3-spin attention might be even better. The theory’s similarity to spin bath physics means existing physics expertise could be harnessed to help generative AI become more trustworthy and resilient to manipulation.
Online communities featuring 'anti-X' hate and extremism, somehow thrive online despite moderator pressure. We present a first-principles theory of their dynamics, which accounts for the fact that the online population comprises diverse individuals and evolves in time. The resulting equation represents a novel generalization of nonlinear fluid physics and explains the observed behavior across scales. Its shockwave-like solutions explain how, why and when such activity rises from 'out-of-nowhere', and show how it can be delayed, re-shaped and even prevented by adjusting the online collective chemistry. This theory and findings should also be applicable to anti-X activity in next-generation ecosystems featuring blockchain platforms and Metaverses.
Generative language models can drift mid-generation from reliable, helpful continuations to more undesirable, misleading, or unsafe ones. Such shifts can be hard to notice because the early part of a response can be fluent and correct, so downstream users (or automations) may not trigger checks until after harm occurs. Here, we isolate a minimal, first-principles mechanism for such “good-to-bad” output shifts. The mechanism originates within a single effective attention head, where the dot products of embedded vectors drive a competition between output basins; mapping to a multispin thermal system yields a closed-form expression for the shift. Crucially, multilayer processing does not wash out this single-head mechanism—it amplifies it. Tracking hidden states through all layers of open-weight models, we find that the competing dot-product gaps grow by up to 617× from the first layer to the penultimate layer, and that successive layers fuse competing basins into a shared geometric subspace—constructing precisely the configuration the single-head formula assumes. A cross-architecture study on six independently trained models confirms that the resulting closed-form expression, with zero free parameters, correctly predicts the output-shift regime in 94 of nonambiguous cases. Our physical picture is of course extremely simplified—just as a paper plane cannot capture all the details of modern aviation, or a simple model of an atom cannot capture all the details of a complex material—but it helps fill a current need for generative AI explainability, and it provides a simple yet concrete platform for discussing how training, fine-tuning and prompts might shift generative AI output.