Live data from Hacker News

GitHub Copilot as open source code laundering?

twitter.com

381–390 of 473 posts

Re: GitHub Copilot as open source code laundering?

#381
post #76

"We found that about 0.1% of the time, the suggestion may contain some snippets that are verbatim from the training set" If it's spitting out verbatim code 0.1% of the time, surely it's spitting out copied code where only trivial things are different at a much higher rate. Trivial things meaning swapped order where order isn't important, variable/function names, equivalent ops like +=1 vs ++, etc. Surely it's launder…

You could say a human is laundering GPL code if they learned programming from looking at Github repositories. Would you, though? The type of model they use isn't retrieving, it's having learned the syntax and the solutions that are used, just like a human would.

> You could say a human is laundering GPL code if they learned programming from looking at Github repositories.

I don't have photographic memory, so I largely don't memorize code. I learn general techniques, and memorize simple facts such as APIs. I can memorize some short snippets of code, but these probably aren't enough to be copyrightable anyway.

> The type of model they use isn't retrieving

How do we know? It think it's very likely that it is largely just retrieving code that it memoized, and doing minor adjustment to make the retrieved pieces fit the context. That wouldn't differ much from finding code that matches the problem (whether on SO or Github), copy pasting the interesting bits, and fixing it until it satisfies the constraints of the surrounding code. It's impressive that AI can do that, but it doesn't sound like it's producing code.

I think the alternative to retrieving would actually require a higher level understanding of the world, and the ability to reason from first principles; that would be much closer to AGI.

For example, if I want to implement a linked list, I'm not going to retrieve an implementation from memory (although given that linked lists are so simple, I probably could). I know what a linked list is and how it works, and therefore I can produce working code from scratch.. for any programming language, even ones for which no prior implementations exist. I doubt co-pilot has anything remotely as advanced as this ability. No, it fully reliant on just retrieving and reshaping a pieces of memoized code; it needs a large corpus of code to memoize before it can do anything at all.

I don't need a large corpus of examples to copy, because I use my ability to reason in conjunction with some memoized general techniques and common APIs in order to produce original code.

Re: GitHub Copilot as open source code laundering?

#382

Earlier quoted context omitted.

There might be limit to how efficiently a general purpose machine can perform a specific task, similar to the Heisenberg uncertainty principal in quantum physics. That is to say, there might be a natural law that dictates that the more generic a machine is, the more power it requires to perform specific tasks. Our brains are kind of specialized. If you want to build a machine that outperforms humans in a single task,…

I'm not arguing that machines will be more efficient than human brains. A airplane isn't more efficient than a goose. But airplanes do fly faster, higher and with more cargo than any flock of geese could ever carry. Similarly, there is no contradiction between AI being less efficient than a human brain, and AI being preferable to humans because it can deal with data sets that are two or three orders of magnitude too…

Even so, such AI doesn’t exist. All the AIs that exist today operate by fitting data. And to be able to perform a useful task it has to have well defined parameters and fit the data according to them. I’m not sure an AI that operates outside of these confinements have even been conceived of.

To make an AI that outperforms humans in any task has not been proven to be possible (to my knowledge) not even in theory. An airplane will fly faster, higher and with more cargo then a flock of geese, but a flock of geese reproduce, communicate with each other, digest grass, etc. An airplane will not outperform a flock of geese in any task, just the tasks which the airplane is optimized for.

I’m sorry, I confused the debate a little by talking about efficiency. My point was that there might be an inverse relation of generality of a machine and it’s efficiency. This was my way of providing a mechanism in which building a machine that outperforms humans in any task could be impossible. This mechanism—if it exists—could be sufficient in preventing such machines to be theoretically possible, as at some point you would need all the energy in the universe to perform a task better then a specialized machine (such as an organism).

Perhaps this inverse relationship doesn’t exists. The universe might conspire in a million other ways to make it impossible for us to build an AI that will outperform us in any task. The point is that “AI will outperforme humans in any task” is far from inevitable.

Re: GitHub Copilot as open source code laundering?

#383

Earlier quoted context omitted.

It can always get more meta. For example, the AI tool that Microsoft's lawyers use ("Co-Counsel"), will be filing the DMCA notices and subsequenct lawsuits against Co-Pilot generated code. This will result in a massive caseload for the courts, so naturally they'll turn to their AI tool ("DocketPlus Pro") to adjudicate all the cases. Only thing left is to enter these AI-generated judgements into Etherium smart contrac…

Don't forget settlements paid in Ai-generated crypto-currencies backed by Gold mined in Australia fully automated mine. Run it all on solar and humans can just fuck right off.

Nick Land-style accelerationism, or the "ascended economy". https://slatestarcodex.com/2016/05/30/ascended-economy/

Re: GitHub Copilot as open source code laundering?

#384

For years people have warned about hosting the majority of world's open source code in a proprietary platform that belongs to a for profit company. These people were called lunatics, fundamentalists, radicals, conspiracy theorists, and many other names. Well, they were ignored and this is the result. A for profit company built a proprietary system using every code hosted in its platform without respecting the code li…

If we feed the entirety of a library to an AI and have it generate new books, is it an exploitation of people's work?

If we read a book and use its instructions to build a bicycle, is it an exploitation of people's work?

No, no it's not.

Re: GitHub Copilot as open source code laundering?

#385
Perhaps someone at Github can chime in, but I suspect that open source code datasets (the kind they are trained on) should require relatively permissive licenses in the first place. Perhaps they filter for MIT licenses in Github projects and StackOverflow answers used to train the models?

Re: GitHub Copilot as open source code laundering?

#386

By submitting any textual content (GPL or otherwise) on the web, you are placing it in an environment where it will be consumed and digested (by human brains and machine learning algorithms alike). There is already legal precedent set for this which allows its use in training machine learning algorithms, specifically with heavily copyrighted material from books[1]. This does not mean that any GitHub Co-Pilot produced…

[deleted]

Re: GitHub Copilot as open source code laundering?

#387

Perhaps someone at Github can chime in, but I suspect that open source code datasets (the kind they are trained on) should require relatively permissive licenses in the first place. Perhaps they filter for MIT licenses in Github projects and StackOverflow answers used to train the models?

Nope, they explicitly note that the GPL showed up 700k times in the training data: https://twitter.com/eevee/status/1410067860299255810

Re: GitHub Copilot as open source code laundering?

#388

Earlier quoted context omitted.

I expect nothing less. The 0,01 will be super rich. You could call it endgame

> The 0,01 will be super rich. By definition, that has always been true. We have been in the endgame for a very long time.

A percentile doesn't dictate the shape of the bell curve. The parent comment could be suggesting the tail is getting longer.

Re: GitHub Copilot as open source code laundering?

#389

By submitting any textual content (GPL or otherwise) on the web, you are placing it in an environment where it will be consumed and digested (by human brains and machine learning algorithms alike). There is already legal precedent set for this which allows its use in training machine learning algorithms, specifically with heavily copyrighted material from books[1]. This does not mean that any GitHub Co-Pilot produced…

I assume that google had legal access to those books. In the case of GPT-3 derived models, they contain common crawl and webtext2 corpuses, which may include large amounts of pirated content (books and magazines uploaded in random places, paywalled content that's been uploaded elsewhere).

Re: GitHub Copilot as open source code laundering?

#390

Earlier quoted context omitted.

It can always get more meta. For example, the AI tool that Microsoft's lawyers use ("Co-Counsel"), will be filing the DMCA notices and subsequenct lawsuits against Co-Pilot generated code. This will result in a massive caseload for the courts, so naturally they'll turn to their AI tool ("DocketPlus Pro") to adjudicate all the cases. Only thing left is to enter these AI-generated judgements into Etherium smart contrac…

Don't forget settlements paid in Ai-generated crypto-currencies backed by Gold mined in Australia fully automated mine. Run it all on solar and humans can just fuck right off.

The market ultimately obeys customer demand, so all these problems will be sorted out... until customer AI.
Post reply on HN