It was built over the course of, I want to say a little over a quarter, not quite a half, so like maybe four or five months. But then if you look at the tools that we used to build this, a lot of the challenge here is just in data computation, data processing, right? So like you got to take raw data and turn it into useful signals like features and embeddings, and then use that to backfill training data and use that to power online inference. So it's like those are the best kind of the scope of things. You take data, you transform it, and you need to serve it with low latency and high freshness in the online environment to power model inference in real time. And then you need to do these big batches of backfills that can be slow and expensive if you don't engineer things correctly. But ideally, they're fast and cheap. My name is Varant Zanoyan, and I am the co-founder and CEO at Zipline AI.
This is Code Story, a podcast bringing you interviews with tech visionaries.
Six months moonlighting.
Nothing on the back end who share what it takes to change an industry. I don't exactly know
What to do. Many goes to get right. Who
built the teams that have their back. Company is its people. The Teams
help each other achieve most.
Proud of our team. Keeping scalability top of mind. All that Infrastructure was a yes.
We've been fighting
it as we grow. Total waste of time. The stories you don't read in the headlines. It's
not an easy thing to achieve. Took off the
shelf and dusted it off and try to begin to ride the ups and downs of the startup life.
You need to really want it. It's not just about technology.
All this and more on Code Story. I'm your host, Noah Labhart. And today, how Varant Zanoyan has built a secure way to power your AI with fresh and fast data deployed on your cloud. Varant Zanoyan was born in Washington, D.C. and grew up there and in Switzerland as well. He now lives in the Bay Area, specifically San Mateo. He spent time at Palantir Technologies as well as a stint building ML Tech at Airbnb. But outside of tech, he loves the outdoors, tending to his garden of plants and vegetables. After taking a good hike, he's been digging a good uni pizza for dinner. Prior to his current venture, Varant was working at Airbnb developing Chronon, an open-source data management engine used to power AI ML infrastructure. It was then that he and his team realized that building and managing data pipelines was a bottleneck for AI Dev and decided to spin into a standalone platform. platform. This is the creation story of Zipline AI.
So Zipline AI is a feature and embedding platform for machine learning. So what that means is that data scientists and engineers who are building machine learning models use Zipline AI to build those models better, to automate a lot of the complex, difficult infrastructure challenges that are required to power those models in production basically use more data, improve model performance, and improve the speed at which they're able to iterate on those models. The story as to how we got here, it started at Airbnb where kind of I was working with machine learning teams. So the trust team was one of the first ones that we worked with, and they did all sorts of fraud detection at all. So there was a lot of payment sheets, fraud challenges at the time. Airbnb is a travel company, but in many ways is also a payments company. It moves money across bank accounts, across borders. result, it's the target of a lot of the same sort of fraud attacks that a lot of traditional payment processors are also the target of. So people trying to extract money from the system fraudulently in any number of ways. And they wanted to iterate faster. They wanted to use more real-time data, streaming features, capture signals of changing user behavior in real time and use that to attack these bad actors better. And all those things were really difficult. Basically, that was the first case that we supported. And so I was taking a look at that and seeing like, okay, why is this so hard? Or the bottlenecks? And we identified that essentially the data infrastructure, the data pipelines, our views, these models, both for training and serving is basically where the majority of the complexity and the friction was coming in. And so we started building tools and trying to see if we could take that iteration loop for months to better, and we eventually got it down for months to days. That was a pretty big breakthrough. And after that, there's other machine learning use cases at Airbnb, like the ones that you of Airbnb, which is like search and personalization and search ranking. And so that became the second big use case that we worked with and that was challenging for some new reasons, mainly that the scale is even greater, the latency requirements are even tighter, and sometimes you're ranking thousands of listings and every time someone clicks that drag on Airbnb.com along the app and drags it, that's a new search that happens in a new geobox and there's new listings that need to be ranked and we want those to be personalized for each user that's searching so that they can show you things that are good for you. That kind of took the scale of the challenge up, but at the the day is a similar thing, right? So you want the teams that are models have a goal. I want to be able to move the needle on that goal. It's either saving dollars, you have fraud or making dollars. Then we did some more work over the next year or so to support the search team better and eventually they were happy. And then the snowball was rolling and as this infrastructure within Airbnb that would later become known as Chronon, which is the open source when we eventually opened source to was getting more adoption. And then we started talking to the engineering team at Stripe, the payment process of the company and they were struggling with similar challenges. And that's when the idea of this open source came about. And so we collaborated with Stripe across company bounds and built in for even further. And then it went fully open source and then Netflix and OpenAI and a bunch of other big companies started using it. So it was the open source was in very healthy state. And yeah, that's when we eventually started the company around this core challenge. The vision has remained the same.
Let's move forward into the MVP then. So that first version that you built, how long did it take to build and what sort of tools were you using to bring it to life?
The first version, this was Airbnb circa 2017, 2018. It was built over the course of, I want to say a little over a quarter, not quite a half, so like maybe four or five months. And then if you look at the tools that we used to build this, a lot of the challenge here is just in data computation, data processing, right? So like you got to take raw data and turn it into useful signals like features and embeddings, and then use that to backfill training data and use that to power online inference. So it's like those are the best kind of a scope of things. You take data, you transform it, and you need to serve it with like low latency and high freshness in the online environment to power model inference in real time. And then you need to do these big batches of backfills that can be slow and expensive if you don't engineer things correctly, but ideally they're fast and cheap. When I think of like the main pieces of infrastructure that we use to build this platform, there's the offline batch computation piece. And that was initially in the first version was written in PySpark. And then there's the online piece, which the first version was written in Spark streaming. And now we're no longer on PySpark, we're on just vanilla Spark. And in the online path, we are on Flink for data processing. So there's been a bit of an evolution there reevaluated and rebuilt. But the one piece that hasn't changed is the user-facing API. That was always in Python and still is in Python. That's kind of the language where data science lives. And that's where a lot of that familiarity is. So we meet users where they're at on that side.
Let's stay on it for a minute. What I'd like to kind of dive into is a core decision you had to make in building that. And that could be around technology selection, could be around approach, could be around something that maybe is not obvious from the outside. But I'm curious about one of those core decisions you had to make and how you coped with it.
I think the biggest one was right at the start. And I think this is one thing that differentiates us from other pieces of infrastructure in this space, which is that we are going to tackle the computation problem. If you look at the features in our space, there's kind of different architectures. One that I, one is I like to call bring your own compute, where it's like, hey, you handle computing your features. This is a KV store, plus maybe some metadata around it. We decided that was not the right. And we decided that based off of really looking at the use cases that we were supporting at The downside is that it's a much more difficult scope to tackle, right? And saying, okay, this is the user's utility. You guys handle your features and we do the rest of it. It's tempting because it's far simpler, but it really doesn't solve the core of the user challenge. And I think we saw that because we were very close to users and we effectively were building a platform that we wanted to have as we were supporting these various teams within Airbnb. There's a whole set of headache from an infrastructure point of view, but the nice thing is that that headache that you're taking on yourself, you're essentially solving it. And the reason why it's hard is because if you look at the way data infrastructure has evolved, I'm sorry with things like first there was Hive and then before we had Spark, we had Hive even at Airbnb when I was there. And then there was Spark and Snowflake. Then there were things like Kafka message buses where you could ingest streaming data from. And all these things were very separate. They spanned, like the workflow that users had to take spanned these various tools. hard that it came from. Nobody had an end. There was no end to end sort of platform. You saw this real-time data engineering for an ML. And so that's what we saw as the gap. That's what we saw as the right scale for the product. And that was one decision that we made early on.
Okay, let's move forward then. So you've got the MVP done. You've made the hard decisions. You're getting some traction and you're validating your assumptions. How did you progress and mature from that point? And I think that to wrap in a box, I'm curious about how you build roadmap. How do you go about deciding that, okay, this is the next most important thing to build or to address with Zipline?
So the company is two years old, right? But like I said, the project has been underway for five, six years, right? And so first it was all internal, right? Internal at Airbnb, building it. And it's really nice to be able to do those inside of one company and to get a few things wrong. And so like, and even just the architecture of a lot of our batch processing jobs, like how we do that, the algorithms behind getting these point-in-time correct features over large backfills. There's a lot of decisions that we made there that we had to check and redo, and each of those decisions resulted in essentially having to completely change sometimes the way out of the data that we stored and do these big data migrations and things. And those were difficult things to do inside one company, but they would have been nearly impossible to do if we were doing this whole thing as a client. So it was really nice to be able to have Airbnb as an incubating ground for this thing, to have real use cases at scale instead of making mistakes. That wasn't simple either, by the way, right? Every time we made a big change like that, we had to think about how to migrate these teams that were relying on us. Still, it's far easier to do it there than it is to do it now where we have multiple customers, and to make a big change like that would be close to impossible. Early on, the roadmap was driven by, okay, what's on fire, what's working, what's not, and a lot of that came down to, okay, how do we scale this computation engine that we built? For a company, the roadmap is very different, where the core engine, which is what's open source, has grown on Zipline.ai. It's been super battle tested. It's the only written file. And now a lot of our roadmap is thinking about what does the enterprise platform that we're building around this open source engine need to look like to work really seamlessly and really well at more companies. And so that looks a lot more like integrations, enterprise features around access controls and observability and governance and things that you need to do to fit in easily with companies' existing infrastructure and with their security standards. So it's a very different can of worms now than it was in the early days.
So how did you build your team? What did you look for in those people to help you decide that they were the winning horses to join you?
We did pull in a lot of people that we had worked with both at Airbnb and from Stripe. We did the collaboration. We had the chance to work with a lot of really great people in data infrastructure. So people that were true experts in the technologies that we use, our batches, reprocessing, and really deeply understood the space. And people that we've worked with personally and that we liked the way they work. Basically, the founding team was from a pretty tight network of folks who all worked together already, which is the best, right? It's like, you know who they are, you know how they work. That formed the core team. And when you have a core team like that, I think there's kind of a center of mass and a gravity that pulls in more good people. And yeah, I don't know. I don't know how you can't obviously grow that way to a thousand people, but we're at about 10 people out. So if you want to, if we want to go 10x bigger with the same quality, that'll probably be a new challenge, but we're not there yet.
Let's move into scalability. This will be interesting. This is baked into your bread and butter and the way you think, but I'm curious about how you approached scale from the beginning in the early days. And then I'm also interested in stories where you've had to fight scale as you've grown.
Yeah, when we talk about scale, we usually just talk about data scale for the use case. So I think like I alluded to, Airbnb search was the highest scale use case, meaning that there is like the most advanced fire and it was data that needs to be trained on and the highest just the data that makes it easier to production. In this data processing engine world, there's like a, I think one big challenge in terms of scale is often skew. But what skew means is that some keys that you're aggregating by have way more data than others. That could be something like, you know, a fraudulent IP address that's sending a bunch of traffic to your site and so they try to compute features per IP address. That one IP address becomes a bottleneck for computation. Basically, if you don't architect things carefully, then as you're doing this distributed computation, which is basically taking data machines to ban out a copy to get it done faster for parallelism, you can end up in a world where a lot of data gets sent to a small number of executors or a small number of machine-reverting machines for processing. And so it doesn't really matter how hard you're banning it out, you still have these like hotkeys that are effectively clumping bottlenecks in your system. So one of the early things that we did when we were supporting the fraud team was architected in such a way that we could handle skewed data, which was great. But the funny thing is actually then later on, and this was an advance that we made in in the last couple of years, because we had that skew assumption baked in from the start, we actually realized that for unskewed cases, we can actually get much better performance by having this different computation time to work. And so that was like a further optimization that we made recently, which was called the non-skewed mode or unskewed mode in the computation engine. So now we fork how we compute data in batch, so whether it's skewed or not, and whether we need to do that additional work. Anyway, this is just like a little peek into kind of what that process has been. then is like a lot of, okay, here's this use case, it's not working. Let's we'll fix it this way. But then over time, iterating and further fine-tuning and further out the engine, and this is why it's great to have open source, right? Because that's a lot of work for one team to do. Because that's a lot of work for one team to do. But when you have Netflix doing it and OpenAI doing it, and Zipline doing it and Airbnb doing it and Stripe doing it, you have all these people that are contributing to this engine, making it better, making it faster, making it work for more cases and more data profiles. Everybody's also done it. Obviously like it's also, that's another reason why it was nice to start this thing off at Airbnb and Stripe. point and then it was nice to go open source so that more and more people could contribute to it.
Okay, as you step out on the balcony and you look across all that you've built thus far with Zipline AI, what are you most proud of?
I would just say the feedback that we've gotten from users. Having people say, okay, the previous thing that we were using here was really tough and now I have. I used to try to avoid using it and now with you guys, it's like I'm actually excited to use it and so I could get my projects done the way I have always done and hearing stuff like that. It's great to hear it internally from users at Airbnb, but to do it, to hear it from customers at Zipline is like very satisfying.
Let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.
Early on, we made a mistake that I think is common for startups to make, which is to over-index on the first, maybe sometimes it's the first company or the first set of companies that are talking to you as potential customers and to drop everything and do what they are indicating, whether or not you think it fundamentally makes sense. That's the highest priority thing that you can be building. And it's tempting, right? Because you're just getting going, you don't have any customers yet, and they're asking for this thing. It's tough because it's obvious why a lot of teams make that mistake. But yeah, we certainly made that mistake right out in the gate, I think, where we started. We built a part of the stack that honestly is not bad to have, and now we have it, it does add value. far too much into it far early on where we had done other things it would have unblocked way more growth for us early on but we thought we kind of started down and started off down that had invested four or five months into going deep on this one area that probably wasn't the right thing to do we learned from it we when we realized what was happening and realized that we were getting dragged around in not the right direction and it's hard to know when you first start off on it because you're like okay we'll invest a month in this but then one month turns two turns to three and then we brought our heads up for air. We had to figure out what are the things that are going to generalize to the most users and unblock the most early customers to actually getting value and actually being a question. And at that point, you also have more people who you're talking to and you have a better view on that. It's tough to say no, but you learn to say no a little bit to things that people are asking for early on and to pick your roadmap as opposed to let it be dictated by customers who are sometimes much larger enterprises than you are.
Let's look into the future. What does the future look like for Zipline AI, for the product, for where the industry is going, all the things with ML, AI and the changes every day? What does the future look like?
AI ML is changing rapidly. I think the space that we're in, I've always focused on these use cases. It's like risk positioning more broadly, which includes payment fraud and includes like underwriting decisioning, buy now, pay later type use cases. And then there's personalization includes search ranking, content ranking, content personalization, listing personalizations. Those two use cases at the end of the day, certain things are not going to change about them, which is that their requirements, they are high QPS, they are low And that is the way they work. And so as a result, they are their porphyrs or language models. Basically, where the industry is changing there is twofold. One is more broadly generative architecture. So things like generative recommendations have been coming around there. So not language models, but things like semantic IDs, which are really interesting. And that's where a lot of our finding value in their models and the performance of their systems. systems. And so we are, our infrastructure is built to support the reduced cases and to make building those into one build with the production easier. But then yeah, more broadly it's like the other thing that we've seen is the same way that AI and LLMs have accelerated coding, they're also accelerating building and iterating on these models. So it's not like the language models aren't replacing fraud detection models or search models, but they can be hugely impactful for helping people iterate on these models to run experiments, to engineer better models and engineer better pipelines. And so our infrastructure is also very coding agent first, meaning that right now you don't need much. You can use Claude Code to write code and to develop features on applications. To do this kind of ML engineering, ML engineering, the coding agent needs a set of tools to work with data and to build those data pipelines and to do model training and essentially run experiments that will reproduce in production. What you want to do is you want it to have an API. It can run experiments. You can tell it, okay, run this sort of experiment. The human can guide it along what sorts of things it wants to try or what sorts of tried. And if the coding agent has the right tools, it can be a very powerful assistant for people to iterate on these models to make them better and to improve the performance of these personalization and fraud detection systems. And so that's where our infrastructure fits in to this feature, basically.
Let's switch to you. Who influences the way that you work? Name a person or many persons or something you look up to and why.
The funny thing here is that there's no one really famous. Like and the way I work, I don't think of sort of the celebrity people in technology. It's more just folks who I worked with at Airbnb and I was at Palantir before that. And there's a handful of people there, and they're not even necessarily the highest rungs of the corporate ladder or anyone that the public would have heard of, but just people who I've worked with. And when I think about why I look up to them and why I learned from them, and sometimes they, like I said, sometimes they were not even like, they were not necessarily the CTOs or whatever. Sometimes they were literally my peers in terms of If folks ultimately did the right thing, didn't get caught up in corporate politics, kept an eye on what the right solution should be, thought about what's right for the company, what's right for the user, and kept it simple. And what I mean by that is it's easy to lose sight of what matters. But it's if you really prioritize what's going to be valuable for the company, what's going to be valuable for the user, and do the simplest thing to land that value and not to get caught up in the politics and the scope war and the this and the that. And as companies get bigger, it's really easy to get caught up in those things. So folks who are able to do that, to take a principled approach to their work, I always admired those folks a lot. And yeah, I think as I worked, I tried to always focus on that. And it's easy. I think it translates a bit to as you're running your own company is now you don't have, sure you don't have politics to play anymore, but there are always things that you could optimize for that are not the right thing. Even things that are important for the business, like fundraising or whatever, it's like you, you still have things to prioritize and it's like, okay, what do you choose to prioritize? And I think that we built valuable technology by prioritizing the right things, by prioritizing what moves the needle on the business, like what will ultimately drive dollars either via saving money from fraud, bottom line, or by improving bookings and improving search results at the top line and by making people more productive, like what tools do people need to build these models better and to do it better? Like what will actually make them kind of more productive? And it's really easy. It seems obvious, but it's really easy to lose sight of those things as in the chaos of the day to day. I admire. I think we're really good at keeping an eye on it all.
Okay, last question. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world and can't wait to show it off to you right there on the plane. What advice to give that person having gone down this road a bit?
I think if they're already at that point where they have something and they're super excited about it, they're already 90% okay there. And what I mean by that is to get to that point, that they're like, okay, we simply can't let this be the way it is. There needs to be a better way to do this. There needs to be a better solution for this thing, or we can't let this sort of wrong in the world continue. And this is my vision for the solution for it. If they're at that point, then I would say, yeah, all they got to do is keep their eye on the ball in that way. It's like, don't lose sight of the thing that's driving them to get to this point. And there's clearly something that's driven them to get to that point. And as long as they stay focused on that, I think it'll all be fine. If I saw someone like that, I'd be like, if you're really their system that's driving you, And so you just wake up every day and do what you think is the right thing to do to solve that problem or make things better for people in that particular way. And that's really their calling. And so I think they're already there. I think I wouldn't say, all I would say is you're already there. You're already doing it. Just don't lose sight of it. That's all you
got to do. That's awesome advice and super encouraging. Well, Varant, thank you for being on the show today. Thank you for telling the creation story of Zipline AI.
Thank you. Thanks for having me. It's a lot of fun.
And this concludes another chapter of Code Story.
Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. And when you get a chance, leave us a review. Both things help us out tremendously and thanks again for listening.