Re:Ask HN: What can I personally do to fight AGAINST the Cop...
by visarga on Friday November 04, 2022 @02:07PM
(#33471275)
The dataset is so large they only do one single pass, and the content is deduplicated. A study showed that it's usually duplicated content that is overfitted and later regurgitated. Examples that are repeated in many places might have slight variations that help them pass the filter.
Re:Ask HN: What can I personally do to fight AGAINST the Cop...
by Kim_Bruning on Friday November 04, 2022 @03:32PM
(#33472481)
Interesting!
Do you have a link(s) to the study, or more details on training?
Re:Ask HN: What can I personally do to fight AGAINST the Cop...
by visarga on Friday November 04, 2022 @04:08PM
(#33473032)
Deduplicating Training Data Makes Language Models Better
https://arxiv.org/pdf/2107.06499
Quantifying Memorization Across Neural Language Models
This is a bug, and IMO the correct solution is to fix it. Preferably people should nip it in the bud at the start of the process, rather than play whack-a-mole with the outcome.
When your model gives you back exactly the same data as was put in, that's called "overfitting". It's a kind of bug (or at very least a smell).
It means (among other things) that it might actually give back the same answer in other situations where it is wrong to do so. It could then also give a different, wrong answer in a situation where this answer was actually the correct one.
It also means that the model spent all this time "learning the answer by heart" instead of the underlying pattern. This is typically a waste of perfectly good training time if nothing else.
And of course if you have an overfit, in this case you end up suggesting copyrighted code to the user instead of something original. This is rather undesirable.
In one of the cases I looked at with a friend, we think many people had actually copied one person's code without attribution. So the training set might contain -say- 100 copies of that same solution. That would then be a strong signal that there is only one correct/common solution to that particular problem: "Copy this one guy and leave off the attribution". Oops.
I wonder how many complaints about copilot are actually +/- "blaming the messenger". I suspect that fixing/improving/mitigating this particular set of bugs may have an unforseen side effect: a number of rather interesting conversations with some of the developers in the source data-set.