How does Facebook AI know the content you want to see in your feed?
Have you ever wondered why you see some posts on the Facebook feed and not others?
Unless you have very few contacts, every time you log into Facebook there are tons of new posts from your friends and the pages you follow, so many that showing them all would be overwhelming. To make the selection of content, Facebook applies an artificial intelligence algorithm , and has recently revealed more details about how it works. Let’s find out!
How Facebook AI works step by step
The first thing Facebook does when a user log in is to collect all posts that it could show you. These include:
Any post shared with the user by a friend, group, or page that you are connected to, that have been posted since you last logged in, and that have not been logged in.
Posts shared before John’s last login, but not yet viewed.
Posts that John you have already seen, but they have triggered a relevant conversation among your friends.
Typically, these three categories add up to thousands of posts, and this process is repeated each time for almost 2.8 billion monthly Facebook users. In order to run the necessary AI models, Facebook uses multiple machines in parallel, called predictors. These predictors score each eligible post based on factors such as post type, similarity to other items, and likelihood of engaging.
2) Policy filter
In this step all publications that do not comply with Facebook policies are eliminated , for example, those that spread false information, contain sensitive content or make use of clickbait techniques.
After this step, we would have about 500 potential publications for the average user.
In this step we will calculates a score for each post , which is customized based on the actions previously performed by the user. The factor that is most taken into account is interactions. For example, for some users, posts with a probability of generating a “Like” score higher, while for others what is most valued are comments.
Among the factors to take into account in This step is the type of publication (for example, photos versus videos), if the user tends to interact with the publications of the user, group or page that has published it, the people tagged, etc. The long-term impact of Facebook content is also evaluated, obtained from user surveys.
4) Contextual assessment
Finally In the last step, the publications to be displayed in the Facebook feed are decided and in what order taking into account factors related to the context, for example, that there is a variety in the content displayed similar posts are not displayed constantly. And with this, the process is over, in just the seconds it takes the user to open the Facebook application.