• Bakkoda@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 day ago

    Is this a common term? I always get very critical when i hear a term like that used over and over in a video. They always sound like they are trying to convince me about something

    • ozymandias117@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      10 hours ago

      It comes from the early days of computers.

      The idea is one group of engineers that may have read the source code document the specific behaviors of the program

      That specification is then handed off to another group of engineers that have definitely never seen the source code.

      That second group then reimplements the same behaviors through their own source.

      This means there can’t be any copyrightable code in the second implementation.

      That’s how what are called IBM compatible machines became ubiquitous. The implementation can be copyrighted, but if you have an independent implementation then you’re fine.

      The problem is there’s no way to independently say an AI hasn’t been trained on the source of the original program, so anything written by AI may be copyright infringement

      • Clambake0351@piefed.zip
        link
        fedilink
        English
        arrow-up
        23
        arrow-down
        2
        ·
        1 day ago

        While it can apply to human-written code, it’s almost always used today in the context of AI reproducing proprietary code without the owners source material or insider knowledge from someone that had access to the source.

        The glaring omission in that statement is, unless you trained your AI by hand, you likely have no idea what if any proprietary training data went into the model, so it only “avoids copyright” so long as your AI model isn’t violating any copyright laws, which…

        • Cethin@lemmy.zip
          link
          fedilink
          English
          arrow-up
          5
          ·
          12 hours ago

          I wonder who’s legally responsible, if it turns out it is violating copyright laws. Is it the user, who created the copy, or is it the AI developer, who sold a product that they claim wasn’t an issue. The user has no reasonable way to know what the training data was, so they probably shouldn’t be the one accountable.

          • wewbull@feddit.uk
            link
            fedilink
            English
            arrow-up
            5
            ·
            9 hours ago

            wonder who’s legally responsible

            The person with the smallest legal fund.

            • Cethin@lemmy.zip
              link
              fedilink
              English
              arrow-up
              2
              ·
              8 hours ago

              In this case, it sets a precedent. Does the AI company have more money, or do all the users? It’s more than just the person in this case. It’s also all the companies using it.

              • girsaysdoom@sh.itjust.works
                link
                fedilink
                arrow-up
                2
                ·
                3 hours ago

                Imagine if they did lose a case to copyright because they used AI. I think that would damning for a lot of businesses that use mainstream models.

        • P03 Locke@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          2
          ·
          13 hours ago

          LLMs don’t “own” code, the writing process, and certainly can’t reverse engineer anything. It’s just a tool used by a human.

          An AI model can’t “violate any copyright laws”.

        • lenabee@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          13
          ·
          1 day ago

          Yes. I agree 100%. That to me is also some of the beauty in this trend. I personally believe that these are not clean room reverse engineering due to AI having knowledge that they “shouldn’t” have. But it puts the AI companies in a logical trap.

          If this counts as clean-room, then every computer program will continue to be reverse engineered legally for maybe forever. If this doesn’t count as clean room, then that term has to be redefined to arbitrarily exclude AI as an allowed tool or the AI companies will need to disclose what forbidden knowledge their models actually know.

          It looks like a lose-lose for AI companies. Barring corrupt legislation favoring corporations over people, seems like the machine they built ignoring copyright is being used to ignore copyright.

      • theparadox@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 hours ago

        I interpret it as “we made efforts not to violate any copyright so if the code looks familiar, blame the model’s owner not us”.

      • Nik282000@lemmy.ca
        link
        fedilink
        arrow-up
        4
        arrow-down
        3
        ·
        23 hours ago

        You can not have “clean-room” software if an LLM was involved. They are trained on other peoples code, both free and non-free and even if it is not incorporated char for char in the final project, other people’s work was involved, thus making it not a clean-room project.

        • just another dev@lemmy.my-box.dev
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          14 hours ago

          That sounds like nitpicking to me. I might be wrong, but in my understanding, the idea of clean room reverse engineering is that you don’t look at the compiled code to see what it does, but just by how it reacts.

          Let’s assume for the moment that the LLM was not trained on nvidia’s closed source code. (after all, if it wat leaked, there wouldn’t be a need for this project)

          If a human developer used Wikipedia or looks up stuff on githib during an otherwise clean room reverse engineering session, is that then also no longer a clean room session? That seems… Very arbitrary.

          • ffhein@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            12 hours ago

            I think clean room reverse engineering usually means that you have one person/team/agent that decompiles and analyses the binaries, they write a detailed specification of what it does, and then a different person/team/agent writes a new implementation based on that spec. I.e. it involves looking at the compiled code, just not by the same person who writes the new implementation. And it doesn’t depend on any information already being available.

            However, I wouldn’t take for granted that this actually is a clean room implementation just because the AI says it is.

            • just another dev@lemmy.my-box.dev
              link
              fedilink
              English
              arrow-up
              3
              ·
              12 hours ago

              Thank you for the explanation, that makes it so much clearer.

              And while I agree we shouldn’t trust anything written on the internet - that this was actually the method they used, it sounds like the methodology you described can definitely be executed through the use of AI.

              Either way, personally I still think it’s an incredible achievement.

              • Jako302@feddit.org
                link
                fedilink
                arrow-up
                1
                ·
                6 hours ago

                it sounds like the methodology you described can definitely be executed through the use of AI.

                It quite literally can’t cause the AI most likely has the code already in its training data.

                You could use it to write the documentation, but once AI was used to write any code, it could only be considered cleanroom if the original code is with 100% certainty not in the training data.

                • just another dev@lemmy.my-box.dev
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  6 hours ago

                  If that code was so readily available that all LLMs were trained on it, this reverse engineering wouldn’t have been necessary in the first place.

                  What makes you think it’s so likely that the model has been trained on this? Reminder: nvidia has not open sourced the code for the gsp.

                  For the stuff that they have released, I’d agree with you (but there would be no point in it). However, for their closed code, I think it’s extremely unlikely.

                  • Jako302@feddit.org
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    5 hours ago

                    Pretty much every big software company has gone AI first, so there is a 99.9% certainty that their codebase has been audited by at least one AI agent, probably much more than that.

                    We also know that all those chatbots and agents send that data home where its than stored on the parent companies servers. There have been multiple incidents were thousands of supposedly private conversation with different chatbots were fully indexed and searchable on google cause they fucked up. That also means said data is stored in a readable format for those companies.

                    While some of the big ones claim they won’t use data as long as you are on a commercial plan, zhe chance that they dont use readily available data they already have on their servers is abysmal, especially considering how desperate they are for fresh data sources. Nearly every single big AI provider has shown us that they don’t care about laws even if they get caught, why would they care about it now that it can’t even be proven.

          • wewbull@feddit.uk
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            9 hours ago

            It’s not nitpicking. It’s the reason US courts have stated that copyrighted LLM code is not a thing.

            • just another dev@lemmy.my-box.dev
              link
              fedilink
              English
              arrow-up
              2
              ·
              9 hours ago

              Can you elaborate? If one LLM writes the spec, and the other implements it, why doesn’t that qualify as clean room? What makes it different than with humans?

              (again, I’m working on the basis that those LLMs haven’t been trained on nvidia’s closed source code, Ockhams razor and all)

              • wewbull@feddit.uk
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 hours ago

                In a human “clean room” the implementors can never have had any previous exposure to any thing related to the original product.

                A logical extension of this is that a “clean room” implementation is impossible using LLMs because an LLM always carries all of the things it was trained on within it. It’s not implementing from just a spec, but from all of the things it’s seen before, which more than likely includes the thing you are trying to “clean room”.

                • just another dev@lemmy.my-box.dev
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  24 minutes ago

                  In a human “clean room” the implementors can never have had any previous exposure to any thing related to the original product.

                  I don’t think anyone uses that definition. The idea is that they haven’t seen the source code. If the original uses a relational database, the person in the clean room should still know what a database is.

                  I will concede that a cleanroom approach is impossible (or at least less likely) for public code. But given that the core of those project is closed source code, by nvidia no less, I personally find it extremely unlikely that the LLM used in this project was trained on it.