🫧 Filter Bubbles — Recommender-Biased Opinion Dynamics
Filter bubble simulation: agents on a social network update opinions through bounded-confidence dynamics while a biased recommender limits exposure to dissimilar views. Watch opinion clusters form and diversity shrink as bias rises.
🫧 Filter Bubbles — Recommender-Biased Opinion Dynamics
Watch how a content recommender that favours opinions similar to your own, layered on top of ordinary social influence, can lock a population into isolated opinion bubbles instead of letting it settle on shared ground.
🔬 What It Demonstrates
Agents update opinions through bounded-confidence dynamics: they only listen to neighbours whose views are close enough to their own. A biased recommender further suppresses exposure to dissimilar neighbours, so agents increasingly interact only within their existing bubble, accelerating local consensus while blocking the cross-bubble contact that would otherwise merge groups.
🎮 How to Use
Raise the Recommender bias slider and watch the bubble filter rate climb as dissimilar content gets suppressed. Widen the Confidence ε to make agents more open-minded, or raise Convergence μ to speed up how much each interaction shifts opinions. Click "New Network" to reshuffle the social graph.
💡 Did You Know?
Even a mild recommender bias can produce dramatically different outcomes: with bias near zero the network usually converges to one shared opinion, but past a threshold it fragments into several stable, mutually invisible clusters — a simple mechanical analogue of real-world algorithmic echo chambers.
About Filter Bubbles — Recommender-Biased Opinion Dynamics
This simulation layers a simplified content-recommendation bias on top of a classic bounded-confidence opinion model. Each of 70 agents holds a scalar opinion between -1 and +1 and sits on a random social network. When two connected agents interact, the recommender first decides whether to "show" them each other's content at all — with probability that falls off exponentially as their opinions diverge, controlled by the Recommender bias slider. Only if content is shown, and the two opinions are already close enough (within the Confidence ε threshold), do the agents nudge their views toward each other. The result is a live picture of how algorithmic curation, even without any explicit ideological intent, can suppress the very contact that would otherwise erode disagreement.
The bounded-confidence framework underlying this model was formalised independently by Rainer Hegselmann and Ulrike Krause (2002) and by Guillaume Deffuant and colleagues (2000), building on earlier consensus models from statistical physics and sociology. The "filter bubble" term itself was popularised by internet activist Eli Pariser in his 2011 book of the same name, describing how personalised search and social feeds can quietly narrow the range of information a person encounters. Combining the two lets you see, mechanically, why moderate algorithmic bias can push a population from single-opinion convergence toward permanent polarization into isolated, mutually invisible clusters.
Frequently Asked Questions
What is a filter bubble?
A filter bubble is a state of intellectual isolation that can result from personalised content algorithms selectively guessing what a person wants to see based on their past behaviour, and consequently showing them progressively less of the information that disagrees with their existing views. Over time this narrows exposure to challenging or opposing perspectives, reinforcing existing beliefs rather than testing them against alternatives.
How do I use this simulation?
Start with the default settings and watch the variance chart on the right slowly fall as agents' opinions converge toward one shared value. Then raise the Recommender bias slider and watch the bubble filter rate climb — the network graph on the left will visibly split into distinct colour clusters that stop mixing, and the histogram will show two or more separated humps instead of one narrow peak.
What does the opinion variance stat measure?
Variance measures how spread out the population's opinions are around the average. A high variance means opinions are scattered across the full -1 to +1 range; a variance near zero means almost everyone agrees. Watching variance over time reveals whether the network is heading toward consensus, toward a few stable clusters, or staying permanently fragmented.
What is bounded-confidence opinion dynamics?
Bounded-confidence models assume people only let their opinions be influenced by others whose views are already reasonably close to their own — captured here by the Confidence ε slider. If two agents' opinions differ by more than ε, no matter how often they meet, neither one moves. This single assumption is enough to explain why populations sometimes converge to one shared opinion and sometimes split permanently into several camps, depending only on how wide or narrow ε is set relative to the initial spread of opinions.
How does recommender bias create filter bubbles on real platforms?
Real recommendation engines optimise for engagement signals like clicks, watch time, and shares, which are often higher for content that confirms what a user already believes. Even without any deliberate ideological design, this creates a feedback loop: agreeable content gets shown more, generates more engagement, and gets promoted further, while content that would challenge a user's views is quietly deprioritised. This simulation's exponential "show probability" curve is a simplified stand-in for that engagement-driven ranking effect.
Is it true that filter bubbles always prevent consensus?
Not necessarily — it depends on the balance between bias strength and confidence width. At low bias, this simulation typically still converges to a single shared opinion, because enough cross-cutting contact survives to bridge different viewpoints before they harden. Only once bias crosses a threshold relative to ε does the network reliably fragment into separate, non-communicating clusters. This mirrors real debates about whether personalisation is inherently polarising or only becomes so past a certain intensity.
Who coined the term "filter bubble" and what is this model's academic basis?
Internet activist Eli Pariser introduced "filter bubble" in his 2011 book "The Filter Bubble: What the Internet Is Hiding from You," warning that personalised search and social algorithms narrow the range of viewpoints users encounter. The underlying opinion-update mechanics come from bounded-confidence models formalised by Hegselmann and Krause (2002) and by Deffuant, Neau, Amblard and Weisbuch (2000), two of the most widely cited frameworks in computational opinion-dynamics research.
What other phenomena are related to filter bubbles?
Filter bubbles are closely related to homophily (the tendency of similar people to connect with each other, explored in the Schelling Segregation simulation on this site), to consensus formation in the Voter Model, and to cultural polarization in Axelrod's model of cultural dissemination. All of these models share the core insight that local, seemingly harmless interaction rules — who talks to whom, and how much they're swayed — can produce very different global outcomes, from uniform consensus to permanent fragmentation.
What are the current research frontiers on filter bubbles and polarization?
Active research investigates how real recommender systems can be audited and measured for filter-bubble effects at scale, how much personalisation actually changes user behaviour versus reflecting pre-existing preferences, and how platform design choices (such as showing diverse content by default) can counteract bubble formation without sacrificing engagement. Researchers also combine bounded-confidence models like this one with real social network data to test whether observed polarization patterns match theoretical predictions.
Agents update opinions through bounded-confidence dynamics while a biased recommender limits exposure to dissimilar views, shrinking diversity.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install