3 ms·
That's a fairly sane request, but I think people can do a bit better yet. This is a bug, and IMO the correct solution is to fix it. Preferably people should n
by Kim_Bruning 4y ago
That's a fairly sane request, but I think people can do a bit better yet.
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.
- visarga 4y agoThe 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.
- Kim_Bruning 4y agoInteresting! Do you have a link(s) to the study, or more details on training?
- visarga 4y agoDeduplicating Training Data Makes Language Models Better https://arxiv.org/pdf/2107.06499 https://arxiv.org/pdf/2107.06499 Quantifying Memorization Across Neural Language Models https://arxiv.org/pdf/2202.07646.pdf https://arxiv.org/pdf/2202.07646.pdf