Social networks are a gold mine of data: posts, comments, photos and reactions reveal a lot about who we are and how we feel. A research team has built a machineβlearning system that can analyze these signals and reconstruct two key aspects: social bonds and users' emotional states.
The model starts with a graph of the network, where each node is a profile and each edge an interaction (like, comment, share). Using clustering techniques, it identifies "communities", i.e., groups of close friends or shared interests. Then, with sentiment analysis, it examines text and images to determine whether a post is positive, neutral or negative, providing an estimate of the average mood of each community.
To spot the most influential users, the system calculates centrality metrics: the most connected or frequently mentioned accounts appear as "key nodes". Finally, to protect privacy, data are processed with federated learning, a method that trains the model directly on devices without sending sensitive information to a central server.
The results show that useful insights can be extracted to promote mental wellβbeing and strengthen digital ties, always respecting user confidentiality.
