• P03 Locke@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 hours ago

    All AI-generated code should be Open Source.

    And, as people are starting to find out, all code is “open source”, in that it is incredibly easy to decompile anything. How does that t-shirt go? “Everything is open source if you know assembly.”

    Well, existing decompiling tools already knew how to reconstitute assembly into higher-level languages, and LLMs can spend the effort to figure out proper variable/function names to make it more readable.

  • humanspiral@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 hours ago

    I like this AI song a lot. in my head for months. it gets reposted by 1000 youtube accounts. is it now open source? https://www.youtube.com/watch?v=7VG7bhbV4iQ . I imagine creator spent more than 1 prompt in designing/creating the song, does that count as IP? Does not taking down 1000+ youtube copies count as public domain?

  • im_fine_sandy@nord.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 hours ago

    This will probably be an unpopular opinion but, all AI generated code is already effectively open source.

    If person A can generate code that solves a problem merely by explaining the problem to a bot, then what is the point of licensing the code if person B can do the same to generate their own code?

    If a zillion people can generate that code, then anyone trying to license the code dooms their project to irrelevance.

    The unpopular part: if you imagine for a moment that LLMs can generate useful code and build useful projects, then that dramatically changes the software landscape as we know it. For example, there are software products millions of people are paying a subscription for, which are effectively just CRUD applications behind a nice brand. There’s already some vibe coded bookkeeping / accounting products appearing - its a marketplace land grab.

    • P03 Locke@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 hours ago

      What’s aggravating is that SaaS companies have been using that model to skirt around GPL. Amazon has Aurora, a MySQL-based relational database, and because they don’t provide a binary, they don’t have to give out the source code. And because they aren’t freely-available binaries, they aren’t subject to decompiling efforts, either.

      That’s not to say OSS can’t just provide a binary-version of the same kind of product. But, it does mean that SaaS is going to use that as a layer of IP protection, now more than ever. Terraform (HashiCorp), Redis, and Elasticsearch (Elastic) all are trying to shift to SaaS models to increase profits, stealing the contributions from their OSS counterparts.

    • [email protected]@lemmy.federate.cc
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 hours ago

      You’re right, and the corollary is kind of terrifying: instead of N people using one tested, maintained dependency, there will be N similar but non identical LLM generated dependencies, each used by ones of people. Talk about code rot.

      • bearforcepilot@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 hours ago

        This is something I’ve noticed, so many almost the same packages and projects, with very little actual testing

  • ZILtoid1991@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 hours ago

    Public domain maybe, but not “open source” as in GPL, since the AI training data has issues with an absolute lack of data vetting.

  • verdigris@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 hours ago

    I’ve said for years that all of the “good” or “useful” aspects of LLMs are because they ignore copyright. They’re a glimpse of the creative freedom that IP law stifles.

  • Phoenixz@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 hours ago

    Not a hot take at all

    All AI code has been indirectly stolen from open source projects, it only makes sense that the output should be open source as well, see GPL for that.

  • Redvenom@retrolemmy.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 hours ago

    if we weren’t in a game where everyone has to collect as much money as possible, we all could be living in the 2026 that we were promised.

  • morto@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 hours ago

    It’s already the end of copyright. Want something protected? Jut ask ai to make a clean-room version of it /s

  • NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 hours ago

    This is exactly how it should work. Any code copied from GNU GPL code should legally also be GNU GPL, no ifs, ands or buts.

    Oh, your training data set contains GPL code? Guess what, all the output from that model is now GPL. It’s your burden to prove that your training data does not contain any GPL code.

    • abc@suppo.fi
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 hour ago

      LLMs obviously don’t copy code. That’s not how they work.

      What you’re suggesting is sort of the same as claiming that if a developer ever read GPL code, all their code is now GPL code.

    • frongt@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 hours ago

      It’s nearly impossible to prove a negative. But it would be trivial to ask it for code from a GPL project. If it can provide it, it’s in the model.

      • NaibofTabr@infosec.pub
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 hours ago

        It’s nearly impossible to prove a negative.

        In a general, open-ended situation, sure. In this case, the model developer has all of the training data that was input for training the model. It should take all of half an hour to determine if there is any GPL code in the training data set.

        • JohnEdwa@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 hours ago

          Hi, I am from OpenAI/Alphabet/Meta, I have checked our training data and it contains no GPL code, or copyrighted or pirated media of any kind, it’s all perfectly totally 100% legit. Thank you for your inquiry, hope this solves the issue and have a good day.

            • FauxLiving@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              7 hours ago

              Social media users want to see a person walk into the bad guy’s office and punch them in the face, solving the problem. Real effective steps are usually boring and unremarkable like forcing them to make a statement on record.

          • NaibofTabr@infosec.pub
            link
            fedilink
            English
            arrow-up
            0
            ·
            10 hours ago

            Right, so, then we have a paper trail of fraud. Forcing them to make such a statement in writing is useful.

  • ZeDoTelhado@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 hours ago

    Except generated code in a lot of places simply cannot be copyrighted for starters (there is degree this can vary from place to place, from having some edits to being just a small part of the entire project)

    • DarkCloud@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 hours ago

      Source? I’m pretty sure that’s true for images, but copywrite law can vary greatly depending on medium, and context.

      • FauxLiving@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 hours ago

        What they’re saying is true in case law, which is hardly settled or the same across US districts, but has some nuance.

        The actual code that comes out of a language model is not eligible for copyright protection. However, if it is used as part of a larger work with significant human contribution, that larger work can be protected by copyright with the exception of the AI generated sections of the code.

        So you could, technically, legally use the generated code but you would be in danger of having to explain to a jury of non-technical people how it’s possible to know that the sections you used are not protected when the company will contend that it was. It’s a big risk if the company is litigious and rich.

      • woelkchen@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        12 hours ago

        I’m pretty sure that’s true for images

        Threshold of originality doesn’t distinguish between images and code. Either it’s human creative work or it’s not. Chore isn’t creative work, so the amount of invested time doesn’t count.

  • Modern_medicine_isnt@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    13 hours ago

    I think you would be suprised how much of the code that is written by AI is solving the same problems every company solves, and is totally useless outside the company. Very little of it is really novel or valuable. And that is the code not being written by AI.

    • bryndos@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      9 hours ago

      Which is fine, no one cares, they’re not redistributing or selling it so licensing probably isn’t needed or important. (IDK not a lawyer).

      But if someone does want to sell or redistribute, then any model with, say, GPL input should (I think) be passing on the GPL terms with the redistribution of the derived work.

    • shalafi@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 hours ago

      Yep. I have loads of PowerShell scripts that will never be used again because they were specific to the company they were written for.

    • [deleted]@piefed.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      13 hours ago

      Also require them to get permission to use the data in the training process before they pay to use it.