Note: This post was published in Feb 2023.
She wants to tell them that Blue Gamma was more right than it knew: experience isn’t merely the best teacher; it’s the only teacher … experience is algorithmically incompressible.
– Ted Chiang, The Lifecycle of Software Objects
Unless you have been living under a rock, you have heard about generative AI. Even my grandparents – who still use a non-touch screen phones – know about AI artists. They saw the “paintings” on TV.
You can create paintings based on your dreams, write an entire book, or even have a passable-intelligent conversation with an AI today. Generative AI’s applications in content creation are massive, and we created a much simpler version of the same platform at Flipkart back in 2019.
The auto-content platform was appropriately named Morpheus after the God of dreams. For an e-commerce platform that is visited by more than a whopping 10 million users daily, auto-generated content would mean several benefits:
- Personalisation of content for users so they see relevant and useful recommendations and ads (68% of smartphone users are more likely to purchase when they see relevant recommendations)
- Increased discovery for the more than 80 million products listed on the Flipkart website
- Saving person work-hours used in designing the same redundant creatives for different products and categories or in different languages
Let us talk some rough numbers. If you look at the Flipkart homepage (images below), you would notice more 100 different banners (or “creatives”). Each creative would take anywhere between 5-15 minutes to create manually by a designer, depending on whether they are making it from scratch or replacing elements in the same template.

If every person who visited Flipkart saw the exact same homepage, we would need a minimum of 100*10 = 1000 minutes of design work just for a day – this comes to a minimum of 16 hours.
Now, imagine if we had to personalise 50% of the content for each of our user groups and 10% of the content for each person individually. This would more than quadruple the design effort per day.
On top of this, people have to manually give details of the creatives they upload to the system to share parameters (such as category of product) which may help the system in ranking content on the page.
Automation removes all of these problems in one clean sweep. You can feed pricing signals, competitive intelligence, business goals, and personalisation parameters to pick the right products from the entire catalog of Flipkart, match it with the right template for the creative, calculate the best position and timing for displaying that creative, and build a robust feedback loop to optimise the entire pipeline based on performance data.
What this means is that if people like the content you display (ie, if they buy the products they see in their feed), then the platform automatically learns which values of parameters work best with which user groups. It is a win-win like never before: users do not see redundant recommendations and our products reach the right audience!

The image above is an overly-simplified representation of how content generation works.
- Product Collection Rules: Define rules based on which a “collection” of products will be generated. When the user clicks on your final content (creative), they will be redirected to a page containing all the products in the collection defined here. The ability to define collections intelligently ensures that we allow discovery for newer products while also rewarding higher quality products and account for seasonal and local trends.
- Creative Generation: For each collection, several creatives will be generated. For example, we may generate the same creative in English and 5 other regional languages. We may also experiment with different templates, text, and images and check which templates perform the best.
- Personalisation: Now, we match the right content to the right user. We will also decide whether to show the content at the top or somewhere else on the various pages. This is called ranking.
- Feedback: Finally, the product collection rules, templates, and ranking rules that do well are rewarded. This optimises the entire pipeline and the process repeats itself.
We realised something important in the process. Our platform can only be as good as the humans that train it and nudge it in the right direction, Our content creation rules will only be as good as the the experience of our merchandisers and their view of the world of e-commerce, and our creatives will only be as good as the template elements and feedback mechanism build by our tech teams.
With OpenAI, the world is experiencing the power of automated content generation like never before. AI is not here to replace us, it is here to augment what we do. We should find ways to incorporate it in our jobs to save effort and leave more time for us to focus on creative endeavours.
Meanwhile, here is something fun to end this post: I asked DALL·E 2 to visualise the concept of “cognitive learning” in a detailed prompt. The results:
