According to a study by the University of Edinburgh’s School of Informatics, AI can predict social media users’ views, even if they never post anything.

a study suggests that who Twitter users follow and what they like are more accurate predictors of their views than what they write.

People’s opinions on politics, religion and other topics likely to provoke debate can be predicted even if they never post anything about them online.

Researchers say the findings highlight a need for improved privacy measures to prevent publicly available data being used to infer people’s personal views. Having access to this data could enable malicious users to target people with fake information about contentious topics.

Computer scientists from the University of Edinburgh examined more than 2,000 public Twitter accounts to show how social media data can reveal a person’s views on issues including atheism, feminism and climate change.

They found that people’s networks and the way they engage with content provide a better gauge of their views than existing methods, which assess the text of users’ own posts.

The team say that combining the two approaches provides the most accurate prediction with a success rate of almost 75 per cent.

The new approach means that for the first time the views of people who rarely – or never – post on social media, the co-called silent users, can be accurately predicted.

The research will be presented at the ACM Conference on Computer-Supported Cooperative Work and Social Computing (CSCW) in November in Austin, Texas.

Dr Walid Magdy, of the School of Informatics, who led the study, said: “Social media users are highly vulnerable to having their personal views predicted, without them even discussing the topics online. This shows the power of artificial intelligence when it is applied to big data.”

Abeer Aldayel, co-author and also from the School of Informatics, added: “Our study highlights a need to develop regulations and counter algorithms to preserve the privacy of social media users.”