Something that's really important in professional services is prestige and trust, right? The reason prestige is so important is because trust is the most important thing in professional services, right? And so the reason we went after the larger firms is if you earn the trust of a few of those firms, the rest of them will trust you and the rest of the firms downstream will definitely trust you, right? And their clients will trust you, right? So I think that something, you know, something that we thought about doing in the beginning was well just go straight to enterprise, right? And there are a bunch of problems with that, but one of the main reasons is there's just no reason for them to trust you, right? That you can actually build these systems.
Greetings. Today on Training Data, we have Winston Weinberg, co-founder and CEO of Harvey. Harvey has occupied a special place in the AI ecosystem over the last two or three years, becoming the canonical example of what it means to build an application layer company on top of the foundation models. A couple years ago, when these companies were derided as wrappers on top of GPT models, Winston and his co-founder Gabe realized that this is where a lot of the value would actually be created, dealing with the messiness of real world problems, not replacing human beings, but giving them superpowers. And so over the last couple of years, as much of the industry has taken a tech-out approach to build their business, Winston and the team at Harvey have taken a customer-back approach and now stand positioned to revolutionize the legal industry, which is $400 billion in the US alone, the same size as the global cloud markets. We hope you enjoy.
Winston, welcome to Training Data. Thanks for joining us on the show.
All right. So, you have built, you and your co-founder Gabe and your team have built a company that has become to many people sort of the canonical application layer AI business or sort of the defining application layer AI business. But when you started back in July of 2022,
So when you start in July of 2022, pre-ChatGPT nonetheless, this wasn't really a thing. And as soon as it became a thing, people looked at this whole category and they said, 'Eh, these are just wrappers on top of foundation models. There's no value to be built here.' So they're immediately sort of derided. So I guess the question is as a starting point, what gave you the conviction that this was the right business to go build and that there would be value between foundation models and customers?
Yeah, I think the simplest answer to this is quite literally that these industries are incredibly messy, right? And so I think that the largest misconception with kind of the GPT wrapper companies was a lot of what you were starting to do didn't have like a massive delta between what the foundation models provided and what your small company could do, right? So one of the largest advantages that we had in the beginning was how much emphasis our product had on citations. Like literally just it was very important in the legal industry to be able to cite like line by line and the accuracy of those citations, right? There were a bunch of other things as well, but like from day one that was something we put resources into. If that's all our company was, if we just said, 'Okay, we're going to be a citation company,' right? Then yeah, I think you're just a GPT wrapper and it's going to go away. But if the ambition of the company is to actually partner with an industry to completely transform it, this is a trillion dollar industry. It's incredibly messy. There are tons of different data sets. There's tons of ways that people work. There's tons of different specialized workflows, etc. And so I think over time it became clearer and clearer that these models weren't going to just automate entire industries away, right? They were going to change and like fundamentally serve as kind of like the groundwork for changing an entire industry. But I mean, one way to even look at this is when a new feature comes out, we usually think of that feature as this is a great piece that we can put into part of a workflow. So an example of this is like OpenAI will release deep research, right? And my first reaction to that is, oh my god, there's all of these capital markets use cases, right? For like studying markets, looking at all of this data that's on the internet, etc. It's not everything a capital markets attorney does, but you could put that into a piece of a hundred-step process in your product and it makes that process better. And so the best way to think of this is literally whenever I see either the foundation models can do something better than they could before or completely new feature, it just like unlocks part of the TAM or part of the actual process that you can build on top.
Let's pull this thread a little bit. So, at time zero, you got the model down here, you got the customers up here, and you got Harvey doing citations in the middle for a month or so.
Let's, what came next? Kind of walk us through some of the major leaps in the product or some of the major value creation opportunities you've seized upon along the way.
Yeah. So the best way to kind of describe how we've been building the product, and this is I think one of the things that we've gotten the most right and it has also been the hardest to manage, which is, and from an org perspective and from a kind of like how which pieces do you focus on etc. And the piece here is at all times you have to basically expand the product and then collapse it back, right? And so what I mean by this is actually if all of these models work perfectly and humans were perfect at communicating with each other, the best interface is literally email. Like that's it. Like there is no interface. It's literally just email and it's perfect. It has all of your contacts. It can read your mind, etc. I mean it could just be a neural link.
Yeah, sure. That's perfect.
Yeah, that's even better, right? But that's not how it works, right? And I don't think that we're just going to randomly one-shot be able to do that, right? And even if we could do that on the model side, we can't do it on the human workflow side. In other words, like the example I give a lot is even if the models could do, you know, somehow chain all the steps together to do a large merger like the Activision and Microsoft merger, the user can't send that to the model and say merge please and then it just like does all those steps, right? There's all of these communication sides on the UI side as well. But okay, so holding that still, going back to the, you know, you have to constantly expand and collapse the product. When you're expanding, what I mean by this is the chat UI doesn't work for every use case, right? And it doesn't work for every use case right now. I don't think it will for the future, right? And so an example of this is if you were trying to build something that does really good case law research, right? There's multiple steps to that. You want to build a system that is very good at doing retrieval over all the cases. You want to build a system that is really good at comparing contrasting all the cases. You want to build a system that is really good at synthesizing the facts in your case to all of the case law, etc. Right? And if you're doing that, the best way to do it is you expand your product by building specific vertical, you could call it agentic systems, whatever you want, that do that thing from start to finish, right? And then you collapse them all together. So what does this end up looking like? We will take a bunch of use cases that are very high value. We'll build out a specific workflow to do that use case and then we will chain them together so that you can complete a task from start to finish. Right? And so the difficult piece of that is if you're trying to sell something that is seats, you have to sell something that is applicable to as many users as possible. And so you have to balance are you building something that is really good for a securities attorney or are you building something that's really good for all of the attorneys, right? And so that's kind of the collapse part where you want to build these specific workflows, agentic workflows, whatever you want to call it, whatever terminology it works, and then you want to combine them into the same service level on the product, right? And so what this looks like eventually is you upload a share purchase agreement onto Harvey, right? And we have the user may might not see this but there's tons of different workflows that are like extract the reps and warranties from that or summarize it or whatever it is, right? And we've built them all separately and you can use those UIs and actually do that workflow separately or when you just upload an SPA Harvey says would you like to run any of those workflows and that's the collapse version, right? So you're building these specific solutions and then you collapse them back in.
How much of the magic do you think is in the models themselves versus what I think you just described as, you know, an agentic system or a cognitive architecture? And you know, how much of is it is it the workflow that's hard? Is it training things together that's hard? Is it the combination of all of it that's hard?
So I think like I would categorize this in three areas. So the all you need to do for kind of like every single workflow is basically what does the user want? What is the intent, right? After that it's so what is what do they want? What's the intent? How do you extract that intent out of them? The second piece is what context do we need? And the third piece is is this right? Right? And so my point is there are different systems that work really well for different versions of those patterns. Right? So routing like using the models to actually like do predictions and routing is really helpful for the first one. Right? And so that's the example of you know either follow-up questions is really important there. Routing someone's query to the like particular task you think they want to do is very good. And so there's kind of like an orchestration element there, right? Context is okay, do you have predefined systems that will search for your internal documents that are relevant to the question and then your external documents that are relevant to the question? A lot of that work is retrieval, right? Like most of what you're building there is retrieval and then routing to make sure that you're accessing the external documents when you need to and the internal documents when you need to as well. And then the third one is is this right? Right. So going back to my citations example which is silly but it's actually really important. I think there also a lot of the work can be done by the models but you have to make sure that the models are very good at checking for certain things. So let me give you an example of this. There's a thing in legal that is what is market, right? And the models don't know what market is and there's various versions of what market is. There's market for a particular private equity firm like what terms they are used to, you know, doing on an LBO or a dealer in a side letter etc. There are terms that are across all of private equity and then there are just kind of like general M&A terms, right? And the models don't have access to this data, right? And so on that third piece, a lot of it is can you build a system that is very good at retrieving all of those different data sets when needed and comparing them against each other.
And I'm sure it helps if you have all of those different folks as customers.
Yes. Yeah. So I mean that I think is goes to another piece which is the biggest problems that we have and I think I mean is a very interesting problem and I don't think the models are just going to solve this is the process data for a lot of these tasks doesn't exist on the internet, right? So the process data for how do you do disclosure schedules or what is market, right? Those are not things that are just kind of like on Reddit somewhere, right? And so what we do is we actually hire domain experts who sit down and say these are the steps that I would take, right? And then you just chain the models on top of that, right? And or if there's a gap between what the model can do then you do fine-tuning, right? But the best way to do fine-tuning and post-training is task specific. It's not here there was a large kind of ethos maybe in the legal industry and a bunch of other industries that somehow if you got all of the legal documents and then you just trained a model on them that it would do law, right? And that's kind of like saying read all the, you know, your case load and all of the textbooks in law school and then just put you into like a profession and you somehow know how to do it. And that's not how it works. So much of it is like you actually have to learn how to do the different steps, right? And then the other side of that is not only is the process difficult, but the evaluation is really difficult, right? So you have to hire kind of like mid-level folks to do evaluation for a lot of these things because if the junior folks could do evaluation, they would be mid-level or they'd be senior, right? Like that's the reality. And a lot of what you do in a law firm or professional services is you're actually evaluating the work of junior folks, right? It's incredibly expensive. I'd argue that maybe 20 to 30% of the revenue of these places is doing that.
I want to go back to this concept of expanding and collapsing the surface, which I love. What is your view of the ideal end state for how, you know, a lawyer should be interacting with Harvey? Is it kind of that email chat interface and it's just merge merge company A and B and we're good or...
I don't think that we will get there anytime soon. And that is not for me to say that I'm not bullish on the foundation models getting better. I mean I, you know this, I am incredibly bullish on the foundation models getting better and we have designed the company kind of without a constant push as a driving force. I think the biggest problem with that is that doesn't allow the user to have enough kind of exercise enough judgment on the workflow itself. Right? So, I think one thing that when people are talking about agents, they're talking about these tasks that are like quite simple and don't have massively high like economic value, when we're talking about building workflows and putting kind of agents in those, we're talking tasks that cost hundreds of thousands of dollars, right? I mean, one reason the legal industry is so good for LLMs is if you can kind of think of this is is the industry text-based and then how valuable is a token, right? And a token is incredibly valuable in legal and professional services. If you look at like a merger agreement, like a 50-page merger agreement, the token in there, like how each piece of a word is worth so much money if you think about how much it costs to produce. So this is all to say I think the end state is you keep building these agents and workflows and then you chain them together as much as you can, right? And that makes it so that your UI actually looks the same but your suggestion and your routing model gets better and better, your orchestration level model gets better. So you can kind of think of this maybe like let's go to the law firm. I think that we're building out the specialized associates that can do different tasks. But it's also incredibly important that you have the partner or the managing partner operating model as well. And I think that as the models allow us to build more and more of these specialized kind of specific associates, you also have to put all of this effort into actually having the orchestration layer that pulls all that together, right? And so I think our UI actually looks similar in the sense that it does look like a kind of like a text window, right? But the ability for a user to upload a bunch of documents and for just to suggest what you do or the ability to say this is what you did last time. Would you like to do it again? Things like that improve kind of like a colleague that's just like really good at knowing what you want to do.
On that note, are you selling software or are you selling work? Is this legal software or is this AI lawyers?
Yeah. So, so far I mean software. I think that the best way, like most of our clients in the beginning were law firms and professional service providers like PwC. We now have a lot of enterprise customers as well and the way that the product is evolving is you can kind of think of it as actually two products. One is a productivity suite, right? And that is lawyers in the loop at all times etc. And you know the ROI on that is incredibly helpful. It saves you tons of hours a week, etc. Right? The other side of that is you're building these workflows that do part of the work from start to finish, right? And that is closer to selling the work. The way that we're actually approaching this is we are building those with law firms and helping them get more business, right? So we will get these revenue split agreements with law firms or for professional services and we will combine their domain expertise with our tech and then they go out and sell it to their clients, right? And so we are transitioning from just a seat-based company to actually selling the work as well. And I think we'll see a lot of that this year.
What and what are the ripple effects of that kind of like inside the building and outside the building? How do you how do you manage that as a company and what change does that require of your customers?
Yeah, so managing it internally is all about taking bets. Because it's, you know, if you're building software that is and every single feature that you're adding is good for your entire user base, you've kind of like reducing your chance of failure, right? Because every time you add something to the software, it is hopefully increasing the value that you get from every single one of the users. If you focus on building one of these specific workflows and it doesn't work, you've, like it's zero and one, like they it either works or it doesn't, right? And it's for a specific use case. The value of it is really high, but if you can't sell it to people, then you're in trouble, right? And so the best way that we've handled this internally is we've actually let the law firms do a lot of the discovery for us, right? So we will do joint projects with a large company and their law firm, right? And so we will use them as design partners to make sure that this is something that is repeatable. You can actually do it, right? Like the technology is there to do it. And number three is appetite. So there is a large problem in legal where a lot of kind of what you need is like compliance checks or you're doing the work for insurance etc. And so the third piece is also really important where you have to make sure that the in-house team is actually okay with AI handling that use case. Right? So that's kind of how we handle it internally where we spend tons of time on discovery, right? Tons of time talking to customers and we have a lot of design partners for the early stages of that. One more piece about how we handle it internally as well. In order to generalize, what we're doing is we're building like AI patterns. So here are the 15 types of actions in the legal industry that we need, right? So research like case law research is a huge one. Regulatory research is another one. Clause extraction is another one, right? And so we'll put tons of effort into those like kind of generic or widespread horizontal things and then we'll chain them together kind of like a Ford factory line. So those are the two ways. So on the GTM side it's discovery. On the product side, it really is kind of building that Ford factory line of AI patterns. Externally, I think this will have a very large impact. So, we're working with a firm that is almost a hundred years old and they became famous from literally advising I think it was King Edward the something on the abdication of the throne. So in other words, these firms are really old. Like some of these firms are like hundreds of years old and they have had the same business model for a hundred years, right? And they're actually willing to work with us and change some of their business model, right? And like take a bet on this and explore it, right? And so as I think most people know, a lot of professional services and especially legal has been the billable hour forever, right? And so the problem with that is if you're selling them efficiency software, there's only so many hours in the day, right? Unless you come up with a software that invents the 25th hour of the day, which by the way would be the best thing you could do to sell to professional services. But if you can't do that, efficiency is a hard sell unless you can convince them that there are ways for them to actually transform their business, right? So, what we're starting with is let's help you take a bunch of these workflows that you normally do at not a very good cost or a loss, right? And let's turn those into software and help you kind of spread it out and get more market share in areas that you don't normally have. So, I'll give you a pretty good example of this. In private equity, one of the ways that law firms go and kind of get new private equity business is they'll do things like side compliance or kind of like lower-end work and they'll do that at a loss so that eventually, you know, the private equity firm will pay them for the LBO or whatever the big M&A deal is or something like that. And so we'll build them software to help them get that work and not operate at a loss to get it, charge for a flat fee, etc. And then take some of the cost.
Is the tech ready? Like how much I guess legal work can already be automated with today's models and if you were to freeze model development, how much can be automated?
Yeah. Yeah, I mean I think that's a good question in terms of and especially the second one of I guess like how there's the reasoning ability of the models and then the capability of the models, right? And if you froze the models' reasoning ability, I think we'd be fine actually. So if we somehow kind of like froze the ability for the models to process data, that doesn't mean that they know which process to actually like analyze that data, but just their ability to ration over it, to make rational decisions over it. We'd be in a really good spot. So in other words, I think we're at like small percentage points right now of like legal and professional services, but if you paused, we would increase pretty high even if the models didn't get better, right? Because I think the reasoning ability of these models is there actually. I think the bigger problem is like evaluation, improving process and collecting more data too. The data isn't there.
Is model development going to freeze here?
I don't think so. No. I mean, I think we're seeing a pretty large evidence of if you throw more compute at the model and you let it make more and more reasoning steps, it just gets better and better and it improves time.
Right. And it's interesting if we if we go all the way back to 2022 in the early 2022, the thing that Gabe and I had done was we were doing a bunch, we got access to GPT-3. This is public by the at the time. This is like early 2022. And we the thing that we found was we were just doing chain of thought prompts before anyone was thinking about chain of thought prompts. And the way that we actually started was we were doing that over a bunch of kind of like legal questions and we cold emailed the general counsel of OpenAI and sent him that. And he basically, his name's Jason Kwan. And he basically responded, 'Oh my god, I had no idea these models were this good at legal.' And I think the main reason people weren't looking at it is because they were just doing one model call over a set with like one static prompt and just calling it a day. And they weren't doing what are the actual process steps, like they weren't telling the model these are the steps that you need to take in order to answer this question, right? And so my point is that's what we saw in like early 2022 and that's like the direction that these models are going, right? And I think that it's really good for legal and for kind of these industries where you have to have these complex decision-making processes for two reasons. One, the model get better at that, that's just increases the ability of them. But two is that process data doesn't exist. Like I said before, like it's not online. Like how to book a flight is online, right? There are easy ways to train that. It's harder to do how do you do an LBO?
Well, and you and you guys you now deservedly so have an unfair advantage around the process data because you have some of the very best law firms in the world as customers of Harvey, which I think was a contrarian strategic decision that you and Gabe made a couple years ago and you made it with high conviction. And I remember a time when there were lots of law firms who wanted to come work with Harvey and you basically said no so you could focus on some of these big prestigious firms. Can you say a couple words on what gave you the conviction that that was the right strategy? And then maybe more importantly once you determined that that was the strategy, how in the world did you get them to trust you? Like this is a very very scary new world and you managed to earn their trust. So how did you do that?
Yeah. So I think okay so the reason for doing it, there was a GTM reason for it and a product reason. From the product side the bet was that the models were going to get better and that you want to build systems that the next generation model cannot do, right? And so you want to go after the incredibly complex international merger type work. Right? You want to do the very complex work and build systems for that because it is the most defensible by far. Right? So that was kind of the product side of it. From the GTM side of it, I think that something that's really important in professional services is prestige and trust, right? The reason prestige is so important is because trust is the most important thing in professional services, right? And so the reason we went after the larger firms is if you earn the trust of a few of those firms, the rest of them will trust you and the rest of the firms downstream will definitely trust you, right? And their clients will trust you, right? So I think that's something, you know, something that we thought about doing in the beginning was well just go straight to enterprise, right? And there are a bunch of problems with that, but one of the main reasons is there's just no reason for them to trust you, right? That you can actually build these systems.
Systems, right? How did we do it? We did a bunch of things that do not scale at all. Like in all honesty, I think that one of the things that we did really well is I don't think there is any excuse for someone who is building an AI product and trying to sell to not do hyperpersonalized demos. Like there is no excuse. I think it used to be really important to do that. Now it's paramount and it is so easy to do this, right? And so one of the things that we did in the beginning was whenever I would demo to a partner, I would try to use something that they recently worked on. And then the other thing too is lawyers are argumentative, like very argumentative. And I mean that in the best way. So just let them fight with the model. Yeah, I'm serious. And I mean that in the best way. So I would sometimes say, you know, was this a good argument? And how would you improve it? And if they were really bored on the demo and then you say that they are reading every single word that comes out of Harvey, like every single word. And you know, it wasn't always the perfect response, but I think it engaged them in a way that they've just never been engaged with software before at all. Right. And we found, I mean, one thing that's interesting is, you know, a lot of the older partners at firms sometimes we might be their first AI product that they've used, right? And so it's really important to actually like show them, you know, kind of the basics as well, not just exactly what, you know, is special about your product, too.