← All papers
First page of DéjàVu: Plurality Consensus by First Repetition

DéjàVu: Plurality Consensus by First Repetition

Niccolò D'Archivio, George Giakkoupis, Frédéric Giroire, Emanuele Natale

cs.DC Nov 25, 2026 · v1
AI agents formalized all statements and proofs of an earlier version of the paper in Lean 4 as a proofreading aid.
We analyze DéjàVu, a simple protocol for plurality consensus: in each synchronous round, each agent samples one uniformly random agent and adopts the first opinion it observes twice, resetting its memory after every adoption. The rule requires neither frequency counters nor knowledge of the population size or the number of opinions. It relies only on repetition detection, an ability documented in single neurons and reflected in the mere-exposure effect. For a population of $n$ agents with $k$ initial opinions, let $M_0$ be the initial count of the plurality opinion (so $n/M_0 \le k$) and $Δ_0$ its bias, the difference between $M_0$ and the count of the second most popular opinion. We prove that, whenever $Δ_0 = Ω(\sqrt{M_0 \log n})$, DéjàVu reaches consensus on the initial plurality opinion within $O(\sqrt{n/M_0} \log(e M_0 / Δ_0) + \log\log n)$ rounds with high probability. Moreover, we show that, for the same bias regime, DéjàVu is asymptotically never slower than the $h$-majority protocol, collecting its $h$ samples one per round, for every fixed choice of $h$, even one chosen optimally for the initial configuration. There are also initial configurations for which DéjàVu is asymptotically faster for every $h$. The opinion counts alone do not determine the dynamics: each adoption depends on a hidden memory filled over many rounds while the population changed, and agents with older (hence fuller) memories tend to reset sooner, so an advantage held mostly by them can be lost. The few rigorous convergence results we are aware of for such dynamics concern only two opinions. We derive the exact law of the memories given the history of opinions and resets, and track how the plurality opinion's advantage is distributed across memory ages, giving more weight to recently reset agents as they are less likely to reset again soon.

Plurality consensus asks n agents holding k opinions to agree on the initially most frequent opinion. The goal is to do this with simple agents that need no frequency counters and no knowledge of n, k, or a sample-size parameter.

The paper analyzes DéjàVu in the uniform PULL model. Each round, an agent samples one random agent, adopts the first opinion it has observed twice, and then resets its memory. The analysis reveals a public history of opinions and reset times, which makes the hidden memories conditionally independent with an exact law. Agents are grouped into cohorts by their last reset time, and the plurality opinion's advantage is tracked across cohorts, with more weight on recently reset agents. An earlier version of the statements and proofs was formalized in Lean 4 by AI agents as a proofreading aid.

When the bias is Δ0 = Ω(√(M0 log n)), DéjàVu reaches consensus on the plurality opinion within O(√(n/M0) log(eM0/Δ0) + log log n) rounds with high probability. In the same bias regime it is asymptotically never slower than streaming h-Majority for any fixed h, and some initial configurations make it strictly faster for every h.