People are being urged to burst out of their “comfort bubbles” on social media and engage with people whose opinions differ from their own.

Psychologist Uta Frith, best-known for her work on autism at University College London, said that, in an uncertain world, it is important to be open to a diverse set of views.

Social media sites, such as Twitter, provide a “false sense of certainty” for users by implying that everyone thinks the same way they do, she argued.

Speaking ahead of a speech at next week’s British Science Festival, Professor Frith said: “Social media has changed the world, and in lots of ways for the better. But we must be more aware of the pitfalls of living in a digital world as well. By shielding ourselves from contradictory views, and reacting to the emotional opinions of others, we are putting ourselves at risk.

“Because we are such intensely social creatures, we seek the comfort of being with like-minded people. We have a need to belong. We are pleased if we find people who like the same things we like. We are happy to have our prejudices confirmed.

“The problem is that the same information is repeated over and over again and remains in the bubble without spreading to other bubbles, and little new information gets in.”

Bubbles seen at a football match (Adam Davy/PA)People need to break free from bubbles which just reinforce their opinions (Adam Davy/PA)

The professor will be addressing the festival in Brighton as incoming president of the British Science Association, which is hosting the event.

She admitted that she herself is a “confirmed Twitter fan” who is bewitched by the “comfort of bubbles”.

Prof Frith added: “When we talk of diversity, we often have in mind gender and ethnicity. But there are many other aspects of diversity: different expertise, different interests, different experiences, different personalities, and we need them all.

“My three top tips would be to look for multiple independent sources, neither only trusting gut instinct nor cold reason alone, and strive for diversity in all walks of life to break us out of bubbles we have created on social networks.”