A few days ago, I posted some musings on LLMs for writing code (https://infosec....
Steve Bellovin @SteveBellovin@infosec.exchange
A few days ago, I posted some musings on LLMs for writing code (https://infosec.exchange/@SteveBellovin/117542222177661932). More people than I expected agreed with me. One valid objection that I missed is that LLMs are inherently non-deterministic. This has to affect the quality of the code they produce, and of course, that magnifies the problem of understanding the generated code base—though it’s not unreasonable to think that we’ll be able to ask an LLM to look at code and ask it to summarize or clarify it.
A number of people objected to the conditions I placed on my post, that I excluded discussion of the ethical implications. That was intentional, of course, but I should have clarified why I did that. The most obvious reason is that I wanted to discuss *just* the abilities of these tools. Put another way: if the technology doesn’t work, we don’t have to worry much about the ethics of using it, because (most) companies won’t want to, after the current transient hysteria dies down. For example: for very obvious reasons, I hear no discussion of the ethics of human sacrifice in the name of appeasing the deity of buggy code.
But there’s a deeper reason: it is not at all obvious to me that the ethical constraints will remain. We’re already seeing a lot of local models, and they’re also getting better with time. That largely eliminates the energy- and water-guzzling data center issue (though we may still need them for training the models).
And scraping? Yes, that’s an issue. Thought experiment: suppose that we have, say, GPLvN, which explicitly permits LLM scraping as long as the generated code is also released under a GPLvN license. (Add corresponding terms for other FOSS licenses.) Is that ethical? Legality? Much of my writing, and a lot of other stuff out there, is explicitly released under some options of the Creative Commons license. Maybe we need a new constraint: “NA”, for “No AI”, similar to ND (no derivative works) and NC (no commercial use). I should confess: my original reaction to LLMs was that they were unquestionably fair use under US law, since they were highly transformational, but seeing things like 128-page papers from Real Lawyers™️ like @jtlg.bsky.social have persuaded me that the issue is far more nuanced than I had thought. But no, I’m not blind to the ethical issues—heck, I used to teach professional ethics in one of my classes.
Again, thanks to all for engaging.