General Resolution: LLM Usage in Debian

(debian.org)

54 points | by zdw 5 hours ago ago

43 comments

  • simonw an hour ago

    Don't misinterpret this link as representing a final decision. It's actually three separate proposals which will be debated and then voted on.

    Proposal A is "expressly forbid any contributions to Debian written with the use or assistance of large language models (LLMs) or other generative AI tools."

    Proposal B is "The Debian project allows AI-assisted contributions (partially or fully generated by an LLM), provided the following conditions are met [...]"

    Proposal C is "request that all contributors to Debian avoid the use of LLMs in their Debian work" without an outright ban.

    • clcaev an hour ago

      Of the 3 proposals, the 2nd/B seems to be more of an “informed consent” model while the other two are seeking a comprehensive exclusion. I hope earnest dialogue and driving to a broad consensus among significant contributors is forthcoming.

      Notable are the endorsements, which are balanced over all three options, perhaps indicating only 1/3 are supportive of a more permissive position. If this represents core contributors, this could be worrisome: a clear majority favoring a exclusion, but yet a sizable portion of contributors who don’t want a ban. Losing 1/3 of core contributors would be a significant loss to the project.

    • smellf 38 minutes ago

      I wonder how they can reconcile the stricter proposals with the LLM usage in kernel development. That seems totally untenable. I mean it all seems untenable, but with the kernel especially.

      Also, what about when you inevitably get a situation where a critical vulnerability is discovered, and the only patch available is LLM generated? Do they have to wait to patch until some person who hasn't seen the LLM-generated patch does a clean room implementation?

      I understand the objections to LLMs, but rejecting LLM-generated code really doesn't seem realistic.

      • simonw 34 minutes ago

        Kernel development is excluded from this, because it's covered by "Upstream projects using LLMs for development".

        On security, I worry that proposal A's "forbid any contributions to Debian written with the use or assistance of large language models", as written, excludes contributions where the LLM assisted in discovering the vulnerability. That's clearly a bad policy, and they should update their wording to clarify that.

        • yjftsjthsd-h 9 minutes ago

          I read the question more as, if AI is working out for the kernel, why not a distro? (This is a question with valid answers, like the kernel having more devs paid to handle things while maintaining quality, but it's a fair question)

      • bradfa 33 minutes ago

        The proposals which say no LLM generated code mean just for Debian, if upstream allows it then they will still accept it. It’s just contributions to Debian itself which would prohibit or discourage LLM contributions.

    • infl8ed 10 minutes ago

      There actually seem to be 4 separate proposals right now, maybe another was just added?

      Proposal D is "Accept AI contributions for Debian specific work"

  • prologic an hour ago

    This set of proposals, are (sorry) just stupid. It's like saying to someone, you are not allowed to saw wood using an electric saw, you must do it by hand. What are we doing here?! LLM(s) are just a tool. Use it as such. You should own the work anyway.

    • sanxiyn an hour ago

      It's more like: food processing tool A is known to be defective. We ask employees of this restaurant and supply chains to avoid food processing tool A. This seems eminently reasonable. The question is whether the tool is in fact defective.

      • UqWBcuFx6NV4r 9 minutes ago

        Sure, kind of, if the supposed defect is only one of the reasons, and if ‘food processing tool A’ was a hot-button topic that many people have deeply philosophical and ideological opinions about. Oh, and for good measure, if the proposed ban is for ‘food processors’ in general, and a material amount of pushback is coming from a bunch of greybeard industrial cooks that used one particular food processor a couple of years ago, weren’t all that impressed, and have been railing against food processors ever since.

    • dataflow 39 minutes ago

      > This set of proposals, are (sorry) just stupid. It's like saying to someone, you are not allowed to saw wood using an electric saw, you must do it by hand.

      Stupid? Since when has there been a difference in copyright status with electric vs. hand saws?

      • UqWBcuFx6NV4r 4 minutes ago

        Probably since we all started getting our legal advice from you and every other “I think that it’s illegal so it’s illegal” developer-turned-fake-lawyer on the Internet. Oh, wait, that never happened.

  • Meneth 38 minutes ago

    Gentoo chose to ban LLMs two years ago. They seem to be doing well.

    • UqWBcuFx6NV4r a few seconds ago

      Gentoo is doing as well as it’s always done. It’s clearly a very niche distribution. I say this as someone that used Gentoo for years.

      They are free to keep pretending that they aren’t receiving covert AI contributions, because I’d bet the farm that they are.

      Debian has a little more ‘general interest’

    • orsorna 14 minutes ago

      Funny because out of all the distros, Gentoo benefits from LLM usage, at least as a power user. I have fixed many-an-issues just having LLMs write patches in a way that portage automatically builds them, or rapidly put together ebuilds. I respect upstream decision though and don't share my changes (and realistically who would want them)

  • hkalbasi an hour ago

    > A LLM (...) merely produces syntactically likely combinations of the training data

    While doesn't matter much in the rest of the policy, this is a common misconception among AI skeptics. It is not the case for a long time (since RL is used heavily in the training) and a LLM may go beyond its training data.

    • aabhay an hour ago

      I think the questionable term is not “syntactically likely” but “merely”. Syntactical likeness is a vast solution space that encompasses the work of a terrible developer and a genius developer. In fact this solution space is a gap wide enough to encompass all coding knowledge and expertise.

  • alightsoul an hour ago

    Proposal A is the end of debian for non-english speakers. For those who don't speak english which is most of the world, using an LLM has become vital, because technical information is not available in their language or is extremely basic. Arch Linux is far more lenient with this.

    • aabhay an hour ago

      Un what? There’s several friendly clauses among these proposals including

      > 8. Any contributor who feels they cannot write in English without assistance, may write in their native language, and expect readers to use translation tools of their choice. In that case a human-written English summary would be very welcome but is not required. In any case we promise not to shame anyone for any linguistic mistakes.

      • sanxiyn an hour ago

        That is Proposal C, not Proposal A. (Although I do think Proposal A as written also does not forbid translation usage to communicate.)

    • sanxiyn an hour ago

      I don't believe Proposal A forbids this usage.

      • alightsoul an hour ago

        I would say it leaves communication between individuals in a gray area. And discourages translation work because it has to be done manually. I would say, LLM-translated text on documentation is better than having an LLM translate it again and again on the fly every time someone asks how to do something, because the LLM-translated text can be corrected for everyone to see, whereas conversations with LLMs stay private by default.

        • sanxiyn an hour ago

          For now, I find the quality of LLM translation highly inadequate, I can do much better, and LLMs agree my translation is much better. So I think "no LLM for official documentation" could be a right call, for now. It should be re-evaluated as LLM translation advances.

          • alightsoul 43 minutes ago

            I believe the bigger risk is not low translation quality but choosing instead to use an LLM in a private by default conversation because the LLM rule discourages translation which causes the no information in native language problem which forces the use of LLMs, and thus the LLM output can contain wrong commands which have bricked some computers on reddit

    • Barrin92 39 minutes ago

      this doesn't prevent you from reading documentation in whatever language you like. If you're saying this is the end of someone communicating with you through an LLM despite not speaking the language, that should never happen and I've never been in any technical organization where that was considered appropriate, if you want to work in international software projects you need to have at least a functional grasp of English

      • alightsoul 36 minutes ago

        most documentation is not translated to spanish, for example. working on international projects is the exception, not the rule. Spanish speakers just use LLMs because searching on google in spanish yields no results, because the info they need is in english so google doesn't show it to spanish speakers or by searching it in spanish. Spanish speakers have their search result language set to spanish by default based on IP location and most never change it to english, where the results are far more detailed, and then they almost never search in english.

        • Barrin92 3 minutes ago

          and they still can do this. Again nobody, by definition, can stop you from consuming documentation using machine translation, what you cannot do per these guidelines is contribute translations or documentation using an LLM or pretend you speak a language to contribute, and that is eminently reasonable.

          You will continue to be able to translate the English documentation into Spanish but they will understandably not publish machine translation as authoritative technical documentation.

  • rixed 2 hours ago

      > Documentation and translations added by Debian contributors
    
    I wonder what fraction of Trixie already violates this requirement of the first proposal...
  • russfink 2 hours ago

    What comprises “assistance?” Getting Claude Code to find bugs, suggest a fix, but a human actually editing the source files and testing the result - is that assistance? Perhaps this policy is as it says: a guiding principle that the community is expected to follow.

  • mike_hock an hour ago

    I certainly hope they'll choose C.

  • carterschonwald 2 hours ago

    i think the line is: expressing that you reputationally certify its correct and its worth the time

  • accountrequired an hour ago

    looks like the best proposal is the just the least bad

    • sanxiyn an hour ago

      What do you think is the best proposal?

  • baggy_trough 15 minutes ago

    Proposals like these are arrogant and obnoxious. You aren’t going to tell me what tools I can use.

  • TZubiri 2 hours ago

    Interesting that this makes no distinction from using LLM output and using LLM assistance. An overly strict policy is better than no policy, but I wonder if using llm for conversation and analysis, but not code/config generation, was discussed.

    • aabhay an hour ago

      I’m curious what makes you believe that this distinction is precise or meaningful. What exactly is the difference?

  • dismalaf 2 hours ago

    Curious what the "use" or "assistance" of LLM models means. I mostly use Gemini as a front-end to search Google without getting ads or SEO garbage, would that be forbidden?

    • Narishma an hour ago

      Even if they wanted to forbid that, how would they even detect it?

      • RodgerTheGreat an hour ago

        Asking for good-faith compliance, and failing that, simply waiting for slop enthusiasts to publicly brag about using LLMs to break the rules. All evidence suggests that it is impossible for slop enthusiasts to resist outing themselves for any significant span of time.

  • mt42or 2 hours ago

    Good so Debian will die soon or later.

    • ahofmann 2 hours ago

      Are you aware, that a very big chunk of Linux distributions like Ubuntu are build in top of Debian?

      Why do you want Debian to die?

    • TZubiri 2 hours ago

      By Lindy effect, debian has a life expectancy of 25 more years

    • numpad0 an hour ago

      The fact that some react to these like they were taken away some possession is genuinely interesting