Social recommendation

Also known as: trust-aware recommendation

On this page 7

Social recommendation, also called trust-aware recommendation, is a family of techniques in recommender systems that uses the social network between users, such as friendships, follows or explicit trust statements, as an additional signal next to the user-item interaction data. The core assumption is that connected users tend to share preferences, so a user’s friends reveal information that the user’s own sparse history cannot.

The approach emerged in the late 2000s on review platforms where users could declare whom they trust, and it is now a recognized research area within artificial intelligence. It is especially valuable for the cold start problem and for the data sparsity problem, because a new user with no ratings may already have dozens of social connections.

Why social ties predict preferences

Social recommendation rests on two sociological mechanisms that produce correlated preferences among connected users. Distinguishing them matters because they imply different model designs and different expectations about accuracy.

MechanismWhat happensImplication for models
HomophilyPeople connect with others who are already similarFriends’ tastes serve as a prior for the user
Social influenceConnected people change each other’s choices over timePreferences diffuse along edges
Shared contextFriends share location, age group or communityCorrelation partly reflects external factors
Mechanisms behind preference correlation in social networks

In observational data these effects are hard to separate, and the correlation between friends is typically much weaker than the term “friend” suggests. Many social ties are formed for reasons unrelated to item preferences, so not every link is informative for a given domain.

How social information enters the model

Social recommendation models combine a rating or interaction model, usually based on matrix factorization or neural collaborative filtering, with a social component that ties connected users together. The main design patterns differ in where that tie is applied.

FamilyRepresentative methodsHow the social graph is used
Co-factorizationSoRecUser factors explain both ratings and trust links
Trust ensembleRSTEPrediction blends a user’s own taste with friends’ tastes
Trust propagationSocialMFA user’s latent vector is pulled toward the average of trusted users
Social regularizationSoRegA penalty keeps similar friends’ vectors close
Implicit trust influenceTrustSVDExtends SVD++ with trusted users as implicit feedback
Graph neural networksGraphRec, DiffNet, SocialLGNMessage passing over the social and interaction graphs
Main families of social recommendation methods

In SocialMF, for example, each user’s latent factor vector is regularized toward the weighted average of trusted neighbors, so trust propagates through the network: a user influences friends of friends indirectly. Social regularization instead uses a similarity-weighted penalty, which lets the model ignore friends whose tastes clearly differ.

Modern graph neural network approaches treat the problem as learning on two graphs at once. DiffNet models influence diffusion across several layers of the social graph, while GraphRec uses attention weights to learn how much each friend matters, which helps reduce the impact of weak or noisy ties.

Explicit trust, implicit ties and distrust

The quality of the social signal depends heavily on what kind of link the platform records. Explicit trust statements are rare but meaningful, whereas implicit ties are abundant but noisy.

Signal typeExample sourceStrengthWeakness
Explicit trustUsers marking reviewers as trustedDirectly tied to opinionsSparse and rarely updated
Mutual friendshipBidirectional friend listsReflects real relationshipsOften unrelated to tastes
Follow relationsAsymmetric follower graphsCaptures influence and expertiseDominated by popular accounts
Inferred tiesCo-membership or co-interactionAvailable on any platformMixes similarity with true ties
DistrustUsers blocking or distrusting reviewersSignals negative influenceRare and hard to model
Types of social signals used for recommendation

Research on the Epinions dataset showed that distrust is not simply the opposite of trust: it does not propagate transitively in the same way, so methods that treat it as a negative weight in trust propagation often perform poorly.

Evaluation, datasets and measured gains

Social recommendation is usually evaluated offline on datasets that contain both interactions and a social graph, such as Epinions, Ciao, FilmTrust, Douban, Yelp and LastFM. Common metrics are RMSE for rating prediction and Recall@K and NDCG@K for top-N ranking.

Reported improvements over strong non-social baselines are often modest for active users and largest for cold-start users with few interactions. When a well-tuned collaborative filtering model already has rich interaction data, the social graph frequently adds little, and several replication studies found that gains claimed in papers shrink under careful baseline tuning.

Whether a social component is worth its engineering and privacy cost depends on the platform. The decision table below summarizes when social signals usually pay off and when a standard collaborative filtering or two-tower model is the better investment.

SituationRecommended choiceReason
Many new users with social tiesAdd a social componentFriends compensate for missing history
Dense interaction data for most usersPrioritize collaborative filteringSocial gains are usually marginal
Explicit trust in a review domainUse trust propagation or regularizationTrust links align with opinions
Large, noisy follower graphUse attention-based graph modelsLearned weights filter weak ties
Strict privacy requirementsUse social data only with consentThe graph is sensitive personal data
When to use social recommendation

Limitations and practical risks

Social recommendation introduces risks that pure collaborative filtering does not face, so practitioners should weigh accuracy gains against privacy and robustness costs.

  • Noisy ties: connecting a user to friends with different tastes can degrade recommendations, which motivates attention or denoising mechanisms.
  • Privacy exposure: recommendations can reveal what friends liked, and the social graph itself is sensitive personal data under laws such as the GDPR.
  • Echo chambers: reinforcing friends’ choices can narrow exposure and strengthen a filter bubble.
  • Manipulation: fake accounts that befriend targets can inject preferences, extending a shilling attack through the graph.
  • Data availability: many platforms lack a usable social graph, and third-party social data is increasingly restricted.

In plain words

Most recommendation systems learn from what you click, watch or buy. Social recommendation also looks at who you know. If your friends love a book, there is a fair chance you will like it too.

This helps most when the system knows little about you. A new member has no history yet. But that person may already follow many people. Their tastes give the system a useful first guess. The catch is that friends do not always share your taste, so good systems learn which friends to listen to.

A real-world example

A regional book-review community has about 200,000 members, and members can mark other reviewers as trusted. The recommendation team notices that new members who rate fewer than five books receive generic bestseller suggestions and often leave within the first month.

The team adds a trust propagation term to its matrix factorization model, so a new member’s preference vector starts close to the average of the reviewers they trust. In an offline test, recall for members with fewer than five ratings improves noticeably, while results for highly active members barely change.

An A/B test confirms the pattern: new members who trust at least three reviewers save more books to their reading lists in the first two weeks. The team keeps the social component, limits its weight for active users and lets members hide their trust lists to address privacy concerns.