• regbin_@lemmy.world
    link
    fedilink
    English
    arrow-up
    41
    arrow-down
    5
    ·
    9 months ago

    LLM is AI. So are NPCs in video games that just use if-else statements.

    Don’t confuse AI in real-life with AI in fiction (like movies).

    • UraniumBlazer@lemm.ee
      link
      fedilink
      English
      arrow-up
      23
      arrow-down
      24
      ·
      edit-2
      9 months ago

      AI IS NOT IF ELSE STATEMENTS. AI learns and adapts to its surroundings by learning. It stored this learnt data into “weights” in accordance with its stated goal. This is what “intelligence” refers to.

      Edit: I was wrong lmao. As the commentators below pointed out, “AI” in the context of computer science is a term that has been defined in the industry long before. Where I went wrong was in taking the definition of “intelligence” and slapping “artificial” before it. Therefore while the literal definition might be similar to mine, it is different in CS. Also, @blotz@lemmy.world even provided something called “Expert Systems”, which are a subset of AI that use if-then statements. Soooo yeah… My point doesn’t stand.

      • Mikina@programming.dev
        link
        fedilink
        arrow-up
        21
        ·
        9 months ago

        This is unfortunately not true - AI has been a defined term for several years, maybe even decades by now. It’s a whole field of study in Computer Science about different algorithms, including stuff like Expert Systems, agents based on FSM or Behavior Trees, and more. Only subset of AI algorithms require learning.

        As a side-note, it must suck to be an AI CS student in this day and age. Searching for anything AI related on the internet now sucks, if you want to get to anything not directly related to LLMs. I’d hate to have to study for exams in this environment…

        I hate it when CS terms become buzzwords… It makes academic learning so much harder, without providing anything positive to the subject. Only low-effort articles trying to explain subject matter they barely understand, usually mixing terms that have been exactly defined with unrelated stuff, making it super hard to find actually useful information. And the AI is the worst offender so far, being a game developer who needs to research AI Agents for games, it’s attrocious. I have to sort through so many “I’ve used AI to make this game…” articles and YT videos, to the point it’s basically not possible to find anything relevant to AI I’m interrested it…

        • UraniumBlazer@lemm.ee
          link
          fedilink
          English
          arrow-up
          8
          ·
          9 months ago

          Oh, was not aware of this… (It’s also embarrassing considering that I’m a CS student. We haven’t reached the AI credits yet, but still…). Anyway, thank you for the info! And yeah, the buzzwords part does indeed suck! Whenever I tried to learn more about the topic, I was indeed bombarded by the Elon Musk techbro spam on YouTube. But whatever, I don’t have THAT long to get to these credits. Sooo wish me luck ;)

          • Mikina@programming.dev
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            9 months ago

            I’d recommend getting Kagi.com. It’s one of the best software investments I’ve recently made, it makes searching for technical questions so much better, because they have their own indexer with a pretty interresting philosophy behind it. I’ve been using it for a few months by now, and it has been awesome so far. I get way less results from random websites that are just framing clicks on any topic imaginable by raping SEO, and as an added bonus I can just send selected pages, such as Reddit, to the bottom of search results.

            Plus, the fact that it’s paid, I don’t have to worry about how they are monetizing my data.

            • mob@sopuli.xyz
              link
              fedilink
              arrow-up
              7
              ·
              edit-2
              9 months ago

              I am really convinced there is a Kagi marketing department dedicated to Lemmy. But if it really works that much better for you, that’s great.

              But I wouldnt only bank on the logic “the fact that it’s paid, I don’t have to worry about how they are monetizing my data”. A lot of paid services still try to find ways for more money

              • Mikina@programming.dev
                link
                fedilink
                arrow-up
                2
                arrow-down
                1
                ·
                9 months ago

                While I did see Kagi recommended on Lemmy, I’ve made the switch because of a recommendation by my colleague at work (now that I thing about it, that would funnily probably be the case even if I was actually working for Kagi :D), and it has been a nice experience so far. Plus, we’ve just been talking about it today at the office, so I was in the mood of sharing :D But I haven’t done any actual search comparisons, so it may just be placebo. I’d probably say it’s caused by a lot people trying to be more privacy-centric here, and mostly deeply against large corporations, so the software recommendations tend to just turn into an echo-chamber.

                As for the second point, yeah, I guess you are right, Brave Browser being one of the finest examples of it. But it’s a good reminder that I should do some research about the company and who’s behind it, just to avoid the same situation as with Brave, thanks for that.

        • blotz@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          9 months ago

          “I’ve used AI to make this game…”

          Before artificial intelligence became a marketable buzz word, most games already included artificial intelligence (like NPCs) I guess when you have a GPT shaped hammer, everything looks like a nail.

          • Mikina@programming.dev
            link
            fedilink
            arrow-up
            4
            ·
            9 months ago

            That’s what I was reffering to. I’m looking for articles and inspiration about how to cleverly write NPC game AI that I’m struggling with, I don’t want to see how are other people raping game deveopment, or 1000th tutorial about steering behaviors (which are, by the way, awfull solution for most of use-cases, and you will get frustrated with them - Context Steering or RVHO is way better, but explain that to any low-effort youtuber).

            I’ve recetly just had to start using Google Scholar instead of search, just so I can find the answers I’m looking for…

            • grenndel@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              9 months ago

              If you are looking into how to write game ai there’s a few key terms that can help a ton. Look into anything related to the game FEAR there AI was considered revolutionary at the time and balanced difficulty without knowing too much.

              A few other terms are GOAP for goal oriented action programming, behavior trees. And as weird as it sounds looking up logic used my mmorpg bots can have a ton of great logic as the ones not running a completely script path do interact with the game world based on changing factors.

              • Mikina@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                9 months ago

                Thank you! My main issue is that while I’m familiar with all those algorithms, its usually pretty simple to find how do they work and how to use them for very basic stuff, but its almost impossible to research into actual best practices in how and when to use them, once you are working on moderately complex problem, especially stuff like formations, squad cooperation and more complex behavior (where I.e behavior trees start to have issues once you realize you have tons of interrupt events at almost every node, defeating the point of behavior trees - which can happen if you’re using them wrong, but no one usually talks about it at that level).

                And I’m also dealing with issue that isn’t really mentioned too much, and that is scale. Things like GOAP would probably be infeasible to scale at hundreds of units on the screen, which require and entirely different and way less talked-about algorithms.

                I’ve eventually found what I needed, but I did have to resort to reading through various papers published on the subject, because just googling “efficient squad based AI behavior algorithm” will unfortunately not get you far.

                But its possible that I’m just being too harsh, and that the search results were always the same level of depth - only my experience has grown over the years, and such basic solutions are no longer sufficient for my projects, and it makes sense that no-one really has a reason to write blog posts of such depth - you just publish papers and give talks about it.

                Aside from the AI related keywords. I’m still salty about what the buzzword did to my search results.

        • UraniumBlazer@lemm.ee
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          9 months ago

          Sure, but learning and training is still a component, no? If something cannot learn how to solve problems autonomously, how is it intelligent?

          • corship@feddit.de
            link
            fedilink
            arrow-up
            6
            ·
            9 months ago

            I’ve developed “AI” using prolog.

            No machine learning, you’re still solving problems using logical reasoning and deduction that’s not intuitively obvious for humans.

            • UraniumBlazer@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              4
              ·
              9 months ago

              An intelligent system is a system that autonomously gathers information accessible to it, learns how to use this information to achieve its terminal goal and uses this skill. Does your prolog “AI” fit this description? Does it “write” its own logic? If yes, then it is intelligent. If no, then it is no different than some random non intelligent computer program.

              • corship@feddit.de
                link
                fedilink
                arrow-up
                3
                ·
                9 months ago

                I mean, you can simply define something differently than the last 50 years of researchers in computer science. It’s just not going to make a difference.

                • UraniumBlazer@lemm.ee
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  9 months ago

                  Yeah, just realized from reading other comments that I was doing this. I was clearly uninformed. Sorry 😓

      • blotz@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        9 months ago

        Heya! This isnt true. You are correct that about the broad strokes but there are plenty of examples where this isn’t the case. Expert Systems are a very popular form of ai which can be made of only if else statements.

        represented mainly as if–then rules rather than through conventional procedural code.

        Expert systems were among the first truly successful forms of artificial intelligence (AI) software.

        • UraniumBlazer@lemm.ee
          link
          fedilink
          English
          arrow-up
          6
          ·
          9 months ago

          Yeahhhh… As another commentator said, I was redefining AI, when it had been defined decades ago… Whoops 😓

          Also, thanks for linking Expert Systems! I clearly have a lot of interesting stuff to learn about in AI.