121 points · by tullie · 2y ago · 32 comments
There’s a sandbox at https://play.shaped.ai/dashboard/home that you can use to explore demo models and evaluate results interactively. And we have a demo video at https://www.youtube.com/watch?v=toCsUYQnJ_g.
The explosion of online content, driven by both individuals and generative tools, is making it harder than ever for users to sift through the noise and find what's relevant to them. Platforms like Netflix, TikTok, and Meta have set a high bar, proving that personalized experiences are key to cutting through the clutter and engaging users effectively.
Despite advancements in AI and semantic infrastructure like vector stores, building a truly relevant recommendation or search system is still extremely difficult. It's not just about deploying the latest LLM—the difficulties lie in creating the infrastructure to orchestrate the components seamlessly. Consider the challenge of continuously fine-tuning models with fresh data while simultaneously serving real-time personalized recommendations to millions of users. It requires a delicate balancing act of speed, scale, and sophistication.
Our goal is to empower any technical team to build state-of-the-art recommendation and search systems, regardless of their data infrastructure. Here's how we eliminate the friction:
Solving Data Challenges: We integrate directly with your data sources—Segment, Amplitude, Rudderstack, and more. We handle the complexities of real-time streaming, ETLs, and data quality robustness, so you can get started in minutes.
Leveraging Cutting-Edge Models – we utilize state-of-the-art large-scale language, image, and tabular encoding models. This not only extracts maximum value from your data but also simplifies the process, even with unstructured data.
Real-time Optimization: Unlike vision or NLP tasks, recommendation system performance hinges on real-time capabilities—training, feature engineering, and serving. We've architected our platform with this at its core.
We're already helping many companies build relevant recommendations and search for their users. Outdoorsy, for example, uses us to power its RV rental marketplace. E-commerce businesses like DribbleUp and startups like Overlap have seen up to a 40% increase in both conversions and engagement when integrating Shaped.
A bit about us: Tullie was previously an AI Researcher at FAIR working on multimodal ranking at Meta. He released PyTorchVideo, a widely-used video understanding library, which contains the video understanding models that power systems like IG Reels. Dan led product research at Afterpay and Uber, driven by how behavioral psychology influences user experience.
We've been heads down building Shaped for quite a while, so this launch feels like a big milestone. We'd love to hear your feedback – technical deep dives, feature requests, you name it. Let us know what you think!
How are you going to allow folks to influence the system? Or do you see your system integrated behind their pseudo-recommendation engine?
The other related market trend we think about here: recommendation is going through a similar journey to what search did 10 years ago. Search at some point was more build leaning, but over time the technology became democratized and then companies like Elastic and Algolia had offerings that pushed search to lean towards buy. We're seeing recommendations going through the same revolution now that the technologies and system design (e.g. 4 stage recommenders) are more solidified. It's the data that makes these systems unique between companies not the infrastructure or algorithms.
Setting the objective function is often the most challenging. Different teams may prioritize different objectives and often it requires balancing multiple at once! For instance, how does a company think about the types of user engagement and long-term metrics like retention? A model optimized for clicks might be worse for retention in some cases, but not in others. Ultimately, we A/B test to find out. Surprises and counter-intuitive results are common!
Would highly recommend having at least an estimated pricing calculator so we can determine if its worth our time to install.
Would love to chat, we've had several customers come over from Algolia and they've seen significant uplift. I can share more if you want to message me at tullie@shaped.ai.
Our pricing is competitive with Algolia's to give you an idea there. We really wanted to get pricing calculator done get before this post but ran out of time. Keep an eye out over the next month for it to come up!
Not sure if good or bad based on HN complaints about Algolia's pricing
These days I'm the founder of a circular economy marketplace for South Asian ethnic clothing and items - PurvX. The current search is terrible (due to the low-code platform it's on), will be keeping Shaped on my radar when we re-platform.
I think that's the hardest thing on any recommendation or search system. It's really hard to do without using money as a neutral measure of value. And, without a good measure of quality - it's unclear that the system is optimizing the right metrics (without cannibalizing others).
We run online A/B tests to objectively measure quality against our ranking algorithms and other baselines. As you mentioned it's crucial that the measure of quality for these tests chosen is fair and correlates with the topline business objective. E.g. if you just evaluate clicks then the system will show click-baity content and overall perform worse.
To handle this, we make it really easy to define different objectives and experiment with how it changes results. So although we don't claim to solve the issue directly, we believe that if users can quickly experiment with different proxy objectives, that'll be able to find the one that correlates with their topline objective quicker.
Our dashboard provides monitoring to help understand what data is ingested and view data quality over time. We expect customers to monitor this but also have alerts on our side and jump in to help customers if we see anything unexpected.
The dashboard also shows training metrics over time (how well does the model predict the test set after each retrain?) and online attribution metrics (how well does the model optimize the chosen objective?).
Customers can disable retraining if they want (which is essentially pinning the model version to current), we can do model version rollbacks on our side if we see an issue or if requested but it's not a self-serve feature yet. Because we've made it easy to create or fork a Shaped model, we've seen customers often create several models as fall-backs that rely on more static data sources or are checkpoints of a good state.
Being quicker to setup, also means it's quicker to build and experiment with new use-cases. So you can start with a feed ranking use-case the first week and then move to an email recommendation use-case the next week.
In terms of actual performance and results, we've never gone head-to-head in an A/B test so i'm not sure the specifics there honestly!
Majority of them are open source models we've forked and improved. Just as an example, we integrated in gSASRec last week: https://github.com/asash/gSASRec-pytorch, and added a couple of improvements on scale and the ability use language and image features. We use LLMs for the encoding of unstructured data, and we host these our self, although OpenAI and Gemini are used for error message parsing and intelligent type inference, things not on the real-time path.
More info here: https://docs.shaped.ai/docs/overview/model-library
Longer answer is in our blog post about it: https://www.shaped.ai/blog/shaped-vs-algolia-recommend :)
The biggest change is some of the less sexy stuff, like scale and security. E.g. we're now able to scale to 100M+ MAU companies with 100M+ items, and we have a completely tenant isolated architecture, with security as a top priority.
We've also made the platform more configurable and lower levels and we've found that people like choosing their own models and experimenting rather than just relying on our system.
Finally, we launched search only a couple of months ago and are currently heavily focused on building a best-in-class experience there.
> 100M+ Users I assume you mean 100M+ end-users have interacted with a site or product that uses your technology. The way it's phrased sounds like you're saying Shaped itself has 100M+ users which of course it doesn't. Consider replacing that with "100M+ interactions" or something.
Yes by 100M+ users we definitely mean end-users, wasn't intentional to mislead so thanks for flagging -- we'll update.