Hacker News new | ask | show | jobs
by byko3y 37 days ago
I can "write" a whole OS kernel by running `git clone https://kernel.org` — that does not make me much of the programmer. Copying software was never a problem — making the software perform the job you want was the problem.
1 comments

Are you under the impression that LLMs take source from the internet and put it on your hard drive? That’s your good faith interpretation of what’s going on?
It does exactly what you say: takes source code from the internet and put it onto your hard drive, but in a very indirect way, occasionally verbatim, in other cases it renames identifiers and does a bit of composition.

I actually reported one such case: https://github.com/cesanta/elk/issues/75

The kid had no clue LLM just copied implementation from other similar project.

You are completely discounting all of the original code being produced with LLMs. What percentage of LLM-generated code would you estimate is plagiarism? 1% 10%? 90%? 99%?
99%. LLM cannot do a bubble sort on its own — that's one of the main modes of failure actually, when LLM fails to recognize algorithm and writes its own implementation. LLM is basically recognizing, concatenating known algorithms, renaming variables, functions names, interpolating multiple similar solutions into one target solution — with a success rate corresponding to the number of solutions it saw for this task.

In case you would say "but LLM-s learn on random source code from the internet" — not anymore, modern LLM-s are trained on highly curated, preprocessed, and some synthetic datasets. As I've said — the copying is indirect.

I've submitted two PRs to fix bugs in open-source system tool last month. Both of these are targeted fixes to highly-specific bugs that existed in this software. The agents I used debugged the issue and implemented fixes and tests autonomously.

These problems looked slightly more difficult than bubble sort to me. Do you suppose these bugs existed in some other software and the agent only translated the fix between repositories? When the agent was debugging the software, were they simply following some tutorial they were trained on? Is this the 1% case? Or are the stochastic parrots regurgitating most probable tokens in approximately the right order to provide an illusion of work being done?

> In case you would say "but LLM-s learn on random source code from the internet"

Of course they don't, it's not 2022 any more.

You were talking about code writing, now you switched to debugging. Those are wildly different tasks, and some researchers suggest to employ separate LLM-s for code writing vs debugging.

For debugging LLM-s reproduce fine-tuning datasets made by humans actually doing debugging on some code. And yes, the problems AI found in your code were similar to the problems humans found when writing those datasets.