News for hackers. Stuff that matters.
Re:AI models collapse when trained on recursively generated ... by nyrikki on Wednesday July 24, 2024 @12:34PM (#41058806)
Cheese and Chalk.

It is very different to generate synthetic datasets to assist in targeted training , vs ingesting LLM output from web scraping.

Re:AI models collapse when trained on recursively generated ... by abeppu on Wednesday July 24, 2024 @12:53PM (#41059047)
Yes -- said another way, if you're an ML researcher and you have human-provided (scraped) data, and an ability to generate synthetic data, then until recently, you had a controllable parameter: how much of your training data for your new model should be synthetic? You can vary this, run multiple experiments, and choose how much synthetic data to use -- and you can vary the specific configs about how that synthetic data is generated.

If synthetic data is mixed into your upstream data sources in a way you cannot control, then your ML team loses a valuable controllable parameter.

Re:AI models collapse when trained on recursively generated ... by miki123211 on Wednesday July 24, 2024 @01:25PM (#41059467)
You still have some that control, but in a much more indirect way.

There are three kinds of data now, synthetic, pre-2022 and current. Everything pre-2022 is definitely written by humans, synthetic data is still synthetic, and post-2022 is a mix of both.

I wouldn't be surprised if "AI detectors" work somewhat for this use case. They're biased, far from accurate and a terrible idea if you need to make important decisions (like whether to expel a student for cheating), but there's quite a large room for errors here.

Re:AI models collapse when trained on recursively generated ... by uberswe on Wednesday July 24, 2024 @01:51PM (#41059735)
> Everything pre-2022 is definitely written by humans

I'm not sure if methods like article spinning counts as written by humans. This is something you could automate before AI and it would take a human written article and randomly swap words with similar meaning throughout to make it seem original.

Re:AI models collapse when trained on recursively generated ... by derefr on Wednesday July 24, 2024 @05:04PM (#41062097)
Don’t forget machine-translated texts, where until ~2017 the translation was likely done by something much dumber / semantically lossy than an LLM, and after 2017 was basically done by an early form of LLM (the Transformers architecture originating in Google Translate.)

Many historical English-language news reports published on the English-language websites of foreign news media from non-English-speaking countries, from 1998 (Babelfish era) to ~a few months ago, may be unreliable training data for this reason.

Re:AI models collapse when trained on recursively generated ... by mrbungie on Wednesday July 24, 2024 @06:35PM (#41062936)
They do work detecting LLM outputs that are sampled "naively" (when the model/user is really not trying to pass it as human output).

I copied a prompt translated from spanish to english using ChatGPT Plus in a GPT-4o Azure OpenAI Service endpoint. It did work in Spanish but didn't run in english because the default AOS Content Filters detected a jailbreak intent. It was quite weird.

Re:AI models collapse when trained on recursively generated ... by lawlessone on Wednesday July 24, 2024 @01:04PM (#41059198)
I think this is it.

Generated data is ok if you're curating it to make sure nothing bad, wrong or insensible comes in.

Basically still needs a human in the loop.

Re:AI models collapse when trained on recursively generated ... by visarga on Wednesday July 24, 2024 @02:22PM (#41060080)
> Basically still needs a human in the loop.

Yes, and big LLM developers have millions of humans in the loop. That's why they provide free access, for human in the loop filtering & guidance.

If I go to chatGPT and solve a coding task, maybe the first 3 ideas don't work and the 4th works. It can do RLHF setting the first 3 with negative and the fourth with positive score. They just used me to test their model and create a datapoint.

Using LLM is useful both ways - for humans, we get assistance, and LLMs get feedback for their outputs. This seems like the new form of "you are the product".

Re:AI models collapse when trained on recursively generated ... by surfingdino on Wednesday July 24, 2024 @01:09PM (#41059270)
Then why not remove this crap (LLMs) from the loop altogether? How did we get from "AI will replace you" to "your new job will be an AIs janitor" in the space of about 12 months?
Re:AI models collapse when trained on recursively generated ... by sieste on Wednesday July 24, 2024 @01:32PM (#41059540)
there is nothing wrong with being a janitor. you could also call it "AI editor" instead of you want to insert a job title sounds more prestigious. some people find it easier and more enjoyable to edit a first draft generated by a language model based on instructions than writing that first draft themselves.
Re:AI models collapse when trained on recursively generated ... by the8thbit on Wednesday July 24, 2024 @01:43PM (#41059647)
I gotta say, Claude is a godsend for building out quick prototypes of ideas, especially when those ideas require domain specific knowledge that you know a little about but aren't specialized in. Which is most interesting programming projects.

Sure, I could do it myself, but it would take more time, each step would have less momentum, and I'd have to think more while I do it. Which, there's a place for that too, of course.

Re:AI models collapse when trained on recursively generated ... by visarga on Wednesday July 24, 2024 @02:33PM (#41060217)
> Sure, I could do it myself, but it would take more time, each step would have less momentum, and I'd have to think more while I do it. Which, there's a place for that too, of course.

You just start faster, but end at the same time. If you really need to understand something there is no LLM shortcut. I spent hours interrogating Claude, in the same time I could have studied from a book and gotten even better grounding.

Re:AI models collapse when trained on recursively generated ... by the8thbit on Thursday July 25, 2024 @10:49AM (#41069371)
As I said, "there's a place for that too, of course."

I don't think Claude is a good choice if you're trying to prototype a project which uses tools that you don't understand conceptually. However, if you already have a pretty good understanding of the tools, and you're good at reading code, documenting desired functionality, and writing user story requirements then its an amazing shortcut. Basically, if you are prepared to be the team lead or architect of a project then Claude can function as a junior dev who:

* has a pretty good score on hackerrank

* happens to have the exact right domain specific knowledge for the project you want to build

* still gets disoriented by medium and large sized codebases, as many juniors are wont to do (you will need to take over as the main developer, or involve an intermediate or senior developer once the project grows to that size)

As an example, the other day I wanted to prototype a project using typescript, react-konva, and tone.js. I already have a strong understanding of typescript, react, HTML canvas, and FM synthesis. What I don't have is an encyclopedic knowledge of the APIs these specific tools expose, nor do I have code sitting in front of me which effectively combines them.

If I document the functionality I want well, Claude is really good at taking that documentation and building out either that prototype or the foundation for that prototype.

Another thing that I find that helps is to add an intermediate step. Describe the functionality you want the prototype to achieve, and then ask Claude to write a project proposal which documents this functionality and breaks the procedure for producing that functionality into actionable steps. You can then save the artifact it generates to the project files, and have it iterate through that. You'll eventually veer off course as the functionality you want shifts, or the order and granularity of tasks diverges from the plan which was originally designed, but it acts as a way to start a project with a much stronger foundation than just saying "I want a thing that does X. Now make it do Y too. Now make it do Z as well. etc..."

Another way to use Claude effectively, which I also utilized for the project I'm talking about, is to use Claude for throwaway prototyping. Rather than having Claude build out a single prototype, and then taking the reigns from there, have it build out one prototype, then scrap that one and have it build another from scratch, then scrap that and have it build a third from scratch.

Each iteration you'll learn a little more about how the functionality and structure you specified actually operates, and what Claude struggles with in relation to your project. This allows the next prototype to be built out with a little more of the functionality you want, and a little bit of a cleaner architecture.

Throwaway prototyping like that is probably the best way to do development (imo), because it increases the likelihood that your final product has a strong foundation, and smooths out the development process dramatically. You don't carry the baggage of the learning process into the final product or the next prototype. However, this traditionally creates an enormous upfront cost, as we end up having to build out the same functionality many times, just to have it once in the end product. But with Claude, I can accomplish the same number of from-scratch iterations in 1 day as it would take me to build out myself in 2 weeks, making this a suitable approach for any project that has a limited enough scope to use Claude for prototyping. That is to say, you're not going to prototype an Unreal Engine competitor using Claude, but prototypes for a browser based FM synth toy are well within its wheelhouse.

Re:AI models collapse when trained on recursively generated ... by lawlessone on Wednesday July 24, 2024 @01:41PM (#41059627)
>Then why not remove this crap (LLMs) from the loop altogether

Because reading is faster than writing.

Someone could spend a few years or even most of their life writing a book that can be read in a matter of hours days or weeks.

Humans writing have to proofread their own work. Or occasionally even pay someone else to do it.

Re:AI models collapse when trained on recursively generated ... by abeppu on Wednesday July 24, 2024 @01:44PM (#41059655)
No, bad/wrong/nonsense is not the only risk here. You're missing the main point that the authors are making: the shape of the distribution gets changed by this process. A model trained on human data will produce fewer high-perplexity examples than it was trained on (you can see this in Fig 1b, even between generation 0 and 1). In a literal information theory sense, these perplexity values indicate how much information is in each example. Over successive generations models have less actual information to learn from even if they have the same volume of text.
Re:AI models collapse when trained on recursively generated ... by visarga on Wednesday July 24, 2024 @02:36PM (#41060245)
LLMs are milking us of knowledge and skills, repackage them and give it back to us. Models interact with the internet, humans and code execution. They are exploring. Lots of exploring now happens in the chat room, a place where ideas are first tried out. With billions of users, the volume of information LLMs collect from us is huge. We bring references, guidance and feedback right into its mouth, the LLM doesn't even need to do anything like crawling.

Imagine how many things we know, things we accumulated in our life experience, that were never written down anywhere. That information was lost to others. But now we use LLM assistants, so they get to be in the loop and collect tidbits of human life experience that is not written on the internet. And soon they will also work on audio/video and travel with us everywhere, seeing what we show them.

Re:AI models collapse when trained on recursively generated ... by Pinkthinker on Wednesday July 24, 2024 @06:24PM (#41062848)
I think that maybe we are too harsh in expecting LLMs to be perfect. If they are based off of human input that is incorrect then we might propagate such errors. But they will still be quicker and much more reliable than most people. Isn’t this good enough? After all, we are willing to accept flaws in people, even including the president. I suspect that the way forward will be to progressively clean the LLM input data as each error gets identified.
Re:AI models collapse when trained on recursively generated ... by mcswell on Wednesday July 24, 2024 @02:15PM (#41059995)
Yeah, I raised the same issue before reading your post; ninja'd I am.

I like your "cheese and chalk".

Re:AI models collapse when trained on recursively generated ... by ddingus on Wednesday July 24, 2024 @02:31PM (#41060203)
I always preferred sugar and shit. Obviously, that is profane. But, I consider profanity be seen as the part of speech it really is.
Re:AI models collapse when trained on recursively generated ... by groby_b on Wednesday July 24, 2024 @02:41PM (#41060316)
Profane is, if you will, fucking fine.

But "cheese and chalk" is a great analogy because both are sources of calcium, but cheese is much better for the human body. It carries useful info.

Re:AI models collapse when trained on recursively generated ... by progmetaldev on Wednesday July 24, 2024 @06:51PM (#41063057)
Also drives your point home more efficiently. While it may be profane, there's far more speech available with far less "use" that is intentionally profane to spark a reaction without regard to what that reaction may be. Shock value for attention, rather than to carry home a point.