Instagram Uses AI To Choose Content For Its Explore Tab

    - Advertisement -

    Instagram’s Explore page displays highly customised content specific to each user. With billions of posts and an equally large number of users, this feat is only achieved with the use of trained machine learning models. Instagram tackled this challenge by creating a series of custom query languages which support the scale of Explore while boosting developer efficiency.

    Before building a recommending engine, Instagram addressed three important needs for its developer tools-

    1. The ability to conduct rapid experimentation at scale
    2. The need to obtain a stronger signal on the breadth of people’s interests
    3. The need for a computationally efficient way to ensure that the recommendations are both high quality and fresh
    - Advertisement -

    They created a new domain-specific language, ‘IGQL’, which was optimised for retrieving candidates in the recommender system. IGQL made it simple for performing tasks which are usually quite complex while allowing engineers to focus on ML (machine learning) and business logistics. It provided a high degree of code reusability, with programmers coding in a python-like manner and executing efficiently in C.

    As Instagram has a large number of interest-focused accounts with tons of posts within them, they decided to sort on the account-surface level rather than the media-level. There are many ways in which a user can interact with an account including liking or saving posts. Instagram defines a value model to capture the prominence of different signals to decide whether the content is relevant. For example- saving a post takes high precedence compared to liking it. These accounts are called seed accounts and are used as a basis to find similar accounts for recommendations.


    Using ‘word embedding’, they would study the order in which words appear in the text to measure how related they are. This is how they predict accounts with which a person is likely to interact in a given session within the Instagram app. They define a distance metric between two accounts and based on a KNN lookup, they find topically similar accounts for an account in the embedding. After the accounts have been selected, they are passed through a simpler ‘distillation’ neural network model before being passed through a main high-performance model. This is mainly done to improve efficiency and decrease the computational power required.

    Instagram makes sure that the content they recommend is both safe and appropriate for a global community. Using a variety of signals and ML systems, they filter out policy-violating content and spam. They also make sure you discover a plethora of new interests by downranking posts from the same author or the same seed account.

    Here’s what they had to say-

    The scale of both the Instagram community and inventory requires enabling a culture of high-velocity experimentation and developer efficiency to reliably recommend the best of Instagram for each person’s individual interests. Our custom tools and systems have given us a strong foundation for the continuous learning and iteration that are essential to building and scaling” 

    The best way to discover interesting new content on Explore is by interacting with accounts you like, which in turn helps the algorithm filter through the numerous posts to present you with the content you love.

    Further Reading-

    - Advertisement -

    We are Hiring!

    Content Writer - Full & Part-Time
    Video Editor - Full & Part-Time
    Social media Manager - Full & Part-Time

    Mail your CV along with previous works to

    Recent Articles

    Best Budget and High-End Gaming Laptops under Rs. Lakh: December 2019

    For some of us, building a PC is the way to go. However, not everyone has the luxury. Many people are always...

    Best Graphics Cards for 1440p 144Hz Gaming: December 2019

    1440p the most popular resolution among gamers these days. As 1080p monitors dwindle and GPUs become more and more powerful, gamers have...

    Best Gaming PC Build Under Rs. 2 Lakh: December 2019

    Building a 4K PC build is never easy. You need a beastly GPU to shell out 60 FPS in today's taxing titles....

    AMD Radeon RX 5500 XT Launches in India for a Price of Rs. 12,990,...

    The sub-$200 markets have always been a sweet spot for AMD. In 2016 Team Red launched the RX 480, a card that...

    AMD Radeon RX 5500 XT to be Priced at $169, $10 More than the...

    The pricing for the Radeon RX 5500 XT has been leaked ahead of the imminent launch. According to Videocardz, the RX 5500...

    Related Stories

    Leave a Reply

    Stay on Top - Get the daily news in your inbox