An algorithm trained to detect unhappiness on social networks.

According to William Glasser’s Choice Theory, there are five basic needs that are central to all human behaviour: Survival, Power, Freedom, Belonging and Fun. These needs even have an influence on the images we choose to upload to our Instagram page. “How we present ourselves on social media can provide useful information about behaviours, personalities, perspectives, motives and needs,” explained Mohammad Mahdi Dehshibi, who led this study within the AI for Human Well-being (AIWELL) group, which belongs to the Faculty of Computer Science, Multimedia and Telecommunications at the UOC.

The research team has spent two years working on a deep learning model that identifies the five needs described by Glasser, using multimodal data such as images, text, biography and geolocation. For the study, which has been published in the journal IEEE Transactions on Affective Computing, 86 Instagram profiles, in both Spanish and Persian, were analysed.

Drawing on neural networks and databases, the experts trained an algorithm to identify the content of the images and to categorize textual content by assigning different labels proposed by psychologists, who compared the results with a database containing over 30,000 images, captions and comments.

Success! You're on the list.

The problem of standardizing the labels obtained from texts and images was solved with a codebook, Bag-of-Content, which they described as a “semantic map from the visual to the textual domain”. According to the researchers, the experiments “show promising accuracy and complementary information between visual and textual cues”.

Spanish speakers mention their problems more often

Does each choice we make respond to just one basic need? Glasser’s theory says otherwise, and the multi-label approach of this study is useful in clearing up this doubt. Dehshibi, currently a research scientist at Universidad Carlos III de Madrid’s (UC3M) imBody reasearch laboratory and at the Unconventional Computing Laboratory, UWE Bristol, uses an example to explain this: “Imagine that a cyclist is riding up a mountain, and at the top, they can choose between sharing a selfie and a group photo. If they choose the selfie, we perceive a need for Power, but if they choose the other option, we can conclude that the person is not only looking for Fun but also a way to satisfy their need for Belonging”.

In addition, the fact that the profiles analysed belong to people who communicate in two different languages avoids cultural bias. Previous studies have found, for example, that Spanish-speaking users are more likely to mention relationship problems when they are feeling depressed than English speakers. “Studying data from social networks that belong to non-English speaking users could help build inclusive and diverse tools and models for addressing mental health problems in people with diverse cultural or linguistic backgrounds,” they noted. 

The authors believe that their research can help improve preventive measures, ranging from identification to improved treatment when a person has been diagnosed with a mental health disorder.

IMAGE CREDIT: Camilo Jiménez /

Resolving a seeming contradiction, study advances understanding of visual recognition memory
Because figuring out what is new and what is familiar in what …
Blocking abnormal stem cell signal during aging lessens related bone loss
A cellular signal essential to the development of the skeleton increases during …
Extreme weight loss: Star sheds unexpected amounts of mass just before going supernova
A newly discovered nearby supernova whose star ejected up to a full …
New insights into soil liquefaction during earthquakes research reveals
In a new study, the conventional understanding of soil liquefaction is being …

Leave a Reply

%d bloggers like this: