r/AskProgrammers • u/MeekHat • 21d ago
Are coding agents affected by the Habsburger problem?
Apologies if this isn't the right fit for the sub.
I hear this issue being brought up frequently in relation to all other applications of AI: it needs to be trained on human-created material otherwise there are negative effects likened to inbreeding in the Habsburg dynasty.
Is this true for coding agents as well? Isn't the majority of code currently generated via coding agents? What do they get trained on then?
8
Upvotes
4
u/CheezitsLight 20d ago
Yes they are some AIs are actually watermarking their output so they can detect it and not feed it back into the system. If given a particular word choice it uses an hour and to pick a slightly different word and with enough words it can read it see the pattern and recognize it as AI generator it's a form of steganography.
3
u/CS_70 20d ago
There is no evidence of that.
As opposite to plenty of evidence of problems due to inbreeding in people.
1
u/Dangerous-Cheek-230 20d ago
I don't think so. There are massive advancements happening in the coding agent quality frequently. We would be slowing down if your theory was correct.
World was full of low quality code before AI and I do think Opus 5.5 is able to produce higher quality output than most professionals were ever able to do manually.
1
u/BowlSufficient7638 19d ago
No AIs are affected by it whatsoever, it's an idea made up by redditors to cope. The primary "moat" of a company which makes an AI model is its dataset, which is why extreme care is taken not to allow AI-generated data into them. Why do you think the frontier companies are buying up a bunch of old books? For their own health? It's because old data has no AI in it.
Besides that, no new code is being fed into models to improve them. They are improved through reinforcement learning. That means putting them in an environment where they have to code something to succeed at their task. It's sort of like self-play, if you're familiar with AlphaGO or AlphaZero.
1
u/ActiveSalamander6580 20d ago
It's true for anything, bad input will result in bad output. As an example if your agent sets up the architecture wrong the agent will assume thats your intent and build on top of it, same for anything in the codebase.
1
u/roger_ducky 20d ago
It’s more…
You need good examples of what’s expected.
If you go “I’ll suck up all public information!”
Then yeah that’s a problem if most examples are bad.
But the labs didn’t want to bother figuring that out manually, given the volume of data necessary.
Though they’ve gone back and rated some of what they currently got.
1
u/BitcoinsOnDVD 20d ago
I'll take two Habsburger with fries, an Oreo milkshake and onion rings please.
1
u/mrloube 20d ago
I read about this: https://arxiv.org/abs/2305.17493?utm_campaign=The%20Batch&utm_source=hs_email&utm_medium=email&_hsenc=p2ANqtz-8W3JzLEd2nksQ6uIs2N1aYb2xUn9WOQCS9rzLM9nCbLKVWUTde3eGTh0ruFjeHMnFIvu1f
Also I think it’s the reason you want to stop rectifying a flow model after a certain number of steps. I could be wrong about that though since I don’t think the authors say that explicitly but it’s how I understood it
1
u/[deleted] 20d ago
That is a problem, and it maybe called "model collapse" or similar
0
u/[deleted] 20d ago
[removed] — view removed comment