Your browser is not supported. Please update it.

12 November 2020

Start-up Merapar rode AWS to recommendation glory at NBCU

Something that has always surprised us about AWS, from our numerous meetings on show floors over the years to 2020’s virtual appearances, is the cloud computing colossus’ penchant for introducing us to exciting new start-ups. This has really been the AWS mantra for a long time now – proving its worth not by bragging about powering some of the world’s largest media and entertainment companies (which it does), but in providing budding technology companies with the underlying services to thrive.

Another new name to emerge from the exhaustive AWS Partner ecosystem is UK-based software development guru Merapar, which – thanks to AWS – now fancies itself as a content recommendation connoisseur. That isn’t an exaggeration. AWS Personalize is just that easy to use, going by the real-life customer endorsements, by empowering teams without any prior machine learning knowledge or even those with no prior experience with basic recommendation theories.

Chris Birkinshaw, UK Principal Architect at Merapar, backed up her company’s new skillsets, during the AWS EMEA Media and Entertainment Symposium this week, by providing the intriguing case study of a flagship client, none other than Comcast’s NBCUniversal.

Specifically, Merapar has been selected for Hayu, NBCU’s international reality TV streaming service. Merapar started working with Hayu from launch four years ago, initially from a consulting role, which quickly led into cloud software development, where Merapar built a CMS for Hayu to customize the homepage on an individual level. It started off small, mapping users into personas, which is clearly not as granular as a full machine learning-driven personalization initiative, but a much broader stroke of personalization that is a decent starting point for any fledgling video software outfit.

Merapar simply took 10 or 15 personas for Hayu to target, for which it incorporated a suite of technologies from AWS, including AppSync (to develop GraphQL APIs), DynamoDB (document database), Elasticsearch (for scaling), Amplify (front-end), and Cognito (back-end) – all connected back to AWS Personalize.

“The idea was always to move onto true personalization,” said Birkinshaw, a vision which Merapar began realizing about a year after its initial foray into content personalization.

There are lots of off-the-shelf media recommendation systems out there, but what AWS Personalize appears to offer a low-key company like Merapar is not only its obvious cost effectiveness with a low cost of entry, but also being serverless in nature means not having to worry about things like software patching. Plus, with so many companies already relying heavily on AWS with company data stored in the cloud, making the shift to additional AWS services is a no-brainer.

Birkinshaw explained that Merapar took three data sets – items (TV shows), users (individual information), and interactions. Such is the simplicity, she explained, that you only need the interactions dataset to get started. “Before we’d written any code, we’d already trained the algorithm and seen the results,” said Birkinshaw.

There is a particular metric tracked by Merapar called ‘Precision at 5’. Where, if you showed a content recommendation, it tracks which percentage of the top 5 results have been viewed. In the case of Hayu, it started off on around 19%, but by gradually adding additional datasets and tuning these datasets, Merapar managed to increase that to 23%.

This links back to when Merapar first built the CMS for Hayu, at the time giving editors the ability to add sub-genre information. For example, Merapar spotted that it didn’t have a reliable definition of the cast in certain episodes, so it sent images off to AWS Rekognition and some 60% of shows came back with hits.

A word of warning from Birkinshaw, however, related to paying careful attention to the scale side and how much capacity you provision, particularly when you have a lot of development environments. “We would only provision high capacity on staging and production counts, then tune capacity to the actual load. Even if you under-provision, things don’t fall apart, latency just increases a bit and performance goes down a bit,” she noted.

Merapar is currently in the process of digging into contextual metadata, serving better recommendations based on specific device, country, and time of day. Further down the road, it plans to incorporate impression data, which is a fairly new feature in AWS Personalize. For example, click data from the front-end can show when a recommendation was not valid, based on a user selecting a recommended title and then exiting just a few minutes in – ultimately enabling AWS Personalize to improve recommendations.

Another new frontier is the merging of search and recommendations. Take a cooking show for example, you punch “top chef” into your search bar and this returns a 100% hit rate. Happy days. However, many results further down are likely not relevant to cooking in the slightest, as titles containing the words “top” and “chef” separately will creep into the results. You can therefore replace these lower irrelevant results with more relevant cooking show recommendations and inject these into search results, from where you can rank them.

Of course, these data inputs are nothing new or fancy to the eagle-eyed Faultline reader, and might be a snooze-fest for those well-versed in recommendation engines. The point is that AWS Personalize has enabled a start-up to go from an unassuming software consultancy role for a niche streaming service, to a fully-fledged content recommendation provider for a subsidiary of one of the world’s largest media companies, over just four years.