[00:00] Okay, up next we have Lynn, a close friend and collaborator of Brendan's. [00:04] Lynn, actually show of hands, who here does post-training? [00:10] Okay, good amount of the room. And who here uses fireworks? [00:13] Okay, good amount of the room too. So Lynn, you have some friendlies in the audience. [00:17] And so for this next talk, what we're going to do is we're going to focus [00:21] on post-training. Lynn, similar setup to Brendan's talk, we're going to do 15 [00:27] minutes on how to approach the problem of post-training and then 15 minutes or so [00:32] for Q&A. And Lynn, really delighted to have you here. [00:36] Thank you for joining us. Thanks for having me. Hi everyone, good [00:39] morning. I'm Lynn, I'm CEO, co-founder of Fireworks. [00:42] So as we bring up the slide, today I'm going to [00:47] do a little bit deep dive on post-training and why post-training [00:50] could be very relevant to you building your own business. [00:53] So first of all, a little bit like prior, I think [00:57] this year we have seen, so first of all, I'm on Fireworks where the [01:01] specialized intelligent platform, there are tons and tons of applications built on [01:05] top of us, all the way from startups to digital [01:08] native enterprises. So we get the fun part of my job is [01:12] we get to see a lot of patterns. What are the innovation people are [01:16] building on top of us? And how they are, what are challenges [01:21] they're facing and what a trend people being [01:25] developers are building on top of us. So one of the things, especially in the [01:30] past one year, software development and application [01:33] development has been somewhat disrupted because it grows [01:37] far in the past, you have great idea, we want to [01:42] implement it scaling production, it requires a team of tens of very [01:46] strong product engineers, PMs working together, [01:49] multiple quarters to deliver that and right now with one person [01:53] a few weeks without understanding how to [01:56] write a single line of code, you can do that. So that collapsing [02:00] of resource required both in terms of timeline [02:03] and deep expertise is shifting how competitive the application space is [02:10] and it's shifting people from thinking about building on top of [02:14] off the shelf black box API to build a much deeper mode [02:19] so that they can build a much doable business. [02:23] As also you have seen a lot of discussion especially in the past one week [02:27] between open model and the closed model and [02:30] all the rallying and support across the open model. [02:34] The depth of that alliance is because we believe, I mean the [02:41] industry, it's much deeper because look at the whole entire industry [02:45] there are so many companies, there are so many companies all of you [02:48] are building your own company, every single company exists for a [02:52] reason because they focus on solving a unique [02:56] problem in a special way and that means they carry [03:01] their own judgment, taste and determination, conviction [03:05] into that product and that's why a company exists. [03:09] Today if you build on top of off the shelf API [03:12] then you really need to think about how you keep [03:16] that special taste judgment and unique part forward and we believe [03:22] one approach for every company to build a doable business [03:27] is to actually bake your judgment taste and customer deep understanding [03:32] into the intelligence you build on top of instead of just [03:35] an off the shelf API. So that's kind of a little bit context of [03:40] what's happening in the industry, what we're seeing [03:43] and why post-training could be very relevant to you. [03:52] Okay so you've probably heard a lot about [03:55] on your own intelligence not rent and what does on your own intelligence [04:00] mean? It actually means many things. So first of all [04:03] it starts from data. Intelligence is derivative of data [04:09] and obviously the the frontier labs the all the foundation model we're using [04:16] are building on top of the public data and the label data that [04:22] has solved common tasks but all of you are solving a specific task. [04:27] That's why you are building a business, you are building a company [04:31] and be able to curate production data with high quality and even generating [04:37] that data to enrich your production data is one step [04:41] of owning your own intelligence and then after you have data [04:46] you will start to kind of use that data turn into a model [04:49] build on top of existing model and own the weights [04:52] and there are a collection of techniques you can use to get there. [04:57] Those techniques are tailored to solve different kind of problem [05:00] you could possibly have and those techniques can also inter [05:04] operate with each other for you to build a mutual final goal [05:08] and then after you have a great model belong to yourself [05:11] solving your specific problem really well and then you need to work on [05:14] serving it. You probably first will do some A-B testing [05:18] to make sure it really moves the needle for your [05:21] product metrics and then goes back in this group. Obviously I don't think [05:30] you should jump into post-training right away [05:33] and there are different phases you will go into. [05:37] First prompt everyone start from prompt use a model as is [05:42] it's few shots if quickly you can use that to test your ideas [05:46] and then you use RAG to ground the usage of AI into your own data [05:52] and you can start to do a lot of context engineering from there. [05:56] Those are from minutes of interaction to hours of interaction [06:00] and then you first progress into hey I have some data [06:03] I want to see how my data is going to reflect and make [06:06] a model work better with my product so you will start to do [06:10] supervised fine-tuning that will take you a few hours [06:13] to hey the the model I want to reflect in personalized taste [06:20] it is it is very unique choice of my products [06:24] so therefore you want to start to use [06:27] preferences information where you collect from user interaction [06:31] and whether thumbs up thumbs down a lot of those kind of information [06:36] and help the model learn your product taste [06:40] and and finally you want to build a model towards [06:44] understand carrying your expertise in that domain [06:47] whether that expertise is across legal finance, health care, customer support, [06:54] recruiting, marketing, sales, you name it. [06:57] Even in one industry vertical there are so many subdomains [07:01] so all of that is unique and special towards the product you're building [07:06] so usually you probably heard a lot of reinforcement learning [07:10] and that is tool to attribute towards a specialty [07:14] so this progression is very similar to how we human beings [07:18] learn knowledge over time. For example [07:22] we actually learn a lot of knowledge by reading [07:26] reading literature right in the literature we will say hey what is [07:29] correct was it not correct so this is very similar to supervised [07:33] fine-tuning and as we grow we develop our own taste and judgment [07:38] of how we want to conduct the specific way [07:42] of we want to approach a problem and that is preference or DPO [07:47] and over a course of time we learn to be [07:50] doing a really good job at certain area whether [07:53] hey I want to be accounting accountant and I really know how to kind of [07:59] build into the financial financial data or I want to be [08:03] a specific set of I want to be a dentist and you learn the details of how [08:07] to operate with dentistry so all this is very [08:11] similar exactly to how we human being acquired [08:14] knowledges so and also very interesting different [08:20] techniques are there to solve different kind of problems [08:24] for example if the model doesn't know the fact and the fact actually is very [08:30] dynamic the facts of your data is in your [08:34] product is very dynamic and then typically you use rack to [08:36] solve that problem however if your model output or the [08:42] behavior or or the structure is off [08:47] then you you give you carry out data and do supervised fine-tuning to correct [08:52] that if your model's answer the quality [08:57] is is personal or kind of is specific to the taste of your product [09:03] and then you use preference and tuning all the model [09:07] is quite weak on the special problem you are trying to solve [09:12] then you use rl uh reinforcement learning [09:15] and the end result of the model is too slow [09:19] or too expensive to for you to serve in production [09:22] and then you use distillation to um go um let the teacher teach the student [09:28] much smaller student model so it can be much more performed or [09:32] economical obviously distillation also means [09:35] different things for lm vlm or image generation models if you are [09:40] interested we can talk more about that so there are many different ways um [09:47] teams start to hey i want to kind of try those technology [09:51] and um and they may not be happy um of the experience because they can [09:57] burn money um and the time but may not reach their [10:01] ideal results so so here are the areas that you can possibly [10:05] feel frustrated for example when it comes to data and data is the [10:10] essence of tuning it the quantity is not the most [10:15] important actual quality is the most important [10:17] but sometimes just by throwing tons and tons of data [10:21] into a training process may not lead into a great outcome [10:25] so you really need to control the data quality and [10:28] have and usually who is the best judge of data quality [10:31] is actually your product team um so that's where we see the convergence [10:35] of before jenny i product team and the research email team they're separate [10:41] organizations the separate team and they work hand in hand to make [10:45] things happen and a lot of time these days [10:47] when people post train jenny i models we see kind of the convergence of the [10:54] product team need to make judgment call of data quality and start to be deeply [10:58] involved in the process so they can ensure the best result [11:02] um and the second is you're gonna have evals [11:06] um i know all of you are very busy and part into launch quickly [11:11] and a lot of evals is a vibe evaling and the founders really look at the [11:16] result and feel hey this is right or not actually [11:19] this is judgment is you put your judgment of uh of any [11:24] result and decide whether it's good or not and that judgment you convert into [11:29] systemic evolution so this is no different from [11:32] traditional software development where you have your unit test the integration [11:36] test to ensure quality similarly if you want to if you think [11:40] about doing post training and then have a way to build the evil [11:43] and the beauty and judgment into a repeatable process extremely important [11:48] uh and then there could be when you do rl there could be [11:51] sloppy rl environment uh where you build the simulation [11:55] and the simulation is not really reflecting the reality [11:59] and then the model can heal climb on the on the kind of the [12:03] bad um simulation and i mean it was also could possibly do reward hacking [12:09] um and all kind of weird stuff so a fun story about reward hacking is [12:14] um we have been asking a model to uh to generate [12:18] to do this is a coding example uh to create [12:22] to to generate code that minimize uh the the arrow compilation arrow okay so [12:28] guess what the model did the model generate zero line of code [12:33] okay there's no compilation arrow but that's absolutely not what you want [12:36] so this is kind of one example of reward hacking it's very common [12:39] because model is very smart it will try all different way to [12:43] uh to get your goal but it may not be what you want [12:47] so pay attention to all these details and uh and try [12:50] not to let the model outsmart you um obviously [12:55] between um your experimentation so think about [12:58] um your development process as hey you're actually doing a lot of experimentation [13:03] from training the model to uh training model is not the end [13:07] of of your experiment the judge is the final judge [13:10] is whether product mattress is moving or not [13:14] so you need to bring the final model into into sovereignty and do A-B testing [13:18] um and that transition is extremely important because [13:22] um the quality can drop if you move from one training stack to a serving stack [13:27] without aligning these two because think about the model is tons and [13:33] tons of calculation math and the mattress [13:37] multiplication um and the way to do magic [13:40] matrix multiplication and calculation if you use different library different [13:44] numerics and different optimization it will [13:48] lead different results and therefore the the end result of a training may not be [13:53] replicated or even you lose precision during serving [13:57] so that alignment is very important i can give you more examples of that [14:02] and there are a few other challenges you were running to [14:05] and happy to talk with you more about in details [14:09] offline so there have been many pioneers [14:14] we worked with post-training i would say cursor is one of the few [14:20] they have started uh onboarding getting onto this train [14:23] from the beginning of last year there are multiple reasons one is they really [14:28] want to control their destiny of the supply of the model and obviously [14:33] they have a lot of they have a lot of user engagement they understand [14:38] how what is your customer preferences a lot of data [14:42] so that becomes the beginning of their journey [14:44] and they do pretty deep mid-training to post-training [14:48] and you have heard them announce continuously [14:51] newer models every few months and and the result is great their [14:57] inspiration is to compete at the frontier quality [15:01] variable aspiration and they're getting there [15:04] so a very impressive result from composer 2 composer 2.5 [15:09] on par with they always trying to be on par or beat [15:14] the frontier labs quality at the same time [15:18] so they are kind of one of the examples a very vibrant example [15:22] is completely doable as long as you stay focused and have the right tool [15:27] and cursor build on top of us there's another [15:30] there are a huge variety of examples from healthcare for example [15:36] doximity is one example where they do clinic AI where they basically let [15:42] doctors ask deep medical questions matching symptoms to [15:47] medication and side effects and have well-rounded deep [15:51] research around everything in medical space [15:55] they actually also train on fireworks and they top a very important [16:00] benchmark which is stand for harbor clinic safety benchmark [16:04] and we're very proud of that result and they keep working on this training [16:10] loop factory that's another secret company [16:15] they build on top of fireworks and especially focus on security [16:19] part of the coding and that is a very hard topic because security is [16:23] not high tolerance you need to get it right [16:27] they tune a model that also top the kind of benchmarking security [16:33] area so you can see all this example is the [16:36] demonstration they solve all the companies are solving a very [16:39] unique problem in a special way and they have [16:43] been able to kind of build their own intelligence use their own data [16:47] by building on top of open model and those are the details obviously as you [16:54] know last year 2025 is the year of coding [16:57] their fireworks we support all the coding companies [17:00] build on top of us a lot of success in mid-train to post-train [17:06] very strong models as you can see those benchmarks are very impressive [17:11] and all these coding companies are aspired to [17:14] get on par or beat frontier labs in the coding space [17:18] but it's not coding and we start this is the year [17:22] we start to see very interesting development in [17:25] all different kind of co-work space from general purpose co-work to [17:29] special I don't miss specific co-work as I mentioned [17:33] there are like legal finance marketing recruiting sales customer [17:39] support co-work space they are all starting to [17:42] post-train and own their own intelligence power their product [17:47] here JenSpark is one of the generic co-work [17:53] application and they build deep research for professionals and [17:57] slide generation as you see this they compete with a frontier model [18:04] and it's really slightly better but the cost is [18:07] significantly lower so here we're talking about five to ten [18:11] ten times cost reduction so as a startup you can once you hit a [18:16] problem like if it you can scale quickly into a doable [18:20] business and Heidi is another healthcare example [18:24] and healthcare data or use cases now were captured [18:28] in frontier labs model so you can see the quality of tuned [18:34] model is significant better than this state of art closed model [18:41] well we have many different type of developers [18:45] built on top of fireworks to do post-training so what are these types [18:50] so we have seen many frontier agent builder [18:54] so frontier agent builder they usually build bespoke customized [18:59] harness they don't use common harnesses and [19:03] to co-optimize their harness with their systems and all different kind of [19:08] tools they want to build on top of oftentimes [19:12] requires post-training so we have we have seen a lot of [19:16] repeatable success doing that and obviously we have seen a lot of big [19:22] companies do post-training because interestingly [19:26] those incumbents have a huge amount of traffic [19:29] for them to deploy AI features across the board [19:32] to all the all their customers it's a huge cost [19:37] burden huge cost burden so if we say we we need to be careful not scale into [19:43] bankruptcy it's not just for startups it's actually [19:47] for incumbents they literally their CFO is blocking [19:50] on their AI feature launch because of the cost [19:53] and post-training is way to remediate that and we have seen a lot of [19:58] specialized model operator those could be [20:02] new labs and a lot of kind of cutting edge [20:07] model developers also do significant post-training [20:13] so this quote we have heard repeatedly that [20:17] after partner market fit post-training becomes the vehicle [20:22] for many many companies to be specialized intelligent we do believe [20:25] we do see the trend that in the future there could be millions [20:29] of specialized models one propagation per use case [20:33] it will be millions that's how i believe in that [20:40] and obviously there we have seen kind of different way to convert [20:46] the data into into model and the the signal from the reward and how [20:52] to build those reward function is very important [20:57] part of the story so our observation is you know start early [21:04] start early and start to do experimentation [21:08] a lot more iteratively and get hands-on experience [21:13] and we have seen people on board so quickly [21:17] there's actually not deep barrier as many people [21:20] feel because this this whole reward engineering is very similar to software [21:25] engineering the the logical reasoning in the [21:28] mindset is very very similar so um so yeah so [21:34] get your hands dirty and and start to kind of test it out [21:42] um i think yeah so those are the kind of key takeaways [21:48] um and i think we we we want to acknowledge [21:54] there are different specialties or different [21:59] knowledges you have right now in this space [22:03] for example we work with the companies like cursor and cognition [22:07] they have deep researchers they want to control every single knob [22:11] as much as possible to get extreme results [22:15] we give them the lowest api that means hey we just have rl rollout [22:22] that they can directly interact with and they fully control the trainer [22:27] that gives them the best result but many of the company [22:31] you have product engineers or machine learning engineers [22:35] you have good enough information and knowledge about post-training [22:40] you want to have some control but you do not want to have the lowest level [22:44] control so that's where we have our training [22:47] sdk um i do it very closely with all of you [22:52] to get to uh to get you going and uh we also um are happy to kind of [22:58] deploy our own researchers that's where we will see [23:02] how hands-on like training your team to to get on board so those are the [23:07] kind of different way we see different teams [23:10] want to engage and and get familiar with the whole entire process [23:15] cool uh i want to pause here and see if you have any questions [23:20] people are most most successful they have data and a reward signal already [23:25] maybe because of product but what are the best examples of [23:28] reward signals you've seen so um usually the rewards you can think [23:36] about rewards actually is code you write [23:39] rewards in code and usually think about the [23:42] rubrics of rewards um and think about uh you want to grade [23:48] the result in multiple dimensions uh for example if you are building a [23:54] recruiting agent and then you can think about hey [23:58] how do we evaluate candidate selection um and different [24:02] company i guarantee you you have different [24:04] criteria uh for example we want to grade a candidate [24:10] aptitude are they really hungry they do not take no answer they they will [24:15] break down walls and that's one matrix the second is [24:18] they're really fast in kind of um building things [24:23] and making progress and so on so then you have a blend of [24:27] score to blend uh to merge these so so think about [24:30] reward in different dimensions of rubrics and then different company have a [24:35] different way to blend those and that's that's your um unique part [24:39] and secret sauce oh sorry uh great talk lane uh ras from [24:47] croissant i'm curious uh about i think you mentioned what are the [24:51] pitfalls of starting too early but based on what [24:54] you're seeing from crystal or cell cognition or other companies [24:58] when do they actually start thinking about post-training is it [25:02] when they feel ready is it when the cost is now too much [25:05] because the benchmarks where they're beating it that's a great signal that [25:10] yes you can uh you know beat the frontier models but [25:15] is that the primary motivator like that is that two percent bump [25:18] worth the cost or investment into this whole framework [25:22] and and how do they think about roi you know close models [25:25] are more expensive but then post-training has some [25:29] intercept of you know money and investment and maintenance going [25:32] forward so i'm curious of like are they approaching [25:35] when cost becomes a concern or is it when the user is spiking up and [25:39] they really have to now plan for a year or two in advance yeah this is [25:43] this is an excellent question uh so usually [25:46] so think about um in the ai building product market fit [25:51] and the scaling the business as actually two phases [25:54] and in the first time it's one concept you hit the product market just [25:58] scale a neural gas scale as much as possible [26:01] um but now we see uh bifurcation part of market fit doesn't really mean you [26:06] have a doable scalable business and typically we see uh companies [26:12] deploy the strategy of focus on part of market fit first [26:15] by building on top of um you know uh front and lapse model because you're [26:20] doing to worry about anything so just kind of spend your money and [26:23] hit the product market fit uh and the other very important thing is [26:27] only after you hit the product market fit the data you collect from part of [26:30] surface area are really meaningful and you will get [26:34] also the volume of high quality data start to collect from [26:38] product surface area that became the fuel of [26:42] you start to own your intelligence so we um [26:45] we see like that as kind of the very strong indication [26:49] because once you hit a part of my faith you really think about start [26:52] start to scale a business you think about two things [26:55] one is continue to keep your competitive edge [26:59] two is build a build doable business so your [27:03] your revenue and your cost are you know in a healthy state [27:09] so then post-training becomes a very appealing [27:14] solution because post-training allowed you to [27:18] basically encode codify your unique taste into into a model that no [27:25] one can steal from because it's very easy to [27:29] clone and copy application as is as i as you all know right from coding [27:34] agent is very easy so from screenshot boom generate the [27:38] same or even better app so that's very scary that application [27:42] itself is kind of the a mode is is being [27:46] reduced um and you bake your data uh where's reflecting the product [27:52] engagement and all the deep knowledge into your model [27:55] is a way to preserve that and second is you can [27:58] post-training a model that bring down the cost five to ten [28:02] ten times and and then that means you can support [28:05] five to ten times much higher traffic with the same budget [28:09] and your unique of economics of scaling is so much better [28:13] than you avoid scaling into bank policy so we see kind of those ads as too [28:18] compelling story behind the reason and timing [28:22] thank you lind