TAO and Reinforcement Learning: Building AI With the Data You Have
Summary
- TAO Framework: This video introduces TAO (Test-time Augmented Optimization), a technique that improves model performance by leveraging data you already have on the Databricks Data and AI platform.
- Reinforcement Learning: Learn how reinforcement learning techniques combined with TAO enable building better AI models from your existing data without requiring massive new datasets.
- Data-Efficient AI: Discover how to maximize AI performance using your current data resources through advanced training techniques.
TAO and Reinforcement Learning: Building AI With the Data You Have

Talk by Brandon Cui, Senior Research Scientist, Databricks ; Jonathan Frankle, Chief Scientist - Neural Networks, Databricks
Curious about the cutting-edge technology that's revolutionizing AI model performance? Join us for an in-depth exploration of TAO and discover how this innovative approach is transforming the capabilities of modern AI systems. This research-focused session peels back the layers of theoretical foundations, implementation challenges, and breakthrough applications that make TAO one of the most promising advancements in AI development. Key takeaways: Understanding the fundamental principles behind TAO and how it differs from conventional optimization techniques Examining the quantifiable improvements in model accuracy, efficiency, and generalization capabilities Exploring real-world case studies where TAO has solved previously intractable AI challenges Analyzing current research directions and future potential for further enhancements Whether you're a research scientist, AI engineer, or technical leader, this video will equip you with valuable insights into how TAO can be leveraged to push your AI models beyond current limitations.
Databricks Named a Leader in the 2025 Gartner® Magic Quadrant™ for Data Science and Machine Learning Platforms: https://www.databricks.com/blog/databricks-named-leader-2025-gartner-magic-quadrant-data-science-and-machine-learning
Build and deploy quality AI agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
What is TAO in machine learning?
This video introduces TAO (Test-time Augmented Optimization), a technique that improves model performance at inference time using data you already have.
How does reinforcement learning apply to this video's concepts?
According to this video, reinforcement learning combined with TAO enables continuous model improvement using feedback from your data on the Databricks Data and AI platform.
Why is data efficiency important for AI?
This video explains that maximizing AI performance from existing data reduces the need for expensive data collection and annotation efforts.
What benefits does TAO provide?
This video demonstrates how TAO enables better model performance by making efficient use of data you already have in your Databricks environment.
Full transcript
Okay, can everybody hear me? Well, okay, good. Awesome. Thank you all so much for coming to this presentation. I'm chief AI scientist here at Data Bricks. Um, this is my colleague, who's a senior research scientist and our head of reinforcement learning on the research team. Um, and we're here today to talk to you about Tao. Um, we released Tao two or three months ago now. Um it's a new fine-tuning method um that we think will be really helpful to a lot of folks.
And if you'd like to get access to it, it is now available in the agent bricks. Um you know, a lot of folks have been asking us how do we get access to tow. Uh the answer is it's built into our products and you get it right now if you just go and use the agent bricks and you have data that's appropriate. Um so with that, you know, we're gonna we're going to tell you a bit about this. I don't think we're going to need the entire session.
So, you know, hopefully we'll have time for some conversation. Um, but the place to start is, you know, you want to customize an LLM. Um, a lot of good reasons for doing this. Customization can mean anything. It can mean prompt engineering. It can mean rag, it can mean fine-tuning, it can mean pre-training your own LLM, but you want to customize one. You want a custom agent. Um, and here's the data you're supposed to have.
Um, you're supposed to have some evals, like some benchmarks that perfectly measure your task. I see some folks in the audience who I visited with before and said, "Where are your evals?" You have eval, right? Don't you,? Um, and you know, and then you're supposed to have some labeled examples as well. You're supposed to have this perfect fine-tuning data, absolutely pristine. Um, you have some example inputs for the LLM, some example outputs for the LLM that reflect exactly how you want it to behave.
Ideally, you've handwritten these yourself in an artal manner. You have about 10,000 of them that you've, you know, been working, you know, diligently on for the past several years. And you know, you didn't even know you were supposed to have been working on these, but you worked on them very carefully, just in time for LLMs to arrive so you could fine-tune them. Um, this is what you're supposed to have, right? You know, the reality is nobody has this.
I mean, come on. Like, you've been preparing your data carefully for Gen AI to arrive for the past 5 years, just in time to have those 10,000 examples. You have a bunch of humans on staff who can just go and do all the annotation you need. Nobody has this. This is not the reality. This is the data you're supposed to have, though. Um, you know, you show up and you try to use an AI customization or fine-tuning product, you know, and you get shamed like, you don't have labeled fine-tuning data, guess you can't use our fine-tuning product.
You don't have an eval, guess you can't use our product. Um, shame on you. You should have done a better job. And that's basically what the reality's been for the past couple years, at least since for as long as I've been doing natural language processing, that's been the situation. And you know, this is the data you actually have. This is the stuff when I when I've actually gone and chatted with many of you who are in the audience right now.
This is what you've told me you had. You know, you have LM inputs. Maybe you've deployed an endpoint of some kind, even if it's a prototype. You've done prompt engineering. You've used our inference tables feature and you've collected a lot of LM inputs. Now, you have no idea how good the outputs are. The LM could be doing god knows what. Um, but at least you have a set of inputs that reflect what your real users are trying to do, what your application is supposed to be doing.
That you can vouch for. Then you know what you also have is probably some relevant context and documents. You have you know all the stuff you've actually been collecting over the past five years, 10 years, hundred years in the case of some folks in the audience. You have those documents in context and that says a lot about your business implicitly. Now how to make use of that is a whole other can of worms. But you at least have some context.
This is what you really have. And the third thing you have is human judgment. You have your experts or you have you. and those folks understand what the LLM should be doing. Now, if you sit them down and say, "Write 10,000 outputs of how your LM is supposed to behave, they're going to quit." Um, but you do have that human judgment and you need to use it carefully and judiciously in the right way. That's what you actually have.
And this talk is about how to make effective use of that. Um, I'm not here to shame you. Not anymore. Um, for those of you who I've shamed before, you know, not here to shame you anymore. I forgive you for having not predicted Genai 10 years ago and having prepared carefully for it. Um, but instead I'm here to be useful to you and tell you what we actually what you actually have and how to make use of it. And this is I think for those of you who saw kind of the keynote yesterday about agent bricks, the whole genesis of that product was really that we spent the past year just working hands-on with various folks including some of the folks who are here to try to figure out how to get geni to actually work for you.
Um, and from that we've seen a bunch of patterns. We've generalized those patterns and we've turned that into a product. And the talk today is about to one particular scientific method that we developed based on patterns we saw of what data people had and didn't have. And that's really what we're here to talk to you about today. Um, so the quick takeaway very briefly is to a new fine-tuning method. It uses reinforcement learning, uses a bunch of ideas, but the goal is to make it work with the data you have.
Um, and the thing that makes it special is you don't need labeled data. It's getting the labels that seems to be the most nightmarish thing for people. Um, and you don't need that. And how? Well, you know, you can ask about that because this is really his work. Um, but it's a clever combination of reinforcement learning and, you know, custom reward models that we built internally getting, you know, test time computing, getting all the ingredients to kind of work together nicely enough in a generic enough recipe that it seemed to work on a lot of different tasks we had internally.
And now we're seeing some great results for the customers who are using it. Um, so that's what you're going to hear about today. And at this point, it's all yours. Awesome. Thanks. So, yeah, so Data Bricks is a data intelligence platform. Um, again, we've talked about fine-tuning, and you just heard uh talk in depth about what does it actually take to fine-tune your models. Um, it's super common. A lot of other providers do offer it, but again, uh, super common.
The core issue here is in order to actually fine-tune the model again you need this combination of one your LLM inputs which again a lot of you guys do have but two you need these really high quality clean diverse LM outputs that's where you need the 10,000 labels you have to go sit down write them yourself um put a lot of effort in there and again yeah like the running cost here is just it's a very uh human capital intensive or you can also go to uh places like super annotate or surge but again that does cost a lot of money to get um these basically LM outputs.
So again, this is usually actually a pretty hard task and a pretty hard lift for customers when we talk to them. And so explicitly actually after talking to customers um we basically talked to a lot of you guys and we found that customers actually self- select out or guided out of fine-tuning because they don't actually have enough data. Again, this core problem of having uh clean LM inputs and really diverse uh high quality ML outputs actually have blocked a lot of customers from ever taking advantage of fine-tuning on the data bricks data intelligence platform.
And to really drive this point home, basically um this is a graph from Ragavendra at all in 2024 where you have basically three different data sets. Um and basically what you do what you have here is a scaling law that says hey here's a number number of samples on the x- axis and here is the equality of an eval on the y- axis. It's if evalu it's instruction following eval basically comes from Google and basically it measures the ability for language models to follow instructions really well.
Um basically some of the examples here are oh hey can you make sure you only respond in capital letters can you only write in uh uh rhyme tones can you write three paragraphs for this response? basically just very explicit instructions that are very measurable. And what this implicitly shows is that hey from these three different data sets there is this implicit measure of data quality. Uh explicitly what this shows is uh for the same number of samples um you'll get varying output varying levels of quality on the eval.
Um so if you look at the just go on the x-axxis to different uh data qualities um you get different basically if results similarly you can actually find that with fewer samples you're actually able to get higher quality. So for example with uh let's say a 100 samples from the conifer easy data set it can match the quality of basically uh 9 8,000 samples from the dolly data set. So again overall this slide is just to emphasize that higher quality data leads to higher quality uh and better results.
And so this goes back to kind of the core question here. Right now we see this blocker of hey uh the really hard part for us is we really need high quality LM outputs. So our thought here is what if we actually just are able to fine-tune language models and customize them and make them intelligent on your data with only using the LM inputs. So to kind of ground this into a proper example of how traditional fine-tuning works.
Uh first of all what usually you know what everyone has done is first of all we set up an LLM and then they have people interact with LLM. From here you can use our uh AI gateway and you can log all the LM inputs uh from users into basically uh UC catalog and basically you'll have all the LM inputs. From here a step would be we can either handw write the LM outputs you want the LM to produce or you could again go to basically a crowdworking company like surge or super annotate and have them basically write the expected outputs uh for these model responses.
And then the last step again is then the fine-tuning step that a lot of people offer is basically from these input output pairs fine-tune the LLM to basically match uh the expected outputs from uh the responses that basically you wrote or you acquired from uh humans. Again, the core issue here is the LM outputs where it's actually very expensive uh in terms of if you go to one of these co-working companies or very labor intensive if you are personally handwriting these let's say 10,000 examples and again so the core blocker here is this point three here where you actually have to figure out how do I handwrite these LM outputs so what if there's a way to get around this and so if we go to the TOA example that we've talked about a first of all on their blog two to three months ago and then also um that we talked about now.
Basically, we can follow kind of a similar step where first we set up the LLM for people to interact with. Then we still do the same step of you collect all the inputs uh again in AI gateway and can log them to your UC or delta tables and then basically actually you can skip this you can skip this step three entirely and you don't even need to basically go through this really laborious step of finding the LM outputs either by on your own terms or by buying them from a crowd company.
So this actually doesn't require any data annotation and then from basically you can skip straight to step four and just basically run test time adapter optimization or tow on lama but then this raises the question like you're like how how do I know like what should the ele basically right I basically I'm saying hey let's get to step three how do I even figure out what the element should say is this magic really it's a lot of hard work from the uh RL team here at data bricks so a lot of good science that we So to ground this in empirical results, I'll talk about basically the domain adaptation work that we did when we ran Talon and Llama 3.
370B. What we did here is we first evaluated. This is basically all baselines. So there's no fine tuning here yet. Um and there's three benchmarks we kind of talked about here. So what we would want to do here is basically measure the performance on three very narrow capabilities. The first is finance bench which is basically a RAD question answering uh fin RAD questionans answering uh LLM evaluation and basically evaluates the abilities for LLMs to answer questions about uh financial basically documents.
So an example of this would basically be hey what is Boeing's uh revenue in FY 2022 and you retrieve all the Oracle documents from basically the FCC filings and you'd feed it to LLM and the LM would answer this question. Uh another very narrow demand that we focus on is a it's what we call the DB enterprise arena. This is our own uh hand curated eval that we developed internally and basically it's a well-c calibrated LM is a judge eval that basically compares the response of an LLM to a very strong LLM.
Um it covers a lot of different domains here. So it's like open book question answering, quotebook question answering, summarization, uh a lot of reasoning tasks here. Um and stuff like that. Basically just covers a pretty broad range of tasks. Um and then lastly I don't I want to talk about basically this capability called birdbench uh the email called birdbench and this evaluation here what it measures is the ability for an LLM to take natural language text and then generate an appropriate SQL query that would uh match basically uh that be can be executed and then basically you can verify the results from the from the executed SQL and say does this match basically uh the golden SQL that they wrote for the evaluation and so uh basically What we did here is now we say what okay let's say we actually do have these uh gold labels we have enough data we spent our time getting let's say 10,000 fine tune labels essentially um it's not quite 10,000 for each of these bars but let's assume we just have a training set that we can then say for each of these very narrow domains we fine-tune llama 3.
370B on the appropriate data for each of these domains. So for finance bench it was we had basically uh financial questions answers and then had the golden labels. Same thing for the data data bricks enterprise arena and for birdbench as well. And what you can kind of see here is that we actually don't improve that much across these domains with fine-tuning. So on finance bench we actually did great performance a little bit.
We tried really hard here our hyperparameters did day salations didn't improve that much. In a similar vein on the DB enterprise arena there wasn't that much improvement from fine-tuning. uh with Birdbench we did see a slight improvement and again this is where fine tuning does shine on certain domains you can get improvements with fine-tuning when you do have these proper uh really good input output pairs basically um and again that's great that we can do this but again it's very very hard to curate all this data and then let's enter towel now so basically with Tao again all we provided to uh the methodology was just the input props from here we ran the overall towel methodology and we can actually see we can start seeing proper gains.
Now on Finance Bench, we can see that with Tao, Llama 3. 370B improves over the base LLM and improves beyond the GBT series of models. Similarly, in the DB enterprise arena, with tow were able to improve, we're able to dramatically improve the performance of Lama 3. 37DB to near that of basically the strong other GBT models. And lastly, again on Birdbench where in the previous slide, we did see that hey, we are able to improve on the 3.
37B on Texas SQL. We're actually able to further improve this with towel. So we've already talked about basically in the last slide, what if we wanted an LLM to be very narrow, very good at one specific domain. Um, as we get more into these workflows where basically these agents have to actually cover a lot of different tasks, we want to basically have more than just this one narrow fine tuning capability. This slide basically is saying, hey, we are now want to be much more general and much more generic.
So now we're going to measure basically performance of these LLMs across a aggregate set of domains. So here it's an area of basically a lot of chat benchmarks, some reasoning benchmarks, coding benchmarks, a more general benchmarks category, some math benchmarks and some business benchmarks, basically the very enterprise relevant domains. And when you apply to both llama 3. 17b and llama 3. 370B, you're able to with improve both of these models. um in particular able to improve WMA 3.
17B to the quality of WMA 3. 37B in aggregate and similar from uh when applying towl 3. 37B you're able to improve it to around the midpoint of uh GPT4L mini and GPD4L so again here basically we're just saying that with the ability of tow and applying it to these benchmarks applying to these models we're able to improve in this general aggregate scenario of across a wide domain of uh a wide domain of categories the performance of this LLM So from here we covered basically a lot of the very domain specific stuff or this basically academic benchmarks.
Um we said hey we had a lot of these academic benchmarks that cover different categories. We're able to be very domain specific and then also we're able to say hey what if we apply talent and more general methodology to generically improve the LLM. The question then all that everyone would want to ask is how relevant is this to me? how much how well can this methodology help me on my enterprise uh eval and so I want to kind of talk about basically a case study here with one of our customers flow health so flow health is the number one uh women's health app worldwide it's chosen by more than 420 million users uh the primary use case from flow is they want to provide health insights uh find proactive ways to address health concerns and enhance interactions with users by very quickly answering common questions with medically accurate responses um without compromising privacy and make sure you know you're actually relevantly answering these questions with high medical accuracy and for them they've definitely followed a similar journey to I'm sure a lot of you guys followed what happened is they first of all they tried you know proprietary language models um this is very common step that everyone takes but then when they start evaluating the output quality of these models it actually failed to meet their uh requirements for high medical accur privacy and for strict privacy standards.
And so they initially started down this path, but again they reached this point where they say, "Hey, these models actually aren't good enough." Um, so from them they then wanted to turn to fine-tuning. They said, "Hey, what if we had the ability to ingest in inject data intelligence into the into language models and so they wanted to try fine-tuning to actually apply their own very specific domain knowledge and medical uh health relevancy into uh language models through fine-tuning.
Um the issue for them is they again ran into a very common problem that we talked about earlier in this talk where getting medical uh getting label medical data is actually very expensive and impractical at scale. Um so they ran into the same roadblock as everyone as a lot of people did here and from there basically they also still had an eval I want to talk about really quickly. Um this is again very common journey for flow health and for a lot of enterprises. um to measure the quality of outputs basically they use a number of in-house LM judges that rate model output on several axes for them it was basically medical quality um relevancy and also basically privacy preserving uh judges basically and for them the judges uh rate um outputs on a score of 1 to five and so diving in kind of actual concrete results of kind of their journey uh you can first see this graph here where basically we're comparing 3.
370B to an existing proprietary LLM uh and basically the two bars here are the uh percentage of scores of generations that received all three plus from the four LM judges they used and also the percentage of scores that were four plus from all the LM judges they used. And then again what you see here is for both 3. 370B and for the existing proprietary LLMs the level of quality they wanted was actually just too low. It was too low for them to trust.
It wasn't uh strong enough and that this actually caused them you know concern like what do we do with this? This is when they want to turn to fine-tuning. But again for here they didn't they did not have a set of label data that could actually help improve the model because again going back to the original point of this talk um it was too human intensive or too capital intensive. And so we worked with them and actually when you apply Tao to Llama 3.
370B, you're actually able to basically double the performance of Llama 3. 37B to the point where it's around 60% of all generations received an aggregate score of three across all judges and 54% received a score of four plus across all judges. So with just pure labels again there was no data annotation required they were actually able to apply to and dramatically improve the performance of the LLM on their uh downstream evaluation.
And so stepping back here, this kind of then raises the question again of we can now say how does tao work. Um again we talked about this first key step where we want to just take all the input labels that we have logged in our UC our UC catalog and then that's what everyone comes with basically from here we basically apply a lot of test time compute and we generate a lot of responses after that towel applies basically uh DBRM or the data bricks reward model which we've talked about uh at other points during uh deis and basically this just enables the scoring of these responses um there's other mechanisms to score these responses But the core one that we've used here is DBRM.
Um again then from the scores what you can do there is then uh from the from the rank scores you can then apply RL training to find your LLM. And then from here that gives you your final LLM that you can then deploy and then continuously update over time and then keep getting data find pain points and keep updating over time again. So the key point here is uh after you finish training you're able to deploy and continually improve the LLM.
And the more and more you use it, the more and more you should expect your element to improve. And so rewinding back to just the high level overview of talent practice. Um again where everyone starts is you can just set up an LLM for people to interact with. It is totally fine for the LM to be bad. You just want to get distribution responses where you're where you see what user are doing with your LLM. Then you uh you can again collect your inputs.
So get the distribution uh get the get the distribution of inputs and then from here you just want to run towel on llama and you can again rinse and repeat and over time uh as you continually to apply towel and continue to collect responses you should be able to continually improve your ll and so now I think there's some frequently asked questions that we could go over here so the question that a lot of people would be asking what are the full details so again there's nothing super algorithmic or shadow gathering here.
It's the right combination of algorithms in the right way. Basically, we spend a lot of time thinking about how do we how much do we how much data should we generate? How do we score responses? What algorithms should we use? How do we just be very concretely scientific with what we are doing and what our end goal is? And the follow question then is again, why haven't you said so many details about TA as a whole in general?
And I think the answer here is we're we're being very non-committal here. So we can change the details and give better quality over time. Today again it's this offline RL setting where basically we are saying um we are just running offline RL uh you do generation once and then you just score and you can fine-tune. uh tomorrow we can offer you know better online RL better synthetic data faster training and again apply more research and apply more leverage to further improve to over time and then again more followup questions from a lot of customers come uh come here is basically like there's no way this thing works in general right um how can that be possible and yeah no that's a very fair concern right there's no free launch in machine learning this has been true across old machine learning when we weren't in the generative AI space no you know massive 70 billion parameter models.
Um but again as we've seen in this talk so far across both very domain specific and you know domain specialization we're able to uh improve basically uh llama 3. 37B these llama models very very well. We're able to improve it in this very general sense where we apply it to uh a lot of domains and we're also able to improve it in the general enterprise case uh in the case study of flow health. Um again the key here is really the DBRM the data rich model.
Um the mechanism here allows us to score and rank responses and apply these RL techniques. And overall this does apply again because of the how DRM DBRM is trained. It gives us very generic mechanism that applies to a lot of different capabilities and uh language models. And overall here our goal is that we want to meet you guys where you are. Right? Again with fine-tuning it's very very hard um for customers to engage in finetuning because of the very core barriers of it's very human intensive and very capital or very capital intensive to actually get the fine tune labels.
Um so it's very and then also again we were many customers where there's a higher for quality customers do want to see basically higher quality outputs uh higher quality outputs from language models uh and therefore one way to do this is through to t and so just a quick teaser um for everyone in this room basically we talked a lot about DBRM in this talk and currently the research team has been working very hard on DBRM2 so basically DBRM2 it's actually steerable with a prompt So you can customize it for your own use case.
Um there's going to be a lot of different versions of DBRM2 that will basically be able to you can constrain them, combine them and mix and match them. But basically this kind of uh analogously would be something like element of judge where you have the ability to provide your own custom guidelines and guard rails to the reward model such that it will actually be able to say hey for my current enterprise use case if I want to say don't talk about competitors don't uh say medically accurate things whatever whatever guideline or guard you want the reward model should basically be able to respond and accurately score responses in a way that actually reflects that accurately and so another common question you've heard from Tao basically is if it uh DBM must be amazing if TA beats SFT right this is a very common question we've seen from customers um I think the answer is yes yes and maybe and so the answer is yes DBM is a good reward model we spend a lot of time hand curating preference pairs and classification settings just to make sure DBM is really strong and powerful on very common reward model benchmarks um and then yes also Tao is very strong basically Tao leverages a lot of the key uh pieces from reinforcement learning um it'll enables customers to only provide inputs and it again has shown very strong results so far.
Um this also again enabled because of how to constructed basically you can actually explore many more outputs in this given space where SFT is basically you only have a single output that you can actually explore and then the answer is maybe here right so the last answer here is tal must be better on SFT um the answer is maybe again if you had the most perfect SFT set you had you know your 10,000 labels that are hand curated to your exact domain the answer is maybe like SFT could be tow but again like that's a very high lift for a lot of customers and we understand that and so rewinding a bit to just again the broader context of things and this is where I come up to say the controversial things.
Um so you know I'm so you know this is where I let off the hook. Um I get to speak my mind and abuse my title to you know say all the things that you know I might get in trouble for saying and but really the way I want to look at this is this is the broader context that we're thinking about as we do this. So there have been some pretty big promises about AI. You can see these quotes. I'm sure you've all seen these quotes before.
Um, these are the promises that have been made about what AI is going to do in the next year, two years, three years coming up. Um, and I think the tricky part for someone like me, I have to face our 15,000 customers at data bricks every day. Um, I know many of you who are in this audience personally, and I have to get in front of you and answer for all of these quotes that have been given to you um by our friends and colleagues in the industry.
Um, you won't hear me say things quite like this, but I do think a lot of promises have been made and it's time for us as a field to deliver on those promises and I feel very personally responsible for that because I'm not someone far away just building some models and giving you an API. I know you. Um, so we feel this acutely. Um, we talk to customers all the time. hung out with a lot of, you know, a lot of you as well.
I've hung out with a lot of you. I've met with a lot of you this week. I have to answer to you for all of this stuff and make sure that we can fulfill at least some fraction of these promises. At data bricks, one of my favorite parts about doing research here is that you know at a lot of places you would have the research team talk to the product team, help to build a better product. The research team would never talk to the customers.
Um my experience here has actually been the opposite. I go and I talk to customers. We go and we figure out something that works for you. Once it works for you, you know, you saw that example of flow health. At that point, we then ship it in the product. Um it goes from research to customers to product which I find to be a much better way of doing things just personally. Um if the researchers aren't spending time with the customers we're not solving the right problems.
Um and kind of the bigger theme that I've been emphasizing to a lot of you at data and AI summit you kind of heard this implicitly from yesterday and you'll hear it from me explicitly today is you know I know everybody's saying 2025 is the year of agents or whatever it is. You know you can take that for what you will. For me 2025 is the year of going from AI demos to real AI engineering. And I'll give you just a little bit of what I mean by that.
Um, getting geni deployed in production is really hard. Um, a lot of you have built amazing demos over the past year. I don't know how many of you have built a cool geni demo over the past year. You've done something cool. Okay. Yeah. How many of those are in production right now serving real customers? Yeah. Um, I'd like to change that and I think this is the year that we changed that. And you know, I've talked to a lot of you and I've asked like what is holding you back?
Um, and the way I look at the process of AI engineering, I I mean this a lot like software engineering in the sense that there's coding and there's software engineering. Those are two pretty different things. And I think the same thing is true for, you know, building a cool AI demo, doing some prompt engineering and, you know, actually doing AI engineering. So number one is specification. Um, this is true in coding. You build test cases, you build a design doc, that's your specification.
In the AI world, it's really asking the same question, but for a different kind of system. How do I describe what I want my AI system to do? And then of course you have to actually verify. How do I know my system is doing this? In software, this is testing and monitoring. What does that look like in AI? Um, and then number two is how do I actually get a system that does this? Cool. I've got a specification. I can verify it.
How the hell do I actually fix this? Um, how do I get an AI system that meets this specification? And then how do I actually do this using what I have? Um, these are kind of for me the four big questions where if I don't have a good answer to these, you know, all those promises about PhD level AI go out the window. Um, you know, let's not even start with PhD level AI. Let's go with deployable AI. And so, you know, there are a lot of answers I've heard over the past year or two.
Um, how do I describe what I want my AI system to do? Well, go build an eval. Um, that's really hard. How many people here have an EVAL for their AI system? How many people here think their eval is good? Yeah, I see one hand in the back. And for that for that gentleman in the back, I can't wait to chat afterward. I want to hear about your eval because like find me. Let's chat. I want to know. I collect evals. That's kind of Some people collect stamps or coins.
I collect evals. Um I I also collect 3,000word prompts. Does anybody here have a 3,000word prompt for their AI system to try to get it to behave because they tried to do a 10,000word prompt and it wasn't behaving properly? So, they added 2,000 more words of rules. Yeah, I collect those as well. That's I have like a a board of all these things because it's they're fascinating. Uh it's like a sociology of how we're trying to get AI to behave.
I want us to do better. Um there's also, you know, there's an easy answer. I would say kind of honestly this is the answer I see for a lot of products that are offered on the market. Just use AI to build your eval. Um first of all, building evals is really hard. And if you're giving one little prompt and saying AI, generate me a bunch of evals. There's this information theoretic or just kind of information kind of limitation here.
You've given this tiny prompt that is wildly underspecified. You're asking an AI system to inflate this into a bunch of examples that may not follow your intention. What do you think is going to happen? That's just it's nonsense. Um building evals is really hard and really painstaking. I wish I had an answer for you and you know the magic button you could push to make this easy. I don't. The answer is you're going to have to work hard.
But um you know but we also have some products and some systems that are based on the research we've been doing to try to make this as easy as possible. Okay, next part. How do I know my AI system is actually doing that? Okay, run just run your eval. You built a great eval, right? We have one person here who's very proud of their eval. You in the back like you're thrilled about your eval. Um just run it right for everybody else.
You don't even have an eval to run. At least not one that you're super proud of. Um and our answer is actually use our products. Use agent bricks. Use agent eval. use labeling sessions. And it's not to say we have magic products. What this is is we as a research team have hung out with a lot of folks in this audience and a lot of folks outside of this audience over the past year and we have painstakingly helped you manually build evals and we found patterns and we've turned them into a product or a family of products.
And if you want um I believe it's in room 208, right? Next one's in 208. Um we're going to double check, but I believe we're giving a talk literally right after this session on building EVELs. Um because you know now that we've gotten you excited about all the cool stuff you can do customizing an AI system. Now we have to make you eat your vegetables and actually go and build some evals first. 211. Okay. 211. Right after this room 211 you're welcome to just come be my groupy for the day and hang out with me and you can hear a bunch about evals.
Okay. System building. How do I get an AI system that meets the specification? Well, just get those 10,000 fine-tuning examples already, right? Just go label 10,000 examples. Do some prompt engineering. Um the reality is this is expensive and timeconuming and honestly what I've seen for many of you is some of the hardest parts are the people who would give you those labels are in a completely different division of your company than you.
You're on the data science team or the machine learning team and your data labelers are on the underwriting team or the you know the banking team or what whatever it happens to be in your industry the health team or the medical team. Good luck convincing your VP to talk to their VP to get their time and to get them to do 10,000 examples. Oh, I just need I just need a little bit of time. I just need 3,000 hours from my underwriting team or my medical.
Yeah, good luck. Um, and then you know the answer lately has been used verifiable rewards and reinforcement learning. How many of you like you've seen RLVR, you've seen this work really well on math. How many of you are doing math as your task? Anybody? I I've heard it's very important because I've seen it show up a lot in the leaderboards these days. Are people solving math olympiad problems? Anybody doing that? Yeah, exactly.
This is kind of the how many people are doing coding for like their customers are doing coding. Yeah, this is the problem. We have these great models that work on two tasks with reinforcement learning, coding and math. Um, everybody here is working on tasks that are not strictly verifiable. They're not as cleancut as this. Um, so we just have to kind of hope that doing reasoning on these tasks will generalize to everything else.
Um, and we can keep our fingers crossed or we can do science. And the last bit is like, you know, how do I build it using what I have? Well, you know, the easy answer is we'll just have better data. Gosh, your data is not good enough. Shame on you. Um, and the answer is really this talk. We've tried to work around what people really have in practice. Um, and the answer is really use our products because like Agent Bricks, if you go and use the Agent Bricks product, it is the epitome of all of the lessons we have learned hanging out with customers and trying to solve problems ourselves.
We've seen it work enough times when we've done it manually that we've tried to just turn it into a product flow that everybody can use. If you really run into trouble there, that's where you can call me because we want to hang out with more customers and learn more lessons so that we can build better versions of the products. Um, so just to give you a quick summary of this presentation, you know, now that I've ranted at you and given you some legit technical details, um, you know, we've introduced Tao.
It's a new LM fine-tuning method developed here at Data Bricks. Um, what's special? Fine-tuning without labels. It's it's built around the data you might actually have a chance of having, not the data that you wish you had or that, you know, I can shame you into saying you should have had. um how it's a combination of test time compute and reinforcement learning and our reward model and just a lot of really careful work to try to get the details to fit together into something that both is general enough that it'll work with a lot of different kinds of data that you might have and specific enough that it'll actually work consistently a lot of the time.
I won't promise it'll work 100% of the time. That's never say that in machine learning. Um but it seems to work pretty well and you can get it in agent bricks today. Um that it's now available. So with that, thank you. Um it looks like we have four minutes and 30 seconds for some questions and then you know you can follow us to the next talk.
Learn more about the Databricks Data and AI platform.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.