Sadly, it seems like Lemmy is going to integrate LLM code going forward: https://github.com/LemmyNet/lemmy/issues/6385 If you comment on the issue, please try to make sure it’s a productive and thoughtful comment and not pure hate brigading.

Consider upvoting the issue to show community interest.

Edit: perhaps I should also mention this one here as a similar discussion: https://github.com/sashiko-dev/sashiko/issues/31 This one concerns the Linux kernel. I hope you’ll forgive me this slight tangent, but more eyes could benefit this one too.

  • Rentlar@lemmy.ca
    link
    fedilink
    arrow-up
    43
    arrow-down
    4
    ·
    1 day ago

    Code written with the help of LLM and being reviewed is different than like what was happening with Lutris where the developer decided to obfuscate their use of AI-generated code.

    The approach you suggest to totally ban it, while in principle can agree and I think that’s noble, it could lead to people accusing each other of using AI code where it may or may not have happened, or others just hiding it and trying to submit anyway without the reviewers knowing, which is just counter-productive.

    I’ve followed Lemmy development now for 3 years, the devs approach is slow and steady, to a fault in some people’s views. I think it’s a better use of open source resources if we encourage candor and honesty. If the repo gets spammed with AI-generated PRs, then it will probably be blanket banned, but contributors accurately documenting and reporting their usage of AI will help direct reviewers attention to ensure the code is not slop quality or full of hallucinations.

      • hitmyspot@aussie.zone
        link
        fedilink
        arrow-up
        2
        arrow-down
        2
        ·
        14 hours ago

        Not all ai, or rather, llm output is slop. Some is useful. The reason for review is to differentiate. I’m not just talking about coding. I’m talking about their actual useful functionality.

        It would be great if they didn’t hallucinate, or produce slop. It would also be great if the fact that companies use them instead of workers meant we worked less hours and had more leisure time rather than less paying jobs and more stress. The llm is not at fault for the structure of society.

        Llm and ai is a tool. If used appropriately, there should be no issue. Of used inappropriately, it should be called out. Certainly where there is a risk of it appearing on the surface to be good, but not actually good,.like AI generated codez then marking it as such seems reasonable. Banning it doesn’t get rid of it. It hides it. It exists and is now in the world. We need to have policies that support appropriate use.

        • cloudskater@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          12 hours ago

          I’m sorry, but no matter how many times I hear this argument, it never addresses the issues with AI that exist regardless of its usecase. There are plenty of other unacceptable things in this world that we apply strict bans to. No, it will never rid the world of the issue, but that doesn’t mean you concede to “appropriate” uses of the maliciously envisioned technology. Someone in the world will always be hungry, but that doesn’t mean we settle for mostly eradicating world hunger, we try to do all we can.

          No amount of “but it’s for a good purpose” with erase the issues inherent to LLMs and “generative” AI. I like the idea of pure tedium being automated in the future, but so long as its based on the this tech as it currently exists, any genuine attempt to make create something positive is a non-starter. I’m not a “luddite”, I don’t hate progress or new ideas, I simply refuse to support projects that rub shoulders with hyper-capitalist theft machines that destroy the planet.

          • hitmyspot@aussie.zone
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            12 hours ago

            In your analogy, we don’t ban processed food as some people go hungry. We use agriculture to feed as many as possible with better foods. We try to do better. But more production is generally better. That’s what AI is, the equivalent of processed food. It’s not real food, it’s less healthy but it’s functional.

            Same with ai. It is an input and output machine. It has costs associated. We assess the output on this merits and cost. If the output is slop, it should be discarded. If it is functional output, it gets used.

            • cloudskater@piefed.blahaj.zone
              link
              fedilink
              English
              arrow-up
              2
              ·
              12 hours ago

              I knew I shouldn’t have used that analogy, because then the focus would be redirected to it and I’d end up defending it instead of the position it was meant to represent.

              I’ve said what I intended to say. I don’t wanna argue over the uses of AI when its the foundation itself that’s rotten. There’s no good way to make use of “gen” AI as it stands.

              • hitmyspot@aussie.zone
                link
                fedilink
                arrow-up
                1
                arrow-down
                1
                ·
                12 hours ago

                It’s fine you have that opinion. I disagree and so do many others. I’ve used ai to generate notes, checklists, letters,.emails, work templates etc.

                The output was correct and valid in most cases. What about the foundation is rotten, in your view? The fact that it’s based on other people’s work being regurgitated, or the environmental concerns, or how big tech is trying to leverage it to be an arbiter of knowledge and computing power? All are valid concerns, but they don’t mean the technology is inherently unusable or unethical.

                Banning it because of the views of some is unfair on the views of others. I do think that marking it is appropriate, so that anyone who objects to its use can avoid it. I would be concerned that over time or becomes impossible to avoid though. However, that’s the point of open source. People can fork projects at the point where there is no AI code (except in the case where that is purposefully obfuscated).

                • cloudskater@piefed.blahaj.zone
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  12 hours ago

                  “What about the foundation is rotten, in your view? The fact that it’s based on other people’s work being regurgitated, or the environmental concerns, or how big tech is trying to leverage it to be an arbiter of knowledge and computing power? All are valid concerns, but they don’t mean the technology is inherently unusable or unethical.”

                  It literally does. There’s no point in this discussion if we’re disagreeing over something so fundamental.

                  • hitmyspot@aussie.zone
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    11 hours ago

                    Cool, I can see it’s a waste of time too if you’re not able to appreciate other people’s view or express yours beyond absolutisms. It’s not a discussion when the only view you pay attention to is your own.

    • ell1e@leminal.spaceOP
      link
      fedilink
      English
      arrow-up
      23
      ·
      edit-2
      1 day ago

      In my opinion, this argument is exactly the same as saying “we can’t enforce people not stealing GPL-licensed code and copy&pasting it into our project, so we might as well allow it and ask them to disclose it.”

      You can try to argue AI may actually be useful, which seems like what they did, and that would more fairly inform a policy in my opinion. I think your argument doesn’t.

      • MrLLM@ani.social
        link
        fedilink
        English
        arrow-up
        12
        ·
        17 hours ago

        Yeah, and of top of that all the reasons why we hate AI,

        • It’s a plagiarism machine
        • It still hallucinates which might end up in borked projects
        • it has and will continue to fuck up RAM and storage market
        • It consumes a shit ton of energy
        • It’s ruining everything with poor quality products
      • Rentlar@lemmy.ca
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        20 hours ago

        My argument is that a total ban on AI use is more comparable to saying “Code from any other coding project is not allowed”. It will start unproductive arguments over boilerplate, struct definitions and other commonly used code.

        The broadness and vaagueness of “no AI whatsoever” or “no code from any other projects whatsoever” will be more confusing than saying, “if you do copy any code from another project, let us know where from”. Then the PR can be evaluated, rejected if it’s nonfree or just poor quality, rather than incentivizing people to pretend other people’s code is their own, risking bigger consequences for the whole project. People can be honest if they got inspiration from stackoverflow, a reference book, or another project, if they are allowed to be.

        I’m not saying AI should be blanket allowed, the submitter needs to understand the code, enough to be able to revise it for errors themselves if the devs point out something. They can’t just say “I asked AI and it’s confident that the code does this and is bug free”.

    • wheezy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      12
      ·
      1 day ago

      Great perspective and response. Far too many “fuck AI” people are literally advocating for the equivalent of “fuck computers” and “more tedious labor please!”

      The reason you should hate AI should be related to it’s exploitation of labor and it’s over use leading to energy and environmental impacts. Trying to ban AI for all applications is just counter productive and impossible. If the anti AI crowd is just filled with people that want it banned outright for everything, well, then the pro AI crowd that wants to slam it into anything and everything will win out.

      We need to be pointing to good applications of AI that can benefit open source projects in a responsible way as examples of how it should be used. Not spamming them with hate comments because “AI bad”

      • ell1e@leminal.spaceOP
        link
        fedilink
        English
        arrow-up
        16
        ·
        edit-2
        18 hours ago

        far too many “fuck AI” people are literally advocating for the equivalent of “fuck computers” and “more tedious labor please!”

        Not what I’m advocating for.

        We need to be pointing to good applications of AI

        Feel free to do so, but studies are not on your side. Edit: this is a reminder we’re talking about LLMs for code and documentation.

        The only somewhat clearly useful use case appear to be code reviews, but then you don’t need to actually allow submitting any LLM rewritten code or text since code reviews can be done using natural language. And if you use server-side LLMs, you’ll probably agree to ToS that they steal your data.

        And LLMs seem to be amazing at plagiarism.

        • FauxLiving@lemmy.world
          link
          fedilink
          arrow-up
          9
          arrow-down
          7
          ·
          1 day ago

          We need to be pointing to good applications of AI Freel free to do so, but studies are not on your side.

          The only somewhat clearly useful use case appear to be code reviews, but then you don’t need to actually allow submitting any LLM rewritten code or text since code reviews can be done using natural language. And if you use server-side LLMs, you’ll probably agree to ToS that they steal your data.

          And they seem to be amazing at plagiarism.

          You, like a large portion of the ‘fuck AI’ community are angry at LLMs or image/video generation models and their associated capitalist bubble. Yes, LLMs produce poor quality output compared to humans and yes the current marketing and capital explosion is bad for everyone involved that isn’t otherwise independently wealthy.

          The reason that these are the AI that you’re aware of is that AI needs a lot of data to train and the only source of a huge amount of data, the Internet, is primarily text, images and video. So the first large transformer-based neural networks were trained on that dataset.

          ChatGPT and Sora are toys, they were just the toys that were easiest to make given the data available when transformers were discovered.

          If you train neural networks on different kinds of data you get different models. For example, if you train neural networks on protein folding data, you get neural networks that can predict protein folding based on an amino acid sequence. This is a thing that human-created software has not had great success at.

          People may be familiar with Folding@Home, a project which attempts to leverage donated computing resources to brute force the problem. These projects have consumed thousands of person-hours of our best scientists and engineers and the results are pretty poor.

          However, since we now know how to train neural networks on data, we can train an AI to predict the protein structures and the resulting networks such as AlphaFold (https://en.wikipedia.org/wiki/AlphaFold) produce results much higher than human engieered software.

          In addition to predicting the structure, other scientists have used diffusion models (similar to how consumer AI products generate images) to go the other way. Now a scientist can describe a protein’s properties in a prompt and instead of generating a picture the network outputs the sequence of amino acids that are most likely to fold into a shape with those properties.

          Robotics are another field where AI is making an impact unseen to the public. There isn’t an Internet full of bipedal motion or limb-positioning data, so it is much harder to train an AI to operate robotics. There are many projects which are working to create that data and the results are pretty impressive. This is a bipedal robot which has been trained on human motion: https://www.youtube.com/watch?v=I44_zbEwz_w compare that to pre-AI motion: https://www.youtube.com/watch?v=LikxFZZO2sk

          Weather forecasting is another field where AI is useful. Predicting weather requires identifying patterns in huge amounts of data and AI is uniquely able to deal with that level of complexity.

          None of these uses of AI can talk to you, or produce pictures. They cannot understand sentences or write e-mails or generate code. They’re trained on data generated specifically for their purpose, not on public data scrapped from the Internet. Their output allows us to develop medicines faster, automate dangerous jobs and predict weather disasters.

          I’m with anyone who’s concerned about the capitalist frenzy over LLMs and image/video generation products. This is clearly another dotcom bubble and the spending frenzy and disruption in the job markets is damaging the economy and hurting workers at a large scale.

          I do not lay the blame for this at the feet of neural networks. The blame lies with the human beings making the decision to take a promising technology and to dump trillions of dollars into it without any endgame other than market dominance.

          The community should but ‘fuck AI executives’, AI has many uses outside of LLMs and image generation and people are completely missing all of the amazing things that this technology is making possible.

          • ell1e@leminal.spaceOP
            link
            fedilink
            English
            arrow-up
            6
            ·
            edit-2
            1 day ago

            We were talking about lemmy and LLMs. They’re not part of any use case you’re listing.

            But my apologies if I missed something here.

            • FauxLiving@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              4
              ·
              1 day ago

              My point was that people are using the term ‘AI’ when they mean LLMs and/or Image generation.

              You asked for good AI uses, when you mean good LLM uses which is the only point I wanted to make.

              Yes, LLMs are pretty bad at most things. They’re usefulness is basically around that of a search engine or Stack Overflow. They’re often used as a crutch for junior coders, which damages their training and vibe coding is just a novelty… not a production-ready tool.

              I don’t disagree that LLMs are massively over hyped, just that they’re only a tiny portion of the AI technologies. Most of which people should be excited about.

              That’s why it’s frustrating seeing the confusion. LLMs suck, image generation is terrible for many reasons… but AI has many other uses than making 6 fingered people and shitty code.

              • leftzero@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                1
                ·
                12 hours ago

                We’re using the word the cartels pushing LLMs are using for their trash.

                Don’t blame us for turning “AI” into a swearword, blame those bastards.

                Once the bubble pops anyone working on any kind of AI will be seen as a liability and shunned by investors, setting research back for decades (not that any form of research would’ve been possible for long in the slop saturated world they’ll leave behind), all because those scammers thought selling their malware as “AI” would cause more marks to fall for it.

              • commonmarmoset@reddthat.com
                link
                fedilink
                arrow-up
                4
                ·
                23 hours ago

                Adding perhaps an additional layer of nuance - You’re totally right that there is an nomenclature issue around AI, and that the technology (basically like most technology) is value neutral. But, I think it remains a valid decision to make a choice to personally avoid it, and to engage with services and communities accordingly.

                I’m perfectly happy to agree that there is “AI” use which is groovy. Maybe as result of narrowing the definition or using it conscientiously. I understand the difference forms it can come in. But me, personally, I want to use a service that strives for no AI, regardless of if it is good, bad, or neutral. Searching for a niche like this is actually why I started using lemmy (pretty recently).

                I don’t begrudge lemmy taking an approach like “AI must be disclosed and reviewed” as suggested here (https://github.com/LemmyNet/lemmy-docs/pull/414/changes). Let Lemmy party however it wants! Honestly, I appreciate the disclosure, because it lets me know upfront that this isn’t the niche I was looking for. No shade, but I’m out. Nothing but peace and love to everybody who remains.

              • ell1e@leminal.spaceOP
                link
                fedilink
                English
                arrow-up
                4
                ·
                23 hours ago

                I was asking for good uses of LLMs since we were talking about those. Sorry for being unclear.

          • baggachipz@sh.itjust.works
            link
            fedilink
            arrow-up
            6
            arrow-down
            1
            ·
            1 day ago

            Thank you so much for taking the time to put into words what I’ve been too lazy to enunciate. Transformer-based tools are a great development with some fantastic uses. I think the problem is one of nomenclature and extremely aggressive marketing by grifters. The reason I’m in this community isn’t to outright banish anything related to transformer-based tech, but to rail against the insanely overhyped, economy-wrecking shitshow that has commandeered the nebulous term “AI” when it’s really just LLMs.

            • FauxLiving@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              1
              ·
              1 day ago

              The reason I’m in this community isn’t to outright banish anything related to transformer-based tech, but to rail against the insanely overhyped, economy-wrecking shitshow that has commandeered the nebulous term “AI” when it’s really just LLMs.

              Same, I’m here because capitalism is doing serious damage to the world by taking a promising technology and massively over investing.

              I’m not here to side with the Luddites who reflexively downvote anything that says ‘AI’.

              Though, I will say that this is a nuanced opinion and so I understand that I’m going to be dog piled by the people who’re only here for low effort performative activism.