The Epidemiology of a Cognitive Virus A developer modeled LLM dependence as an epidemic using the newly released epidemik 0.2.0, inspired by an arXiv preprint titled "Large-Language Models as a Cognitive Virus." The simplified SIR-style model splits a population into Uncoupled, Coupled, and Dependent compartments, adding a collective-reinforcement term where dependent users normalize dependence in casual users, and derives thresholds for when dependence becomes endemic. The implementation is a few lines of Python, with a baseline equilibrium of c0 = delta/alpha = 0.2. In the latest epidemiology post, we are inspired by the release of the latest version of epidemik and a recent paper on “LLM addiction” to take a look at epidemic models with quadratic dependencies. This is the latest in one of the epidemic modeling thread, the longest-running series in this publication. Feel free to take a look at previous posts as well: Every post comes with an associated notebook that you can find in the And of course don’t forget to to be the first to get the next post, and please and help us grow A few days ago I came across an arXiv preprint with a spicy title: Large-Language Models as a Cognitive Virus https://arxiv.org/abs/2609.03344 . It models our collective relationship with LLMs the way we’d model a disease. People move between not using them, using them casually, and being unable to function without them, complete with tipping points, runaway lock-in, and a prescribed “cognitive immunization.” As luck would have it, version 0.2.0 https://pypi.org/project/epidemik of epidemik has just been released, so why not play around with some fun ideas? A simplified model of dependence The paper introduces a quadratic term to produce a hysteresis https://en.wikipedia.org/wiki/Hysteresis curve. Here, we explore a simpler way to achieve the same effect. Let us define a small-ish variation of the usual SIR model, with the three compartments defined by the authors: Uncoupled U, doesn’t use LLMs, corresponding to the usual Susceptible compartment , Coupled C, casual/occasional use, equivalent to mildly Infectious , and Dependent D, persistent dependence, equivalent to very Infectious . Transitions between compartments differ from the usual SIR model, as we include 4 different effects: - Social transmission β : a non-user starts using through contact with a user. - Collective reinforcement α : a casual user becomes dependent through contact with the already-dependent. This is the central mechanism we’re studying: how dependence normalizes dependence. - Casual recovery γ : casual users drift away on their own. - Slow de-escalation δ : dependence decays only back to casual use, never straight to zero. Graphically, we can represent the model as: Which corresponds to a system of coupled ODEs: Where lowercase letters correspond to population fractions. From these equations, we can already derive some interesting results. Long-Term Equilibrium Let us start by exploring the dd/dt=0 equilibrium. There are two solutions to this equation: - No dependents: d=0 - Internal equilibrium: c=c0 and d 0 If we assume that there are no Dependents, so that d=0, then we have: which is just the usual SIS model. From these equations, we find the first threshold in our model. For the “disease” to be able to spread, we must have or, equivalently: giving us the first threshold. In other words, with D=0, if γ β, people recover faster than they can get infected, and the disease dies out. However, if β γ, we end up with an endemic state with: Dependent seeding Now consider the opposite case, and assume we start with some dependents in the system, d 0. We still need that dd/dt 0, and this only happens if: And we get, as the long term equilibrium state: meaning we expect c to overshoot c