We use machine learning technology to do auto-translation. Click "English" on top navigation bar to check Chinese version.
Introducing popularity tuning for Similar-Items in Amazon Personalize
aws-similar-items
). Similar-Items generates recommendations that are similar to the item that a user selects, helping users discover new items in your catalog based on the previous behavior of all users and item metadata. Previously, this capability was only available for
Related_Items
recipe within Amazon Personalize.
Every customer’s item catalog and the way that users interact with it are unique to their business. When recommending similar items, some customers may want to place more emphasis on popular items because they increase the likelihood of user interaction, while others may want to de-emphasize popular items to surface recommendations that are more similar to the selected item but are less widely known. This launch gives you more control over the degree to which popularity influences Similar-Items recommendations, so you can tune the model to meet your particular business needs.
In this post, we show you how to tune popularity for the Similar-Items recipe. We specify a value closer to zero to include more popular items, and specify a value closer to 1 to place less emphasis on popularity.
Example use cases
To explore the impact of this new feature in greater detail, let’s review two examples. [1]
First, we used the Similar-Items recipe to find recommendations similar to Disney’s 1994 movie The Lion King (
By tuning the popularity discount to a value of 0.4 for The Lion King recommendations, we see that the rank of the movie Seven drops to 4.0. We also see movies from the Children genre like Babe, Beauty and the Beast, Aladdin, and Snow White and the Seven Dwarfs get recommended at a higher rank despite their lower overall popularity in the dataset.
Let’s explore another example. We used the Similar-Items recipe to find recommendations similar to Disney and Pixar’s 1995 movie Toy Story (
By tuning the popularity discount to a value of 0.4 for Toy Story recommendations, we see that the rank of the Twelve Monkeys is no longer recommended in the top 10. We also see movies from the Children genre like Aladdin, Toy Story 2, and A Bug’s Life get recommended at a higher rank despite their lower overall popularity in the dataset.
Placing greater emphasis on more popular content can help increase likelihood that users will engage with item recommendations. Reducing emphasis on popularity may surface recommendations that seem more relevant to the queried item, but may be less popular with users. You can tune the degree of importance placed on popularity to meet your business needs for a specific personalization campaign.
Implement popularity tuning
To tune popularity for the Similar-Items recipe, configure the popularity_discount_factor
hyperparameter via the
The following is sample code setting the popularity discount factor to 0.5 via the Amazon Web Services SDK:
The following screenshot shows setting the popularity discount factor to 0.3 on the Amazon Personalize console.
Conclusion
With popularity tuning, you can now further refine the Similar-Items recipe within Amazon Personalize to control the degree to which popularity influences item recommendations. This gives you greater control over defining the end-user experience and what is included or excluded in your Similar-Items recommendations.
For more details on how to implement popularity tuning for the Similar-Items recipe, refer to
References
[1] Maxwell Harper and Joseph A. Konstan. 2015. The MovieLens Datasets: History and Context. ACM Transactions on Interactive Intelligent Systems (TiiS) 5, 4, Article 19 (December 2015), 19 pages. DOI=
About the Authors
Julia McCombs Clark is a Sr. Technical Product Manager on the Amazon Personalize team.
Nihal Harish is a Software Development Engineer on the Amazon Personalize team.
Yifei Ma is a Senior Applied Scientist at Amazon Web Services AI Labs working on recommender systems. His research interests lie in active learning, sequential modeling, and online decision making.
Branislav Kveton is a Principal Scientist at Amazon Web Services AI Labs. He proposes, analyzes, and applies algorithms that learn incrementally, run in real time, and converge to near optimal solutions as the number of observations increases.
The mentioned AWS GenAI Services service names relating to generative AI are only available or previewed in the Global Regions. Amazon Web Services China promotes AWS GenAI Services relating to generative AI solely for China-to-global business purposes and/or advanced technology introduction.