• lnxtx (xe/xem/xyr)@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    96
    arrow-down
    4
    ·
    1 day ago

    I like the phrasing (bold is mine):

    nvdriver (nvidia_rs.ko) is a clean-room, open-source […]

    AI and clean-room 👍

    /s

    • Bakkoda@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      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
        5
        ·
        4 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
          20
          arrow-down
          2
          ·
          22 hours 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
            4
            ·
            6 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
              3
              ·
              3 hours ago

              wonder who’s legally responsible

              The person with the smallest legal fund.

              • Cethin@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 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.

          • P03 Locke@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            2
            ·
            7 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
            9
            arrow-down
            1
            ·
            21 hours 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
          ·
          6 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
          ·
          17 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
            ·
            8 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
              ·
              7 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
                ·
                6 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
                  ·
                  51 minutes 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
                    ·
                    32 minutes 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.

            • wewbull@feddit.uk
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              3 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
                ·
                3 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)