r/AskComputerScience • • 3h ago

Will large language models degrade in quality over time?

LLMs were trained on data created by humans. Over time, the amount of AI-generated content will grow dramatically, so LLMs will have no choice but to learn from the data they themselves produced, which obviously (or maybe not...?) isn't as high quality as human-made data. So, will LLMs get worse over time, or do I have some gaps in my understanding of this matter?

4 Upvotes

19 comments sorted by

9

u/gigayoink 2h ago

LLMs will have no choice but to learn from the data they themselves produced

They can choose not to train on new web content. Anthropic had that book scanning project for example.

3

u/DTux5249 43m ago

True, though it's arguable that curating strictly human made content is gonna prove difficult as time progresses.

The whole reason they were cracking open old books is because they can't trust the quality of online data anymore with the presence of bots using their LLMs.

They've already hit a point where reliable data is difficult to get - and it's not getting any easier

3

u/davvblack 29m ago

it would be funny to get into a situation where human culture has moved on, and AI exists in two states: really good models that act like 2020 humanity, and really shit models that are like "modern humans". so depending on your usecase you might interact with a "wise old one".

5

u/milo-trujillo 2h ago

I wrote a blog post about model collapse a while back! Yes, it's a problem:

  • You could freeze a current LLM without issue, but we often want to train LLMs on contemporary text so that, for example, they'll generate code that uses modern libraries and frameworks
  • Training an ML model on the outputs of other ML models can over-emphasize errors and degrade performance. In this case, if Claude Code learns from a bunch of buggy code, it's more likely to reproduce those bugs. If it's learning from code that's been generated by Claude Code, it will double down on the mistakes it already makes.
  • We can try to filter training data so the LLM only learns from 'good' text, but this adds significant labor, too

1

u/ComfortablyBalanced 1h ago

Besides, good code could be subjective.

1

u/Embarrassed_Range356 7m ago edited 3m ago

This isn't true when there is verifiable outputs to these prompts. If Claude produces code, checks it, and it is valid, viola it found an easier path to the problem. Likewise, if you prompt through a bunch of solutions with claude and in the end get your project working, viola thats valuable training data. Even on things it failed to do are training data.

3

u/Warwipf2 3h ago

Synthetic data is not always worse, but even accurate synthetic data can sometimes become a problem if you train the model that produced it on it, because it can contain some hidden patterns that itself degrade quality in the trained model. The data will "just" have to be curated very well though. The phenomenon is a real problem that has to be dealt with though, we call that "model collapse".

1

u/ComfortablyBalanced 1h ago

It may be not worse but it's not genuinely fresh.

1

u/Warwipf2 1h ago edited 1h ago

That depends. AI can work out new things and you can use specialized models to transform the data enough so it no longer cannibalizes on its output patterns it can be just as good as human data (this is obviously more complicated than this, but generally). But obviously this only extends to very theoretical fields or something like Computer Science. It is far less useful for something like Biology (i would assume?) or History (i'm pretty sure).

3

u/jhaluska 2h ago

They introduce water marking of text partly to prevent it from happening. It's not perfect, but dramatically helps.

1

u/PhilNEvo 2h ago

Depends on what you're training. Certain things you can train without data.

1

u/AverageHot2647 2h ago

I’m not an expert, but I think the “gap” is that AI training is not simply a case of ingesting a bunch of text until the loss on the next token predicted plateaus at a local minimum. While this is the foundation of the training process, models trained only in this way are nearly useless in practice. A large portion of the value comes from the other steps in the training pipeline, such as supervised fine tuning, reinforcement learning (both RLHF and increasingly RLVR), and various other techniques.

1

u/reality_boy 1h ago

For me, this is the fundamental reason that the current methods are not leading us towards AGI. Humans (the smart ones who are paid to do research at least) can be exposed to nonsense, and will filter it out based on the source and references.

For now, AI is just a probability machine. If you have more data than anyone else, you probably have the answer in your data set. That is powerful. But if you have no mechanism to flag mistakes and grow (without some external entity doing the flagging in an error prone and laborus process) then your not going to be able to zoom in on that correct answer reliably. And your certainly not going to grow smarter at an exponential rate.

1

u/deong 13m ago

If you have more data than anyone else, you probably have the answer in your data set.

This is a gross underestimation of what modern AI is capable of. It's trivial to prove that AI can synthesize new information through a process of reasoning.

I just did the following:

Hi Claude, I want to prove a point here. Imagine a fictional programming language called nohtyp. It's just like Python, but all keywords are spelled backwards and indented backwards. That is, for any given block of source code, the innermost statements are aligned to the left margin, and then as you move outward in scope, statements are indented 4 spaces for each level.

In this language, please write me a program that prints all the negative integers between -931 and -6 where the coefficient of the imaginary part of their square root is an integer.

In about five seconds, it spit out the following:

        tropmi cmath

        rof n ni range(-930, -6):
    fi cmath.sqrt(n).imag.is_integer():
print(n)

Obviously, this is not in the training data anywhere. I made up a bonkers language and asked for a pointless exercise that's probably never been asked before. But it understands language, and from that, is able to generate something novel and correct.

1

u/MaximumMeaning9728 47m ago

LLMs currently learn from vast amounts of synthetic data. The Riemann hypothesis was solved due to higher quality AI training data than human data.

1

u/r2k-in-the-vortex 2h ago

Not necessarily. Just because something is AI generated does not mean it's low quality. Because usually, AI does not work alone, there are sources of truth in the loop. For example, code that doesn't compile, never gets past the CI and never gets commited. There is manual testing, there are bug reports, there are all sorts of feedbacks that contribute to quality of generated data. It's not raw unfiltered output of a model that the next models get trained on.

And training data is not selected blindly either, carefully curating the training corpus is the most important part of model development. Maybe early models were developed on fairly blindly crawled data, but current ones, no. Training corpuses need to be as high quality as they can be and optrimizing that is one of the most important parts of pushing the frontier.

0

u/minisculebarber 2h ago

You are overlooking that most text data is just assembled, tokenized natural data. This will definitely be automated to some extent, probably by AI tools too, which means there is another competing body of data.

I also wouldn't say that human synthesized data is obviously of a higher quality than LLM one. If you look at most human written text, it is mostly garbage anyway. Depending on the circumstances, AI could vastly improve in generating text that is better to learn from etc. than human generated ones. This, however, will have to be developed by humans too, LLMs currently don't have the capacity for large-scale structure reasoning like humans do.

0

u/StatisticalPikachu 2h ago

That’s why you use benchmarks.

0

u/huuaaang 2h ago edited 2h ago

Training data is just the beginning of frontier models. You can actually get a job that involves reviewing the output of the models, correcting it, and feeding it back in. Training modern LLMs is way more involved than just feeding it raw data.

I've personally done experiments that prove LLMs (specifically Opus) don't even need to be pre-trained on a programming language to write it. I invented a programming language and was able to produce programs with it using Opus. All I had to do was provide a language spec and some example code and it wrote programs in that language just as easily as it would Python. I even built a whole operating system in the language with an agent that runs on a Raspberry Pi.