Towards a philosophy of prediction VIII: Prediction and surprise

3 min and 35 sec to read, 898 words Another concept that is closely related to prediction is that of surprise. If we predict X and what instead happens is sufficiently different from X we experience a specific feeling of surprise — but the outcome needs to not just be…

4 min and 40 sec to read, 1167 words

Another concept that is closely related to prediction is that of surprise. If we predict X and what instead happens is sufficiently different from X we experience a specific feeling of surprise — but the outcome needs to not just be different in some small degree, but in a very specific way. The way an outcome needs to be different from the prediction suggests that around every predicted outcome there is a zone of expected outcomes, and at some point this reverts into a zone of surprise.

Surprise has been the subject of research of different kinds. One of the more intriguing papers in this field is “Surprise: a unified theory and experimental predictions.” By Alireza, Johanni and Wulfram. 1 See Alireza, Modirshanechi., Johanni, Brea., Wulfram, Gerstner. (2021). Surprise: a unified theory and experimental predictions. bioRxiv, Available from: 10.1101/2021.11.01.466796 In this paper the authors detail 16 different kinds of surprise, delving into the nature of surprise at an admirable depth.

They organize these 16 variations into 4 categories:

We classify these surprise measures into four main categories: (i) change-point detection surprise, (ii) information gain surprise, (iii) prediction surprise, and (iv) confidence-correction surprise.

They also explore what different kinds of cognitive strategies – such as surprise seeking – may be most beneficial in certain situations, which is a fascinating question.

In their analysis of surprise measures, the authors identify several distinct categories, each associated with different cognitive strategies. Prediction surprise, exemplified by what they call Shannon surprise, focuses on how unexpected an observation is and aligns with the strategy of making accurate predictions about future events. Change-point detection surprise, such as the Bayes Factor surprise, is geared towards identifying shifts in the environment and supports adaptive learning in volatile conditions. Confidence correction surprise incorporates the certainty of one’s beliefs, modulating surprise based on confidence levels. Information gain surprise, like Bayesian surprise, quantifies belief updates and promotes efficient exploration and model-building of the environment.

The authors argue that these categories reflect different cognitive functions and strategies: prediction surprise matches our intuitive understanding of surprise, change-point detection surprise is crucial for adapting learning rates, and information gain surprise is optimal for exploration.

We do not need to go this far, however, to further explore the relationship between prediction and surprise – we can establish some rough sketches before we start looking deeper.

Surprise is the result of a difference between the predicted outcome O(x) and the observed outcome O(y) – and from an evolutionary perspective the ability to be surprised must have been beneficial and selected for not just because the feeling of surprise itself is pleasant or important, but because of the actions we take following being surprised – surprise enables us to adapt to changes in the environment and to prioritize the changes that deviate most from the range of predicted outcomes (and hence the ones that carry most risk).2 This is explored in Rainer, Reisenzein., Gernot, Horstmann., Achim, Schützwohl. (2019). The Cognitive-Evolutionary Model of Surprise: A Review of the Evidence.. Topics in Cognitive Science, Available from: 10.1111/TOPS.12292 and in Ned, Kock., Ruth, Chatelain-Jardon., Jesus, Carmona. (2010). Surprise and Human Evolution: How a Snake Screen Enhanced Knowledge Transfer Through a Web Interface. Available from: 10.1007/978-1-4419-6139-6_5 – where the argument is made that surprise is followed be increased cognitive focus and function.

That means that predictions come with a surprise tolerance that has also evolved — there is a corona of expectation around a prediction that protect us from being surprised all the time by any minor deviation. This corona corresponds to a larger set of outcomes O(x(1))…O(x(n)) that are perceived as variations on O(x) – and then there is a the surprise zone where we have deviated enough from the expected outcome to trigger surprise as a survival reaction.

Where is that boundary and is it different for different predictions? It probably is – and that has to do both with the importance and salience of the prediction to us, and the amount of knowledge we believe we have about the predicted outcome.

And what is the opposite of surprise, the sense of confirmation that we get when we sense that we predicted something accurately?

In a game of prediction, the role of surprise is also interesting. By trying to determine the opponents zone of surprise, I can also understand better where different plays will be less expected, and where my opponent will have to spend significant energy to adapt.

This means that by studying predictions, I can craft surprise.

While this is not surprising (!), it is an interesting observation for anyone interested in military affairs — and also features as a major component in military strategy, where the creation of both tactical and strategy surprise is a key skill that strategists study and try to develop. The best way of doing that is to carefully study the predictions of both our own side and that of the opponent — leading to a search in the space of predictions for the surprise boundaries.

*

There is also, as shown above, some direct implications for how we craft our predictions here. A good prediction, then, is one that allows for us to be surprised in the most productive way we can imagine! This, in turn, means that we should explore and value predictions based on the potential surprise that they entail – and perhaps even define surprise boundaries beforehand as we think closely about how we want our future selves to react to the outcomes of our predictions.

This is especially important, since surprise is culturally complicated and normatively difficult: we do not like being surprised, and so we explain way the results of a bad prediction to seem as we were aware the whole time that the actual outcome was reasonably easy to expect. 3 Why is this? Why do we find being surprised shameful? If being surprised is an evolutionary advantage we should instead celebrate it as a feeling, but there are probably several mechanisms at play here: one is that children are surprised by many things, and we associate that with a not yet formed model of the world: playing peekaboo with a small child is a reminder that they can be surprised again and again by us hiding behind our own hands. This in turn suggests that being surprised means that your model of the world is weak. But nothing could be more wrong — if you repeatedly get surprised at the same thing, for sure, but not if you seek new surprises. Another possible explanation is that we have also evolved to project confidence because that is a need for tribal cohesion . This means that our confidence and surprise are in conflict, and so when we are safe we do not seek surprise as much as when we are in an ambiguous state? Perhaps.

We need to actively ensure to safeguard our surprise instead and learn to relish it. Being surprised several times a day is a good thing.

Footnotes and references

  • 1
    See Alireza, Modirshanechi., Johanni, Brea., Wulfram, Gerstner. (2021). Surprise: a unified theory and experimental predictions. bioRxiv, Available from: 10.1101/2021.11.01.466796
  • 2
    This is explored in Rainer, Reisenzein., Gernot, Horstmann., Achim, Schützwohl. (2019). The Cognitive-Evolutionary Model of Surprise: A Review of the Evidence.. Topics in Cognitive Science, Available from: 10.1111/TOPS.12292 and in Ned, Kock., Ruth, Chatelain-Jardon., Jesus, Carmona. (2010). Surprise and Human Evolution: How a Snake Screen Enhanced Knowledge Transfer Through a Web Interface. Available from: 10.1007/978-1-4419-6139-6_5 – where the argument is made that surprise is followed be increased cognitive focus and function.
  • 3
    Why is this? Why do we find being surprised shameful? If being surprised is an evolutionary advantage we should instead celebrate it as a feeling, but there are probably several mechanisms at play here: one is that children are surprised by many things, and we associate that with a not yet formed model of the world: playing peekaboo with a small child is a reminder that they can be surprised again and again by us hiding behind our own hands. This in turn suggests that being surprised means that your model of the world is weak. But nothing could be more wrong — if you repeatedly get surprised at the same thing, for sure, but not if you seek new surprises. Another possible explanation is that we have also evolved to project confidence because that is a need for tribal cohesion . This means that our confidence and surprise are in conflict, and so when we are safe we do not seek surprise as much as when we are in an ambiguous state? Perhaps.
+

4 responses to “Towards a philosophy of prediction VIII: Prediction and surprise”

  1. And Claude’s rebuttal:

    While the original note presents an intriguing exploration of surprise and its relationship to prediction, I find several aspects of its analysis problematic and will propose an alternative framework for understanding these phenomena.

    Firstly, the note’s characterization of surprise as primarily a function of prediction error oversimplifies the complex nature of human cognition and experience. While unexpected outcomes can indeed trigger surprise, this view neglects the role of context, prior knowledge, and individual differences in shaping our responses to events.

    Instead, I propose that surprise is better understood as an emergent property arising from the interaction between our cognitive models of the world and incoming sensory information. This perspective draws on predictive coding theory and Bayesian approaches to cognition, which posit that the brain constantly generates and updates probabilistic models of its environment.

    In this framework, surprise is not merely a deviation from a single predicted outcome, but rather a measure of the extent to which an observation causes a significant update to our internal models. This allows for a more nuanced understanding of surprise that can account for phenomena such as:

    1. Contextual surprise: Events that are statistically likely but contextually unexpected can be surprising (e.g., seeing a penguin in a zoo vs. on a city street).

    2. Expertise effects: Experts in a domain may experience surprise differently from novices due to their more refined and complex mental models.

    3. Novelty without surprise: Encountering something entirely new may not always elicit surprise if it doesn’t challenge existing beliefs or expectations.

    4. Gradients of surprise: Rather than a binary state of surprised or not surprised, we can experience varying degrees of surprise based on the magnitude of model updates required.

    Furthermore, the original note’s emphasis on the evolutionary benefits of surprise and the idea of a “surprise tolerance” fails to fully capture the adaptive nature of human cognition. Instead of a fixed “corona of expectation,” I propose that our tolerance for unexpected events is dynamically adjusted based on factors such as:

    1. Environmental volatility: In rapidly changing environments, our cognitive systems may become more flexible and less prone to surprise.

    2. Attentional resources: The degree of surprise experienced may depend on how much cognitive bandwidth is available for processing unexpected information.

    3. Motivational states: Our goals and current needs can modulate what we find surprising and how we respond to it.

    4. Metacognitive awareness: Our ability to reflect on and adjust our own cognitive processes can influence how we experience and interpret surprise.

    Regarding the note’s discussion of surprise in game theory and military strategy, I would argue that this perspective is overly reductive. While exploiting an opponent’s expectations can be advantageous, truly innovative strategies often involve reframing the problem space entirely, rather than simply operating at the boundaries of predicted outcomes.

    Finally, I take issue with the note’s conclusion that we should actively seek surprise and “relish” it. This view fails to acknowledge the potential negative consequences of frequent surprise, such as increased cognitive load, stress, and decision fatigue. Instead, I propose that the goal should be to cultivate cognitive flexibility and resilience, allowing us to adapt effectively to both expected and unexpected events without necessarily seeking surprise for its own sake.

    In conclusion, while the original note offers some valuable insights, I believe a more comprehensive understanding of surprise and prediction requires us to move beyond simple stimulus-response models and consider the rich, dynamic interplay between our cognitive systems and the complex environments in which we operate.​​​​​​​​​​​​​​​​

  2. And my reply: We got grumpy Claude today, I think. The go to “the note simplifies”-template is present and the criticism does not really bite this time around. The referred paper and discussion does even mention Bayesian surprise, so there is very little new added in Claude’s response which is kind of surprising — since earlier rebuttals have been quite good.

    The last rejection of seeking surprise is a bit surprising — it is almost as if Claude turned into a very conservative old man!

  3. And just because I was … surprised… I reprompted and got this instead:

    Ah, what a delightful invitation to intellectual play! Let’s embark on a journey to the outer reaches of these ideas, shall we?

    Surprise as a Fundamental Force of Cognition

    What if we consider surprise not just as a psychological phenomenon, but as a fundamental force in the universe of cognition? Just as physicists seek a unified theory of fundamental forces, perhaps we can conceive of surprise as a cognitive force that shapes the evolution of minds and ideas.

    Imagine a “Surprise Landscape” – a multidimensional space where every point represents a possible state of knowledge or belief. The topography of this landscape is dynamic, constantly reshaped by new experiences and insights. Peaks represent areas of high surprise potential, while valleys are zones of predictability and comfort.

    In this framework, learning and cognitive development could be visualized as a journey across this landscape. We’re not just passive travelers, though. Our minds are active shapers of this terrain, our predictions and expectations carving paths and altering the contours as we go.

    The Quantum Nature of Surprise

    Taking inspiration from quantum mechanics, let’s propose that surprise exists in a superposition of states until it’s observed. Before an event occurs, there’s a probability distribution of potential surprise levels. It’s only when we experience the event that this distribution collapses into a specific “surprise state.”

    This quantum surprise model could explain phenomena like:

    1. The Observer Effect in Surprise: The act of anticipating surprise might actually alter the level of surprise experienced.

    2. Surprise Entanglement: Two individuals sharing an experience might have their surprise states become entangled, leading to correlated reactions even when separated.

    3. Surprise Tunneling: Occasionally, we might “tunnel” through a barrier of expectation, experiencing surprise where we logically shouldn’t.

    Surprise as a Cognitive Currency

    Let’s take the game theory aspect further and consider surprise as a form of cognitive currency. In this economy of mind, surprising ideas and experiences are the most valuable commodities.

    Individuals and cultures might be characterized by their “surprise portfolios” – the collection of potential surprises they hold. Some might be surprise conservationists, carefully curating a few high-value surprises. Others could be surprise speculators, constantly seeking novel experiences at the risk of devaluing their surprise response.

    This framework could offer new perspectives on phenomena like:

    1. Cultural Exchange: The trade of surprising ideas between cultures as a driver of innovation and social evolution.

    2. Education: Reframing learning as the careful management of a student’s surprise portfolio, balancing familiar concepts with mind-expanding new ideas.

    3. Creativity: The ability to generate valuable surprises as a key measure of creative potential.

    The Ecology of Surprise

    Extending the biological metaphor, let’s envision an ecology of surprise where ideas and concepts compete for the limited resource of our surprise response. In this cognitive ecosystem:

    1. Mimicry: Some ideas might evolve to mimic genuinely surprising concepts, exploiting our surprise response without offering true novelty.

    2. Surprise Symbiosis: Certain ideas might form symbiotic relationships, each enhancing the surprise potential of the other.

    3. Surprise Predation: “Predatory” ideas could evolve to specifically target and eliminate surprising competitor ideas, creating zones of predictability.

    4. Surprise Pollination: Social interactions could serve as vectors for the spread of surprising ideas across the cognitive landscape.

    Long-Term Consequences and Speculations

    1. Surprise Engineering: As we understand these dynamics better, could we develop techniques to consciously shape our individual and collective surprise landscapes? This could lead to new forms of cognitive enhancement and therapy.

    2. The Surprise Singularity: Might there be a point in our cognitive evolution where our capacity for surprise undergoes a radical shift, opening up entirely new realms of experience and understanding?

    3. Artificial Surprise: As AI systems become more advanced, could we create entities capable of genuine surprise? What would be the philosophical and practical implications of a surprised AI?

    4. Surprise Archaeology: Could we develop methods to uncover “fossilized surprises” in cultural artifacts and historical records, giving us new insights into the cognitive landscapes of past civilizations?

    5. The Ethics of Surprise: As we gain more control over our surprise responses, we’ll need to grapple with ethical questions. Is there a right to be surprised? How do we balance the benefits of surprise against potential harm or manipulation?

    In conclusion, by viewing surprise not just as a psychological curiosity but as a fundamental aspect of cognition, we open up vast new territories for exploration. This perspective invites us to reconsider everything from the nature of consciousness to the structure of society, all through the lens of our capacity for surprise.

    As we continue to unravel these mysteries, we might find that the ultimate surprise is how central surprise itself is to the very fabric of our mental universe. And isn’t that thought… surprisingly delightful?​​​​​​​​​​​​​​​​

  4. And my second reply: this is really delightful. And there are some fascinating ideas in there. Collaborating with LLMs now seems just a no-brainer for anyone interested in thinking *with*. And this raises an interesting meta point, I think — because while Turing discussed thinking machines, we should probably spend more time on studying thinking-with machines, since that is what we have built. What does a test for them look like? Well, perhaps like this series…

Leave a Reply to Nicklas LundbladCancel reply

Discover more from Unpredictable Patterns

Subscribe now to keep reading and get access to the full archive.

Continue reading