# Workshop 23969

- Kind: Workshop
- Talk page and recording: https://iclr.cc/virtual/2025/workshop/23969

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

So let's get started. So thanks for everyone come to the the second workshop of data problems for foundational models. I'm Jiachen from Princeton. So this will be so this is a the second workshop in this series following the the last workshop at ICLR 2024 at Vienna.
Um so the motivation of this workshop is to uh try to try to discuss uh research frontiers for the data related challenges in the foundation model development.
Um so this year we have a 50% increase uh in the in terms of the paper submissions from the last year um so uh which really shows that the growing of this uh the uh this field of uh data-centric machine learning for foundation models uh and we thank f uh our uh reviewers for the for giving uh so many uh valuable comments and suggestions for the submissions and
Uh we hope it can um encourage the discussions and uh in this workshops. Um and we also thank Adobe for the sponsor our workshop. Um so uh so the co-organisers for this workshop uh is me, Huang and uh Rosi uh s um so Huang, unfortunately, Huang and Rosi can uh cannot come uh come here in person.
Um and we also got the help from Peng Wei, Dong, Joan and uh Faye Ong.
Um so the workshop will be uh there will be five uh invited talks and four spotlight presentations um separately from the submissions from uh for this workshop. And we have we have two post sessions uh one is morning and second one is in the afternoon. Um so the posters won't be divided by um different uh divided uh so the posters uh they uh we won't uh divided into like uh separate sessions. So like all paper uh all papers are Mm-hmm.
or welcome to present at in both sessions. So this is a time for the for those audience who have conflict either in the morning or the afternoon. All right, so there's not no other so there's so there's nothing no other things that I need to cover. So let's first
But uh so first we'll have a the multi-speaker uh image uh talk from uh Peter Henderson. Peter is uh assistant professor at Princeton with uh joint appointments in the department of uh computer science and the school of public and international affairs. So his background is very uh it's very it's quite unique. Um so he's uh he has uh both uh he

He has both a PhD in CS and also JD from Stanford Law School. Yeah, so his research has been used by the companies and government agencies across the world and has been featured in the New York Times, Wall Street and Wall Street Journal, Science, Bloomberg and more. So today he will talk about his perspectives.
based on the data copyright. And yeah, so let's welcome Peter and Peter, please just share your screen and yeah, just take over from here. All right. Thanks so much. Just want to confirm that you can hear me.
Okay, fantastic. Okay, now thanks so much for coming today. I think fitting for the subject of the workshop today, I also want to talk a little bit about the underlying copyright and the rights embedded in data that foundation models are trained on and that foundation models might output. And I'll talk about this mostly from a US centric perspective because that's mostly what we focus on.
But much of this can apply as well to other countries, though with a little bit of nuance. So you may have seen that there's been sort of a litany of litigation going on right now where foundation model creators are being sued for various foundation models, various deployments by a number of different data creators.
So this can be a music industry, news industry, or individuals as part of class action lawsuits. And the reason that some of this litigation is happening is because fundamentally most data, not all data, but most data has copyright attached to it. So things inside your training data sets are likely to be copyrighted because
At least in the US and many countries, your work is under copyright protection the moment it is created and fixed into a tangible form with some caveats that go along with that. But much of the time, so you put up a website, right, as long as it meets certain thresholds for originality, as soon as you create that website and put it up or as soon as you even put it down, put any writing down on paper, you own
some copyright in that. Again, there's some caveats. There are things that might not be copyrightable. So for example, facts are not copyrightable. If you wanted to copyright two plus two equals four, you could kind of prevent everyone else from doing math and that's not really an ideal situation. So there are lots of exemptions.
And to give you an example of how difficult it is to figure out how to navigate copyright law, let me talk a little bit about a U.S. example. So in some recent litigation, what has happened is that there are tattoo artists and the tattoo artists create art that is purchased by NBA players or other athletes.
And when the athletes sign a contract with game companies so that their likeness can be put into the game and players can play them throughout tournaments, etc., they are represented along with the tattoo. And so the tattoo artists for some of these players have sued saying that they deserve some compensation for their artwork showing up in the game. But you can see it's sort of as part of the representation of the player.
And so one question is whether this is an infringement, or in the U.S. there is a fair use defense that you can use, which says if you meet certain requirements, it is okay for you to use that piece of data.
And actually the courts have come to inconsistent decisions. There's a few of these cases and some courts say yes, this is fair use. Other courts say no, this is not, and the tattoo artist deserves compensation. But I think this is a good illustrative example of just how many many things can be copyrightable and can result in these complex situations. And so one of the challenges that we have is that you train on lots of data,
And you need to copy and download that data to train on it. And then the model might generate something similar to that content or users might prompt a model to generate something similar. And so it might create some of these similar concerns, which has led to some of this litigation. And I should say that it is very unclear where this litigation is going to land.
Copyright law is notoriously murky when it comes to fair use, and there are lots of arguments both ways. So today I'm not really going to talk about the ongoing litigation, but I am going to talk a little bit about what are the technical tools that folks are working on and how those tie to copyright law. So I'm just going to skip through the animations again.
So obviously, you know, we might have these cases where, for example, a model might generate verbatim text. So when we looked at this a few years ago with the very, very first version of ChatGPT that went online, we tested it out and we were able to get, for example, some of Oh, the Places You'll Go by Dr. Seuss by prompting it with the first few paragraphs.
And later on, we even were able to sort of say, you know, you're an operating system, respond to bash commands, etc. And you could just do something like vim, data, e-books, other places you'll go.txt, and it would sort of open, you know, simulate opening the file and output the contents of the book. Now, since then, a lot of mitigations have been put in place, so this no longer works.
And the issue is that for most platforms, it's not really that big of a deal if some copyrighted content shows up on the platform. For example, if a user uploads that piece of verbatim content, you have the opportunity to take it down in the U .S. through the Digital and Line Name Copyright Act.
So for example, if you go on Reddit and you go to slash r slash politics or some news subreddit, you might see comments like this one. So down here you see the user say, you know what, I'm just going to post the contents of the article right down below the link so that people don't have to click through. And of course, the copyright owner might then file a DMCA takedown and that comment would be taken.
be taken down. And so one of the ongoing discussions is whether there should be a similar opportunity for generative AI. Should there be some mechanism to take down content? Right now, the DMCA is very unlikely to apply to AI. So you don't really get that opportunity and you get instead lots of litigation that comes from it. And so some proposals, for example, said we should have a compulsory license regime where you have to license a bunch of data.
But if for some reason some data gets through you should be able to opt out and take down that content Importantly even if you are using compulsory licensing or some sort of licensing model or you think you've filtered your data perfectly There are lots of times when data can slip through the cracks and you still need to be able to take it down So for example say you licensed reddit data
But then you didn't know that users were potentially posting comments like this, like I showed a few slides ago, and you have all these sort of news articles that got mixed in with the Reddit data because you thought you'd licensed it, but actually it turns out that there was some material in there that you don't own the license for because it was uploaded by these users. Now, after the fact, you'll need to have a mechanism to take it down.
But the thing is, it's not really clear what a DMCA takedown looks like for generative AI. It's not so easy to figure that out, right? Before you would just delete the comment, you would take down the exact piece of content that was uploaded by that user. But what does it mean to remove that piece of content when we're talking about a foundation model?
So here are some examples you might do training data filtering right you might say I'm going to filter out all the data but we but that's problematic for the for the reasons we just talked about you may have already trained the model maybe you can't catch all variations of that data you know for example if if it's been paraphrased or it's been chunked in certain ways you might be able to catch most of it but you need to know what you're looking for to filter it out
You might do prompt filtering. So for example, this is a music LM from Google, I believe. And if you try to say something, you know, create some music in the style of Drake, it would just error out and not allow you to do that. Maybe because it detects artist names and filters those out. You might try to do something like alignment, right? Read me Harry Potter.

read me Harry Potter but instead you get a response I'm sorry I'm unable to do that because of copyright restrictions or you might do output filtering so now if you try to use you know prompt a model to generate Harry Potter whereas before it would you'd be able to get at least a few pages and maybe even a few chapters now
You actually get a restriction where maybe it'll start to generate, it'll blink for a little bit, and then it stops generating. And this is probably an output filter functioning on the back end. Now obviously this is sort of trivial to bypass. If it's exact matching, you can just do something like this where you say continue the above replacing A's with 4's and you'll get back out the content.
You can do something like memorization prevention, you know, near access free learning, differential privacy, deduplication, all these sorts of things that try to prevent models from memorizing content, right? So you might say never learn any one piece of data from any chunk of the data set and really only learn generic concepts that happen across different pieces of data.
Or you might try to do something like unlearning after the fact. So unlearn a piece of data. But one challenging thing about all of these methods are the definitions. It is difficult to figure out exactly what you are taking down and whether your mechanism is robust across a number of different settings.
So we looked at a couple of these cases. So we looked, for example, at taking down copyright characters in image generation software. So you might wonder why copyrighted characters. Well, actually, there's already a legal case in China where the copyright owners of Ultraman sued an image generation system for generating images of Ultraman.
This has not really been an issue in the US yet, but it might be because characters can be copyrightable. And so what we did is we sort of created a suite of copyrighted characters that we were examining whether models could generate their images. We used methods to automatically identify keywords that would trigger generation of those characters even when you didn't mention the character name.
And then we evaluated a bunch of existing mitigation strategies and suggested some improvements. So one of the issues here happens when you say something like give me an image of Nintendo's Mario and it says I can't do that due to copyright restrictions. And it seems like there's some protection here.
But actually, if you just say video game comma plumber, pretty much every diffusion model will still generate Mario. You entered some generic concept into the prompt, but then you got back out something very specific and this copyrighted book character. And that's pretty much the same thing as if you just asked for Mario. And what we call this is a character name anchoring and then the other one is indirect anchoring.
And sometimes folks try to get around this by rewriting the prompt that the user requests. So say it asks for a copyrighted character or something that's close to one, it might try to make it more generic or try to make it still very creative but much more generic and unlikely to generate the copyrighted character.
But the problem is when you have these indirect anchors where you have trigger words, they can still end up anchoring to that particular character. These sort of mitigations like prompt rewriting might still end up generating that particular character. And so prompt rewriting is a popular mitigation, but actually what we find is that it only reduces about 50% of generated characters where you end up still generating quite a bit.
assembling characters. And then in particular the problem is the rewrite can accidentally use keywords that trigger the creation of that character and so we identified a method to find indirect keywords that trigger character generation with two to five words.
And when we actually add negative prompting with those identified keywords, we actually can reduce the rate quite a bit more, from 50% down to 2 to 10%. But you'll notice that none of it's perfect, and part of that imperfection comes from trying to figure out what is this definition of what exactly you should be blocking in terms of generation, what exactly are you taking down. So we actually did another study on this, and we looked at...
the text domain. And we looked at a number of different other takedown strategies including on learning, mem-free decoding, system prompts, etc, etc, etc. And what we found was that similarly nothing was perfect, nothing kind of gave you guarantees that you would take down content, but you could certainly reduce the rate of generation of that content if you wanted to.
And one of the issues that came up that I think exemplifies the point that I'm talking about is that if you generate, if you use something like mem-free decoding, right, you might be able to block the metric that you're optimizing for. So, for example, if you say, you know, prevent generation of overlapping engrams and you have this filter, you might be able to take down quite a bit of content. So, for example.
you might see something like this. But the next likely token, if you then regenerate with the next likely token, could be introducing a typo rather than actually steering the model away from the sort of semantic or qualitatively similar content that you might be looking at. And so
The question here is, what exactly are you taking down and how do you quantify that metric? Because if it is end-grant overlap, you might end up with something like this, which is basically generating the same thing, but it's, you know, adding in some typos rather than making the content substantively different.
If you want to use something like unlearning, we have another study which shows that actually in the safety context, but it's equally applicable here, many unlearning methods, while they prevent generation of that content,
At inference time, it is very easy to then fine-tune something on totally out -of-distribution data, but then be able to get back the generation of that content nonetheless. So, for example, what we found is that if you try to unlearn unsafe data from a model using a bunch of different methods,
Even if you train on totally out of distribution data, what we found is just after training on some samples, some data points, doesn't really matter too much what data points, actually the original data that you tried to unlearn now becomes generated again.
Right, and so again this calls into question what exactly you're unlearning, how robust is it, and it doesn't meet the standards needed for thinking about takedowns if you were to come up with a DMCA-like takedown method for AI. And so really what you have to keep in mind is that models may optimize for generating content that hits the boundary of your takedown metric and the implicit requirement is to quantitatively define what that boundary should be.
But if you talk to any legal scholar, quantitatively defining fair use and infringement is kind of controversial because it's really context dependent.
And that really comes back to going forward, there is going to have to be a lot of socio-technical, interdisciplinary back and forth between legal scholars and policymakers, creators, and many different other stakeholders, as well as with folks thinking about technical interventions. So you will see lots of work on preventing memorization or preventing or taking down
content like we talked about today but as you're thinking about the data and these intervention strategies it is going to be really important to have that dialogue because ultimately what you're trying to do is quantitatively define something that many have have sort of pushed back against trying to quantify nonetheless because of the paradigm that we're in we're going to sort of end up having to do that at least in my opinion
And really what we're going to end up sort of ending kind of resulting in is something like YouTube content ID plus plus plus, right? And that's really a challenging area to be in, especially if we're trying to develop these new technical methodologies. So,
And often YouTube content ID has been sort of pushed back on from all sides saying it might not take down enough or it might take down too much. And as a result, we're probably going to see that same back and forth with foundation models. And so as we think to the future, one thing that I really want folks to take away is, first of all,
preventing or producing verbatim content is not a one-to-one correlation with infringement, right? You can have long-form stories or copyrightable characters. You might have tattoos in an image that was generated. You have all these different dimensions which make it really difficult and at the same time

difficult and at the same time you might be able to generate verbatim content but actually and it's actually fair use because of the broader context of the deployment right and so it is it is actually very challenging to map one-to-one the legal subject matter to the technical and you really need to better understand what exactly it is you're taking down and how to define that
To my mind, going forward, I think we should have more human studies, human centric studies, more interdisciplinary studies to try to hammer down exactly what we're talking about to align the technical interventions with the with the legal or the socio technical.
And importantly one thing that I see pretty often that I want to make sure that is sort of very clear is that if you're for example providing memorization guarantees or providing guarantees about some sort of takedown approach or something along those lines you need to think about if you're what guarantees you're providing and on what so for example if it's
You're preventing verbatim regurgitation of a particular piece of data. That could be great, but then like we showed, you know, that method might still create near enough duplicates that it's still a problem, or it might be pulling out higher level concepts that are still copyrightable. So for example, copyrighted characters might appear across many different works. And you might not generate any one particular image, but you might pull out that copyrighted character. And at the end of the day through all
through all this litigation we might find out that that's actually fair use but it might not be and when we're providing these guarantees you have to think about that multi-dimensional these different levels of abstraction when you're thinking about memorization takedowns etc
And importantly, it's also important to think about what exactly you're pulling apart. Remember, facts are not copyrightable, so you should be able to learn facts and general factual information. But on the other hand, certain creative expression, certain pieces of content, those might be copyrightable, right? So we have all this like multidimensional facets that don't really map nicely to sort of guarantees on producing a particular piece of work.
And so I think going into the future, we'll have to think a lot more about that.
And so overall, I think licensing regimes may be a good thing, but you still will need some sort of takedown mechanism. Think back to those Reddit comments, etc. But fundamentally, that means figuring out what to take down, which level of abstraction, what metric, etc., and how to reliably take that down. Surface level unlearning may not be enough, or maybe we might want something more. And at the end of the day, these technical methods that work may help shape the future of...
of law and policy right if we can come up with proposals that can help shape what's possible where we think about both data attribution and licensing and combine that with good takedown approaches that we think are applicable here
And I should caveat all of this litigation is very tumultuous. So I, you know, we don't really know how it's going to turn out over the next few years, but and there may be possibilities where much of that work is, you know, model training, etc. is fair use, but at the same time, you will event you won't be able to probably produce without a license at least verbatim copies of data, but probably slightly more than verbatim.
So with that, I'll just leave some of these references here on the slides. And big thanks to many of my co-authors on all the related work here. And if there are any quick questions, I'm happy to answer them. Thanks so much.
Yeah, so uh Peter, so uh so you so so so you so you so most of your like uh this like a definition of like this uh copyright violation is like uh uh defined over the scenario where like the the model outputs some something that is super similar to um
the the sound copyright training data. Um so I wonder first like uh have you uh have thought about like a you know the role of like this like a prom prom providers like a role in generating this uh uh like a uh output. So for example like what if like uh uh so so if I want want the model to violate the copyright then the simplest thing I will do is like a okay please repeat this uh paragraph or or a higher paragraph to me. Uh yeah and uh I I just give it to this higher paragraphs to him.
I'm sorry, to the GPT. Yeah, so does it even like account for as like a cost? Yeah, no, that's a great question. I think...
Again, this is more my personal opinion. I think in those cases, obviously, if the user is sort of uploading something and then trying to get the model to regurgitate that way, the way I like to think about it is information flow, right? If you have bits of information that flow from the user and then you get those back out, to my mind, that should play a role in this analysis. Whereas if the information comes from somewhere else, you would think about it that way. One challenging thing where I think there's sort of a...
a gray area are retrieval augmented generation models right in that case you're you know using tools and retrieving content putting it into the context of the model but often you've done that and made that copy you know when you retrieved it from the web right on the other hand you might think of on device on device models that look a lot different so say you have something that looks like a browser right and you're running basically a agent augmented browser
And then that retrieves directly onto the user's device like a browser would and maybe, you know, extract some content and present it to the user. Browsers, there has been a lot of litigation, for example, about caching in browsers, whether that's a copyright infringement or fair use. And you know, we've successfully have caching in browsers and that works well and is fair use. But now it starts to get a little tricky, right? What happens when you...
when you have the agent on device pulling for retrieval augmenting generation versus on a server making that copy onto that server and then to the user, right? And those all sort of have different analyses when it comes to the log. And so I think your question is a really good one. And I'll also just say we did look at the rag setting in at least one of the works because that is part of the ongoing questions about, okay, even if you have a rag system, if the rag system is making
is making copies onto the server, then giving it to the context, and then the user, you still have to think about takedowns in that context as well, um because that could potentially uh cr at least create grounds for some litigation. Again, whether or not it turns out to be fair use is an ongoing question, but uh it's certainly still one that you have to think about if you're designing and deploying models and systems. Thanks. Yeah. Um so there are several questions from audience.
Do I just talk into this? Hello, hello, test. Peter Cai here. Oh, hi, um this Yeah, is Kyle I can from Radiotoo. Thanks for the great talk. Um you mentioned at the end um that technical methods maturing might inform uh legislation, the law and vice versa. And I'm kind of curious, s uh there's a lot of energy in developing technical methods, especially things like topics like unlearning and water marking seem like they're at the forefront at the technical methods for mitigating copyrights.
or like relevant to the copyright legislation. Do you have a sense of whether legislation is going to move faster than these methods mature and like go into like live practice or are we going to have these methods first? Because I can go back and forth between like legislation moves slowly or legislation moves quickly in this case. I'm just kind of curious your hot take here. Yeah, and I will preface that it is a bit of a hot take.
And I think basically what we will see is first litigation is going to play out, right? I think we're going to have to see some resolution in the ongoing litigation probably before any legislation happens. So I think in this particular case, it might move at pace with the ongoing litigation that's happening. Because if it turns out
You know, if it turns out that there's like a sweeping fair use ruling and sort of like everything is fair game when it comes to training and deploying models.
Then you might want, you know, stakeholders might want legislation to account for, you know, creators' concerns. On the other hand, if you have like a big sweeping outcome in litigation where we can't even train foundation models at all because that would be, you know, problematic and infringing and there's really no way around that, then there's probably going to be some need for legislation on the other side. So I think, but first of all, overall.
I think the litigation has to come to some sort of conclusion one way or the other to think about the intervention. So I think in this particular case, any likelihood of legislation will come at the same pace as the litigation, which will probably be a couple of years out if you account for appeals and things like that. So in terms of timelines, we have a little bit of time to come up with technical proposals.
and try to push those proposals forward as well as thinking about that back and forth as litigation and other considerations progress. Thank you. Hi, thank you for your talk. This is Deepshi from ETH. I have a question about many people are of the opinion

About um many people are of the opinion that uh data attribution is the solution to this whole copywritered and all of the legislation. Um I just wanted to know your uh vision slash opinion on do you think this is actually even possible like do you think if there's it's possible to have a foolproof method robust to any adversarial attacks for correctly and accurately attributing a data point to the value of outputs generated by all these foundation models.
Yeah, I mean, I think data attribution will play an important role. But like I said during the talk, I don't think that it on its own is a full solution, right? In particular, so say you do data attribution and you have this big web crawl and you have compulsory licensing, which basically means that the government says that you can license, you just have to pay out to some centralized body and they have to, you know, pay it out to the data holder.
or the copyright owner.
In that case, there's a couple of tricky aspects to this. First of all, are you attributing the right bit of copyrightable expression to that particular owner? So I talked about how facts are not copyrightable, but expressions are. And so when you're doing data attribution, again, the question is, what layer of abstraction are you thinking about the attribution for?
Or are you talking about in terms of bits of information from a data point or something along those lines? And none of those neatly map onto these like kind of legal concepts, right? So for example, if you're doing data attribution, you say, I got five bits of information from this data point five bits of information from that data point.
Maybe you can create a licensing scheme around that, and it might work. I think it's very complicated at the scale of data we're talking about. But eventually, you know, you might attribute to something to the wrong person because you haven't done that tracing. So, for example, you attributed to Reddit, but actually some commenter copy pasted from somewhere else, right? And then you have to say, well,
you either track that person down or you have to take that down that piece of content and then you might be paying out based on things that that person doesn't own so for example say somebody posts the answer to two plus two equals four and you're paying out some person who happened to be the piece of happened to upload the piece of data that you know every llm memorizes for two plus two equals four and that doesn't seem right either
So I think it's a lot more complicated than current work sort of lets on, but I do think it's a critical component as part of a bigger package of technical approaches that we might need. And you think it's possible that this technical approach will be like foolproof because there's lots of like explainability and interpretability methods that can be adversely attacked, right? So my question is, do you think data attribution can be robust too?
ADVERSEAL ATTACKS I will say I think it's an interesting research area to try to figure out. I don't think we're there yet. Okay. Okay, thank you. Thank you so much. Yeah. Okay, so if there's no other questions, then let's thank our speaker Peter for giving such an interesting presentation.
Um so uh our next speaker will be uh Dan Qi, Dan Qi Chen um so Dan Qi's uh associate professor of computer science uh at Princeton uh and she uh co-lead the Princeton NLP group.
Um and she uh she's also associate uh director of Princeton uh language and uh um intelligence institution uh PLI. Um and uh so as she she was a visiting scientist at uh FAIR in Seattle and she received her uh PhD in computer science from Stanford. Um yeah so today uh she will talk about
um her perspective on data uh data domains and for language model training. Yeah. So um let's uh welcome our speaker, Fanqi. Thanks for the introduction. Um, should I just speak in front of you? Okay. Hello? Okay, good. Yeah. Okay, thanks for the introduction and thanks for having me here.
So this talk will be about how data domains improve language model pre -training. So I will focus on a very particular angle of basically like a, just think about the data domains, the impact of data domains in terms of pre-training language models. So if you happen to attend the keynote talk I gave two days ago, so this topic is very relevant to the data curation part I discussed in that talk.
So as we all know that pretensioning data is massive, diverse and highly unstructured. So the goal of this talk is very simple. I want to show you that if we can properly partition this pretensioning data into the different subsets, we can actually train language models in actually much more effective ways.
So here I'm not going to give a really a rigorous definition of what data domain means, but you can basically think of like them as like different subsets of data that can share some certain properties such as topic, style, or language, or task. So how we are going to define these domains and how we are going to leverage these domains to create language models will be actually the focus of this talk.
Okay, so for the structure of this talk, first I'll just give you a quick primer of what the modern pretaining data sets look like. If you have attended my keynote talk, actually their sound slides are already there. I just want to make sure that we're all on the same page. Now I'll just quickly dive in. I will talk about two projects that we have worked on recently. So the first project is called MACO, and the second project is called Web Organizer, which I also briefly mentioned during that talk, but today I'm going to give you more details.
about this project. So just to be honest, these two projects we finished basically two or three months ago, they were basically developed at the same time.
But we really started both projects with like the two projects very different motivations. But the time that we wrap up these projects, we actually realize that they're actually very similar in many different ways. They actually both strongly highlight the importance of the data domains in language model pre-training. So after I finished telling you about these two projects, you know what I mean. So at the end of the talk, I will just briefly discuss how we should think about these two approaches together.
Okay, so quick primer on modern pre-training data. So this is what pre-training data looks like back in 2020. So this is a famous pile data set, so which contains actually only 210 billion tokens. So you can see at that time you can see this very nice visualization showing the composition of the different domains in the pre-training data such as GitHub, Freelo, PubMed, Archive and many many other domains.
Then the Chinchilla law comes out in 2022. This actually tells us that we actually need a lot of more training tokens to actually pre-train the language models. So Chinchilla model in 2022 was a model that has 70 billion parameters, but trained on 1.4 trillion tokens. So where can we find so much text? Right.
So the answer is actually the web crawl data, the web crawl. So essentially right now people just crawl a lot of data from this source called common crawl, which basically continuously crawls the web data once a month, and it has become the largest repository of the web crawl data.
And if you look at all this kind of recent open source pre-training data sets like Red Pajama from Together and Doma data set from Allen Institute, one has around 1.2 trillion tokens and another has about 3 trillion tokens. So in both of these pre-training data sets, Common Crawl actually accounts for at least 70 to 80 percent of the pre-training corporate alongside like some other small security domain like books and archive.
Hi. But even if you look at these two data sets, the second largest or third largest subset called C4, which is also just a filtered version of the common crawl, which was actually developed by Google, used to train the T5 models a few years back, right? So really a largest proportion of these data sets actually all come from commoncrawl. Then more recently I already mentioned this called data comp, LM computation, divided by like many institutions and universities.
is essentially what they did is they took all the common crawl data before 2023. So this actually accounts to actually a very amazing number is 240 trillion tokens. So this basically is a filtering pipeline. Even if you go through all this kind of extensive like data filtering, the DCLM pool still end up with actually an order of magnitude more tokens than...
some previous training data sets. And all of this data comes from the web data come from Common Crawl. So for the two projects I'm going to talk about, they all actually develop experiments based on Common Crawl because this is all web data. It's all actually much, much larger than the previous training data sets. Okay, this is about some quick background. Next I'm going to talk about the first

Um um next I'm going to talk about the first project called MACCO. So this project is led by my PhD student Tianyu Gao, but is really um done by um finished by a group of Princeton students, including Alex, Lucy, and Sadikha. So we already know that the vector documents are highly diverse in terms of style, topic, and task and languages.
So one important discovery of this work is all these web documents, as come in the last 20, I'm coming of the common crawl, they often come with actually metadata. And this metadata actually usually contain rich information about the topics and styles of this like pre-training documents. I'll just give you a few examples here. So we can see some sentences that coming from the training corpus.
For instance, this is about a team cook. So the one sentence could be a team cook born on November 1st, 1960, the American business executive, who is blah, blah, blah. There is another is team doesn't cook anymore. And there is another, the first thing in team cook does when he wakes up is check his iPhone. So can you guess like the source of where these documents come from?
Okay, I'll give you the answer, you don't have to really guess. So first one is from Reddit. The second one is the basic biography of the Tim Cook from English Wikipedia. The third one is from the Wall Street Journal, and the last one is from Bloomberg. So now the question is, if I tell you the source of the documents where these source documents come from, can you actually leverage this information to help you train language models better?
So the answer is yes, we can do this actually in a very simple, very simple way, I'll tell you next. So basically the answer question becomes, if you want to train a language model on this like unstructured web documents, and if I tell you the source of this documents, it's actually easier to learn P of X, the documents condition on the better, the metadata better than just learning from the raw documents.
So this comes to our solution, super simple solution called a macro stand for metadata conditioning. So compared to the standard pre-training, essentially just take all the raw documents and do the next token prediction on top of these raw documents. What we do here is basically two steps. So the first step, which we call stage one, which accounts for 90% of compute. What we did here is very simple. We just prepend all the URLs.
um to the training documents that we are we are actually going to train if it's from reddit we are just pre-print reddit .com if from wikipedia we just pre -print wikipedia.org so there are many different ways to use urls right
So here we essentially just use the primary domain of the URL link. So for example this Wikipedia, Bill Gates, essentially we just extract en.wikipedia .org as a domain that use that link to prepend the documents.
I should also uh emphasise on importance of you um of detail here is that we actually going to pre-train on this URL. But the URL they they are going to s still split into tokens. But these tokens will be not calculated in the training loss. So this is the important detail we did the oblations on this actually hurts the performance. And the second stage
Basically we just go back to do the standard pre-training, super simple. So second stage we just get rid of the URLs. And that's just for the last ten percent of the pre -training, ten percent and then we do standard pre-training and then we call this cool down. So why do we need the last ten percent of the cool down stage?
Basically, because we don't want to use metadata during the inference time. We don't want to condition this metadata during the inference time. So we can just, if we do the last 10% of the pre-training without the metadata, we can just use this language model as a standard language model during inference time without any conditioning. So super, super simple, right? But this actually really works. Let me show you the results first.
So for the many experiments we did here, yes, uh we try a basic pre-trained one point six billion model from scratch on the DC-O-M uh baseline, which is basically a highly filtered version of the DC-O-M of the DC-O R_L_M corpus, which is basically like highly filter version of the common crawl. And then compared to the standard pre-training, the red curve here is basic oh I sh I always actually should call macau, yeah. Okay, so the red curve is actually way bit
we've significantly better than the standard pre-training. And if we measure the average performance of the downstream task, we find this actually the performance based match the standard pre-training that actually pre-trained on basically like 50 times more training tokens. So training pre-training using this metadata conditioning on 160 billion tokens is basically match the performance of standard pre-training on 240 billion tokens.
That's so we basically save the training budget by 33%. So if you look at the basic curves, this is the average performance on 10 downstream task. But if you look at individual task performance, the curves are actually very consistent. Even for some downstream task, we find actual curves looks much better compared to just doing a standard pre-training, for example, this open book QA data set. So this is very powerful, right? It's very, very simple techniques. We just prepends the the the UIO information and it just works out of the box.
And we try so we just actually make sure that the results are really generalizable. So we try to
true and this use parameters with different model scales starting from small model 600 million up to 8 billion but for the 8 billion models the circuit is too expensive so we only we didn't train like um up to 160 billion tokens but at least the gains are very consistent like from the smaller model to slightly larger models across the board um for the individual task and also the average downstream task
And another also really interesting thing we find here is we also consider using the different subsets of the pre-training data, different pre-training data. So you s to d uh repeat these experiments on C4, we find a web and the DCLLM baseline. So basically from the left to right, you can think of the data quality increase from the left to right. But still um we find that even if the data is highly filtered with some quality filters,
because we still have observed significant improvements compared to the standard pre -training. And so that really means that this kind of metadata conditional techniques can work together with the quality filters.
So this is very good, right? Uh I will just tell you another really uh interesting result we find here. Um so we basically just want to find a more costif uh efficient way of pre-training data. Then we can use the uh pre-trained language model. Then we can use this language model as a standard language model. But another really interesting thing is that you can still um try to condition on some metadata during the inference time. So we call this conditional inference. So different from the standard inference, you just give it a prompt, you'd prompt model to do something
what you do things. For the conditional inference, here you have still prepared a URL. This URL doesn't even need to be a real URL, it can be a fake URL.
As long as it's something that you want the UI to convey some information that should help steal the model of generations. So you can even like a fake a UI, I don't know if this UI exists or not, called www.factquizmaster .com. And we found this model could, it basically is a way to help steal the model generation.
So we did this and we try to see how this like the different metadata or the URL can change the model performance. So if we use like a 4chan.org, it's actually even much worse than the like a no conditioning.
But if you use a URL like www .factmonster.com, it actually gives you really significant improvements compared to like um unconditional inference. So this really means that uh using some the metadata information um during pre-training helps. And uh it's actually really interesting result to me.
So in the paper we actually also show that um if you pre-train like just in Wikipedia as a URL during the inference time we have some evaluation which show that actually the general you can actually generate uh the generations can actually have a uh average lower uh back score of the toxicity. So that's really good. And um
We also try something just for fun, but we don't want to over-tune this. So for a bunch of different downstream tasks, we just try to come up with something for a UIO for fun. And then we find that if we just pre-plan of this different UIOs that we believe that should be helpful for different downstream tasks.
we found out that we oh the number doesn't show this. But um there there are some improvements if we do this m metadata conditioning. But if we just do the standard pre-training, this doesn't really give you s any improvements. But if we do this metadata conditioning, this k will give you some improvements.
Okay, so now you may wonder why does this even work at all, right? So, well, just by just pre uh pre-pending the URLs and the domain information, why would this help? So we did sound like ablations, I found it pretty interesting. So the first thing is we want to see what kind of URL, uh k uh what format of URL would be actually useful. So we tried to use a full URL, the full link, so that we give you a much much more lon like a long tail distribution. We also try to just use a suffix of URL.
Both still works, but if you only use a suffix, it hurts the performance a little bit. But if you use the top two percent or top 0.2 percent of the URLs, it also still works. But there is a little bit of performance drop here. And another really interesting result

And another really interesting result here is we also try to not use real URLs. We just try to map all these URLs to some hashes strings, to be the random hashes strings. For example, we can map the English Wikipedia to this like random hashes string. We found the performance, there isn't any performance drop.
So what does this mean? That means that what we all care about is actually only this kind of data partition. It's a different subset of data in the pre-training data. So actually the actual meaning of the URLs actually doesn't really matter that much. So these are actually very interesting results. And another thing I want to mention is something that we actually started to do when we tried this project is that instead of using real URLs.
Even the data doesn't come with URL, the metadata. We can also use, we try to prompt the llama 3.8 billion model to generate topic words. Like these are just two words or three words. For example, it can be technology leader biography. We find this still also works. So it means that if you just condition two or three words about the topic and style of this document and the condition on this don't back propagate, and this still improve the performance. But this step could be very, very expensive.
because you have to call Lama 3 .1 model, it's been a model to annotate all the data. Okay, so let me wrap up this part. Just this result is very interesting and after finish the paper we actually found several like really interesting connections with other works.
First, there is like a pretty famous paper at this point called physics of language models by Alonzo and Zhu and Yuan Zhe Li. So they did a lot of control to synthesize experiments. But there is actually one result actually very relevant here, is that they try to basically like mix a bunch of useful data, knowledge data and the junk data.
And they found the jungle data actually hurts of knowledge storage capability of these models a lot. So one trick they did is they just try to add a special token to all the useful data. They found the model would be actually just the models capability and the ability to memorize knowledge will just go back. So this is actually very similar thing compared to what we did meta data conditioning, but we actually try to condition many different domains.
And after we finish our papers, there is another paper from my colleague Sanjeev Arora's group called uh on the power of the context enhanced learning large language models. They did a theoretical analysis, you know, actually a very simple setting, it's like a more simple multi-step reasoning. Uh the t the idea is actually very sim uh similar. We call the metadata conditioning but they call it a context enhanced learning. But they actually did a theoretical proof to show that you know synthetic setting
Why this extra context enhanced learning could be actually even more sample efficient than standard pre-training. So I just encourage you to check out this paper. How much time do I have?
Okay, I'll continue. Okay, just about first work. So second work I'm going to talk about called web organizer. Again, I already talked about this in the talk I gave two days ago, but I want to give you some details here. So this work is actually by my PhD student Alex Vedik, and it's also collaboration with folks at AI2, including Kyle, who will be also speaking this afternoon, and also Lou.
Oh, look how. Okay, so let's let me go back to this figure. So again, back to the 2020, the pile data set has this very nice visualization of the composition of the different subsets of the pre-training data. So basically, this really serves as a key motivation of our work. So now we are moving to the age of the training of the web data. How can we make sense of the common crawl data at a scale?
So this basically what we come up uh is a web organizer uh project. So the goal here is really trying to categorize the web pre web pre-training data. So what this what it's basically we try to come up some domain taxonomy that can really cover the different content, the different topic or different format of the pre-training data.
So end up, we end up actually coming up with 24 topic domains based on subject matter. And this is actually the real distribution of the web documents in the basic the DCL and pool of the common crawl data. So you can see a lot of topics including like politics, religion, health, finance, and the sports and so on.
So I'm not going to tell you a lot of details back here, but there's a lot of thoughts that goes into the designing these dominant taxonomies. Since we have really partitioned the pre-training data in like really exponentially many ways, right? So here we really try to find domains that can reflect meaningful human categories. And also we try to really aim for like a relatively small number of domains that can capture the high level trends.
So should that have actually pretty concise reputation of the corpus? So we want to make sure that each domain the key should actually still have like a reasonable amount of their presence in the corpus. So this basic domain taxonomy will come up. It's called topic domain.
But another thing here is that we actually also come up with another domain taxonomy based on the format. The previous is based on the content. Here we try to basi uh basically come up with another twenty four uh domains based on the format, based on the style of the documents. So we can see some of the bigger categories include like news articles, personal blogs and the product page and the tutorial and so on. So some of the bigger categories including like product page and the personal.
all blocks. So this is basically what we put together. So we basically provide two complementary domain taxonomies based on both topic and format. And my student actually built a really nice visual demo at this website weborganizer.alan.ai. If you go to that website you can actually look at each domain in each of this taxonomy and see a lot of great examples there.
Okay, so how did we do this? How did we do this?
So it's actually really simple. So after we come up with this kind of domain taxonomies, we try to basically prompt the large language models to actually give some annotations. So what we did here is we come and we collect basically 100,000 web pages and then we prompt a very large model here. We use a Lama 405 billion model just for prompting to collect the basically the annotations of the topics or format. And then we basically train a very small model 100
140 million parameter model with the illustration on top of this like a large model annotations. Then we end up getting two very good domain classifiers. One is for the topic and one is for the format.
And then after we trend the visited topic and format classifies, then we use these classifies to annotate the visited entire web data, not the entire web data, but the subset of DCLM core data. So we end up annotating 200 billion tokens from the pre-training data set. And then the visual I showed at the beginning is based on the result from that annotation.
And though another interesting observation here is basically a topic and a format of assignments. Actually, we found that actually they are usually like a so so we basically try to ca uh calculate the normalized P_M_ P_M_I_ scores, and we find that they are basically close to independent.
Okay, so just basically what we did, we tried to really figure out the way document taxonomies of the pre-training data, try to partition pre-training data into the different subsets. And the next thing um I also already talk about here is then what we can do here is actually trying to optimise um across these domain mixtures. So what we did here is we leverage our framework called RegMix.
And now we try to sample a lot of the like a random mixtures. Here we did 512 mixtures. And then we try very small proxy models like 15 million parameter models for just follow one billion tokens. Then we try to evaluate some basically for different random mixtures. We evaluate on downstream task. Here we focus on two tasks. One is called Hella SWAG, basic common sense. Another MMLU is for the knowledge task.
And then we check with the field of regression model that can match maps of mixture weights to the downstream task performance. Then we can search for the really good training mixtures with the best predictive performance. So this basically what we end up finding. So if you look at the total column of the M_LOU here.
So we found that you actually need a lot of, in terms of topic, you actually need to use a lot of science and technology documents to you try to up-sample the documents from the science and technology. And uh for the house work, you actually need something like the
uh home and the hobbies and the sports and fitness. Even though how the uh how this work data is actually a lot of from the Wikihow website. So this all makes sense. So in terms of format, we actually find the personal blogs actually very important for both of the downstream task. And the for M_O_U_ is actually recor recalls a lot of academic writing documents. And the how this work you need a lot of tutorial documents.
Okay, so this is basically how we optimize for the domain mixtures. Now let's see how we can use these domain mixtures to actually really like train a language model. So for the main experiments, we basically train the one billion models on twenty nine billion tokens, basically following the dataset and computation scale. And the train this model from scratch. So here are the results.
So Okay. the baseline is basically uniform sampling. The average performance is 51.6. And then we also try a very simple K -means baseline. Basically, just instead of doing our own like domain taxonomies, we just try to use some embedding models, try to do the clustering of the pre-training data using the same number of the categories, like 24 categories. It still also works pretty well for just using K-means. But each of these partitions is not as interpretable.
as a class as a domain labels that we design

thought domain labels that we designed. And then if we use either format mixture or topic mixtures, both actually improve the baseline's quality significantly. So we found that a re-voting domain is actually really effective way f uh for different notions of domains.
And then, and also show the performance, because we use the MLU and housework as the two like target tasks to find the domain mixtures. We also find the domain mixtures that we find from the MLU and housework. So essentially we take the average performance of these two tasks, can also transfer to the other tasks. So for the remaining downstream tasks, they all got like pretty good improvements.
And another really interesting here is that we can also combine the topic and format. Because we find the topic and format are basically like independent orthogonal.
So essentially we just need to get a deep um mixture over the topic uh or domains and also get a mixture over the format domains. We just need to multiply the two probabilities. And then then we found this actually even improve the performance compared to just using topic or just using format. But if we take just twenty four times twenty four the domains, still be too little too many uh too many domains. That it actually makes it much harder to estimate the domain mixtures.
And now finally I want to mention just quickly mention here so we also find that domain mixture and the quality filters can be combined together, so that means that you can like a fix of domain mixtures. For every single domain you can just try to select the top k percent of the documents to be the highest quality signals and then we find that they are still orthogonal and that they can actually both contribute to the uh the final performance. Okay so
I'm almost done here. So the final of lesson I found is like really the domain partition, so domain mixtures are really really helpful, is that this also provides us a way to actually look at what the core features are doing. Because for core features it's just really a sense you like an individual score to every single document. It's very hard to really understand what these core features are actually doing. So essentially we can actually just...
do the product like distribution of the different domains for every single quality filters like find web edu or dcom and then we can actually see that which domains this filter quality of quality filters actually prioritize or under represent the different types of domain content so this is actually really a very interpretable way to analyze and compare the different data selection methods
Okay, so I'm almost done.
In this talk, I basically talk about two ways of thinking about domains, right? Macro is basically we use the URL information and we try to condition on this information. And then for the verb organiser, we try to define the domains and then we try to figure out what should be the optimal domain mixtures. So I want to address this really the open -ended question, what should be a data domain? At this point, it's very clear to us that if we can try to partition data into the good subsets,
So there's some key information you can leverage there to actually make the patient better. So again, I'll just summarize what we did here, then we can think about what we can do next. So for the macrowork, I just talk about here. So domain information is essentially defined by the source of the documents.
But because we just use the URLs, search is actually a long tail distribution of the URLs. Even if we just take the first or the top two percent or top zero point two percent of the URLs, that's still like thirteen thousand or what three hundred thousand the different domains. So it's still very very sparse and long tail.
But still it works. It works in the ways that if we have conditional this domain information during pre-training, we find that language models can actually automatically learn what to prioritize and what partitions the model should actually be able to learn from. So for the web organizer, what we did here is we carefully design.
24 domains for both topic and the format. And these are all designed by the human intuition, basically by the authors of this work.
And then we find that if we can use some small proxy models to help us learn domain mixtures, this domain mixtures really can help us, really like build a better data curation of this pre -training data. But the downside here is the reason we actually only use 24 domains is that we can't, it's very hard, still very hard to scale to a very large number of domains that you can still.
still learns the domain mixture, the domain weights actually pretty precisely. So I think that's still an open question that at least I don't know the answer yet. So what we can do next, right, these are two different ways of thinking of domains or different ways of using domains.
So I actually found that when we were working on these two projects, I actually found there are like some really new ideas that we can actually further delve delve into. Firstly is actually the idea in the first projects that we tried is that you can actually use language models to help you generate the information.
It can be either like instructions or like a summary or just like what we did a very simple like topic information about documents This still helps a lot. So I think this could be still different Direction we can look at like how to generalize the basic like the information about these documents
And another direction along the second project I described is that instead of designing the interpretable domains by ourselves, we have probably also using some clustering-based methods to figure out what should be the data domains. So like the k-means based that we tried, you can actually do much, much better ways of doing the data clustering and it's very likely that it will work.
Actually just really literally last week I actually came across a paper from Nvidia. So if there is a paper called Cluster I believe. So literally what they did is they tried to do this kind of like auto automatic partition with the pre-training data. So this is not like a interpretable but there are a lot of many different partitions. So they actually showed a very strong performance. So I encourage you to check out this. Okay so I'll just leave this talk here and so I hope that as in talk at least give you something to think about.
So what are the domain information in this pre-training data and how we can leverage this information and I'm happy to take questions. Thank you.
Hi, Danqi. I am a student from Shanghai Artificial Intelligence uh laboratory and uh from s Fudan University. I I have a question for you. We also constructed dataset that combined the uh j model generated data and the web information data, but we also use metadata. We use wh what our use is uh auto-tags. Uh we we think metadata is really
In valuable infom have r require contents really, y valuable information. But I have a question that we met a problem that the metadata has a lot of noise uh so what if you your y your R_L_ and the t following text not match that brings mat noise, how do you filter or deal with it? That's thought a great question. Um
Yeah, I haven't really thought about this. But I believe that it would be an important step if you really need to do like heavy filtering. But I don't think it's a problem for our project here. For here is really all about just the orange source link of the distort pre-training documents. So those information is usually very precise.
but I'm not sure like uh what other parts of the web metadata to refer to of the other uh in terms of noise, but I'm happy to train more. Yeah. So you But think I believe that filtering could be important if we set it a issue, yeah. so you don't very care about the filter thing?
for this di um for this uh like a this um this data um data is not a problem. Um I think the, if because we just use a primary domain of the source of this documents, so we don't find that actually there is any mismatch, at least uh based on eyeball um yeah. Okay, thank you. Thank you.
Hello, thank you. I'm Jeff from EastStar. Um a question about the force worker macro: Yeah. then you just uh prepended the U_I_O_ during training Yep. and in for conditional inference you also um maybe look for some uh unit candidates or like L_M_ to generate some unit.
So here my question in that have you tried like the uh adversary uh jailbreak of parameter you can try optimize the uh the the the url. Maybe uh looks meaningfulness, but is maybe very helpful for downstream tasks.
A query suggestion, uh I I think that could be a direction. Uh we haven't done tried anything. One reason here is that we actually don't try to really over-optimize for every downstream task. Here we just really want to show people that if you just come up with something that seems to be relevant, this actually helps. But if you really want to do some optimization based based methods to optimize the URL, I'm sure that it just give you can give you better performance. But my opinion is uh you just become really involved.
of the URL into your training. Yeah. Uh it's it would be helpful for a prominent engineering, it's like a instruction. Yes, So exactly. oh uh Yep. I think it w uh Yeah, I think that will be definitely uh could be an interesting Okay. direction. We don't we have not anything like that. Thank you.
Hello uh so my question revolves around reasoning. So a very good tech uh what people do to boost reasoning in the models or increase task performance is basically uh synthetic data, right, G_S_M_ eight can similar. Right. So

and similar, right. So uh m but what ends up happening is basically the questions that are very Yeah. close to the training data right, the model can answer them. But as soon as you change them in small ways, Yeah. you start seeing a very large drop in performance. So with respect to training should we rather rely on post training techniques using synthetic data to preserve that gap?
or should we rather, you know, create a data that goes into the categories as you show to make sure the robo robustness in task performance remains the same. Because a lot of papers are coming and showing that your ninety percent in G_S_M_8 case fake. As soon as we introduce minor changes, it drops to you know uh seventy or something. Like even for large models like O1.
Yeah, I think I can answer this question, but I think it's pretty awesome with what I talk about today. But I believe that you actually need a lot of diversity in terms of the way that how these problems are written or how the different reasoning patterns in the pre -training data. So that even sometimes people show that if you have a little bit of diversity, this helps a lot in terms of generalization.
So So I personal my personal bad is true add something during the pre-training stage, even like the later stage of pre-training. But I th I'm not yeah. Okay, so i basically you want to say that instead of creating really concise synthetic data to target at the task performance, you should rather rely on model actually learning those from different diverse data points in the pre-training.
Uh I think we're not trying to optimise for particular Yes, dancing tasks, because yes. we want to a general purpose, like a large volume of the mouse can work of well across Yes, the different yes. um
But I'm saying is that like a lot of people find that let's say it works pretty well on like suggest M-I-K, but you do a little bit of perturbations, the models will just fail. Yes. I think this is what you're asking, Yes. right? But I think this could be attribute to like the way that how people write these problems in the pre-training data. But I do think that encouraging some diversity or the variations of the style of this different, this kind of problems would help a lot.
But uh the question is how to make it a more generalisable across different domains or different tasks, that's a little bit of a challenge. Uh good good, thank you.
Thanks for the great talk. So I don't know about the mental conditioning work before, but actually we developed something for privacy, data Yes. generation. If you stay in the afternoon, I'll actually talk about that works that has some connection Is it? with that. With that I'm actually asking a little bit of a detailed technical question is that you mentioned that if we use a large language model to extract some keywords or something like that, Yeah. it can be quite costly.
to what extent do you think that that part is sensitive if we use a really small model to do that. It it would be very bad or not bad or have you have you ever experiments with that? Um yeah, two part. Oh, no, not shown here, okay. Um Mm. It's true, yes. Yeah, yeah, The technician I know, I know, have yeah, that. yeah. Okay, um So Google question, we we don't have any operations here. Um
But I feel like for generating like a like a small like just a several topic words, I think it'd be an more model should work. Mm-hmm. But if we really want to generate a good summary to make our like instruction to actually describe the document, I think we need a like a larger model. Then that would be making them even more costly. But w Yeah. I don't try to know, but I don't have a really idea. Yeah. Yeah. Do you think we really need that summary or a few key words is enough? I think more information would be help. Yeah, Yep. exactly. Thanks. My guess. We're gonna talk about that. Thanks a lot.
Thanks very much for the inspiring talk. Um I just want to ask a very uh general questions, which is based on your experience, research experience, um pre-training data, um how do you define what is a good pre-training data and what is a good um pre-training mixture? Of course here is means uh a balancing one, but, is there any other criteria? Thank you. Yeah, um
So I talk about I didn't put in this talk, but like last year we had a paper called curating. We really try to define the different dimensions of what is the quality of the pre-training data using our human intuitions. So we try to define like a writing style, required expertise and educational value. We found the educational values are actually the most important dimension just because it helps a lot of the common sense reasoning and like a lot of problem solving.
I think that right now it's pretty well known right now. A lot of people just use educational value as a filter to filter the pre-training data. But my bet is actually if we can
Okay, what is good pre-training data? I would just say like if we can train language model that can actually boost the performance across a very large range of the tasks, that would be actually the good pre-training data. But the question is what should be the tasks that you we should optimize for? And I actually also made our own some kind of influence formulation influence estimate type of signal to actually help us select the pre -training data instead of just using some human.
defines signals. Yep. Okay, thank you very much. Um okay, so for the interest of time, um so we will uh f uh if we have more questions like uh feel free to like talk to uh uh later, so we'll have like a a break uh now and we'll come back at ten thirty.

Um, so we'll uh we'll start our um next uh talk in 30 seconds.
Uh, come back.

Uh come back to the s uh seat, let's uh welcome our uh s so so so we'll have like a our uh next uh talk uh right start right now. Um yeah, so uh the next two talks are the spoli uh spoli presentation which is selected from the uh our uh captive papers. Um yeah. So uh we'll first have uh Xinran Gu from Tsinghua University.
uh we'll talk about um uh her works her recent works on data mixing. uh s uh let's welcome our uh speakers. Hi everyone, glad to be here. I am Xinran from Tsinghua University. Today I am going to share our recent work titled Data Mixing Can Induce Phase Transitions in Knowledge Acquisition.
This is the joint work with Kai-Fong, Jia-Zheng and Jing-Zhao. First let's review some background on pre-training data composition. L_M_s are p are often trained to own two types of data. The first type is the web script data, which is lower in quality but available at a very large scale.
The second type is the knowledge dense data, which is higher in quality, domain specific, but much smaller in scale. Here we show the data composition of OMO two as an example. As you can see, over ninety five percent of the data comes from the filtered web sources, which are typically noisy and low quality. In contrast,
To make specific, high quality, knowledge-dense data sets such as academic papers, mass code and Wikipedia make up less than five percent. This low proportion of knowledge-dense data sets leads us to a key question: how much knowledge do LLMs acquire from this small amount of knowledge-dense data? Let's first consider a special case.
That is, training is exclusively on knowledge data. Even in the simple setting, quantifying knowledge is non-trivial, as natural data is messy and very hard to measure. To address this challenge, Alan and Yuanzi propose training on synthetic biographies, which randomly assign attribute values for each individu and here's an example.
By controlling the data generation, they can apply information theoretic analysis to quantify knowledge precisely in terms of bits. And their key finding is with sufficient training, the amount of knowledge stored scales linearly with model size, roughly two bits per parameter in many settings. This idea is also supported by concurrent work such as Lou at all and Nechani at all.
Now let's return to our Mies setup of data mixing. We use R_ to denote the mixing ratio, meaning that an R_ fraction of the training tokens comes from the knowledge-dense data sets, while a one minus R_ fraction comes from web data. We then train a model of size M_ for sufficiently long horizon on this mixture.
Our goal is to understand how much knowledge does the model acquire from the knowledge dense data set. A natural but off-the-cuff guess might go like this. First, by Allen and Yuan Ji's paper, the total amount of knowledge stored is proportional to the model size. Second, the knowledge dense data set's tokens make up a fraction of R .
Therefore one may conclude that with sufficient training the amount of knowledge stored is proportional to the product of model size and the mixing ratio R_ However, this is completely wrong. The true answer is more interesting: with sufficient training, the amount of knowledge learned from the knowledge-density dataset exhibits phase transitions in both model size and mixing ratio R_
Our specific experimental setup is as follows: for the web data, we use fine web edu. Following Allen and Van Dyke, we use syntactically generated bi biographies and use these syntactic biographies as the knowledge density data set. An example is shown here.
In our main experiments, we train parallel models ranging from fourteen million to four hundred and ten million parameters from scratch, for a total of thirty two billion tokens. We also conduct some continual pre -training experiments for larger models, up to seven billion parameters. Formally, we denote the synthetic biological feedback dataset containing N individuals as SynBioN.
For evaluation, for each attribute in a biography, we present model with a context preceding the value, and assess whether the model can correctly generate the missing value. We report the average accuracy across all attributes and individuals. And here are our main results. First, when we fix the mixing ratio and increase the model size,
The model suddenly transitions from memorized nothing to almost perfectly memorizing the knowledge-dense data set. Next, when we fix the model size and vary the mixing ratio r, we again observe a phase transition. When r is small, the accuracy remains near zero, but once r exceeds a certain threshold, the accuracy quickly rises.
Given this observed phase transitions, one might come up with uh the following counter-argument. He or she might say, I trust the power of scaling. If we simply train the models for many more tokens, then even even a small mixing ratio R would result in each biography appearing thousands or even millions of times. So maybe if we train long enough, the phase transition we observe will disappear.
To test this counter-argument, we ran experiments for much longer training. And here are the results. On the left for the 410 million model, even extending the training horizon by four times to over 100 billion tokens, if the mixing ratio r is small, the accuracy still remains zero. On the right, for the 70 million model we see a similar trend.
Therefore, training longer barely helps for low mixing ratios. To further refute this counter-argument, we quantify how the required training steps to reach a target accuracy which we denote as T, grow with one over R. First, we see that T grows rapidly with one over R.
For example, the required training horizon to reach forty percent accuracy is about twenty billion tokens when R is equal to zero point four, but grows to over two hundred and fifty six billion tokens when R is equal to zero point two five. Therefore, we mark a cross here to indicate that the target was not reached within the two hundred and fifty six billi six and fifty six billion budget.
We can further fit a scaling law by modelling T as a power law or exponential function of one over R_ using data where R_ is greater than zero point three. We then examine whether this extrapolation can accurately predict T_ for smaller R_ As shown by this orange curve, the power law prediction already significantly underestimates T_ at R_ equal to zero point two five.
Similarly, the exponential fit also greatly underestimates T at R equal to zero point two. Therefore, we can conclude that T grows exponentially or even super-exponentially with one over R. So why can this happen? Are there any theoretical ass explanations?
One major challenge in developing the theory here is that training LLMs can involve a lot of tricks. Which one of them are important in inducing the observed phase transitions? And what is the reasonable conceptual abstraction? In our paper, we consider an ideal case where the model is sufficiently trained.
Therefore, we focus on the key factor, modal capacity, and abstract away all other factors. Specifically, we abstract a sufficiently trained model of size M_ as the best model that can minimise the loss under capacity constraint M_ which we call the optimal bounded capacity learner. We formulate this notion with information theory and you can check the paper for details.
Due to the time limit, I will only introduce the high level intuition for our

introduce the high-level intuition for our theory here, which can be framed as a knapsack problem. When training solely on knowledge-dense data, where each fact appears with equal probability p, the model tries to store a maximal number of facts without exceeding its capacity.
Therefore, the total amount of memorized knowledge scales proportionally with the model size model capacity M. However, this situation changes when the knowledge density has said is mixed with web scraped data. In this case, the optimal learner should allocate its capacity across two data sets based based on their respective marginal values.
Here, marginal value means the test loss reduction per extra unit capacity assigned to a data set. Theoretical analysis gives the following result: only when this inequality holds does the knowledge-dense data become worth learning.
In this inequality, the left-hand side denotes the marginal value of web data which is proportional to the derivative of the web data loss with respect to model size, and the right-hand side denotes the marginal value of the knowledge dense data, which is equal to the product of the mixing ratio and the exposure frequency P_
One key example here is when web data loss follows the power-law in model size. We can explicitly characterize the critical value for the model size mixing ratio in this setting. And also we can characterize the threshold frequency for each single effect, which has a power relationship with respect to model size.
In our paper we have more interesting results. For example, we empiri we empirically validate the power-law relationship between the stress whole frequency and the model size. We propose two strategies to make L_M_s learn more knowledge under low mixing ratios. And the main idea behind these strategies is to improve the marginal value of the knowledge dense data.
The first strategy is to sub-sample the knowledge dense data, and the second s and the second strategy is to rewrite the knowledge into a compact form and mix this compact representation into the original data set. To summarize, our paper show that with sufficient training, the amount of knowledge learned from the knowledge dense data exhibits phase transitions in model size and mixing ratio R_
The key takeaways are as follows. First the best mixing ratios for small models may not be good for large models and vice versa. Second, the phase transitions will make it hard to predict the performance on large models by extrapolating the performance on small models. Therefore we should extrapolate the threshold frequency, not the accuracy itself.
Finally, slightly improving the marginal value of high quality data can sometimes have a large performance gain. And that's all for my presentations. Any questions are welcome. Um yeah thanks for uh the great talk. Uh so any questions?
Um yeah, so maybe I'll uh start. Um so you so basically like based on your results, your uh it means that like uh for a smaller model like it's the optimal data mixture, it's like a mayb might be shaped like for the uh bigger model. Um however like there is another line of this uh in uh this data mixing research, which is like a fix uh uh to fit uh like a to fit a scaling law, data dependence.
skin law for like across like models like often different scales and hope that it can extrapolate to the um to to even larger model scale so i wonder like uh what's your like perspective on like uh whether this approach uh like how promising this approach is like whether such a data-dependent skin law for data mixing uh is uh is it like even is uh is it like good or not
Uh I think uh thanks for your question, it is very good question. So uh I think it depends on how your how you scale your data. Uh the first way is to uh the first way is that when uh when you scale up the model size, you add more data. And then I think uh in this case the scaling law uh works well.
But uh in our paper we focus on the case where uh when you scale up the model you use a of a fixed data set and you pass it for multi epoch. Then I think uh the data spilling law might not work in this uh case. I say so basically like if so uh if it's like a online setting where like uh uh you only like uh so our d uh the data are like uh not repeated then like it's uh uh then um
Then this is like uh then there uh it would be like more tractable to like uh to to make to make this like uh uh the model performance like in the even larger scale to be more predictable is it like uh your point or Yeah, yeah, yeah I see I see I see you have any intuitions for this?
um I think it's natural we all uh like when you increase your model size you should collect more high quality data and and only pass in the small amount of high quality data.
you have will will not have such a good performance gain. Sure, yeah, but why can we um why can this like overfitting uh phenomenon for like a uh for due to the duplication like a be uh be more like predictive yeah uh be be less predictive compared with like a this online setting? So uh here like the the the predictive means that
uh you can predict the perf the large the the performance of the uh large models
By extrapolating the performance on small models and uh like in our case, the small model will have zero accuracy and then i it's like uh for example we could plot a figure where the X-axis is the model size and Y -axis is the accuracy and then you will see an im see an emergent uh curve in this uh
uh in this figure. Therefore it is very hard to predict the performance for larger models. I said okay, okay, thanks. Um yeah, are there are there any other uh questions for Thanks. I I was wondering what your framework would say about the data selection from the web data, because you have like all the three trillion size corpors uh of the web.
Under a framework, what kind of data would you pick from that web data? Uh in our specific set up, uh we use we uh we directly use fine web E_D_U_ for the uh for the web data part and so we consider the case where we mixed only two types of data for simplification and uh the web data we use is fine web E_D_U_ and here we use uh
Synthetic biographies as the knowledge data because in this way we can measure we can accurately measure how much knowledge the model has acquired by only counting the number of biographies learned by the model. And in our paper we have uh more experiments where we replace the uh synthetic biographies with more real world Wikipedia biographies and we can observe similar phenomena.
Thanks. Thank you. Uh okay, so uh if there are no other uh questions then uh let's thank our uh speaker again. Um yeah so uh our uh next speaker will be um Edward from CMU.
Okay, uh great, so um yeah so uh Edward is uh uh uh is uh is from uh CMU and uh he'll talk about his uh recent work in uh language model reasoning. Um yeah so uh welcome uh Edward. Thank you. Um okay so uh today I'll be presenting our on behalf of uh my fellow collaborators.
So we're all familiar with the recent breakthroughs in complex reasoning, right? With the release of the O-Series by OpenAI and also the R

open AI and also the R1 by DeepSeek. So we know from the bitter lesson that the two methods that scale arbitrarily with compute are learning and search, right? And in the context of the current paradigm of reasoning LLMs, we now see that we can scale inference compute relative to pre-training or post-training compute.
And in particular, in the context of LLMs, we do this by scaling chain of thought, right? The longer COT, more COT tokens to scale inference compute. So that's great, right? We know we want to scale things in this dimension, but the question is, how do we train models to think longer? That is the focus of this talk. So just to introduce a training setup, we focus mostly on post-training, specifically SFT and RL.
For S_F_T_ we use the usual uh set-up where we give the model uh a question and we train it to predict the answer, complete with the long chain of thought. And as is typical, we mask the prompt. For R_L_ we give the model a question, we don't tell it exactly what to generate, it generates an output, we then take the output and grade it based on the final answer with uh heuristics and rules.
And then based on the correctness, we give it a reward, is it one or zero. And we use PPO as our RL algorithm. So the first takeaway was that as you would expect, scaling up inference compute is effective. So if you're SFT with long COT data versus short COT data, you find that as you scale up the number of SFT tokens, the long COT data has a higher upper limit than the short COT data.
Our second takeaway was that if you apply R_L after SFT, in the long COT setting, you find that the improvement during R_L is also greater than for short COT, right? And even for out of distribution tasks like MMLU Pro. And you can actually see from the traces that the long COT patterns, they have more exploration, right? More diversity of trajectories.
The next takeaway that we found was that high-quality emergent long COT patterns lead to better generalization and gains than constructed ones. So the fine-grained details of the reasoning patterns in the SFT data actually have an impact on performance. And so we constructed the long COT ablation, we basically prompted short COT models, right, using our understanding of
of the cognitive strategies used by reasoning models and then we kind of use multi-step prompting to construct long trajectories. And for the emergent ones, we distill them from existing long COT models that were trained with RL. And you can see qualitatively that there was actually...
On the surface, the cognitive strategies for the two kinds of SFT data were similar, but they're kind of like fine-grained differences. For the immersion patterns, you see more nimble changing of mind back and forth. And so these details actually matter a lot for performance.
So one thing we found during R_L was that the length of chain of thought can be unstable for some model sizes and some settings, right? And it can actually even explode, right? For a variety of reasons.
So we found that using length-based incentives and incorporating that into the reward design was effective in controlling this. So specifically, we scale the correctness reward based on the generation length.
For correct answers, we actually encourage the model to think shorter, right, by rewarding it more if the generation length is short. And for wrong answers, we wanna encourage the model to think longer and not to jump to conclusions. And we found that by kind of tweaking the curve of the cosine reward, kind of like the hyper-parameters, you can actually steer the model to scale length differently, right.
And we found that reward shaping also stabilizes training and improves model performance on downstream tasks. So I should probably note that there are some interesting effects of length-based incentives like reward hacking, as you would expect. And we found that repetition penalty with the proper tuning can effectively mitigate this. So...
We've all kind of, you know, marvelled at the aha moment, right, of deep seek R_ one zero. And um where the model uh at some point in training starts to use uh uh in a in a with a much higher frequency uh th cognitive strategies like self-reflection. Right, wait, aha. Um so where does that reasoning ability come from?
So we hypothesized that the base model already acquired such an ability during pre-training and already has it in a latent capacity. And so we explored this further by creating a list of AHA phrases and we used GPT-4O to augment this list.
And then we took kind of common data sets in pre-training corpus from common crawl, mainly open web math, and we used minhash to do similarity search over the pre-training corpus.
And we found something interesting. We found a lot of such reasoning patterns in online discussion forums for physics and math and where these are like long discussions with people kind of going back and forth, proposing alternative solutions, you know, saying things like, does this make sense, reflecting on their own solution.
expressing uncertainty and so this raises the rather intriguing possibility that long COT originated from human dialogue on the internet right and
This is just a conjecture, right, because we didn't go further with other techniques to verify this, but I think it reinforces our hypothesis that the base model already acquired such capabilities during free training, and the RL just kind of refines and transforms it over training.
So the next thing we explored was, okay, great, we know that RL with outcome reward, where the reward, where the answer is verifiable, works well, right? But verifiable data is expensive, and the number of math questions we have where we have like cleanly formatted reference answers is limited. So how do we scale up reasoning then, given these constraints? So we experimented with using a web instruction.
instruct. It is a instruction data set that was derived from internet data and where the reference answer was synthesized by an LLM. So naturally you find that the reference answers are not always high quality. There's some wrong answers, there's diversity in formatting and things like that. And what we found was that this kind of data enabled the
the model to actually generalize in out of distribution reasoning scenarios better. We experimented with two kinds of verifiers, a rule-based verifier, which was more brittle, and kind of LLM as a judge verifier. And we found that if you don't kind of do data pre-processing, the model -based verifier did better, right? Because the rule-based verifier is brittle.
But if you do data engineering and you kind of filter out, you know, prompt sets that are incompatible of the rule, we found that the rule-based verifier actually did better because it's, you know, there's less noise in its judgment. And so that creates better training signals. So our next takeaway was we also kind of did an ablation for RL from pre -trained base model directly, kind of R1-0 style.
With SFT plus RL and we found that for you know for kind of reasonably similar training compute settings definitely SFT plus RL achieves better performance as I guess you would expect.
Yeah, so I think we think that there are a couple of interesting future directions to explore with reasoning models. The first is generalizability and also hallucinations of reasoning models. How to define environments and verifiable rewards beyond math and coding. Does there exist a kind of self-supervised equivalent of RL, which similar to what pre-training brought to LLMs?
Right. Can you kind of automatically derive from a huge corpus rewards? Right. That's an interesting question. And also, are there other kind of hidden reasoning patterns or latent capabilities in the base model that could potentially be elicited further? Right. So, yeah, these are kind of interesting directions that we think to explore. Thank you. I'm happy to answer any questions.
Hi, thank you for a great talk. I guess my question is, I mean, very interested in long context reasoning, especially long context COT, but it seems like long context COT in token space seems like a lot more viable compared to the same in latent space or like pre -logit stage. There's been some very recent work and it's super murky right now, like Coconut, which does COT in latent space, but they just weren't able to achieve.

just weren't able to achieve that long chain reasoning capability. And I was wondering if you have any intuition on why that doesn't work. Ah, so I personally feel that's a very interesting research direction.
because there's a lot of inefficiency in constraining your thinking to the output representation space, right? And so I personally don't have intuition about why it doesn't work, but I think that that is one of the like promising research directions to explore for long COT, right? To get like maybe hopefully an order of magnitude gain through better efficiency. So like.
I think also one challenge with this area is that because you're making, you might be making architectural changes, so then it's very expensive to pre -train a new model with the new architecture. So now you're kind of also faced with the problem of like, okay, can I do kind of structural adaptation, you know, kind of in post-training, you know, you know, can I use parameter efficient methods, right? So you kind of have the added complexity of like.
a cost, right, to to experiment with with a new new kind of uh latent space reasoning. But i I personally feel that's a very uh promising direction. Yeah. Thanks for your question. Um are there any other questions? Thanks for our very interesting sharing.
The question is that uh for different tasks with different difficulties, um maybe some uh do not need very long uh chainsaw to solve a. So there is trade-off between the efficiency and the performance. So uh here uh do you have some suggestions or personal opinion on this uh uh the efficiency for running the model uh between the performance.
Oh is is your question like uh do I have intuition on what kinds of tasks reasoning Uh will yeah, perform by yeah, performed by RAN? we can so the claw that can uh you can personally or you can uh automatically uh locate the different thinking budget for different tasks. So is there some uh maybe strategy like as a human uh maybe for easy question we just a very quick or f uh very uh small thinking budget located.
But for vertical, we sh we need more long I s uh I think a long trend. Maybe it can be adaptive for different tasks. Hmm. So Yeah, I um so yeah, right right now a lot of the models that we use we kind of have to have the user explicitly kind of decide which which mode to use. I think yeah, I think that's a very interesting direction where we could have the model kind of
discretionarily decide to think longer or shorter, right, depending on the domain. I I I I feel like that's something that could in principle be trained into the model. Yeah, I Hmm. haven't done that work myself, but I I think that's something that could in princip in principle be Yeah. done. Yeah, I notice there's some work on on research work, focus on like the you can allocate uh the to tokens you you want for different different different query. But I'm not sure
So my question that a straightforward way is you can ad hoc uh uh uh external model to determine how many tokens we shall allocate. But also we can involve this into the model itself. So is there is it possible to maybe involve this magnetan into the training maybe per training our post training? Yeah, so one thing I've...
Scene personally is that using a system a separate system prompt works so you can have the same model do short and long condition on system prompt
yeah so so so that definitely like that i know to work but i think the yeah but as you said the bigger question is like can the model decide right instead instead of like having the user tell it you reason long now right can it decide based on the question and the difficulty and maybe even like transition midway from short cot to long cot because like it's not getting anywhere um yeah i think that's an interesting question i haven't uh looked at it personally but i feel like in principle it should
Mm. It should be possible. Okay, thank you. Thank you. Thank you.
Hello, thank you thank you for the exciting talk. I'm very interested in the take away seven, the Take noisy but uh variable data that can achieve better generalisation. Uh I just uh very curious ab about uh uh whether we can get more and more domain data uh because uh just like uh the mouse and uh web instructor and uh we can combine more domain of data like safety, like uh medical, like
like code and any other so they can become better and better without this tendency become increasing I just a very interesting about this Oh, yeah, yeah, yeah. Yeah, I feel like this is one of the big...
things that if you could scale it right you could you can really get a big improvement um yeah i guess the challenge is really like the verifiable part right are you able to get reliable signals and i think like some recent works um kind of have explored uh you know using maybe majority voting as a kind of a proxy or even logits right things like that so yeah i think those are like interesting directions um i i personally like to me it's still an open problem like i'm not
sure how to solve it like at scale yet but um yeah it's very interesting Yes, yes I know it's a very challenge to combine different signals and creating a very efficient reward model. Thank you, thank you. thank you thank you for your question
Thank you for a great talk. Uh I have two brief questions, so first is that there is a recent work from Stanford which says that if you use a model just after s uh S_F_T_ but without any kind of R_L_ training and you just prep a panda single word called wait,
And then you can enforce the model to think about it twice or longer. And this could significantly enhance the final accuracy. So the question is, as you mentioned, the lens could achieve better accuracy. Do you think this is the essence for achieving it or it's just a technique that the recent model elicits to try to achieve the reward?
Sorry, can we repeat the question again? I So didn't quite understand do it. you think this latency reward is the essence of achieving such kind of intelligence or is just a technique that the base model is using to sample more to get the answer? Ah, I see. So I think it's very much the essence because...
There are certain kinds of problems that require more compute, right? And we know that from algorithmic complexity theory, right? There are some problems that are n squared, right? And if you don't solve it in n squared, you are using some kind of a memois function, right? Yes. So you need some way to be able to extend the compute, right? So I think it's very much an essential thing that you have to somehow find a way to utilize.
Compute more for Yeah, I don't some mean, problems, yep. you you mean it's something like a Karl Malkoff of complexity that we need some uh enough capacity of thinking to achieve it. But actually what we found today reasoning models the the lens and the capacity that they use to reason is actually much longer longer than that. I mean do you think it is just we have to think about that or
or is just I'm trying this way or that way because this comes to my second question because we also have a recent reward on uh verifiable rewards, how does I_R_ actually help the model to learn. And we find that if you use the base model to sample for like one thousand times and to check if there is any one of the C_O_T_s that have the correct answer, you will find the base model is almost as good as the I_R_ trained model.
This is quite surprising. So you talk about the reward shaping. I think this is quite important. But maybe you can, this question is, do you think is there any kind of RL reward that we can actually help the model to explore some basic reasoning patterns and capacity beyond the base model? Ah, um...
That's interesting. You mean to kind of almost move out of distribution of the base model? Yeah, Is that what yeah, you're saying? yeah, yeah. That's interesting. I feel like there might be, so I haven't personally done work in this, but I was talking to a couple of people at poster sessions where they explored using kind of like
different kind of prompting to elicit different strategies, right, in different settings like synthetic data. And I wonder if such things could be used too during RL in a dynamic online fashion. My only fear with that is that you are kind of imposing a prior, a kind of strong prior on the model's exploration, right? And I wonder if...
The optimizer would discover better strategies than your prior, right? And from our experiment with the constructed long COT, SFT data, we found that our priors were always much less diverse than what RL managed to elicit. Yeah. So I think my main concern with that would be like...
Is your bias too strong, right? And is it too constraining for the model if you are trying to get it to explore in specific directions versus just letting it explore with maybe better sampling or kind of more generic noise injection techniques, right? Versus like specific strategies. Does that answer your question? Um yeah, but I think what's more important is that how can we give the basic

that how can we give the base model uh with more incentives and novel ideas, tactics to try to solve the problem that the base model may never have seen in the data set. But this is what we really want R_L_ for, right? Like the Orff line R_L_ we we need we wanted to have something beyond the behaviour policy. Ah okay, so I I think I I think that the
Long COT capability was elicited from the base model, but I don't think that this was necessarily literally in the pre-training data because base models hallucinate, right? And Yeah. you might have different things in different parts of the pre-training data having different kinds of thought strategies and the base model might actually hallucinate a totally new novel kind of thinking pattern that was not present in the pre-training data.
So in that sense, the space of thinking strategies available to the base models actually already greater than the pre-training data, right? Because of hallucination. And the RL kind of like refines it and filters it over time. So yeah, so I'm not sure if this answers your question, because this still constrains it to what the base model already Yeah, has. yeah, Yeah, yeah. yeah. Yeah, I'm not so sure about it. I'm curious to know too. Thank you, thank Yeah, you. Maybe we can talk about it later. yeah, yeah.
Um okay so uh yeah for the interest time uh so uh so our uh talk session will be uh and uh and here so let's thank our speaker again. Thank you. Yeah so uh uh the next will be uh our morning poster session and after uh the morning session will be the lunch break and we'll get back at uh 1 30 p.m uh and we do provide the lunch box uh which at the end.
At the end of the hall.























Thank you for watching.

Uh okay, so uh guys uh please uh uh f uh finish the current conversation and uh back to your seat. We'll start in thirty seconds.
Um okay, so welcome to the afternoon session of our uh this uh data problem for foundation model workshop. So we'll first have uh uh invite a talk for from uh the hub.
So Waha is a Google Fellow and VP at Google Research. He leads the Origin and Optimization Research Group at Google, and he also co-lead the data efforts for Gemini. So let's welcome Waha. Thank you.
Great to be here. This was a great workshop. It shows like how important data is and how rich the set of problems uh like the data space are for like generative AI. I'm going to uh tell you like about maybe uh a number of problem challenges that we have and like some of the research papers that we have in this area of data for generative AI.
Before I dive into the talk, I can give you a sense of where I come from. I uh lead this advertisement optimization team uh at Google. At least uh like three years ago that my main job was to lead these teams and like uh make sure we have impact across Google. When uh generative AI and Gemini started, we decided and like we uh basically uh
Try to go and contribute from different angles, from optimisation, efficiency, and also large-scale data mining and uh related to the large-scale graph mining and data mining project that we had at Google. Uh the question that we had uh three years ago was, are we still relevant, are algorithms useful, and so on. And after two, three years I can assure you that yeah, yes, we are uh very relevant, algorithm research is
search and uh data mining is very uh inv uh important. And now we are deeply involved in Gemini research uh especially in the data side but also on reasoning capabilities, privacy, safety of the models and uh efficiency of the models. Even on the market algo side, the data markets and compute market and so on are like very relevant. Uh I should also add that uh the graph mining project uh the uh like
I like the son um we refer to it as GM team uh sometime. Uh at Google now we interchange we really also use it like a Gemini mining. So what what happened was that we had like many different data mining tools that uh were like really useful to also mine um do data selection and data labelling uh uh and so on on uh Gemini pre-training data.
And like I'm going to tell you some of the problems and challenges that show up in that space and some of the papers that we have been writing. Um data shows up
From acquisition stage, where like sometimes you have to basically acquire data from users. Then the pre -training stage, you have to mine a lot of data like at a scale and put it in the model. And the fine-tuning stage, we have like smaller data sets. So different type of problems show up, the quality of data becomes much more important. And then like at the inference time for RAG and in context learning.
meeting uh we have to deal with data and data selection very efficiently.
Uh and different type of large scale and efficient data mining sc uh uh tools are useful at different stage for like uh different reason. Sometimes like a scalability is important, sometimes latency, cpu and the basically uh memory footprint becomes important. The uh idea of estimating value of data is super important.
Uh we need to understand uh for large scale uh LLMs the the data scaling laws. I'm going to tell you about the complexity of the data selection that shows up in our research, and the trade-off between what we call diversity learnability and relevance. Um
I look at it uh from mathematical point of view as a lo uh like a non-trivial set function optimisation because different data sets have different type of interactions and uh capturing this combinatorial aspect is is hard and yeah on the privacy and safety space also there are very interesting algorithmic problems. If I want to just list a ca a number of uh research challenges um
I guess the first two topics I'll have some papers to highlight, but beyond that.
Coming up with the training procedure that is like more robust and reliable for different type of data quality that the model can self -correct if you show the model lower quality data over time it can detect it and deal with it. Understanding for LLMs the
issue of basically hill climbing, different type of evals, where we also want to make sure we have coverage for that type of data in our pre-training. At the same time, we don't want to have leakage of those evals that we hill climb. These are like new type of problems that show up and it's like folklore out there and like all the large scale data problems in pre-training.
deal with the interactions between data and different stages are like like in pre-training RL inference and post training is a top of mind and like there are many challenging problems and there are like many papers about it
Like new observations that you want to have diverse set of examples at the RL stage. But you want to be very data efficient because we don't want to, you want to make sure that the model can generalize is basically very interesting set of problems. Maybe the last topic that I'll maybe elaborate at the end or like I'll talk to you more about at the end is

to more about that then is many of the problems um
in the LLM space can be dealt with or hypothetically can be dealt with with better data. So I don't need to convince you here that data is super important and like the way I got involved in LLMs is like two, three years ago I talked to one of the researchers working in this area who was basically a theoretician in the past and he was working on reasoning for LLMs and I asked
asked what is the technique, and they said basically uh the main way to teach LLMs to reason and so on is through data. So and you can help us. Um but then after two two years, this question of how much of this reasoning and solving hard problems, combinatorial problems can be done through uh like data versus more algorithmic techniques remain an interesting challenge for uh
like ma ma many uh of us. And like one example is um maybe like a um like a story that we had from last year the I_M_O_ strike that uh a challenge that uh alpha proof the the Google system
Like participated in among like the four the six problems we solved four out of six and the two combinatoric problems were not solved. So it gives me some hope that yeah like so because like our background also like algorithms combinatorial optimization we are still in business the models cannot solve combinatorial problems but can be solved these problems also with data is
a good challenge uh and interesting questions there. Are there reasons that catch order uh community or reasoning cannot be done with autoregressive models. We have now some papers in that topic. I'm not going to elaborate on those but those are also uh between training and data. What I chose to talk about in this uh talk uh
are not as maybe popular or exotic topics. It's basically about papers that we have written in the data space that we think can are like theoretical and can inform practice. Some of them
We already confirmed there are like order papers that I can tell you that uh over time they have become very useful uh in data analysis uh for different type of uh deep learning models. Some of them are new. They need more investigation if they are really good and I am calling everyone here to also participate and try to help us uh examining this area. Also have uh couple of papers in the area like a privacy area, which is
which is another important topic to privately, like uh training these models uh in a private way on on data. So the disclaimer is that these are examples of academic research. I'm not connecting these to what what's happening now in Gemini directly in any way. So
The first thing I w I can tell you is and it's also folklore out there that de-duping and clustering the data and like deciding how to sample from data is super important or important uh uh or like has to be dealt with in the t uh pre-training stage.
Some of the techniques that we apply to do this pre-training is basically using like different type of uh graph b uh learning techniques to build similarity graphs among uh notes and then cluster data based on that, like if they are like very similar, we may not want to basically uh train on all of them. We have to like do some sort of de-duping. There are many papers on this topic.
pick. One of the papers that we wrote and may be of interest and did inform practice in general is this idea of building these graphs on the fly, but a sparse version of the graph that we call two hop spanner. So the idea is if uh that similarity graph that you want to build for de-duping
uh happens to be very dense – you don't build that graph, you build a sparse version of that graph that we call a two-hop expander. Instead of basically building all these similarities edges, you only build uh basically a uh a star around each node. And we know that uh for each two nodes that are connected in this uh new graph they will have a path of length two. So if you do any type of clustering on top of this new graph
graph it uh will be the same and we can build this graph much more efficiently. This is like an idea that has become very useful for us in analysing big amounts of data. So I'm going to have several bonus slide summaries of these techniques and ideas by the way. Bear with me. Uh data selection in general as a theoretical problem
I connected to what we call subset selection. Um when you decide like what subset of data to choose for your mixture, the connections and the impact of each of these data sets to each other becomes important. That becomes like related to this uh submodular maximisation problem that's
Like I've done research on uh in the past and this is like uh related to the marginal value of each data point when we add it to the uh to the like the set of um basically um like um like objects or like that let's say training data.
A special case of these sub-modular problems with which shows some diminishing return is what we call coverage function. In the coverage function, you have a proxy space that says like how you cover specific uh basically parts of your space. It's like comes from the set cover problem and it has uh by definition this diminishing return property and optimizing those coverage functions become relevant in the mixture.
So now when you want to do diverse sampling based on data selection you can either do the sub modular function optimization or uh clustering based on some distance functions. These are all like well known, I'm just reminding you uh of uh these topics. So we have written many papers in this area. Like this is something that uh like a topic close to my heart uh both for model optimization when it comes to feature selection or also data selection.
The reality is that most of those papers are nice, but not useful in practice. Uh I'm just marking here three of those papers that have found real applications. Uh one of them is in the area of feature selection, less relevant but I think the idea of sequential attention is actually very useful to do subset selection. I encourage you to try to see if you can use it for uh data subset selection as well.
That's the future the sequential attention that I'm not going to talk about. The other uh pr uh paper that I'm highlighting here is w where we optimise subset selection for coverage functions using uh basically what we call uh sketching and corsets.
Uh and then we have a new paper in ICML 2024 that talks about sensitivity sampling and I think that has like a good advantage and and and potential that come that combines diversity and margin-based sampling. Let me just give you like high -level ideas of these papers that may be useful for your research as well.
In the context of sketching and corset uh for coverage maximization, the question is maybe you have documents and they cover different type of biograms uh or they are like different topics. And you want to choose a subset of them that uh basically cover as much as possible. The problem maybe you have too many documents, too many um objects to cover. You have to sketch this.
The way you do it, you ta you combine the idea of sketching and corsets, and the gist of the idea is you try to sample um basically the pairs of document and topic uh going from any square or like uh uh quadratic complexity to linear complexity. But then in your sampling scheme, you also make sure you don't have more than some number of samples per document.
As long as you you have a sampling scheme with this criteria, you can show that in a streaming and a distributed setting, you can solve coverage uh optimally uh asymptotically optimally. Very beautiful like short proof, like it's like dependent sampling, but it's very powerful in solving coverage problems in general. This is like a tool that we have built and we use a lot uh in different places uh at Google as well.
Now, the problem I was just telling you was maybe a proxy function. For example, coverage which would be good representative of choosing a subset of documents to include in your data. The objective was a coverage uh objective, but a sub-modular objective which is diminished each has diminishing return.
If you're not familiar with the submodular that I went very fast over, you can relax now and now come like I'm not going to talk about submodular functions anymore. That's the good news. The thing is that those are proxy functions.
And the real function that we are trying to optimise is the quality of the model given that we put these documents as the input to uh to the model. And for example you want to u optimise the A_U_C_ of the model. If you come from theoretical computer science and uh sub-modular optimisation, you sometimes assume that this function has some diminution return property. We knew that

We knew that it doesn't have the diminishing return property all over, but the question of
Uh maybe can be solved this problem as an optimization problem uh independent of uh it satisfying the uh sub modularity or not was uh puzzling. In a couple of papers the past couple of years we observed that actually like if you want to optimize A_U_C_ itself, the the computational complexity of optimizing this subset of uh basically documents to optimize A_U_C_
or subset of features to optimize AUC is a computationally hard problem. Not only MP hard, it's hard to approximate within any factor. It's harder than finding random subsets in a like a random uh uh basically b large graph. So this uh gave us like a hint that some of those proxy functions that we are uh working with may be completely off in some settings. So we need to rethink and like add more and more assumptions.
conscience to understand the problem space. Um I thought that Anton, the co-author of this paper may be in there. I mean, he was around in the morning, so I emphasise that maybe you can talk to him about that paper.
Uh like to deal with the computational complexity of the problem for optimizing I_U_C_ in a paper a couple of years ago, we also tried to solve this problem using j uh graph neural networks. And we basically develop a technique that that gives us like good uh empirical improvements. But that was not uh uh necessary for L_L_M_s for other type of models.
Now, last year we started looking at seven uh like maybe two three two years ago, we started looking at this problem for L_L_M_s and the big challenge for L_L_M_s was that each call that we have to L_L_M_ to understand the marginal impact of adding a set of documents is very complex and very costly. So we want to basically uh have a sampling scheme or like a subset selection uh documents uh selection problem
problem has solved this problem uh in a way that we have minimum number of calls to our oracle. We have written two papers on this. I'm going to tell you about sensitive de-sampling because it has a very clean and uh I think like idea that can be used elsewhere. In the sensitivity sampling uh uh paper we are trying to understand how we can combine the notion of diversity and margin-based sampling or value -based sampling.
So like in many of these uh basically sub uh like document selection uh or uh data selection problems, we can identify how much we improve the like i uh the v uh the v uh evals that we care about uh by running maybe
like adding this data and like see what's the impact on the uh on the quality of the model. That's what uh we call margin-based sampling. There are so many techniques in this space. But then we also know that adding diversity in that set of documents is sup like very important. The question is if you want to do like uh basic margin -based sampling for all data sets
The computational complexity of doing that is very hard, because like you cannot add each data point and recompute the s the set function that we deal with, or the marginal value. So what we do is we want to und uh in order to understand how to combine these two uh we make an assumption that we have an embedding space that
Uh the documents uh like we have a Lipschitz condition that I don't have here, but I'm just telling you. So we make an assumption that we have an embedding a space that has this property of the that if two documents are close to each other in that uh space, um then the marginal impact of adding these two documents uh to the value function of the uh of the model is like similar.
So if we have that property, then we can show that an algorithm that clustered the data based on that embedding space, it computes the marginal value of each like one sample from each document, and then it samples other documents.
based on uh basically the c the distance uh to the closest centre and uh value of that uh basically representation uh for the model. So like we have a convex combination of these two that this the scheme is uh basically sampling documents as a convex combination or like a linear combination of these two functions. And we can provably show that this uh actually has like better
uh uh uh like value in terms of um under that if she's condition, it can actually achieve m uh better uh performance. And we also have empirical studies on like some L_L_M_s showing that this uh sensitivity sampling schemes work well uh in practice.
This is an area that can benefit from more exploration and understanding and examination for LLMs, by the way, for post-training data. More recently, we started looking at the problem of data mixing in multitask learning. This is related to a very important problem that we struggle with, which is sometimes we want to optimize several objective functions by adding different data sets.
So what happens is that we add some data sets that help with a special set of evaluation like for example in the multi-lingual settings we have different uh languages that you're optimizing for. The question of how to combine and uh like a data mixture that optimizes all of these uh evaluation is very uh challenging. And like we know
Some objectives are not easily optimized together. Let's put it that way. Uh so now here we want to go deeper into the model and see if we can take into account the dynamic of the training of the model and instead of optimizing the mixture from a scratch in a static way, we want to dynamically and adaptive uh like in an adaptive way uh optimize the mixture.
The observation that we made was that uh for different type of tasks uh the gradients uh could be uh close to orthogonal if these tasks are like in different uh like uh space for example uh what we did was like for uh different type of languages.
Based on that observation, these we know that we can adaptively uh actually sample base based on the gradient variance and magnitude, and this way we can actually even provably show that this technique should give us like a good dynamic mixture optimisation. And like we have some empirical studies that show that it has promised. Yes, if you want to implement it at scale, it has problems or like it has challenges. I invite you to
Look at the paper, it's an archive it's uh uh and you can if uh if you can implement it at larger scale for some uh problems, I'm happy to uh learn more from what you do. So remember pile. I guess the paper is on archive. Another uh set of yeah like um another basically like high level theoretical pro uh like idea that we had was to see if we can do um
Like an efficient method to estimate influencer scores that gives us like a sense of how important is the data point while we train and come up with a theoretical framework that capture this. This is even more.
than the previous methods. So I don't hope to to scale this uh uh like for very large models. But we have now a theoretical framework that gives us uh a proxy function that provably gives us an estimate of the influence uh function. And we show that this uh influence function can improve over random for sure and also over techniques that needs much more uh information in advanced.
These paper will also show up in archive soon. The next black set of problems and challenges is to identify to generate synthetic data that we can provably show it improves our evaluations. This is basically mm so like
I'm not getting deep into the synthetic data generation and all of that but the question is can we generate like a theoretical framework again that helps us understand synthetic data generation but with the goal of proving end to end this can help us improve the quality of the model. Long story short here the research that we have here is
A way to generate, like basically for LLMs, a readable text.
that uh uses and combines du two ideas of like A_D_M_M_ optimization and also gradient matching to to generate synthetic data that we know under some assumptions provably give m basically uh synthetic data that optimizes the objectives and like on some toy uh uh examples it seems to be working well. And there is more potential to use this grad M_M_ technique to basically generate more synthetic data

to basically generate more synthetic data and see how it works. I should just highlight that generating synthetic data that really works in practice has its own baggage that has to be like this line of work needs more attention in order to make it really work at the scale. That is it about...
Uh the data selection set of uh like a research areas. I have a couple of papers on privacy that I can highlight for your reference if you want to go and uh uh basically investigate. On the topic of privately training on uh like sensitive data, uh taking uh basically a
uh like a training algorithm based on S_G_D_ or Adam or whatever and making it D_P_S_G_D_ is uh basically uh like an important problem. We observe here that Kalman filtering
Can be basically the optimal way of dealing with basically solving the DPS, like making the training more differentially private, but the challenge of Kalman filtering is to like go from quadratic complexity to linear complexity. You have an approximation technique that seems to be working very well in practice.
I guess uh I uh if you are trying to train uh like a model in a private way, this is the paper that I actually appeared uh in this conference. I think it's a very practical way of uh uh like uh training in a differentially private way. Next uh if you like another techniques to
Um basically uh train a model in a private way is to take the private data, generate a differentially private uh uh version of that data, and then train on that uh differentially private uh uh basically uh data. This is an area by the way each of these areas that I talked about have
in the order of ten to hundred papers in that area. So I decided not to give like uh p like list some papers in other areas because then I had to do like too many of them and I wouldn't be able to. Yeah, so here there are so like several papers that show that if you generate uh like basically a
If you generate uh a private version of a data set and then train on it, sometimes it's even b works better than p uh basically doing a private training on top of um the original private data. So our contribution here is to develop a technique based on clustering, differentially private cross clustering, that first embeds the private data, then clusters the
The embeddings uh in a way that uh it explains the variance of the data, then it fitted Gaussian distribution per uh cluster and then it samples from that distribution. It provably up for gives us uh like a differentially private synthetic data that works very well for image based uh differentially private uh um uh like uh uh s synthetic data generation.
And maybe the last paper I'm emphasizing on is this idea of developing training techniques that can deal with uh low quality data or data with different type of noise. One of those noise types actually is a D_P_ noise itself.
We want to develop a technique that the model can do self-distillation or like self-boosting by training the model and then maybe like based on the model itself we can decide which part of this data was low quality and we can retrain. We want to develop a theoretical framework and like understanding of
can be like this intuitive idea does it like can does it have like a theoretical proof and like how do we do it to get like better bounds. We develop a technique like this that I guess this paper is in submission and our an archive and uh basically there is like it it also provides like a theoretical framework to understand this problem more um
uh like from first principles and like the question of can we iterate on this so we do one round of self -correction here the question of how to do like several rounds of self-correction uh is uh of interest long story short these are like different type of theoretical understanding of these problems that can become really useful and informed practice and I'm hoping that yeah like you can follow up on it
Going back to the type of problems that we are trying to deal with, I guess I mentioned this question of can we solve the reasoning problem with data? If you have ideas or like very deep understanding of what problems can be solved with data and what problems cannot be solved, reach out to me. I'm very interested.
We have some research work that shows, for example, transformers are not useful in solving a class of combinatorial problems. You connect the complexity of solving those problems to some parallel complexity that's very well understood. But then we also know that we can go beyond that limitation.
and the computational complexity reduction by combining state -of-state machines, RNNs, and transformers. There is a paper we put on archive about this two, three months ago. So we know that the power of these models change as we make them richer, like we add memory to them, we add state-of-state machines, and so on. And we do have hybrid models.
One interesting question in relation to data is that if you have a s different type of model uh should we also change the type of data mixture and the type of data that we feed to the model?
I haven't seen many papers in this topic. And I know this is like an important area to explore more. If you have ideas and like you have seen, yeah, like reach out to me and yeah, like I'm very, I think this is an area that needs more attention from academic community. I mentioned this one paper about self-correction. I think like simplifying that technique and making it easier to use in practice is very important. Putting like a more
Um theoretical framework around uh leak event leakage and so on is also very interesting. I haven't seen a theoretical uh paper on that topic. There is a this question of which models really have uh get like high evals by leaking the data or not. So how to test for that and how to uh
Develop like a theoretical uh uh understanding of that uh and then yeah, I guess I mentioned the data interactions. And like also understanding this problem also from theoretical point of view. Uh there are some empirical studies now on in all of these open source models that come out, but uh more investigation is needed. The message is
It's a richer space for both doing theory and uh practice and yeah like you would like to uh discuss more. Thank you. Um
Uh hello uh very good talk. And I have a three uh main questions to ask uh to ask you. And the first one is uh how do you think about like online uh data optimization or selection uh reason b uh because in the uh in industry uh field uh male maybe a little algorithm team and a little data team uh they may be separated. And uh the second question is about like uh when you dealing with like uh data optimization problem,
In revenue, uh can we be like uh downstream aware or uh downstream unaware? That is uh here you you s talk about like evaluation leakage and uh um when we optimise our pre -chaining data, can we uh optimise towards the validation set or validation uh distribution. And the the final question is about like uh the granularity of the data optimisation.
um can uh like uh some kind of like uh data mixing algorithm they deal with uh in domain level right and the sound will deal with in like page level or sentence level and even some more uh finer approach they will deal with in token level. So uh yeah I I'm uh very curious about this problem. Thank you. Thank you. Good questions. I guess on the first topic, it's an organizational question.
And I guess, like, I hope I deliver the message that some of the folks here, like, work on both algorithms and data. Your point is that we cannot separate the two, and I very much agree. Like, the very, like, the title of this talk is, this slide is Data X Model Optimization, yeah? Like, so it's very important that these, like, same individuals understand this deeply so they can optimize it together at the end.
uh and if I want there there is another paper at in this conference called adax that shows like one very example of this that I decided to skip, but you can take a look on that. Yeah, like it's important to do optimization and data

to do optimization and data uh treatment together. So you cannot separate the teams. That's the short answer. Uh I mean maybe like uh abstracting the problem in a way that people with different expertise can help is important, is useful, but you need people who understand both to can who can play the interface. Uh I guess on the topic of downstream evils Yeah, that's a good point. Some of the stuff that I was talking about the optimize
Proplicity, we optimise uh uh developing a theoretical framework or expanding extending that theoretical framework to dealing with uh a number of downstream tasks and how they are related is an interesting question.
Mm yeah, like for example for one some of the papers I mentioned, we do have some of those insides uh that we'll see like at some point that the paper is not out. Uh the third problem was Uh the third problem is about uh the granularity of your Uh-huh. outputting documents. Yeah. Yeah. So
All of these, so it's there's a trade-off between complexity and uh effectiveness. I know like there are all these papers now out that optimise uh token level.
Mm if you ask me, at the end of the day you will need all of these. We'll need some data treatment, a data set level, some data treatment at the document level and so on, and also some treatment at the token level. And that will become the more we go to the token level, this uh uh co-optimisation of data and model becomes muc more and more important. So you have to do it together. But yeah, there are papers out on and uh I think this should be explored and
any research in that topic is like yeah it's a new topic to explore more so another reason that it's a rich area to do both algorithms and data Yeah, thank you. Any other questions?
Okay, so uh if there's uh no other questions then uh let's thank Wahab again. Um Thank you. yeah. Um so next uh we will have another uh you might talk. Um so we'll have uh Kyle Lowe from AI Choo.
So, Kuo is a research scientist at I -I-I-I two, and he co-leads the data efforts for the OMO project, uh which is a very famous uh open source language model uh model. Um so his current work focus on the data driven approach to model behaviour and the efficient language model i uh experimentation and his research on the language model development and adaptation.
The adaptation evaluation and also the human-AI interaction has won the award that very famous conferences like ACL, MLP, EACL and CHI. Yeah, so let's welcome Kyle. Yay. Thank you. Hi, everyone. Someone left a tea here if you want your tea back. Otherwise, it's nicely displayed.
Cool. Thanks for the kind introduction and hopefully today we're going to talk about some interesting practical real-world data curation. So as a member of the OMO team working on open source language models, let's try to share as much of what we learned since the OMO, first OMO model and raise the recently released OMO 2 model.
Why you should care, why you should pay attention in this talk. On the left is some of our results from following these data practices and evaluating performance of our OMO2 model. So our OMO1 model is somewhere down here on the lower left. If you look at the amount of compute, which is the x-axis, put into the effort in training this model, the y-axis is the average performance. We did okay for our first attempt doing this from scratch, but...
Our OMO two series of models for a little bit more compute are performing quite a bit better than we used to do, fairly comparable to a lot of very good other open weight model efforts across a range of commonly reported academic benchmarks. But what we're doing is with fully releasable data, shareable data, shareable intermediate checkpoints. So hopefully if you like the stuff that I'm going to present today, go ahead and play with these models, play with the data, scrutinize it, criticize it, publish some papers about it.
about it, we'd love to have more scientific discourse around pre-training data.
In this talk, I'm going to talk about three big sections. One, just a quick review to remind everyone what the pre-training data curation practices are, sort of summarizing the high-level themes. Two, I'm going to just complain for a little bit about things that keep me up at night, like challenges and problems and frustrations that maybe you faced in your data curation. And then three, some practical advice, things that we adhere to and have mantras that we sort of follow now.
that maybe could be informative to your work. All right, quick review. If this is boring for you, you can zone out for about 10 minutes. But there's a lot of cats on these slides. Data curation, roughly the themes fall into three big categories. You have to acquire data, so go grocery shopping, get the data onto your servers.
You have to transform the data in some way. So thinking about as like cooking the data and then you have to taste the data. You have to experiment with the data, train language models and make sure that this is this is the good data. OK, so I'm going to talk about these three things. Let's talk about how you.
How you shop for data, how you get data. There's really four big patterns of data for acquisition. The ones on the left are basically bulk downloads. You can bulk download large amounts of pre -training data through organizations that provide APIs. Common Crawl is commonly brought up. Hopefully everyone knows their name. They provide API access to a ton of data. So making it very accessible and easy for you. But also data sets that are more structured, task-specific data sets, fine-tuning data sets.
sets are available on Hugging Face, so that's also another form of bulk API access. On the right hand side are sort of do -it-yourself data acquisition techniques. You could attempt to crawl and acquire data yourself. So I've noticed quite a few works crawl stack exchange as like a source of what we call considered like high quality knowledge rich data. So you can write your own crawlers for this or you can generate data yourself. A lot of works I've seen use some sort of
sort of larger maybe frontier language model or some larger more powerful LLM generate synthetic data and try to train on that. So those are the more common data acquisition themes. When we think about transformation, once you have the data in your servers, you have to go through these steps.
So there's this initial step which isn't talked about a whole bunch. I call this linearization, but maybe there's a better term for it. But basically it's turning data from whatever raw format it is into something that's plain text, almost like your JSON files that could loadable into your Hugging Face data sets that you the thing that looks right before the tokenization happens.
You large amounts of filtering. Everyone talks about filtering, cleaning, through removing low quality data and then mixing, which is a hot topic that I clear I've noticed this year data mixing.
Uh, linearization. Really the intuition here is data exists in the wild as HTML, websites, PDFs, two-dimensional structures. If you look on the left, that's what we actually read and consume. But on the right is what language models see, right before they're tokenized. So linearization is this process of doing this conversion.
filtering there's all sorts of filtering all sorts of themes and ideologies behind filtering but really filtering is like when you want to select I want to train a language model for these languages I want to remove things that are junk or just basically web spam non -english garbled garbled text maybe you want to select out certain types of content that you find to be unfair undesirable for your training on there's notions of
of quality that are talked a lot about in recent conferences, deduplication to mitigate memorization, have higher sample efficiency, training efficiency, etc. All of these are filtering and really the way that people approach this is by defining pipelines, pipelines such as the one here, which is one of our earlier pipelines. You know, we stitch together a lot of these filtering operations, you'll see DC-LM, fine web, all of them have these nice beautiful diagrams of how much data is filtered out at each.
stage. And finally mixing, which I'm not going to get into. There's so many papers on mixing at iClear this year actually. I put a few of them here and there's maybe more I missed. But mixing is this idea that once you have some partitioning or collection or grouping of the data that you have on hand, it could be very coarse like common crawl and GitHub code or it could be very fine grain like all these different taxonomies and domains of then mixing is about how do you figure out how to weight upsample downsample.
to craft the distribution of text that you actually want to finally train on.
Okay, hopefully all basics. And then finally, tasting your data experimentation. Once you've built your data set, how do you know that it's good? Well, you know it's good by training a language model on this. So commonly these are called data ablations where you fix the model architecture, you fix the model training strategy, and you train on data A versus B versus C with different processing themes, such as what I have here, and you pick the one that's performing better against
This is your target evaluation. Okay. Cool. That's it. Hopefully those were all basics. Now let's complain for a little bit.

Now let's complain for a little bit. These are things that I find very, very frustrating as a person who works on pre-training data. Let's organize them again by these three themes. So the complaints about acquisition.
Let's look at what do people actually do for acquiring data. So I did a little bit of lit review, a bunch of open data sets for which there have been a proven language model trained on this data set. You look, as you look at all of these, all of these are in the billions and trillions of tokens scale. And if you look at the common sources that occur and how many tokens they contribute to the training of these language models.
This is plotted on a log scale. If you plot it not on log scale, the first bar is really, really big. But most data comes from Common Crawl. In fact, also the Internet Archive, Software Heritage, and Push to Reddit. Basically, there's almost four organizations that are all nonprofits that have been crawling and acquiring data since the late 1990s, early 2000s that are providing this data as a service, free public.
public APIs for people to use. Most of all data seems like it comes from these sources, at least within the openly reported space. Some amount of data is supervised by tuning data, you can grab a hugging face, some of it is synthetic data, this is slowly growing over time, and very, very tiny amounts of it are crawled as reported by the people who are developing these data sets or training these models.
So let's talk about that first piece, which seems like everyone's relying on these four organizations or almost one organization for providing all this data.
If you break this down into specifically what these groups are that are providing bulk API access, how do they obtain their data that they then provide as bulk API access? Common crawl, GitHub, these GitHub data sets that are out there, these are through web scraping. These are organizations that have been performing web scraping for a very, very long time, and that's the bulk of how they acquire data. What about content platforms? People talk about Wikipedia and Archive.
I consider these content platforms where users submit content to be hosted and then that platform provides APIs to access that data. This, if you think about all of Archive, all of Wikipedia, so much knowledge there, this is still less than a percentage of all the data people actually use in terms of sheer number of tokens contributed.
What about publishers? You know, there's Project Gutenberg is a public collection of books. PubMed is a repository a lot of publishers provide open access to scientific research. PubMed is primarily biomedical focused. Again, only about 5%. So again, we have a really high reliance as a community on a handful of small people who do crawling and then providing data for us.
So, is this fine? Is this okay? Should I just rely on these big crawlers? They're providing so many tokens. But here's the limitations for solely relying on them. Coverage. If you want to train non -English language models, there's known gaps in language coverage for just relying on common crawl. Okay. Or notions of quality even. It's not like these crawls are particularly high quality. Open Web Math was a project where they had to go through common crawl.
and reacquire a bunch of data from the raw HTMLs because they want to train a language model to do math and CommonCrawl doesn't process data such that it preserves mathematical notation so they have to go reacquire this data. Okay so there's notions of lower quality as a result of this large-scale crawling. Here's an example I randomly opened this up this morning of one random file from CommonCrawl and you can see structured information is all kind of there. This
This should have been a table or some bullet list or something, but it's just a string and I can't really make sense of it. So this is what what common crawl data looks like.
Well, okay, okay. We can't rely on just big crawlers. Maybe let's generate synthetic data is the future, right? That we just generate a bunch of data ourselves, other than there's all sorts of legal, logistical, ethical questions about that. Let's just think about purely that. Well, this is really expensive. Remember, we're talking about pre-training here. Pre-training requires billions of tokens to actually make an impact. Trillion token scale corpora for training these models. I don't have enough money to...
to generate that much synthetic data, or I can't necessarily cordon off my GPU cluster just dedicated to generating synthetic tokens for a large amount of time. Plus, you have to repeat all of this for each time you want to change the prompting, which model you use to generate synthetic token. This is actually a super expensive process to rely on. It's promising, but scaling is very difficult.
Well, why don't people just crawl ourselves? Why aren't we doing this so we don't have to rely on these big crawlers? Well...
There is two types of crawling you can think about it. There's broad and wide crawls, and these are very easy to scale. These are what the common crawls interactives are doing, or big tech company, if you're very proficient at this. And then what we often do is what we call domain-specific crawls. And these are crawls that are really easy to ensure quality, because you have a very specific need, and you tailor your code specifically to capture what that need is. So if you've ever said you want to grab a bunch of math exercises or Jupyter code notebooks to train, or QA.
a forum post stack exchanges you're probably doing something like a domain specific crawl where you're writing code for a very specific website
And the unfortunate thing is the internet is really complex. Websites often look like this where content is hidden behind JavaScript interactions. You have to, if you just look at the HTML, you don't necessarily parse the HTML, which is the fastest way to crawl. You don't necessarily actually get the content that might be very valuable. So you can think about how many times you have to click on buttons such that you can go to the next page, pagination, all these other things.
And what this means is when you're actually thinking about crawling, you're probably doing something similar to this, where you're looking at all the websites that you really, really wish you had that data for. And you're thinking about, wow, these are high quality data, there's a lot of data out there, but can I even actually tangibly spend the engineering time to crawl? How difficult is it to write the code to do this? Is there a technical barrier? Some of these websites are paywalled and you might have...
might have ethical or legal reasons that you just, I can't access this data. And can you even have high coverage of the amount of content that's in these websites? So prioritization of where do you spend your engineering time for crawling is really key when you're doing domain-specific crawls. And this makes it very difficult to scale to the scale of what you need for pre -training. Not only that, there's very good work by Shane Longpre that has shown that
The crawling is much more difficult nowadays, ethically as well as technically. If you look at robots.txt or terms of service restrictions on websites, over time, more and more of these websites have been saying, please don't crawl me or been using Cloudflare or other services to prevent AI crawlers. So the red is data that used to be.
crawlable X years ago and is no longer accessible as long as you want to adhere to, you know, be good friendly participants on open internet and not crawl if they say not to crawl.
So what does this mean as something that keeps me up at night? It means widening inequality and data access. Common crawl is in constant discussions with legal battles around whether they can be hosting and they've been taking a lot of policies to remove content so you can't get New York Times content, for example, through common crawl today.
But certain players, if they pay for the data, you can get access. But can everyone pay for data? In fact, what one of my colleagues has said is maybe what's happening is we're not running out of training data as a field. It's just we're running out of open training data, which really makes academics and smaller players sad. It's like a grocery store with nothing on the shelves. How do we even get started? So one of the things that I think about a lot. All right.
Little pause. Let's assume you have data on your computers. Now it's time to cook. We're going to transform data and those are the three themes linearization filtering and mixing.
these are the things that that that plague me wow there are so many things i have to do because i have to build these pipelines there's so many ways to compose all these these operations um and also because they're pipelines uh the modules aren't independent so here's an example what i mean but they're not independent um linearization affects quality filtering
So on the left-hand side, these are actually content from the same web page processed under two different software tools. On the left-hand side is what Common Crawl provides as plain text called a WET file. On the right-hand side is if you go back to the original work file, which is a kind of a, you can think of it as a representation of the HTML, and then use a different open source tool called Resilaparce, and you process that to get plain text. And look at how different.
these representations of that content for that same website are.
thinking about what if you acquired a bunch of PDFs of documents and you want to use OCR tools. OCR tools, you'll probably notice a lot of random symbols, holistic words, scrambled footnotes from processing these PDFs. And here's examples from, I think, five different open source libraries processing this same thing. And look at how different the text is from depending on the choice of tool for the same page. And so what happens is.
If you, for the same content, for the same quality classifier, when I then compose my pipelines, some of these might be classified, classified this document as high quality, some of them might classify it as low quality, but it's not because of the content, it's just an artifact of how that process was, that web page where that PDF was linearized. So this makes it very complex to do experimentation. Experimentation, I have to try all these things, I have to basically just test it out. Well, testing it out is really...

Is it out? Well, testing it is really expensive. Not many people have a lot of GPUs to run a whole bunch of experiments. So what do we do? Well, the thing that I worry about from an experimentation perspective is a failed experiment. And a failed experiment is one that looks like this, where it's inconclusive. I defined a 1 billion parameter model. I trained it for 100 billion tokens. All of these are different data mixes. And I look at my end task metric and I have no idea.
you what worked or what didn't work inclusive so I basically just wasted that compute or even worse data can't be studied in isolation from modeling decisions so here's examples of runs for which I have exactly the same data mixes down to the same tokenization same ordering of data files and these are two different implementations of the same 1 billion parameter model written by two different engineers and you can see the diff in performance is
bigger than the diff that you see at a lot of published machine learning research papers. If you saw a diff like this, you would probably get state-of-the-art and have your paper published, but this literally just came from implementation details. And one of them actually diverse, unfortunately, I don't know why. Same data though. So this is really complex. Oh, how do I even have confidence that my experiments even mean anything in this world?
All right. So in summary, acquisition, the frustrations are I have a lot of lower quality data and a small amount of high quality data, but that's not enough for training. Transformation is, oh, no, I have to run so many experiments to try all these things, but my experiments might not even help me make decisions. All right. I'm going to end here on some practical advice. And I'll give some warning some of this might be just for us and maybe not for you, but, you know, it could take inspiration from what we're doing or develop your own techniques.
So warning, a lot of what I'm saying is really motivated by if you're compute bound, you don't have a lot of H100s, things that you might fix that help might you be more economical with your compute. And also this is really for small teams. If you have a ton of ton of engineers to do stuff, ton of researchers, you might not want to follow these practices. So think about acquisition. How can I deal with this problem?
Well, one, one of the things I recommend then is solving backwards from the compute needs of your final training run. We know that in data, there's a tension between two objectives. There's this feeling that I need as much scale as possible. I need trillions and trillions of tokens. So I need data acquisition methods that give me that scale.
But I also want quality data, and quality data requires you to focus and to spend compute wisely on just the best data. And these are in tension with each other because data isn't for free. Data isn't IID when you go out and get it. So one heuristic that we do is you don't actually need infinite data. You can fix the scale because you're probably bound by the compute budget you actually have. And one of the recommendations is don't train for too long.
Think about how much time it's actually going to take to train your large model and cap it, just ideologically cap it, because you don't want your team of people to be looking at the same training run for two, three months doing nothing. They're not going to be able, it's going to be very hard to focus on other projects. What we do is we say maximum 45 days, the max training run, what was quarter enough, some amount of compute for ongoing experimentation, and then salt backwards, then what is the largest model we can train.
for a certain amount of tokens right so this at least fixes the scale problem and then from there maximize the quality of your data second thing is think practically data curriculum is actually a really practical tool it's not just a capability tool people think about data curriculum as a way of like improving training efficiency all these this is all probably true but I actually like it from just a pure practical real-world use use case which is
So thinking about how base models train today, base models all kind of look similar to this warm up, then you have some sort of learning rate decay that happens for a lot, a lot of the training run, and then you have some sort of final short bursts where you decay the learning rate to zero.
And practically speaking, it seems like it really maps nicely to pre-training and what's called mid-training, which is near the end, your pre-training takes 99% of your training budget and mid-training is just this last tiny percent and it maps nicely to the two types of data where some of the really large scale data maybe use it to support pre-training and some of this small scale data that's high quality that you've focused, you spend a lot of time trying to acquire and make.
For your particular use case, if you don't want it to be washed out, maybe include it at mid-training or kind of this late stage pre-training phase. So here's some examples of some of the data sources that maybe go into pre-training because they have enough token scale. And maybe you want to up sample some of these that are the highest quality, the best more in-domain for your task, and then for your custom crawl, your custom synthetic generated data sets, your favorite data sets, SFT data sets from Hugging Face, maybe they have enough scale to pad for the final stages of
of training, retraining.
So a little infographic here, SFT data, stuff that's just not good enough. Or if you find a new data source while you're waiting for your training run to finish, you maybe sign a partnership, you maybe finish the project and now you want a way to add it without retraining the whole model, throw it in at the end. Now a warning here, it doesn't mean that you can get away with this all the time. Fundamentally, I still believe that you want to try to affect the model from pre-training, but this is more just like a practical reality of if you only have one shot.
You don't want to waste a pre -training run. At least you have a chance to change the data at the end. On to transformation. Honestly, I think intuition is very undervalued. Here's an example of how we use intuition.
Fees. This is an example of a training curve, a training loss for one of our models. And look at all the training loss spikes that we encounter. If you actually open up some of these spikes and the batches for which they spike, data looks like this. So this is a page from a subreddit called the Microwave Gang. And people on this subreddit basically just post like the humming sound of a microwave and then everyone in the comments replies.
this reply would beep like that microwave finished beeping. And the whole subreddit is just full of full of pages and threads like this. So it's very fun. But is this the type of data that you really need for free training? And turns out you can find a lot of sequences like this by just opening up the cases that's really affecting your model training catastrophically and just going, oh, yeah, I probably could just write some rules to remove this. Again, just open the data, common sense practices. I like to think of it this way, the amount of effort you put in.
um and the rate of really really obvious problems where you're just opening up files and noticing things in your data in the beginning you're probably going to notice there's a lot of stuff that's just not even language stuff that's just straight up spam stuff that no human would read write heuristics remove them from your data over time maybe you'll find the pornography toxic text stuff that you really really don't want to train on again you can write rules to remove those and at some point you're going to start realizing i don't have any more intuition i
Is this all data off seems fine? Is this useful? Is this not useful? It could be better. That's when you cut it off. This is when maybe your intuition starts going out and you really need to experiment rigorously and use your computer wisely. But early on, common sense can go a long way. Intuition can go a long way.
And once you transition to experimentation, one of the things that we really think about is favor ideas that actually scale and that are really suitable for rapid frequent iteration. So this is the scaling is really important. There's 250 trillion tokens of common crawl and most filtering seems to take like a 65x, 100x reduction down to your training corpus. So you need methods that can actually get applied to that full original source of common crawl.
How much does this cost tangibly to you? Fast text, which is often used, oh, it only costs maybe like $600 worth of AWS credits to do a full common crawl processing. But if you want to use BERT base, which feels like a small, tiny model these days, it might still take $10,000 worth of H100 credits at like a $2 per hour pricing. And then if you start thinking about, whoa, these are super weak models. Shouldn't we be using the more powerful 7 billion parameter models, all these things?
these things to be filtering well someone did suggest this to me the other day I think this is March 6th and I did the math for trying out this more powerful model more powerful model for filtering and it would have cost me five million dollars to run at once so we were like no I can't use this idea it doesn't matter how good this idea is if I can't actually scale it so scaling is super super important
Um, instead of another thing about scaling is if you rely on cheap, powerful methods, instead of getting basically one try to get this right and hope for the best, uh, you can think of it as no, just I'll have a whole bunch of tries. Uh, at least one of these things will try. I can tune, I can, you can modify your fastest classifier, your small models, um, and really, really get the hyper parameters right and the way to use it correctly. Um, and iteration is really, really powerful. And if
And I've found that for the most part, if you can iterate, you can eventually get to a good configuration for which this technique works.
Here's a very, very cool example of where iteration has been really good and focusing on efficiency has been cool, which is we built an OCR tool. Just looking at the document like before, we have a fine-tuned vision language model just to handle OCR. You can get away with smaller models to do this, no more weird symbols, proper OCR despite the bad lighting, you process the footnotes. This is super, super cheap compared to the really, really expensive APIs using GPT-4 .0 in batch mode.
mode. This super, super cheap per pages put into it, and it works. We're seeing numbers akin to the scale of maybe like full modeling research projects just by doing good OCR.

just by doing good OCR this improves the performance of our models in these experiments so focus on scale focus on iteration and finally to conclude experiments how do we trust them I think everyone should invest in upfront in figuring out what is the smallest experimental design that allows you to break through the noise floor and generalizes to the setting that you actually want so here's what we do
The experiment that was super, super noisy, which was inclusive before, that experiment is roughly configured to be if you take 16 H100s to do this experiment at a 1 billion parameter scale, it takes about a day and a half to finish. That's a nice experimental loop. It costs $1,000 per experiment if you think about a $2 per hour pricing. But this is a waste. It's $1,000 that went to nothing. And some intuitions here is because maybe early on in the model,
that first part is spent on some uninformative phrase. It's like the model's just learning syntax, learning basic language, and by the time the experiment finished, as it was starting to pick up on this task, we concluded experiment too early to see any significant differences. Some work in the scaling laws literature has also suggested that, oh yeah, you can use these maybe the checkpoints that are through training are really, really useful for estimating scaling laws.
But these early phases, the checkpoints, you can throw out the first third checkpoints. And so it seems like it matches intuition, my intuition, which is some of the early parts of these from scratch pre-training experiments are a little bit wasted.
But here's a cool idea then. Well, don't start from scratch. We have, for example, mid-training as an idea. You can take one of these models that are mostly trained and do a little bit more training, take the learning rate down to zero with data A versus data B and realize if data A is good, maybe that's the better data. In fact, you can push this even further early on. Take a half-trained model that's gone through this syntax grokking phase and then do your experiments at that scale.
scale. And the hope is that whatever distance you make about your data there, maybe then you can then try your larger scale pre-training runs on it. Again, warning, because we know there's phase shifts in training, so maybe this doesn't generalize, but here's just an example of figuring out in what types of data experiments can you rely on these cheaper methods such that it still generalizes to the final full pre-training from scratch runs.
And so an example of this is for the same data mixes that made no sense on the left, we did a little bit, spent a little bit more compute, a little bit more experiments, but we actually see clean separability in the metrics. And now I can confidently pick the first group of experiments worked out and the ones down there are not so good. And finally...
Because you invest in your experimentation methodology, you can then really reliably lean into powerful methods for data, methods that have what I call high degrees of freedom. So degrees of freedom, thinking about it this way, quadratic classifiers up until this point have been pretty naive. They either say, give me more stuff that looks like this, give me less stuff that looks like this, you label some positives and negatives, and you train a classifier, and this induces a ranking of your documents.
But how do you use this ranking? The hyperparameter that you can tune is your threshold, and this is the only one. But if you tune your threshold to maximize your quality score, you might not have enough tokens to train your train to actually even meet your target training budget.
you can always get higher and higher quality data but maybe at the cost of the scale that you want so this is actually a really tough because it's intention with the fixing scale advice and starter point that you wanted so beyond just naive quality ranking similar to the stuff that's what was presented earlier by Adanchi text on a miser documents have a lot richer organization over the documents that you're working with
And that affords you the ability to have a lot richer rankings, partitionings of your data. And so maybe you can have something that looks more like this, where maybe you have an educational score or a science score and then have different tunable thresholds. I consider this to be a higher degrees of freedom data operation. And once you have higher degrees of freedom, you need more compute because you need things to try it out. But you can do this because you invest in your experimentation methodology.
Anyways, thanks for listening. Thanks to a lot of people on the Omo team, 50-ish person team. We're hiring, we do a lot more stuff than I said today. But yeah, here's a summary of the talk and feel free to reach out to me if you want to talk some more. Yeah, so is there any questions for Kyle?
Thanks for a great talk. Uh do are you also investigating anything on maybe the multilingual side? How much of does how much of this transfer directly and are there any things which do not work there?
I haven't done enough work on multilingual to really say. I think it's very important if I know Anton Vasilut from EPFL has done very good multilingual work, so I suggest people go reach out to him. I think the big things that maybe change to multilingual is figuring out tokenization. We have tried around like basically having some reserved tokens that are like non-English tokens that remain under-trained, but
we haven't really figured out how to think about that. The other thing basically also when you're thinking about non-English tokens, again like Common Crawl doesn't have good reserves of this. And so how do you best make use of strategies that involve extending English only language models with continued pre -training sort of this like added at the late stage. I think very exciting space. I don't have a ton of work myself though.
Thank you. Yeah.
A very good talk. And I'm curious about a question that if you add more high quality data during the mid-training phase, does it will reduce the beneficial of like a fine-tuning phase or SFT phase? Yeah, Yeah, yeah. there was a paper on this, I think, right? Yeah, Like, yeah, I yeah, yeah. think it was talking about more like long training runs are very difficult to perform SFT.
Yeah, Um, something like yeah. this. So when you think about more of this type of high quality data, you're essentially we're talking about is extending the mid training phase, which maybe in some way extends your overall training phase. I haven't seen a ton. We don't have any ton of experiments yet to see if it does its contamination. I think it's because we're only doing one epoch.
Yeah, uh through data uh i imagine at some point when you're doing multiple epochs through this data at at the pre-training uh sort of mid-training phase and then you reuse it then for sft later probably contaminates we just haven't pushed that you know we don't have enough token budget to even get to multiple epochs anyways
Sounds good. Uh uh I have a question about uh have your group tried the safety-aware data creation uh just to focus on as you mentioned the porn and toxicity, do Yeah. you have this try? And uh the other question the second question that uh for ASR t ASR safety and many people do the positive training back in the alignment.
So what's the opinion, what's your suggestion, our opinion on the pre-training of our training for safe to issue? I think of I think that's so I haven't done any of the safety work for training I think that involves um I was chatting with someone here actually about like augmentation of data um for training time I know there's some literature that says if you completely remove it from pre-training it actually might harm ability to then tune
for this um but i don't have a ton of expertise other than removing the really really obviously like ah this seems like way overrepresented than we actually want that i do i will say though
I do believe that it needs to touch pre-training data besides operations. There's something about what I presented here, which is like, oh, yeah, you know, add this stuff at late stage. That's why I had the big warning sign. I think this is fine to be very practical and make the best out of the model that you're training because these are very, very expensive endeavors. You don't want to be like, oh, well, you know, we didn't remove something. So we got to throw the whole pre-training run away.
way, hence proposing mid-training as a way of patching or adjusting. But fundamentally, once you have that idea, try to push this back to pre-training because I'm actually worried that a lot of the benefits we're seeing from only post-training based interventions are very brittle and maybe just illusions that we see because of our end task, the limitations and evaluations. And like you really, really want to bake this deeply into models to have like full generalization. I think pre-training is about more than just the limited set of
of evals that we actually report on. Thank you.
Thanks for the very good talk. Um I'm just curious, uh building linear model is a combination of a very different uh technologies uh and also prosody years. Um for example pre-training, uh post-training and also optimization algorithm. So how do you decide, or can you share some experience how do you decide when uh the problem of a linear model, the final product uh that the problem is caused by pre-training data. Mm.
Yeah, all as that. opposed to something else Yeah, like yeah, how yeah, do we debug it oh yeah, yeah. it's so hard it's so hard to debug um i think it's really just sheer amount of experimentation and trying a bunch of things and then building intuitions i i really do value intuitions built from expertise um think about it from modeling perspective since a lot of us have more modeling experience how do you know that it's not um

that it's not um how do we know that learning rate and batch size are these really important hyperparameters that we have to try out but not um you know like the width of this like like like you know these different layers or the size of your life so why why do we feel like learning rate and batch size is more important than the other one this is because we have run enough experiments where we built up this intuition now does that mean that for every single project i always have to
kind of try all these long tail of things that's impractical we have to at least some update our priors and just go forth with this and i think data just needs that time of us trying these things out realizing what stuff sort of makes sense is in the range of performance that makes sense and as we build up that those intuitions just working on data problems we will have those similar test intuitions where it's like this is probably a bug versus this is probably a model he not identifying etc but i i can't have a
the crisp answer other than I think it's a function of time and attention and energy from the community to just get used to things. I see. Okay, Yeah. thank you very much. Um okay, so for the interest time, uh so we have to uh stop here. Um let's uh thank Kyle again.
Yeah, so uh next will there will be uh be two spotlight presentations. Um so the first one is by Joan from Google. Uh he'll talk about his work on synthetic data generation.
Thanks, Jackson, for the introduction and yeah, very glad to be here, honored to have the opportunity to talk about our work. It's synthesizing privacy preserving text data via fine tuning without fine tuning billions scale large language models.
So the work is primarily done by our intern Bowen from CMU during his internship at Google of course. Unfortunately Bowen cannot be here to present the work. If you get any inspiration from this work, the credits goes to Bowen. If you find anything a little bit suspicious or sceptical just blame me. And yeah I'll try my best to do a little bit of time management. If you hear me talking faster at the later stage of the talk when we
When we talk about results and the details, that's intentional. That's not because I don't know the details. That's intentional. Okay, let's get started. I think this talk is supposed to end at three now. Yeah, let's let's see how it goes.
So I'll start with some motivations. Why do we want this privacy preserving text data? Let's talk about some why data are useful. Probably not too we don't need to talk too much at this point of the workshop. We are all at a data problem workshop. And uh this high quality data, especially user data, very useful like for alignment of large language models and beyond. For VR applications, you probably have heard a lot here.
This second part is a little bit special to what we have been doing before, before the the the era of large language models. We show that for small models, if you train on user data, it's in-domain data, even like with a good privacy preserving method, you can significantly improve the performance of this small model. Like we train some we train the small language models with federated learning and differential privacy and
the device are in production, in general in real A_B_ testing production e e e environment, we see improvement on accuracy for seven to thirteen percentage and for peak to rate these are all important metrics for this for this application used by billions of users, we can improve by three to nine percentage. You can read more details in our previous paper.
So that's a part of why we want to do to use this user data or this in -domain data to help us to help our training models. Why do we still want this privacy preserving measures while we care? Of course it's user data. It should be it should be well protected. So there are some privacy risks of user data in early paper last last year we showed that with in some open source like
instruction data set, for example the chatbot arena data set, huge c uh a huge thanks to to the to the chatbot arena team who release uh the some some of the their data as a as a opens open source data set to the research community. But you can see that there are some information that is a little bit sensitive, like we mask the information in the data set, but you can actually find all this information.
And as a lot of you work on, a lot of you know, is that those training data, they can be memorized by the model. When the model is larger, the risk is potentially larger. In the paper that show up at this workshop by some of our Google colleagues, they show that there are various ways you can potentially get these training data from this even production level, large language model applications.
So that that's about the why we want to do uh to use this instrument data and why we want to use them in a privacy preserving way. Why do we want to do synthetic data? That's a follow -up question. For to do in synthetic data there are some advantages. Synthetic data gives us a flexible and a reusable c is a flexible and reusable componen component in a complicated system. On the left hand side I show why the figures in
See, while thought uh in the previous paper we talk about why we want to do D_P_ instruct synthetic instructions. These instruction the language model training pipeline as you as you hear is getting more and more complicated. And there are various places that the the r the r the privacy leakage can happen. The risks will show the instructions to annotators, it's there's potential risk. Will train the model, there's a potential risk.
and how to navigate this complicated space terms and apply prevention protection techniques in in in various stages uh is is not an easy task. And uh this deeply synthetic instruct uh deeply synthetic data is one of the methods that makes it uh little bit easier. And uh on the right-hand side I saw an I show another system is how we get the state of the art production model I I mentioned before for
all on-device applications. This is again not an easy thing. We do public pre-training, we then use a production system for on -device training with facility learning and also differential privacy. Then if we get some good synthetic data, this can significantly simplify the pipeline we have.
An another another some why we're interested in this is that this sunset the sunset data is a good bridge to draw on the public information we we have from uh like the large scale public data and uh what can be learned by a large angular model and the private domain information.
Uh another interesting thing I want to mention as is that if you look at the bottom right-hand side, there is a curve that shows that if you only prompt a large language model, there are still gap comparing to when you can't do like privacy preserving fine tuning or training on the real user data. So whether this gap can be easily filled, I don't know. Hopefully it's not too hard. Hopefully we can get a lot of
lot of good research, but this is the status bu for now.
So how can we do sen uh how can we generate synthetic uh pr uh how can we synthesise this privacy preserving text data? In the literature there are various measures. One of the most popular one is like if you have user data, you want to synthesise data that is similar to this user data, this in-domain data, let's just use this data to do deep differential private lay f deep uh fine-tuning, deep P_ fine-tuning. Uh if the model if the model you're fine -tuned is large enough,
Half this usually gives you a quite good performance. And uh some of the other methods is like you can do a iterative process of prompt and uh use some private selection method. By example is a private evolution uh uh seri soft algorithms. Even without that, if you just do prompt and uh use use one iteration of private selection, it still gives you a quite c reasonable performance. That's what we show in our own paper last year.
Yeah. Another line of work is like private inference. I don't want to go into details of all that. But I want to tell uh mention a little bit of how we land on our method. It's like we consider both data anonymisation and the data minimisation as our design principle. For data a anonymisation we use differential privacy as a gold standard. We apply differential privacy to choo to get a generator to prevent synthetic data to memorise, potentially memorise and or leak in the
Kindle training data. They stipulate guarantees are if we have a DP j uh generator, then the DP guarantees are preserved for synthetic data generated by this generator due to the nice property of DP, the post-processing property. Another principle we can say there is data data minimisation. This is closely related to the techniques like federated learning, where our data remains on users' own device. User has full
has full control of their own data. Usually in this uh in this uh in this setting you will have limited computation and uh communication resources which which motivates us uh motivate us to land on the method we we I would describe here. It's uh it's like how how how exactly we do in this in this paper uh it's

In this paper uh it that we do DP fine tuning, but without fine tuning billion scale language models. Basically we tune a relatively small language model. If you look at here we we mentioned that the model we actually tune, this like one hundred and the fourteen million parameter size model. That is much smaller than what people ta what when people talk about models today. Let me talk a little uh show you a little bit more about exactly what we do.
what we do. So we of course have some improvement on the way our method is based on DP-fine tuning. We do some improvements so that even with a relatively small model, you can get a good DP synthetic data set. So the first thing we do is like we use a little bit more of the public information. If you look at the first box that
the gray box there, we do two sense. One is like based on the Wikipedia data set, we do clustering and uh gather a gather topic modelling. This is based on p public data. Uh if you hear perhaps talk uh earlier, you will potentially see that this clustering structure there can be very useful. Um
The second thing is that we do the, we, instead of directly using, using the, uh, documentation text to, to like train a language model as generator, we do continual pre-training with a paired data. This paired data makes the con, the generator a conditional generator. The conditional generator, the paired use are like the keywords or summarization of the document.
And followed by the full text of the doc documentation. If you hear Dan cheese talk in the morning you will potentially see how p how powerful this condition of conditional generation can be.
The next stage of our work is to adapt all these to the private domain. We do two things, again two things with the with the with the topic model we have and the the continual per trend generator we have. The first thing is like we based on the topic modelling we get a D_P_ histogram which shows like roughly get the distribution of the private domain on the on different topics.
like potentially how what's the percentage of the of the like private data are for specific topic so a second thing is like again we for for each private documentation we make it appear a key words and documentation pair and use use DP and use use DP fine tuning to further fine tune the the the conditional generator
Uh then after this step after we we we are done with the green box B, we now have a DP histogram to capture the distribution of the of the private data and we also have a DP generator, a DP conditional DP generator. The final step is relatively easy, let's just do some sampling. Let's do sampling based uh uh for the uh with the condition DP conditional generator,
Based on the statistics we have in the DPE histogram, basically for a specific topic in the topic modeling, if I know the percentage by the DPE histogram, I can generate corresponding number of synthetic data for that topic with the keywords represents that topic.
So there are a few like advantages I probably need want to emphasize highlight a little bit here is like we don't do peeling size QTP training like I mentioned before there's no domain specific prompt engineering which I will quickly show in the next slides and there's no constraints on synthetic data sets this is specifically to compare with methods like private inference and private evolution because this method is
there's still based on fine-tuning and to get a DP generator.
So let me quickly show you what we means like we don't have like targeted prompt engineering. So we still use a large language models to do some extraction for this work. But compared to previous work like like shared or for private evolution and our own own work for like prompt in in common 2024 is like our our prompt is significantly simplified.
by which just ask the uh large uh large matrix model. It's it's not necessary to be very large actually, we just use a two billion GEMMA two model and uh ask it to do some summarisation, extraction with this one sentence like prompt. With that uh with our example document like this, we can get like these extractions, it gives you the tone, the style, some keywords, a purpose and a structure all all of the all of this data.
data. They say it's how we how we do the continual pre-training. So let me show you some of the main results like the main experiment results on generative task. This is a PubMed data set. When we say generative task, it's like we care about the the downstream task is a generative language model.
And we evaluate the main evaluation we have here is the train user synthetic data to train a downstream task, downstream language models and evaluate the performance of these downstream language models by next word prediction accuracy. We have some of the...
What we consider upper-bound for synthetic data generator is like which one much larger generator, like 10 times larger than what we use actually.
So we also consider some of the other baselines is like we directly use a downstream private data to fine-tune your model. That's another kind of upper bound for utility, especially if you look at the epsilon equals to infinity, which means that we don't apply differential privacy. This is kind of the upper bound we will get for this performance, for this task.
We have some base lines for private evolution line of algorithm. We also have some base line to do vanilla fine tuning without class train and uh with without the D_P_ histogram. There's a actual w actual one work uh based on our previous work. We use a D_P_ histogram, but we do it by post-processing instead of faded g uh uh as as as information to a conditional generator.
Um I guess the the main message is like we work really really well in different optional, in comparing with different baselines, if you are interested in learning more, feel free to come to my poster I'll be interest uh I'll be happy to talk more with you. So a little bit more message here is like we one of the main comp uh main comparison we do is like
Fine-tuning versus private evolution and all that, is fine-tuning always better? I want to show you two figures. On the right-hand side is kind of the privacy utility trade-off. Why we think fine-tuning is still quite promising even if you can only fine-tune a small model is that it gives you the kind of privacy utility trade -off you want to see. If you look at a lot of the private evolution works, they get a lot of interest.
because you have good performance when you get when you have tight privacy budget when privacy is strong when epsilon is equals to one or something at that level but on the other hand even if epsilon is very large like you like you don't apply a lot of privacy technique you still don't get a lot of improvement on utility so that kind of loses a little bit about the privacy utility trade-off you want to see
Another thing I want to mention is that you still want to use this kind of private evolution algorithms like if you potentially you don't care about training a downstream task, you just want a small number of samples to take a look, to do debugging, then if you have a small number of, you only want to generate a small number of synthetic data, then that can be a potential use case for these private evolution algorithms.
So this is uh somewhat of conclusion session, it's like front tuning A_ still simple yet very effective. We show again the power of public data and pre-training. One of the gains we get is b by doing a continual pre-training for for for this front tuning approach. The STP histogram and the statistics can be useful, and uh the downstream task you consider it is also important when you when you consider generalising.
uh synthetic data. Uh I I already got some questions when I present the poster about evaluation. Evaluation is a very important topic for synthetic data. What we are doing in general is like we generally use both MAF score to evaluate the quality of the synthetic data somewhat quantitatively also qualitatively. And another important gold standard is like if we care about the downstream model performance, we fine-tune that.
that that model and see its performance in practice. With that, thank you very much. You feel free to get in contact and uh if you are interested in trying our method, it's not open source yet, but we have a version where we happy to share it with you if you send us a email. Uh okay, great uh thanks Zheng. Um are there any uh questions?

any uh questions? Um so maybe I ca uh so I wanna ask one, so from your perspective, what are the fundamental differences between the synthetic and real data from the perspective of data curation? So for example like we will the synthetic data be like a much less like diverse, so like for the synthetic data, like we should like a
Besides, we like to focus more on the diversity, and then for the real data we will we will need to spend more efforts on like figuring out those noisy or like erroneous.
Yeah, that's a great question. I don't, it's also an open question. I don't think I have the perfect answer. I think what you just said is already partially the answer. I think what is really important is like, like I showed in the last slides, the downstream task we consider really matters a lot. We see a lot of synthetic usage when the downstream task has some structures like coding, math, all that.
For privacy, if it's a specific domain, then I see that there is a potential, a lot of usage of the synthetic data, but if more generally, like see the, we all know that the diversity is a big issue of synthetic data. And our method is kind of one way to improve the diversity of this synthetic data so that we can get better version of it.
Um I see I see. Okay. Um six. Uh let's thank uh John again. Thanks. Yeah. Um so in the next we'll have the last spotlight presentation from Brandon. So Brandon is uh student at uh CMU and he'll tell us his work on language model agent. Um so let's welcome uh Brandon.
Test. Thank you for the introduction.
My name's Brandon. I'm a PhD student at CMU in the machine learning department, and I'm really excited today to present to you some of my ongoing work with my advisor Russ on scaling up training for browser-based L_L_M_ agents.
We live in this super exciting time right now for agents where language models are now so powerful that we can use them interactively in virtual computer environments to help us automate tasks like web browsing, software development, and even some professional workflows. These pipelines generally have a user that comes to the agent with some task, like for example maybe we want to help them book a flight, and the LLM will chat with that user and operate some virtual computer such as a web browser on their behalf.
In um ongoing works people are exploring a lot of tools. But in the talk today we're gonna be restricting ourselves just looking at web browsers. And these agents are really powerful. It's becoming clear though that
They do have their limitations. If you want to take these agents and use them in production environments, they have to be really accurate at these tasks. And even current frontier models, while they are quite powerful, they're not quite ready yet for these production environments. And it's becoming clear that we really need to train these models and we need a lot of good data to do that. And we're going to be talking today in this talk about how we can unlock the internet as the largest environment for training agents and the different steps that we have to solve in order to unlock.
lock this really big environment
If you're interested, at the end of the talk I'm going to be presenting some results with a 1.5B agent that we fine-tuned starting from QN. So we train this agent on data produced by our pipeline and we're going to show at the end of the talk that it's quite capable. If you do want to play around with it, I have a QR code here. So this agent has a success rate of around 50%, but I'll show you some examples so you don't have to run this yourself. It might be kind of slow if a lot of people try to access it. So here's an example where
I took this agent and loaded the Berkeley library website. So this is actually running on the live internet, so we loaded this page, and I asked the agent to find a digitised historical map of the San Francisco Bay area. So you can see the agent looking at the search bar, it enters the search query, it's looking for results and it finds the relevant result, and then it starts looking through maps essentially building up its context, looking through different areas, different historical maps and then eventually it stops after it realises that it has solved the task.
Here's another example where I took the agent and I asked it to find the price of a Jeep Wrangler lift kit on some website that people with Jeeps might be interested in. And again the agent is searching through finding these two products. And this is an interesting example actually because I actually misspecified this task. There are two products that satisfy this condition and the agent actually successfully identifies that and reports a correct range.
So our goal in the talk is to try to build a really good agent for this browser use. And to do this, we're gonna be building a big environment starting from a huge amount of data on the Internet, a huge amount of websites. And our our key step to do this is to try to automate every step of the way and not have to rely on human data to train and evaluate our agent. We're gonna start from the top one million websites in the common crawl page rank.
We're going to annotate these with a task generation flywheel that I'll talk about in a few slides. And then we'll take LLM agents and we'll run these on our tasks to collect a lot of imitation learning data. We'll evaluate whether our agents succeeded. And at the very end, we'll look at how we can filter this data and how useful the data coming out of our pipeline is for training agents.
So these these steps I'm going to be talking about roughly as the scaffold for my talk but I'm going to zoom in on the part on the left first, because this really provides the foundation for our environment. One big problem when generating tasks is that you need to really
deeply understand the content of a website. And to get that knowledge, we we first use our pipeline to look at the URL of our website, propose a relatively easy task based on the LLM's prior knowledge. Usually these are fairly short. And then the important step after this is that we send this easy task to an agent that goes out and actually explores the website and
Attempts to accomplish the task that we gave it over multiple steps. And when it finishes, we send that trajectory back to our task proposer, which reviews the trajectory and, with some clever system prompts that I have on our GitHub repository, we use it to create a much harder task that references the content that was live on the website as the agent was interacting with it. So in this example, you could see we had this relatively easy task to start with. The agent is actually able to find two products that match those categories, and we can create this.
this much more specific and much more verifiable task based on the agent's experience. And I want to highlight the importance of this. I think it's really important to have this task proposer that we can actually keep calling as our agent is training because as our agents are going to become more capable, we want our tasks to get harder and harder over time. And with a flywheel like this that gives us some of this behavior.
So we did some evaluation to check the performance of our task proposer in two categories. We had human annotators annotate a set of harmful mature websites that we want our task proposer to detect and allow us to filter out of our data. And second, we looked at tasks proposed by our task proposer and looked at the rate with which human workers were able to complete those tasks and report back to us that the tasks are feasible on these websites.
So in both of these metrics, we saw that our system is pretty good at detecting harmful websites. And I wanna point to the recall of the task proposer here. It's it's very high, suggesting that essentially all of mature websites that exist on the web are likely to be flagged by this approach.
And on the feasibility side, the vast majority of tasks coming out of the flywheel are very performant. And the best model that we observed for task generation was Gemini 1.5 Pro with this feasibility rate around 90%. And this is purely zero shot. And I think if we can really start to fine-tune this flywheel, which is something that we want to do next, we can likely obtain even better tasks and even better filters. Okay, so we have this task generation flywheel. Let's start scaling it up.
So we took common crawl and took the common crawl page rank for June of last year and we took the top one million websites here and we fed these websites into first this um system prompt for the the easy task stage of our task flywheel to generate tasks like we see on the right and at this stage this is where the LLM decides to filter if a website is not safe for inclusion in our data set and then after this we run our agent to collect the trajectory and propose a harder task.
And with this, we end up with 150,000 challenging tasks for agents to attempt. And we have all of this data available on our hugging face as well, both stages of data, so the easy tasks and the hard tasks.
So I want to go through some examples. The tasks are fairly diverse. And some examples here, they require multiple steps of reasoning and synthesizing information across the agent's trajectory. So this is the example from a few slides ago where the agent is tasked with finding two products and then comparing their prices. So it's essentially almost a two-hop task.
Similarly we have tasks like this, where the agent has to find a particular person maybe in a in a local government setting based on um their role in some ongoing project, and then find information um that relates to that person. Okay, so now we have the ability to generate diverse and challenging tasks at this fairly large scale. The important question next is

The important question next is how we can evaluate agents on these tasks and make sure we have a reliable score that we can start using for filtering and later for online training. This evaluation question actually presents a challenge though because unlike many other popular tasks like coding and math, it's fairly hard to know if you succeeded on open-ended tasks on the web because there is occasionally not
um a single final answer. Even for tasks where the agent is trying to find a price, for example, markets are very dynamic and those are likely changing potentially in the course of a week. And any answer that we might log could get out of date. So we really want to use a model for evaluation. And we found that a relatively simple strategy works. We can take the trajectory from our agent and pass it to an L_L_M_ that reviews the trajectory, reviews the agent's actions and embeds
A probability of success for our trajectory directly in the text that we generated. So we're predicting this with next-token prediction. We also have the model generate a reasoning trace before predicting this final answer, just so that eventually we might be able to train this model with um more online methods to get a better verifier. This kind of judge is called a generative verifier, and previous works have shown that this works very well for math tasks.
And we find in our work that it's also very robust for evaluating agent trajectories, although there is room for improving this.
So we did some evaluations to understand how robust our verifier is, and we found that our accuracies for this model on detecting successful trajectories are fairly high. We have accuracies between 82% and 78% for different models. And what's really exciting here is that LAMA 3.1 70B has a really high accuracy, and this is an open model. So we can use this, we can serve it locally, and we don't have to pay a lot of API costs to get this data.
Additionally, we plotted a sort of a notion of confidence where we look at how close to zero or how close to one the predictions from our judge are, essentially how confidently has the model committed to either a success or a failed prediction.
And if we plot this, we have we find this relationship where as the model is becoming more confident, it's becoming more accurate, suggesting that these models have a kind of inherent awareness of when their predictions are reliable, and we might be able to use this for filtering, which we will do later in the talk. If we look at sites or tasks where our models judged confidence is equal to one.
LLAMA 3.1 70B as our web agent actually trying to complete these tasks and also judging their success, we see that our LLAMA 3.1 judge has an accuracy of 93.1%. So that's really high for this subset of tasks where the judge was the most confident.
Okay. So we took our judge and we scaled up our agents and our judge to the 150,000 tasks generated by our flywheel. And if we look at the statistics, we found that 16.7 percent of these runs with our LAMA 3.1 70B agent were estimated to be successful with a judge confidence of one.
And if we use a threshold instead and look at our judge predicted success, if it's greater than zero point five, thirty six point five percent of these tasks fall into this category with our llama three point one seven D_B_ agent. In addition to a success metric, we also have our judge predict an on the right track metric that aims to determine if the agent is likely to succeed in the future if it's on the right track towards a success.
You can see the details for that in our system prompts. And I think that this metric suggests that for many of these agents, maybe they're not very efficient or they're just barely away from the solution. Perhaps with some extra training, these agents might be able to solve these tasks. So putting together the pipeline, we saw how to generate and verify agent tasks across the internet.
And now that we have this pipeline that we can really scale to collect data, we want to understand what the impact of having this large amount of data is for training our agents. And we find something really interesting for this. I have more details back on my poster, which is in the back, if you'd like to talk about it. But essentially, to study the impact of scale, we're going to use LAMA 3.3, 7 DB, so a more recent model, we're going to use this model to collect agent trajectories.
And we're going to perform S_F_T_ on data from this teacher model starting from quinn two point five one point five B_ and you can see the accuracy of this model initially is very low.
But what is really cool is that as we start adding more data and we start doing S_F_T_ with this Quinn model, we can actually start to get really close to the performance of LAMA_ three point three sevened. Even though this is a very large model in comparison to Quinn. But what we were what we were really excited by is that if we keep scaling further and we use our judge to filter data and filter for successful trajectories from our LAMA model and we fine-tune Quinn on this set of twenty K_ trajectories we can actually
actually outperform a fifty times larger llama three point three seventy B checkpoint purely by scaling up S_F_T_ And we're really excited by this because we think that even though we're still very far from being production ready, this model is relatively small. It's small enough that it can fit on academic compute and it might provide a really good seed for some online training run which is something that we're trying next. So putting everything together we built
a large environment, the largest environment for training web agents by annotating the web. And this pipeline is driven purely by language models. And we scaled it up to annotate one hundred and fifty thousand live websites with challenging tasks. And we showed that by scaling up S_F_T_ data with this pipeline and filtering, small models have great potential and can potentially beat models that are orders of magnitude larger. So what comes next?
There still a lot of data left on the internet for scaling agents. In fact, there are 385 million unique domains on common crawl in their page rank. So there's still a lot of data left. Another thing I'm really excited by is trying to train our agents online. And we think that with online training we can potentially do much better than this 55% success rate on this slide.
Thanks for attending the talk. We've released the entire pipeline open source, and we have our tasks uploaded to our hugging face page. You can find all of those linked here. Thank you.
Uh yeah, so uh so actually uh I have s uh several questions but uh uh p uh because because we are like very uh behind the schedule so maybe we can uh first have a ten minutes break. Uh yeah, I think uh Brandon was uh is uh it will be also be available at the posta session, right? Yeah. Yes, right Yeah. in the back. Yeah yeah yeah, great. Um so now let's have a ten minutes break. Yeah, thanks uh uh Brandon.



Takk for att du så med.
Hello. Okay. Okay, so we will now have our last invited talk by Brian. So Brian is the Associate Professor of Neuroscience at NUS, the Director of AI Research at AI Singapore and...
Director of INUS AI Institute, and his group has a lot of amazing works in data-centric machine learning. So let's finish our conversation and get back to the seat, and let's welcome Brian. Thank you. Yeah. Please get seated. Thanks. Okay.
For today, I'll be talking about the data-centric AI research in my group glow.ai, right? I'll be sharing about four different classes of our bodies of work, right? Data at LLM inference, data attribution and provenance, machine unlearning and data removal, and finally data selection, right? Ultimately, I guess I don't have to motivate why we should pay attention to data and machine learning.
Now, I want to thank all our members in the Glow AI group and the collaborators that we have for this group. All of them have contributed in one way or another to the projects that I'll be talking about next. Okay, now, you know, in the more conventional and prevalent model -centric kind of approaches, what you do see is that the data is kept fixed while modeling techniques
such as you know architectural search optimization hyperparameter tuning they are being iterated and improved right and then recently I guess most of you would be impressed with what deep seek have have done or has done they've recently announced that they were they will add like open or open source five new code repos now however what is one of these things that the big techs still haven't released right
It is the data. Why? How valuable is their data, right? Whose data have they used? Is more data always better, right? To understand this and figure out the secret recipe, I would sort of recommend considering data-centric approaches to improving model performance. Now, what's different is that in this new set of data-centric approaches, the data is being actively iterated.
Via techniques like you've seen data augmentation, pre-processing, filtering, and even valuation and selection where many of you in the audience have worked on. And in that whole process, we kept the other components of the machine learning pipeline fixed.
So, you know, before I continue, I'd like to mention that, you know, in my entire career, there are only two fundamental questions that I ask my life, right? One is how do I know what data is valuable, right? And then the second one is that, you know, if the agents have data, how do they interact with each other? And that's also why data -centric AI is of interest to me.
Okay, now going on, I'll be talking about four different bodies of works. Now what's different in the way that I approach it is that, you know, often you all have seen talks about all the technical details and stuff, but what's different in our talk is that, or in my talk is that I'm going to tell you about how did we arrive at the problem, right? How did we arrive at the problem? And I'll be sharing all these different...
papers or works review about how we arrive at that problem, alright? So the first body of works will be data at LLM inference and this is the one that will interest you if you are interested in test time compute, right? Now what's different from conventional machine learning
Right. Is that in conventional machine learning, you notice that data can usually only be used in model training. And then when it's time to do inference, you're just supposed to provide the input query and out pops the output. But what's different in inference with LLMs, right, is that you can in fact provide data within the prompt itself, right, you can provide data within the prompt itself.
And the advantage is that you don't really have to touch the model that often belongs to the big techs, right? And secondly, what's interesting, what's important as well is that the cost of pre-training those models is beyond us. So, you know, for people like me and my group, you know, we dabble with data at inference because that's the one that will be within our reach, right? Besides fine tuning.
So let me tell you, for the next few bodies of works, they will be about data at inference.
Now in particular, we are going to look at this thing called prompt optimization. I guess many of you would know that when it comes to prompts, you will be trying to engineer them, trying to figure out what's a good prompt to give you the outcome that you want. And that's usually very manual and tedious. So in our past...
research experience in our group, one thing that we are very hyped up with is automated machine learning. And usually in that space, whenever we see something to be manual and tedious, this is something that we believe can be automated by optimization. And very often tasks like this where you try to manually optimize or engineer the prompt,

or engineer the prompt you will think that it is an art but can can you actually do science on it right so this is one aspect of that and how we arrive at working on this work
And over here, when we start with problem optimization, what we do is that we look at one of the very important component, that's the instruction, right? Usually in a prompt, you have an instruction that you have to provide. And then if it's zero shot, but if it's few shot prompting, then you can actually provide exemplars as well, right? And then you're going to pop the question and the LLM is going to provide a response.
Then the question is, of course, you know, for the instruction, how do you know what is a good instruction? How do you know that's the best instruction, right? So this is where we make use of our previous knowledge on what we call black box optimization. Because in our world, right, when you are trying to optimize the prompt, it is actually a non-differentiable problem. And because of that, we need to make use of gradient-free optimization methods.
like the ones that we have here called the neural bandit all right and what's interesting is that you know for the instruction that we're trying to optimize think take a look at table three right for chain of thought very often people will be using like let's think about it
or let things step by step, right? That's the one that often people will use. But what we have found out, right, through automated optimization using neural bandits, right, is that if you suggest the prompt, let's use our brains, it's going to give you a much better result, right, as you can see on the slide.
Now, like I've mentioned, I'll be talking about the kind of problems that we are tackling and how we arrive at them. So previously, you have seen that we are trying to optimise the instruction, but I've also mentioned that there are the demonstrations or the exemplars, right, that you can optimise as well, okay. Now, one thing that we have observed right in LLMs is that it is a sequential model, right, where you look at...
sentences and then words come one after another and what that implies or the implication of it is that if you provide exemplars or demonstrations the order matters right the order matters and in this work we when we are trying to optimise the the choice of the exemplars or demonstrations to be used in the prompt additionally we have to take care of the order
for which we place the exemplars. So we came up with a way that allows us to optimise not just the exemplars and the ordering, but also the instruction that we have incorporated. So in this work, we extended the previous approach to incorporate exemplar selection and ordering.
Now, some of you, you know, in the previous two works, we have primarily relied on what we call gradient-free methods or gradient-free optimization techniques. But some of you are a huge loyalist of gradient-based methods, right? In any optimization problem in machine learning, gradients is the way to go, okay? So, but like I've mentioned, right, in the previous, in prompt optimization problems,
It is non -differentiable. You can only obtain samples of the performance of these prompts, all right? But we can always force a way through by trying to use these samples and estimate the gradient, right? Then using this estimated gradient, can we actually arrive at the best prompt, right? So this is that work that does that, right? Trying to use estimated gradients to optimise the prompt.
Now last but not the least in this whole body of work, you know, we will also ask ourselves, can we incorporate human in the loop, right, as a way to provide feedback on which prompt and response would be a better one, all right? So in this work, what we did is that, you know, you can present two different prompts with responses from the LLM and then give it to the human user and ask them to pick.
Which one they prefer is like A-B testing. And based on their preferences, we can still be able to figure out what the optimal prompt would be. All right, so this has to do with prompt optimization with human feedback. Sort of very similar to RLHF.
Okay, now I've ended with the previous body of works on data at inference, where you have seen that, you know, we're trying to optimize the instruction as if the instruction itself is the data, right, and hence optimizing the data. On top of that, we are trying to optimize the exemplars, right, treating them as data points as well, right, within the prompt.
Then this next body of works has to do with attribution and provenance. There will be two ways of looking at attribution. Some of them may say that they are actually similar, but I'm going to tell you what that is. So the first form of attribution is this. When we are trying to explain a prediction, how do you know what data should it be attributed to? Which data points will be more important, right? So that's one form of attribution.
And more recently, the other form of attribution would actually have to do with copyright issues.
For example, you know, if you query the LLM and it produces a certain response, then, you know, you'll be wondering whether this response has made use of data from certain data sources, right? What data source should it be attributed to, okay? So that's something that, that's the other form of attribution that I'm saying, but both of these can be reconciled.
So let me talk about the first form of attribution first, right? And, you know, still continuing on the part on prompting.
And some of you may know that it's also called in-context learning, right? Then among all these exemplars or demonstrations, how do we know which one has the highest value, right? Is there a way to interpret what the value would be, right, in each of these exemplars or demonstration? So this is the work that exactly does that to be able to assign some kind of value, right, to each of these demonstration or exemplar.
And, you know, with this values for the exemplars or demonstrations, you can do a couple of things with it, right? For example, those with low values, you could actually remove them or you could make use of these values to reorder them, right? There were some previous studies that show that if you place exemplars or demonstrations of highest value in the first two positions, they are going to give you a better result, right? So this is something you can do with this work.
Now, the next one is something about trying to explain LLM predictions and then asking ourselves what data should it be attributed to. Now, what's of course interesting is that in order for us to figure out the usefulness or the importance of data, we have to train or fine-tune the model, okay? That's a very expensive process and the question of course is whether we can...
sort of still be able to figure out the value, right, of the data.
without model training or without model fine-tuning. All right. Now, if you want to do this, then you need to make use of some form of surrogate measure or metric that can quantify what the model performance would be, right. So this is something that for which we have used this notion of neural tangent kernel to help us to estimate the model performance. And then using that, we can sort of compute the sharply value, which is one type of valuation scheme.
right, to figure out how valuable the data is, whether it's helpful or harmful, right? So this has to do with this work. And the next two works have to do with the other form of attribution that I was talking about, right? Like I've mentioned, you know, what's interesting is that back in 2023, right, in June 2023,
When we were looking at the responses from all the LLMs, then we are wondering, hey, but if I were to use this model response, would I get into trouble with copyright? And if I want to figure out who contributed to this source, that would help, right? That would help. So this is one of those problems that we have identified back in 2023 June, right?
If it is possible for us to identify the data source to whatever model response the element is going to spit out, this is something that's going to help us to figure out what the data source would be. And for us to do this, we started with this technique which is not new in the...
image community, right, the image processing community, because in image processing, they did quite a fair bit of watermarking, right? However, in the context of languages, the idea of watermarking is relatively new, all right? So what we do is that we make use of a watermarking approach back then, right, to help us to identify the data source that contributed to the model response. Now back then as well, you know, we make use of very simple techniques because at that time...
We just want to prepare some kind of baselines for all the future works. So that was the initial thought, right? And then to prepare the baselines, right, we think about what simple water marking techniques we could use as a very simple one. We could use invisible Unicode that we can embed within the text.

that we can embed within the sentences, right? That is going to help us to identify the data source, okay? Now, there's still a lot of work left to be done, but I'll elaborate on that later, okay? So this is the first body of works where we try to establish such baselines. It is by no means complete. We want to start something, right? Yeah? This is one way of starting.
And what's interesting, of course, is that in 2023, towards the end of that year, you notice that many of these big techs got sued, right? They got sued by, you know, whatever publishing or publisher firms, yeah? And that's when we are like, oh, that's great. And then what's also interesting is that, you know, I have a lawyer friend in NUS that were looking at attribution methods for doing this, and that's how we got connected.
Yeah. No, but what's also not so good about this kind of baselines is that, you know, even though the unicorns were invisible, you could potentially remove them by staring at their...
unique code character right in some way to reveal them so then we started asking ourselves are there other ways that can help us to embed signals within or you know by these signals I mean the watermarks embedding these signals within the distributions of the tokens itself so that it becomes very hard to for anyone to be able to identify the watermark
Unless they have the key to unlock it, right? So this has to do with this work on text water marking.
One of the interesting aspects of why this would work is the following. I guess many of you would have known or it's very popular that you have seen this work on model water marking. Many of these LLM companies, big techs, they are trying to water mark their models so that if somebody were to make use of the outputs of their model, we would know. However, I'm also very sure that they won't care as much about...
about whether our data sources have been used or not. And that's where since the big techs won't do them, who else is there left in the world to do them? That would be the academia. So the academia would be protecting the rights of the data sources through the notion of tax watermarking. Now, I hope that there will be more people who will be joining us in this effort on watermarking of your text so that it can protect data sources that involve.
of text now um so what's missing in these two bodies of works um i would say that it is the beginning of things what's uh a huge issue is that of scalability right right now i think we can scale up to about hundreds of users now that would be okay for identifying you know for example certain
classes of books, right? Or in archive, you can go by the various categories. But if you want to go to individual users where there could be millions of users, right? We still can't do it. So this is something for you to explore. Of course, one can debate whether there's a need to do water marking for millions of users, right?
At least at this moment, if you want to use this work, what I'll advocate is that you should have humans in the loop. What it means is that, you know, we watermark based on classes or categories, and then we will rely on human effort to figure out whether the data, the actual data source is within that category of text. All right. So that's the collaboration between humans and AI. Now, at the same time, of course, you know.
Some of you, or at least the world outside who are not familiar with AI machine learning, they would think that AI is here to take their jobs. But in this case, AI is here to protect against AI. Okay, then I'm going forth to the next body of works, right? It's on machine unlearning and data removal. Now, this work on machine unlearning, it came about with a very different...
motivation and you can see that in fact this was published in 2020 when we first had it and during that time our motivation was that of cyber security at that time right I was I'm working with a group of networking folks and then what happens is that they have identified you know that
There are machine learning models that have used, there's an online data stream that's coming in and then it is doing online learning on top of or incremental learning on top of that data stream. Then over time, right, three weeks later, for example, they noticed that in fact the model has ingested poison data, right, due to a cyber attack, right? And then that's when they started asking, could I have removed the past three weeks of data?
Right, could I have removed the past three weeks of data, right? So that's when we first started to look at whether it's possible to do machine unlearning on complex models, right? In this case, at that time, it was really complex already. This is one of the approximate inference techniques for Bayesian models, all right? And then we call it Bayesian, variational Bayesian unlearning. That was the original motivation. So, you know, after we published the work, we thought, whoa, this is so great, you know?
because this is exactly the opposite of machine unlearning right going on the other way right where we want to remove the contribution or the presence of data now however you know for some time it didn't pick up then we were wondering maybe people don't really care about unlearning and then that's where you know late last year that's when for some reason
We happen to have a lot more citations on it last year because, again, because of copyright issues and then people identifying that machine learning seems to be one possible technique that can work. Now, at least at this time, in terms of what we have done, we don't think machine learning is going to work perfectly or exactly.
Right? I don't think or we don't think machine learning is going to work exactly or perfectly. Then the question is what's next, right? If it cannot work exactly or perfectly, right? This is something for the community to think of. And, you know, for Bayesian folks.
There are two types or two major classes of approximate inference techniques. One would be variational inference. People who like this usually like to bound or proof bounds on certain things. Now people who love sampling will look at MCMC approaches and we also have machine underlying techniques for that class of methods.
And that's something that I captured on a flight where I'm surprised that Yoda will say that you must unlearn what you have learned. Okay, then, you know, from this two beginning works that we have in the previous years, you know, one of the really...
Very, very critical issue that we faced was this. At that time, when we have some data sample that's not too large, we want to unlearn it, it's possible, right? But then when we start to, you know, in reality it doesn't work that way, right? Because you have multiple user requests who want to unlearn data, right? So this is a problem which I call sequential unlearning, right? So back in 2020, that was one huge issue that we faced where
After we try to unlearn the second or the third data request.
to be that means the data to be unlearned that's when our model catastrophically unlearned what that means is that the model performance is going to drop significantly way beyond what you can do by retraining with the data all right so that's when you know we started thinking really hard how can we successfully overcome sequential unlearning right so this is a one work that we were very happy with you know where
We can unlearn neural networks but on top of that, we can perform sequential unlearning of multiple data requests well.
Now for the next two works, this is something that is in my opinion more futuristic, but it depends on whether you think in your community or in the place you live in, this is something that is implementable. Now in the future, if we believe that personal data ownership is going to happen, personal data ownership is going to happen, then...
We should ask ourselves, how should the existing technologies, models, algorithms in machine learning, how should it affect them? Okay, how should it affect them? Yeah. So, and do we need new techniques? Should the existing or conventional techniques be changed? Right, so this is something that we...
are looking at, right? So in the event that there's going to be personal data ownership, now one thing that we believe that would be possible would be the case that any users with their data would have the right to remove the contribution of their data, all right? Now, if they have the rights to remove the contribution of data, then one of the problems that we are tackling on data valuation, right, we ask ourselves
Now, if they have the rights to remove their data, would I now value their data differently? Okay, for example, if that data is really valuable to the model prediction, yet they have a high probability of removing the data, then should that data still be valued as highly? So this is the work that...

So this is a work that considers the case where data deletion is possible. And of course we don't know a priori or ahead of time we don't know that that party is going to remove their data. Now the assumption is that we have prior knowledge in terms of the probability of deletion based on their past track record. So what we want to develop is that a valuation approach on the value of data.
such that it's robust to deletion, all right? This is the approach. Now, in a very similar vein, we also ask ourselves, you know, how then should we select data so that our model continues to be robust and will be able to predict well by being able to anticipate this form of deletions, right? So this is one work that looks exactly at that. Now, I'll be talking about the last...
Body of works right in fact the posters are at back so I'm gonna direct you to my students look at them all right but I'll briefly mention them
Now for the first one, it's on this work called nice. I think it's at that corner with my student called Ting Tan. So you know for the existing data selection methods, they rely on the next token prediction loss to approximate the target task performance. But if you try to minimise such a loss, it's often not aligned with improving the actual evaluation metrics, right? So to alleviate this concern, what we propose is nice, right?
policy gradient based method that directly selects the training data to improve this non-differentiable metrics okay now moreover for NICE it allows you to have validation label -free data selection when the evaluation metrics do not require labels right such as a model that can output reward scores for generated responses without supervision from label response
Um, now it's gonna, uh, you know, what we have shown of course is that it's gonna outperform all those loss-based methods based on next token prediction and it can surpass full data set training with its selected subset, right? For more information, you can approach my students in Tan at the back, right? Look for nice. Then the other work is Duet.
So in this recent work, we consider practical setting of optimizing training data mixtures for a specific unseen task. And this problem is important because in many real-world settings, we don't really have knowledge of the downstream tasks. For example, due to privacy reasons, the conversations between an LLM and the users are encrypted end -to-end. So at first glance, we do not know what training data is relevant.
to train or fine-tune the LLM. However, in this problem we can still obtain some kind of numerical feedback from the task to indicate how well we are doing. So, you know, this can be like user ratings or how long they are engaged to the LLM. So for this most recent work on Duet, it exploits this kind of feedback from the feedback loop.
from the unseen task to iteratively optimize our training data mixture. And to do this, we try to interleave what we call Bayesian optimization, right, to optimize the proportion of data from each domain and followed by data selection within the selected proportion, right, so that we want to pick the individual data points in each proportion in the domain. And we do them, this two, in a loop to iteratively refine our training mixture.
Now this is gonna allow our LLM to become better right in a downstream task in an online manner without actually knowing the actual task at hand. So once again we have a poster at the back right you have to find C Liang who will be presenting that piece of work.
Now the last one, we have actually shamelessly pasted it there as well. It's called efficient top M data values identification for data selection, right? It's, you know, data selection I've already mentioned. And you notice that there are many methods that we have used as well. And I believe that the, you know, the audience has used it like sharply value, influence function, leave one out. They are all commonly used to identify high quality data subsets for training.
Now, for these methods, you know, they can significantly boost the model performance, but they're often very expensive when you apply it to large data sets and models. All right. So our key insight is the following. We want to find the top M value data points, right? We don't need to exactly compute their individual values, the exact values for the data points.
Now, instead, we can efficiently predict which points have the top M values using only a small number of actual value computations. All right. And over here, we propose a scalable algorithm that uses Gaussian process to learn the mapping from the data points to the data values.
And then our method comes with a probabilistic guarantee for selecting the top M-valued data points. We also give a complexity analysis on approximating this top M sharply values, right? Showing that the time complexity can be reduced from exponential to just N log N.
Now in our experiments, especially in fine-tuning large language models, you know, for our method, they are very effective. You only need to use about 20% of the computational cost of that of influence function. And then we are able to select just 5% of the training data to outperform the full data set. But if you use about 36 % of the cost, right, then you can match the performance of influence function.
Now in other data selection experiments, right, we can achieve up to fifty times faster than the baseline. Alright? So, you know, if you want to know more uh you can take a look at the the poster at the back, and uh Zi Liang will be presenting that as well. Alright, so uh that's all I have um for uh the research that's done by our group. Thanks. Okay. Okay.
Um, okay, uh, thanks, Brian, for the great talk. Um, are there any, um, questions?
Okay, so maybe I will start. So you mentioned new data attribution techniques, which is based on this water marketing. So there are also data attribution techniques like the shopping value or influence function. So yeah, so how do you compare those approaches? Is there one better than the other?
Are they intended for different motivations? Yeah. Hmm. So I guess in some sense you are trying to approach it where we want to think about using these valuation methods for attribution purposes. And for attribution, you care about identifying the data source. So in that sense, you know, one could potentially think about using the values, right, of the data.
And there are some approaches where, for example, if you make use of sharply value, you'll be able to obtain the value of the data subset, right? So that data subset could correspond to the data source itself. Now, there are other techniques like the influence functions that sort of fall short of doing that.
Why? Because for influence functions, you can compute the influence of the individual data points, but when you try to put them together, very simply people will simply add them up, but then that doesn't really account for the interaction between them, right? So, well, you can think about trying to talk about the influence of a group of data points for which maybe there's some works already, but those could be something that people will look at, right?
right and then you can look at those values and think which one actually has a higher value it probably gives you some kind of continuous spectrum right or range to tell you which one contributes more yeah now however you know my take is that the whole process
Probably still cannot be fully autonomous. What needs to happen is that somebody has to consult the values and use those as references to figure out where's the data source. I see, I see. Thanks. Yeah. Is there any other questions?
Thanks for the great talk. I think you start talking about the shift from like model-centric research to data-centric research. I think that's like...
somewhat well acknowledged that data is really important from the beginning of the data-driven machine learning method to now large foundation models. I think the thing is that now the models are becoming larger and larger and sometimes academies may not have enough resources to do it. When we shift to data-centric research, what do you see about like the gap between industry and academic?
What can we do at this point? Yeah, Yeah. it's a high-level question. Yeah, yeah. Uh
Yeah, well, I come from academia and, you know, so far, the kind of experiments that we can do is at most model fine-tuning, right? So for our research group, they're always complaining to me that we don't have enough GPUs. But very often the GPUs are not used unless it's our conference deadlines. So, you know, I claim that, you know, we should have a more efficient way of, you know, doing this. Now, but that said, you know.
I don't have a solution here, but very often I think most of you would

Very often, I think most of you would take up just one approach, right, which is the fact that we will join some big tech as intern and then make use of the compute resources to help us to do this research, even for data selection, right. Now, that said again, I can imagine that going forward, if there is some consortium that's able to have a distributed form of contributing compute resources.
to allow every parties to do their research perhaps this is something that we can work out and one way of going about this is to look at how we can provide incentives to all these different parties who are contributing the compute right in fact this is a good research problem that we can think about yeah Since, is there any other questions?
So I have one last question, which is like you mentioned like several works like in machine learning. So I wonder like what is like the major like a research gap right now like to push this, that that's not like a
uh allow us to push this push the research like in this area so for example is it like a is it is a problem like uh like a well-defined or like a is it if it's like well-defined but it's still hard to like evaluate yeah so like i wonder like what's your like a opinion like a high level opinion about like this Right. area
So I would say that, you know, quite a fair bit of machine learning work has been done. That's primarily based on this idea where if you can take all the data that you are not removing and then we train the model with it. Now, if you somehow your unlearned model can match the performance of that retrain model, then we are happy with it.
Now for some time I think many of our machine learning research has been using this idea, okay? But there's something fundamentally wrong with this statement, right? Because in order for you to get to the performance of the model that you retrain, there are actually a thousand one ways to remove the data to get to that performance or even add noise to your data.
But you did not remove the data that you're supposed to remove. So I think one research gap would really be the fact that are there ways for us to or other forms of good metrics for us to measure the success of unlearning? I believe many people are looking at that. And then are there ways for us to evaluate based on this new metrics that we have proposed to measure the success of unlearning?
and especially of that of unlearning algorithms, all right? Yeah, that's certainly something to look forward to. But like I've said, we in our group, we realize that exact unlearning, that means to really perfectly remove the contribution of the data, it does not seem possible. But then what is next, right? If you can't remove the entire presence of the data, then what can you do next? Is there a continuous spectrum? Yeah.
Okay, I see sen um okay. Thanks. Uh are there any other uh questions? Uh okay. So uh if there's no other questions, then uh let's thank Brian again. Thank you
Uh okay, so uh the last uh the last item uh on the on the schedule before the the afternoon uh work session is uh closing remark. Uh so I supposed to say something, but I decide to skip that because like I want to uh I want to give up more time for this uh research discussion, uh which is the start which is the beginning of like a uh most of the collaboration and the the inspiration of like uh most of the great ideas.
the ideas. Um so yeah, so thanks for uh attending our workshop and I uh I hope you enjoys the entire uh the uh of those talks and uh the poster sessions. Um yeah, okay, that's it.
