At Open Source Summit Japan, Linux and Git creator Linus Torvalds talked about Rust in Linux, Linux maintainer fatigue, and AI’s future role in Linux and open-source development.

  • 1984@lemmy.today
    link
    fedilink
    arrow-up
    78
    ·
    1 year ago

    Looking ahead, Hohndel said, we must talk about "artificial intelligence large language models (LLM). I typically say artificial intelligence is autocorrect on steroids. Because all a large language model does is it predicts what’s the most likely next word that you’re going to use, and then it extrapolates from there, so not really very intelligent, but obviously, the impact that it has on our lives and the reality we live in is significant.

    Exactly.

    • Lmaydev@programming.dev
      link
      fedilink
      arrow-up
      11
      arrow-down
      56
      ·
      1 year ago

      It is very intelligent though.

      It’s not simple to come up with coherent statements on such a wide variety of tasks.

      It’s not just stringing random words together like predictive text. It understands context in a way that is very complex.

      It is more knowledgeable than the average person by a huge amount.

      For example I asked it to write songs about squidmas, an imaginary holiday I made up to irritate my children. It was able to rewrite Christmas songs but with a squid theme. That’s way more complex than predictive text.

      • thatsnothowyoudoit@lemmy.ca
        link
        fedilink
        arrow-up
        51
        ·
        edit-2
        1 year ago

        You’re conferring a level of agency where none exists.

        It appears to “understand.” It appears to be “knowledgeable. “

        But LLMs do neither of those things.

        Take this note from an OpenAI dev:

        It’s that these models have leveraged so much data they’ve been able to map out relationships between words (or images) in way as to be able to generate what seem like new versions of those things.

        I grant you that an LLM has more base level knowledge than any one human, but again this is thanks to terrifyingly large dataset and a design that means it can access this data reasonably reliably.

        But it is still a prediction model. It just has more context, better design and (most importantly) data to make predictions at a level never before seen.

        If you’ve ever had a chance to play with a model at level where you can control some of its basic parameters it offers a glimpse into just how much of a prediction machine it can be.

        My favourite game for a while was to give midjourney a wildly vague prompt but crank the chaos up to 100 (literally the chaos flag at the highest level) to see what kind of wild connections exist but are being filtered out during “normal” use.

        The same with the GPT-3.5 API in the “early days” - you could return multiple versions of the response and see the sausage being made to a very small degree.

        It doesn’t take away from the sense of magic using these tools. It just helps frame what’s going on under the hood.

        • Lmaydev@programming.dev
          link
          fedilink
          arrow-up
          6
          arrow-down
          26
          ·
          1 year ago

          Given it’s an artificial intelligence it stands to reason its understanding and knowledge are artificial.

          I don’t think there’s any relevance pointing that out anymore. No one thinks it’s conscious or a general AI.

          I also don’t see how it’s massively different to our ability to parse and output text tbh.

          • Swedneck@discuss.tchncs.de
            link
            fedilink
            arrow-up
            20
            arrow-down
            4
            ·
            1 year ago

            it’s different to our ability because we actually know what words are, we know they refer to things.

            All an LLM sees is tokens, it has absolutely no concept of what langauge actually is or what things mean, it’s literally just “this number seems to occur after these numbers”.

            • 0ops@lemm.ee
              link
              fedilink
              arrow-up
              9
              arrow-down
              2
              ·
              edit-2
              1 year ago

              That’s kind of a given though. It’s a large language model, so of course its “understanding” can only be in terms of language. In a way, words are its only sense (input), and only way to interact with the world (output). The mechanism isn’t really important, imo, since we could reduce our own understanding to chemical reactions.

              Homo sapiens have many more dimensions of awareness, dozens maybe including sight, hearing, time, pressure, acceleration, etc., and we’ve been collecting data from them all 24/7 since embryo, plus instinct (pre-baked weights) from millions of years of evolution. We know that people born without a sense, let’s say vision cannot conceptualize visually, even when their sight is restored for a time. I remember reading awhile back that a person born blind had their vision fixed, but they didn’t know what “pointy” looked like. They couldn’t know. Do they have a lower quality understanding of a word?

              My point being, I don’t think it’s fair to objectively compare understanding between a person and a model without a testable definition of that word. Imo, and feel free to disagree, understanding is no different than merely knowing, it’s just implied that the knowledge is deeper, across multiple dimensions of awareness, including subconscious awareness of our own hormones.

            • v_krishna@lemmy.ml
              link
              fedilink
              English
              arrow-up
              9
              arrow-down
              2
              ·
              edit-2
              1 year ago

              I think that is overly simplistic. Embeddings used for LLMs do definitely include a concept of what things mean and the relationship of things to other things.

              E.g., compare the embeddings of Paris, Athens, and London to other cities and they will have small cosine distance between them. Compare France, Greece, and England and same. Then very interestingly, look at Paris - France, Athens - Greece, London - England and you’ll find the resulting vectors all align (fundamentally the vector operation seems to account for the relationship “is the capital of”). Then go a step further, compare those vector to Paris - US, Athens - US, London - Canada. You’ll see the previous set are not aligned with these nearly as much but these are aligned with each other (relationship being something like “is a smaller city in this countrry, named after a famous city in some other country”)

              The way attention works there is a whole bunch of semantic meaning baked into embeddings, and by comparing embeddings you can get to pragmatic meaning as well.

      • 1984@lemmy.today
        link
        fedilink
        arrow-up
        27
        arrow-down
        5
        ·
        1 year ago

        It’s not intelligent because it’s not thinking.

        At least my definition of intelligence is thinking. Otherwise a simple pattern matching algorithm like a regexp is also intelligent, or a sorting algorithm that puts things in the right order.

        But I agree it’s very efficient and has more data than any single person ever could. It’s a computer, they are great at storing and processing information.

        • Coldus12@reddthat.com
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          While I mostly agree, I’d like to point out that GOFAI (good old fashioned AI) exists, and at its core it is basically just pathfinding like a* or something similar. And we still call that AI, because it “intelligently” finds a path quickly.

          So my main point is that I agree that it isn’t magic or sapient or anything, but in a sense it is definitely intelligent.

        • cybersandwich@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          1 year ago

          I’ve heard the argument that we don’t really have a good definition of thinking or intelligence and if it can complete a task or do things…what does it matter if it’s “thinking” or not if the outcome is the same.

        • netwren@lemmy.world
          link
          fedilink
          arrow-up
          6
          arrow-down
          5
          ·
          1 year ago

          I think the defenders of human intellect are heralding our language and thinking to be a much higher standard than for MOST people they are.

          A chess champion might be executing critical thinking beyond normal comprehension but I’d say a lot of my interactions with others, my daily experience is just pattern matching the next thing to say or ask.

          • voluble@lemmy.world
            link
            fedilink
            arrow-up
            4
            arrow-down
            4
            ·
            1 year ago

            I think this type of anthropocentrism extends to chess too actually. I’m not an expert on the subject, but I’ve heard that chess AIs are finding success doing unintuitive things like pushing a and h file pawns in openings. If, 10 years ago, some chess grandmaster was doing the same thing and finding success, I imagine they would have been seen as creative, maybe even groundbreaking.

            I think the average person under-rates the sophistication of AI. Maybe as a response to the AI hype. Maybe it’s because we’re scared of AI, and it’s comforting to believe that it’s operations are trivial. I see irrationality and anger cropping up in discussions of AI that I think stem from a fundamental fear of its transformative power.

            • 1984@lemmy.today
              link
              fedilink
              arrow-up
              3
              arrow-down
              3
              ·
              1 year ago

              Yes it’s going to transform everything. It’s about the same as the transformation from typewriter to computer for society. But I still don’t think any machine that predicts the next word is intelligent. However, this is only the beginning. We are not going to be able to keep up with AI soon, and it will work around the clock to get better and better.

              We will have those high tech societies from the movies where robots are everywhere and people are quite sad.

              • netwren@lemmy.world
                link
                fedilink
                arrow-up
                3
                ·
                1 year ago

                You say that however we might have stumbled on the groundwork for a GI. Because language is core to our evolutionary advancement. We needed language to build the mental constructs that then enabled logical work.

                Imagine if an LLM was able to coordinate the usage of these “logical” AI’s like Deep mind etc.

                ChatGPT already enabled Internet search and it’s better than if I asked someone to Google something for me.

        • Semperverus@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          13
          ·
          edit-2
          1 year ago

          Bro the AI neural networks have been shown to be building internal world models to be able to do what they do. How is that not thinking?

          I am so sick of this anthrocentrism, as if we are special because we are humans. The computers are now doing the same mathematical processes our brains are doing. The LLMs can be compared to a small subsection of our brains. String enough neural network based AIs together with different tasks and youll get sentience.

          Sentience isnt required for “thinking” to happen, thinking is one of the building blocks for sentience.

  • MigratingtoLemmy@lemmy.world
    link
    fedilink
    arrow-up
    56
    arrow-down
    2
    ·
    edit-2
    1 year ago

    I would have liked for Linus to maintain his angry-man-finger-thrusting self against evil corporates like Nvidia. I suppose I’m asking for too much, but his mild-mannerisms towards developers is a welcome change. Towards such corporates though, not so much. I would have liked some more motivated cursing against Intel and Nvidia and IBM. Oh well.

    Other than that (which is a minor gripe from me at the most), touching message from Linus. Indeed, the maintainers are graying, and the current generation isn’t that interested in kernel programming. I’m sure there will be talent around (as long as the big companies need Linux to run their servers, I’m sure someone will turn up), but someone to rise to the helm with a fiery approach to openness is very important to my heart. I don’t think we will ever see another Linus in our lifetime, and I will personally grieve the day Linus and his core set of maintainers pass away.

    I am not a programmer, and the best I can do is provide some funding to people who can/would engage directly with the kernel. But if the situation becomes so dire, I too will get my hands dirty, if nothing but to help the cause. Long live FOSS!

    • eestileib
      link
      fedilink
      arrow-up
      47
      arrow-down
      3
      ·
      1 year ago

      Linus was himself a major contributor to making people steer well clear of wanting to work on the Linux kernel. I didn’t need that kind of abuse in my life.

      So while he is identifying a problem, it’s a bit like a recovering arsonist homeowner bemoaning the scorch marks on his house.

      • MigratingtoLemmy@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        As I said, his change in behaviour towards fellow developers is a welcome change. There’s no doubt about that.

        I just wish he would continue to rage against companies up to no good, especially for FOSS. I never want him to get mild with Nvidia, and I want him to praise AMD a bit (they deserve it, and his opinion holds value).

      • ⸻ Ban DHMO 🇦🇺 ⸻@aussie.zone
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        3
        ·
        1 year ago

        Hell will freeze over before he accepts a pull request on GitHub or uses Issues for discussions. I believe his behaviour serves only to scare away contributors and embolden elitists.

  • wiki_me@lemmy.ml
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    1 year ago

    That said, Torvalds continued, “Rust has not really shown itself as the next great big thing. But I think during next year, we’ll actually be starting to integrate drivers and some even major subsystems that are starting to use it actively. So it’s one of those things that is going to take years before it’s a big part of the kernel. But it’s certainly shaping up to be one of those.”

    I don’t know about that, languages which are based on standards (c++ , javascript, c) seem to have much better enduring popularity, i don’t want to see rust becoming less and less popular which will lead to less available developers (like what is happening with ruby).

      • 0ops@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I assumed that he was talking about the fact the the languages he listed have a lot of syntax in common with each other, and with a few other languages. I could be wrong though

    • jaybone@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      9
      ·
      1 year ago

      Yeah… rust in the kernel scares me. Lol they are already worried about not having enough contributors, so…?

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        23
        arrow-down
        3
        ·
        1 year ago

        they = rust or the linux kernel?

        The linux kernel doesn’t have enough contributors because it’s really difficult + the entire organisational side of it works on antique tech (IRC and mailinglists). The majority of the project itself is also in C which has a horrible developer experience: linting, documentation, debugging, code completion, and the lack of a proper IDE. The entire development cycle is convoluted. How do you seriously want to attract people to the project if everything looks like it’s still in a development cycle of the 90s?

        If I were to discover a one-line bug in the kernel by reading it, actually testing the one-line fix would take me, as a newbie probably a solid week. Getting it into the kernel itself would probably take even longer.

        The kernel is also known for Linus’ outbursts and being filled with neckbeard elitists. The project in my eyes has an image problem.

        As for rust, if that’s what you meant, I’d be interested in knowing the source for not having enough contributors.

  • GustavoM@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    8
    ·
    1 year ago

    If that means an AI-assistant of sorts (like “that OS name that cannot be spoketh”) I’m game.

    Will that make some users freak out and make it sound like its doomsday, even if they implement a on/off toggle to the AI assistant? Probably.