How recommendation algorithms are quietly reducing randomness from our lives, and what that costs us.
Every technological revolution changes not only what we can do, but also how we discover the world around us.
Recommendation algorithms have become incredibly good at predicting what we’re likely to click, watch, read, and buy. Yet in optimizing for relevance, they may also be reducing something deeply human: the unexpected moments that shape our perspectives and our lives.
This is a look at why serendipity matters, what we may be losing, how the systems actually work under the hood, and how we might design them to preserve discovery instead of eliminating it.
The World Before Algorithms
There was a time when discovery was accidental.
You walked into a bookstore looking for one novel and walked out with another because its cover caught your eye. You tuned into the radio and heard a song from an artist you’d never encountered before. Friendships often began by sitting next to a stranger on a train, for reasons completely unrelated to meeting someone.
None of these experiences were optimized. They were random. And the randomness mattered.
How Recommendation Systems Work
Today, nearly every digital experience is powered by a recommendation system. Netflix knows what you should watch next. Spotify predicts the next song you’ll enjoy. Amazon recommends products before you realize you need them. LinkedIn suggests who you should connect with.
From a probabilistic perspective, these systems are continually reducing uncertainty. Given everything they’ve learned about a user, they estimate the probability that each candidate item will lead to a desired outcome, a click, a purchase, a view, a share, and rank accordingly.
At first glance, this looks like progress, less noise, more relevance. Every optimization has an objective function, and most recommendation systems learn that content similar to what you’ve engaged with is often the safest prediction of what you’ll engage with next. Watch a science documentary, get more science documentaries. Read one AI article, get a feed of AI articles. The system isn’t trying to broaden you. It’s trying to keep you engaged.
To an optimization algorithm, surprise is often treated as error. To humans, surprise is often where growth begins.
What Happens Under the Hood?
For readers who like to see the machinery, here’s roughly what happens between the moment you open an app and the moment a recommendation appears:
User │ ▼Interaction Signals(clicks, views, dwell time) │ ▼Feature Store │ ▼Embedding Models │ ▼Candidate Retrieval(ANN Search) │ ▼Ranking Model │ ▼Business RulesSafety • Diversity • Revenue │ ▼Personalized Feed
Each stage narrows the space of possibilities a little further. By the time content reaches your feed, it’s no longer a random sample of what exists in the world, it’s an optimized prediction of what the system believes you’ll engage with.
Candidate retrieval deserves a special mention. Modern platforms can’t rank millions of pieces of content every time someone opens an app; the latency alone would make the product unusable. Instead, they first retrieve a few hundred or thousand promising candidates using approximate nearest-neighbor search over embeddings, then apply much more computationally expensive ranking models to that smaller set.
Embeddings are worth a quick pause too. They translate users and content into vectors within a high-dimensional mathematical space, allowing the system to estimate semantic similarity by measuring distance or similarity in that learned space, rather than matching on exact keywords or manually defined categories. A user who enjoys articles about transformers, reinforcement learning, and neural networks may end up placed close to content about large language models, even if that exact term never appeared in their interaction history. This ability to generalize is one of the reasons modern recommendation systems feel remarkably intuitive.
That generalization has a blind spot, though: the “cold start” problem. When little interaction history exists, a new user, a new piece of content, the system has almost nothing to generalize from. Early clicks tend to carry disproportionate weight in these cases, quietly shaping the trajectory of future recommendations before the model has gathered enough evidence to build a fuller picture.
Most ranking models are trained against measurable objectives: watch time, click-through rate, session length, revenue, retention. All of these are useful signals. None of them has an obvious place for serendipity.
Where, exactly, is “serendipity” represented in the loss function?
Usually, it isn’t, not because engineers dismissed it, but because it’s hard to measure and doesn’t move the metrics leadership reviews on Monday. Some systems try to compensate through an exploration vs. exploitation trade-off: exploitation shows you what the model already believes you’ll like, while exploration occasionally shows you something different to learn more about your preferences. Weight exploration too low, and users get trapped in increasingly narrow informational neighborhoods. Weight it too high, and recommendations start to feel irrelevant. There’s no universally “right” balance, it’s a genuine systems-design trade-off, and most production systems lean quietly toward exploitation because it’s the safer number to report.
The Hidden Cost of Optimization
The unintended consequence of all this is subtle. The more accurately a system predicts what you like, the less room there is for it to surprise you. Few teams set out intending to create this outcome, it’s just that randomness looks inefficient from inside an optimization loop.
There’s also a feedback loop worth naming: you click an AI article, the model updates your profile, you’re shown more AI articles, you click again, the model grows more confident, and other topics gradually disappear from view. From a systems perspective, this is a positive feedback loop, every interaction becomes new training data that reinforces the model’s existing beliefs, increasing the probability of similar recommendations in the future. You and the algorithm are, in effect, co-creating an increasingly narrow information environment together, one click at a time.
Increasingly, this isn’t a one-time training process either. Many large-scale recommenders don’t just make a prediction and stop, they learn continuously, treating every click, pause, skip, or share as a reward signal that updates future recommendations. In effect, the system isn’t just observing your preferences; it’s adapting to them in near real time.
This isn’t merely a technical detail. It’s a cultural one. Algorithms increasingly determine what we read, watch, listen to, buy, and even whom we meet. As they get better at predicting our preferences, they get better at protecting us from the unfamiliar. The result is a life that’s more comfortable, more efficient; and quietly narrower.
Why Serendipity Matters
Some of the most important moments in life happen because of chance. The career pursued because someone casually mentioned an opportunity. The hobby discovered while waiting in an airport bookstore. The lifelong friend who happened to sit beside you. The research paper opened by mistake.
History carries the same pattern. Penicillin. Post-it Notes. The microwave oven. Many scientific breakthroughs emerged from unexpected observations rather than targeted searches, collisions between ideas that weren’t supposed to meet. Recommendation systems tend to reduce the frequency of these collisions, simply by favoring what’s already similar to our past preferences.
We also don’t remember perfectly optimized experiences. We remember the café we found because we got lost. The conversation that started because a flight was delayed. The song from a random station twenty years ago that we still think about. Memory is built from exceptions, not averages, the moments that define our lives are rarely the ones an optimization algorithm would have predicted.
Can AI Be Designed for Discovery?
The good news: none of this is a law of nature. It’s a design choice, and design choices can change.
In practice, recommendation systems rarely optimize a single metric. They solve a multi-objective optimization problem where engagement, diversity, freshness, creator fairness, business priorities, and user satisfaction all compete for the same ranking slot. Choosing how to weigh them against each other is less a machine learning problem than a product and systems design decision.
Ranking models don’t have to optimize a single objective. A scoring function could look something like this:
Score =0.55 × Relevance0.20 × Novelty0.15 × Diversity0.10 × Freshness
The exact weights are illustrative, not a formula anyone should copy-paste, but the broader point holds: systems can deliberately include objectives beyond immediate engagement. That reframes the conversation from “algorithms are bad” to “algorithms reflect the objectives we chose for them,” which is a more useful place to have the discussion.
From Prediction to Optimization
It’s tempting to think recommendation systems simply predict what we’ll like next. In reality, they’re optimization systems operating under constraints.
Every recommendation reflects trade-offs between latency, computational cost, business objectives, fairness, safety, diversity, and user engagement. The resulting feed isn’t merely a prediction of our preferences, it’s the outcome of countless architectural decisions encoded into models, ranking functions, and objective functions.
That is why serendipity rarely emerges by accident. If we want systems that occasionally surprise us, expose us to unfamiliar ideas, or encourage exploration, those qualities have to become explicit design goals, not something we hope will emerge from engagement optimization alone.
Closing Thoughts
Recommendation systems have become remarkably good at helping us find more of what we already know we like.
The harder challenge is helping us discover what we never thought to look for.
Perhaps the next frontier in AI isn’t building systems that know us perfectly.
It’s building systems that leave just enough room for the unexpected.
This piece was originally published as a LinkedIn article — read it here.
Related Articles







Leave a comment