|
|
|
|
|
by janoc
1154 days ago
|
|
Except that's not how LLM works. LLM has no idea about "ideas", only probabilities of how certain words string together. So you literally can't make it produce functionally identical but not verbatim identical code. It doesn't understand that the two are equivalent. Also, such "functionally identical but not violating copyright" transformation is not possible to do, both given the complexity of the problem and the sheer volume of the data. And training it on some simplistically obfuscated code wouldn't help - all it would learn would be production of obfuscated code. Not useful for the intended use. |
|
it doesn't need to understand the way a human might do the understanding.
The pattern that the LLM managed to extract could include the structure, rather than the pure text. And in reproducing the structure, the LLM can replace the variable names but keep the structure intact.
I am not sure if copilot is able to do this, but chatGPT was somewhat able to (if imperfectly at the moment).