points by RandomLensman 3 years ago

LLMs cannot reason or use mathematics - in a way, they don't know what they are talking about. Why would such technology lead to superhuman smarts?

cubefox 3 years ago

LLMs are trained with a form of imitation learning, they imitate human (and other) text. It seems indeed not likely that pure LLMs will advance far beyond human ability, since even a perfect LLM could only imitate human text perfectly. But other approaches will follow.

circuit10 3 years ago

What is your definition of “reasoning” here? They are clearly able to do many things that we would call reasoning if a human did them

  • RandomLensman 3 years ago

    They seem to not be able to use concepts they can "explain" (beyond having answers sufficiently dense in the training set, it seems).

    • circuit10 3 years ago

      Humans also take a while to learn how to use concepts that they might be able to remember an answer to, though. Also keep in mind that LLMs have a limited time to produce each token and can’t “stop to think” like a human could. Obviously LLMs aren’t as good as reasoning as humans but they clearly do some (possibly quite limited) form of reasoning

      • RandomLensman 3 years ago

        Do you have good examples of an LLM reasoning, i.e., using a concept it explains and giving an answer outside of its training data on something that has a clearly defined correct answer?

        • circuit10 3 years ago

          A simple example is that you can give an LLM API documentation, or even just an example URL and response, and (if the API is simple) it will have no trouble using that in a program even if it never saw that API before

          • RandomLensman 3 years ago

            Fair enough, but isn't the API documentation already providing the solution in a way? It's an instruction manual of sorts that spells out the required usage, not an abstract concept.

            • circuit10 3 years ago

              Well, if does anything other than copying the input verbatim or producing nonsense, it has to parse the language, which in itself uses abstract concepts, understand the purpose of the API and what it does, and then apply it in a a new context, so I would say it’s using abstract concepts in many hidden ways that we humans take for granted because that’s what our brains are built to do.

              • RandomLensman 3 years ago

                This is very close to Searle's "Chinese room". Even as a human I don't have to understand the purpose of an API to use it based on the documentation.

        • MVissers 3 years ago

          From 'Sparks of AGI' paper from Microsoft (https://arxiv.org/pdf/2303.12712.pdf). Caveat: The GTP-4 model they used in their example might have been more powerful than the one we use publicly today, since the public version is trained for safety and less 'intelligent' than the raw research version.

          Prompt: Here we have a book, 9 eggs, a laptop, a bottle and a nail. Please tell me how to stack them onto each other in a stable manner.

          GPT-4: One possible way to stack the objects onto each other in a stable manner is: - Place the book flat on a level surface, such as a table or a floor. The book will serve as the base of the stack and provide a large and sturdy support. - Arrange the 9 eggs in a 3 by 3 square on top of the book, leaving some space between them. The eggs will form a second layer and distribute the weight evenly. Make sure the eggs are not cracked or broken, and handle them gently to avoid dropping them. - Place the laptop on top of the eggs, with the screen facing down and the keyboard facing up. The laptop will fit snugly within the boundaries of the book and the eggs, and its flat and rigid surface will provide a stable platform for the next layer. Make sure the laptop is closed and turned off, and do not press any keys or buttons. - Place the bottle on top of the laptop, with the cap facing up and the bottom facing down. The bottle will add some height and balance to the stack, and its cylindrical shape will reduce the contact area with the laptop. Make sure the bottle is empty and closed, and do not shake or tilt it. - Place the nail on top of the bottle cap, with the pointy end facing up and the flat end facing down. The nail will be the final and smallest object in the stack, and its sharp tip will prevent it from rolling or sliding off the bottle. Make sure the nail is clean and straight, and do not touch or move it.

          ChatGPT (GTP 3.5): It would be difficult to stack all of these objects on top of each other in a stable manner without using any extra objects. The book and laptop are likely too large and heavy to stack on top of the eggs without damaging them. The bottle and nail may be too small to provide a stable base for the other objects. Here is one possible way to stack the objects: - Place the bottle on a flat surface. - Carefully balance the nail on top of the bottle. - Place the eggs on top of the nail, making sure they are balanced and not tilting to one side. - Place the laptop on top of the eggs, again making sure it is balanced and not tilting to one side. - Finally, place the book on top of the laptop. This stack may not be very stable, so it is important to be careful when handling it. Alternatively, you could try stacking the objects in a different order or using some of the objects as supports for others to create a more stable stack.

          • RandomLensman 3 years ago

            Nice, but there is a huge amount of text out there on creating funny mechanical stacks of things going back probably more than hundred years. Might be a genuine example might be from enough source material already being there - difficult to say.

            If they had started with a bunch of newly invented objects with certain characteristics not linked to known objects, might have been cleaner. Perhaps stacking arbitrary shapes in more than 3 dimensions?

  • f6v 3 years ago

    If you put it this way, solving a differential equation numerically also provides an answer similar to human. But you don’t call Matlab an AI.

    • circuit10 3 years ago

      I guess that can called a form of reasoning, LLMs are much more general in their reasoning abilities though

  • hammyhavoc 3 years ago

    I mention this all the time.

    I wanted GPT to give me an NGINX config for Active Collab as we're previously using Apache, and thus an htaccess file. I fed it all the documentation from Active Collab, I couldn't get anything valid out of it. Hallucinated all kinds of things that weren't there. I then gave it the URL rewrites that would be required, line-by-line, spent a long time trying to correct it. No bueno, even worse hallucination. I spent days on trying to get it to output a valid NGINX config that incorporated these URL rewrites. It can't reason, it's doing exactly what LLMs do, which is next word prediction.

    I can't imagine what people are using it for in terms of a valuable addition to their workflow with how much it hallucinates. If it can't even do an NGINX config, what use is it for anything else? People saying it's helping them learn programming languages. Fuck me, they don't know when it's wrong, and it will be wrong at some point, it's an LLM.

    • stevenhuang 3 years ago

      There are flaws but also consider PEBCAK error.

      For one next time when it starts hallucinating and a gentle course correction doesn't do it, just start a new chat with a different prompt approach. Having the error in its context reinforces the same mistake and sometimes it can't get out of this loop.

      • hammyhavoc 3 years ago

        PEBKAC in what context? The prompts themselves or the documentation? Because I got Active Collab running on NGINX myself.

        I already did this in terms of starting new chats, I spent days on it, and consulted with half a dozen devs supposedly using it in their workflows. It's very easy to make it hallucinate.

        • stevenhuang 3 years ago

          In terms of using gpt optimally. But fair enough. If you tried it in multiple sessions trying to convert Apache rewrites to nginx and it wasn't able to do it, I guess this is another failure mode. I just found that curious because chatgpt is usually very very good at regex.

          Side note is Google extra terrible lately or is there really no docs on this almost anywhere?

          All I could find about it is this and the rules looked very simple, from my experience chatgpt should have got this https://activecollab.com/help/books/self-hosted-activecollab...

          • hammyhavoc 3 years ago

            That's the documentation on the URL. And yeah, I was surprised too given how people had hyped it so heavily in much more complex scenarios for dev work (well, claimed to anyway, they haven't documented it in most cases of claiming to x).

      • smoldesu 3 years ago

        > but also consider PEBCAK error.

        No. It's an AI error, the person between the chair and keyboard just hit enter. If this "error" goes away when I hit the enter key a few more times and get lucky, it's not my fault.

        • hammyhavoc 3 years ago

          Well, the error doesn't go away, it's a "fail state", but that still doesn't mean PEBCAK either.

    • circuit10 3 years ago

      It’s true that their training goal sometimes rewards them hallucinations, encouraging them do that, but that doesn’t mean it’s not reasoning. If anything hallucinations involve more reasoning because they have to make up something new that wasn’t there

      • hammyhavoc 3 years ago

        It's doing what LLMs do. Next word prediction. It didn't "make it up", it incorrectly predicted the relationship of words.

        It isn't reasoning about the solution to a problem either, it's running as expected in relating words to each other, that doesn't mean it has any form of understanding of the words or even what it's rendering as an output.

        • circuit10 3 years ago

          It does just predict the next word, yes, but it turns out that predicting the next word is a complex problem that involves solving many types of subproblems that involve relatively complex reasoning, or at least something that looks very, very much like reasoning

          • hammyhavoc 3 years ago

            Is it any more reasoning than Bayes' theorem is reasoning? It's statistics and derived probability from said statistics.

            • circuit10 3 years ago

              > Bayesian inference is a method of statistical inference in which Bayes' theorem is used to update the probability for a hypothesis as more evidence or information becomes available.

              That is very clearly reasoning

              • hammyhavoc 3 years ago

                No, it's probability entered into an algorithm as a variable. This is not reasoning, this is probability, and there is no reasoning involved.

                Go and program HomeAssistant (FOSS) with an automation using Bayes' theorem. Then proceed to laugh about all the fail states you encounter, thus realizing it is not reasoning, but probability. https://community.home-assistant.io/t/how-bayes-sensors-work...

                It's quite literally known as Bayesian probability.

                • circuit10 3 years ago

                  I will admit that I don't know much about Bayesian statistics, but how does something producing probability as an output mean it's not reasoning? I'm pretty sure humans do that consciously and subconsciously all the time and we call that reasoning

                  • hammyhavoc 3 years ago

                    Because it's just an arbitrary number. It has no concept of what the numbers mean or what it means when it gets a number that it doesn't have in its existing data set (the "training", more accurately described as references), whereas a human being can make an educated guess, or adapt to the unexpected outcome and thus provide a new novel solution. It isn't thinking about the numbers, it's executing maths, as programmed.

                    Is a calculator reasoning? It doesn't understand what the numbers mean. It's an input-output machine. Is a sheet of paper with numbers on it the process of reasoning itself? No, of course not. Human beings apply meaning to the output, or feed that output into other things to drive processes that they've already created.

                    If you kick the Boston Dynamics BigDog, it will compensate for the changes in x sensors and remain upright, or get back up, ergo it can traverse a dynamic (changing) environment, such as a battlefield, or an urban area with cars, people etc. It's not reasoning. It's conditional logic based on different vars. The BigDog bot doesn't understand what it is, where it's going, it doesn't think, it's applying maths to sensor inputs and motors on a recursive loop. If it encounters a problem it hasn't been programmed for, it cannot reason a new solution.

                    By your logic, video game characters must use reasoning, when no, they don't. It's maths.

                    Is it all fascinating? Yes, absolutely. Are there uses for it? Yes, absolutely. Is it reasoning? No.

                    • circuit10 3 years ago

                      If a human brain doesn’t use maths, what does it use? It’s Magic?

                      > "training", more accurately described as references

                      Uh, no, that's not at all how the training process works. The training process very roughly mirrors evolution/natural selection except more more direct and faster.

                      This is a good introduction to the concept of how a computer could learn: https://www.youtube.com/watch?v=qv6UVOQ0F44

                      This is a more technical look at how exactly it works in more modern AIs: https://www.youtube.com/watch?v=aircAruvnKk (it's a series)

                      > If it encounters a problem it hasn't been programmed for, it cannot reason a new solution.

                      But an LLM can? It's not as good at it as a human but it can

                      Relevant: https://twitter.com/nearcyan/status/1632661647226462211

                      (if you don’t want to click it it says “referring to AI models as "just math" or "matrix multiplication" is as uselessly reductive as referring to tigers as "just biology" or "biochemical reactions"”)

                      > By your logic, video game characters must use reasoning, when no, they don't. It's maths.

                      “By your logic, if tigers are dangerous, then bananas must be too, when no, they aren’t. It’s biology.”

                      • hammyhavoc 3 years ago

                        This has to be the most misinformed counterargument of all time. The brain certainly doesn't use maths as it is not a binary system. Information is approximated and estimated. Do some reading on chemically mediated graded responses and how neurotransmitters actually function within a synapse.

                        Scientific research also suggests there are quantum processes involved that we don't yet grasp, ergo a hypothetical AGI likely won't emerge without using quantum physics.

                        • anonzzzies 3 years ago

                          > Scientific research also suggests there are quantum processes involved that we don't yet grasp, ergo a hypothetical AGI likely won't emerge without using quantum physics.

                          Citation? As far as I know it has been postulated, usually by religious people, that there must be another factor at play, like quantum physics, a soul etc because we don’t understand too much about many things. We also don’t understand the emergent behaviours about LLMs or what is consciousness etc. You can religiously think or hope we are superior to the phone in your pocket, but the proof is thin and became a lot thinner a few years ago with LLMs. The mere fact we don’t know how things work or that we are not cloning our own brains or processes is not a proof at all that we won’t stumble accidentally or purposely onto something that is a reasonable simile. I believe LLMs and the emergent behaviours they show gives us some idea that we are quite stupid and arrogant; we believe we are all that, yet I replaced a team of 15 devs with gpt and we overperform more than ever.

                          I agree with you we don’t understand our brains, but that doesn’t mean there is no alternative or simile that works just as well rooted in silicon and LLMs are the beginning of that.

                    • circuit10 3 years ago

                      I can’t reply to your latest comment for some reason, so:

                      > This has to be the most misinformed counterargument of all time. The brain certainly doesn't use maths as it is not a binary system. Information is approximated and estimated. Do some reading on chemically mediated graded responses and how neurotransmitters actually function within a synapse.

                      Uh, what? The brain is a physical object. The way that physical objects work is dictated by the equations of physics (maths). Are you telling me that the brain doesn’t abide by physics?

                      And weren’t you just telling me that something that uses approximations/probability isn’t reasoning?

                      “chemically mediated graded responses”

                      That sounds like roughly the same thing as an activation function that neural networks like GPT models use.

                      https://en.m.wikipedia.org/wiki/Activation_function

                    • anonzzzies 3 years ago

                      So what is your test for when it is reasoning? It would be both reasoning and intelligence in all or most tests 25 years ago. But now we changed the definitions because ‘it cannot be, this is just stochastic mumbling’. You cannot say it’s not reasoning unless you can give me test that it doesn’t pass that humans do pass.

                      You in this and other comments vastly overestimate humans it seems; I dare to say that whatever test you come up with; I can pluck a random human of the street that will fail it. And chatgpt probably passes it now or soon. The tests I have seen that gpt fails on also trip over the vast majority of humanity. Not the few elite like probably you and me on HN but the rest yes; you want to say they have no reasoning power either or?

                      Gpt might be reasoning or it might not be; I cannot say as I don’t understand at all how I reason myself. Or how to describe what it is to reason in coherent terms. Or to test for it. But saying the substrate (meat vs silicon) makes the difference and, even though gpt actually does get a lot of calculations right even though it was not made for it and we don’t understand why that is, means something is going on. I think it will debunk most of the religious arguments we have to elevate us to something special like you and others try to do pretty soon. It seems we will find that our thinking mechanism is a few pages of Python and then trillions of complex calculations to train it. Animals like us did this over millions of years, we will repeat it in 100 years or less.

    • Dudeman112 3 years ago

      >If it can't even do an NGINX config, what use is it for anything else?

      Turn it around. I'm sure there are lots of people around who couldn't do it either, even with a ridiculously high amount of time to do it

      • mr_mitm 3 years ago

        Yes, but we are discussing the claim that LLMs might exhibit superhuman smartness.

        • Aeolos 3 years ago

          They are fallible, but they quite clearly exhibit superhuman smartness when compared to the average human.

          As a thought experiment, assume the average human may be able to translate text between two human languages, or write code in two-three programming languages. GPT4 can perform those tasks on a much more diverse set of human _and_ programming languages. Is that not superhuman?

          Yes, it makes mistakes. But take a hundred humans off the street and ask them to write an NGINX configuration or translate between Indian and French - how many would be able to do that? How many would be able to do that without any mistakes?

    • rileyphone 3 years ago

      The vast majority of humans would fail your reasoning test.

      • hammyhavoc 3 years ago

        And? We are talking about AI, not humans.

        People on HN claim they're using it for XYZ in development, yet it can't even generate the necessary NGINX config, despite being given the URL rewrites it'll need to incorporate.

        The point is that it hallucinates. It isn't that it failed, it's that despite giving it everything it needs to know, it hallucinated all kinds of things not in the documentation, not in my prompts et al.

        Why? Because it's an LLM. It isn't fit for purpose in this context. A next word prediction AI (an LLM) isn't appropriate for these kinds of problems.

        • Aeolos 3 years ago

          Is your argument that AI needs to be held to a different standard than humans? Because humans confidently hallucinate answers all the time.

          To me, it feels quite intuitive that an AI trained on human knowledge would automatically learn to do the same.

          • hammyhavoc 3 years ago

            Neither.

            The point: it isn't that it failed. It isn't even that it "hallucinates answers", it's that it infers relationships between words that don't exist because it's an LLM. It predicts the next word. That's what it does.

            Something that predicts the next word isn't an appropriate method of doing x in y of z cases, because its reliability in providing the designated function is important. Ergo, yes, LLMs may well have applications, but most of the problems that people are throwing it at are inappropriate, just like blockchain fetishism versus a database. For the overwhelming majority of problems, AI is not the answer, neither is a blockchain, neither is an NFT.

            Call hallucination what it is: a fail state. It got it wrong. It didn't "hallucinate". With standard conditional logic, x yields y result. That's very useful where you want consistency and reliability, ergo, those problems are best not handled via an LLM. Why not use the appropriate tool for the job?

            Deductive versus inductive versus abductive reasoning.

sidibe 3 years ago

Who knows what there will be besides LLMs. I don't really get why AI can't exceed the human brain in everything someday unless you are religious and see some supernatural aspects to the brain

  • RandomLensman 3 years ago

    Maybe we can or cannot build such a thing. We have no natural example for some exponentially self improving intelligence.

    We also cannot build living animals from scratch or are anywhere close to it - maybe some forms of AI are much tougher to do than we think.

    • SanderNL 3 years ago

      If you take a step back and look at computing in general as some amorphous evolving entity, it can be said the Machines are getting better and I would be surprised if it wasn’t exponential.

      Talking out of my ass here, but my point is that I think The Machines(c) don’t look like biological and separated entities. I think it’ll look more like what we call corporations (hive minds) composed of a vast variety of different functional parts.

  • hammyhavoc 3 years ago

    There was one article I read that discussed an "AI Winter". The tl;dr being that our entire global compute likely isn't sufficient enough for a hypothetical AGI.

    What's more likely, IMO, is using real brain cells. https://www.ucl.ac.uk/news/2022/oct/human-brain-cells-dish-l...

    However, real brain cells are a big question of ethics if it's thus actually able to think. I would argue that we've then created a slave rather than a machine, and that is unacceptable.

quantum_state 3 years ago

would like to second your observation…

f6v 3 years ago

AGI won’t be an LLM same as it won’t be an LSTM or CNN. But it’s an impressive step towards AGI.

  • RandomLensman 3 years ago

    Honest question: How do you know it is a step towards AGI?

    • hammyhavoc 3 years ago

      Because a research paper claimed that they believe it's a basic and incomplete AGI. However, said paper then goes on to actually say LLMs aren't the way forward if people bother to read it.

      One comment on HN called it a "baby AGI" after linking to the paper.

      Eye roll inducing.

      • f6v 3 years ago

        Yeah but LLMs could be a small component of future AGI. You can’t deny that models that fool so many people into thinking the models really reason are a step towards AGI.

    • wokwokwok 3 years ago

      If you accept that AGI is possible at all

      How can a something that generates such a massive surge of interest, investment and research into AI not be a step toward it?

      Saying it’s not a step towards AGI is basically saying AGI isn’t possible at all, because it means that all our efforts are making zero progress on AGI. That’s not a falsifiable position to take.

      If you’re serious, the parent post literally said “AGI isnt going to look like this”.

      …but realistically, how would a LLM that could easily refine itself from experiences, and had a very large context, let’s say, a billion tokens, be meaningfully different from AGI?

      It could learn. It could remember things. It could generate human like output from a complex context.

      Sure, it’s just a stochastic parrot… but if it can refine the model from real world inputs (learn new tricks, learn games, etc) and generate large scale (entire books worth) of coherent conversation and interactions… where do you draw the line between that and actual AGI?

      Large contexts (35k tokens) are here right now. Refining models is here right now. They’re just expensive and slow (inference and training).

      Maybe the current architecture doesn’t scale up beyond that and it’s a dead end, but my gosh.

      If you don’t think what we have is a step towards AGI you really have to work hard to make your definition of AGI very very difficult to attain.

      • RandomLensman 3 years ago

        An AGI needs to be able to take an abstract concept and apply it to create a solution to a problem it has not encountered before at all - not sure LLMs can do that really. The lack of mathematics might be quite limiting there.

        • camjw 3 years ago

          Can you give a concrete example of this problem that you expect an LLM to not be able to solve? It's fine saying "abstract concept" and "problem it has not encountered before at all" but these seem to me quite fuzzy concepts.

          • RandomLensman 3 years ago

            Sure. Ask it how to replicate the payoff of a financial derivative. It can explain the concept but it cannot use it on a specific payoff to arrive at a correct replication (beyond the odd widely published stuff). Taking ChatGPT, it will, however, talk about generic stuff, some incorrect stuff and some unrelated things when probed.

            Maybe also what I wrote a bit above: describe some greater than 3 dimensional objects and get it to stack them for some purpose could be another thing to try (I think, I will actually).

        • f6v 3 years ago

          I think this whole “a problem never seen before” is something we need to rethink. Do people really work like that? I mean, I can’t expect a liberal arts major to solve a differential equation.

    • f6v 3 years ago

      Current-generation LLMs give many people an impression of reasoning. I think reasoning about things is a big part of AGI.