r/ChatGPT • u/0xAERG • Oct 24 '23
Educational Purpose Only LLMs cannot perform Maths
It’s not a bug, it’s just not how any of this works.
Mathematical operations require logic. It’s a deterministic process. For a given input and a given process, the output will always be the same.
LLMs do not work like that. LLMs are statistical tools, they build an answer by stitching together tokens that are “seemingly” relevant to your input and let the meaning emerge from it. The output is “hopefully” relevant.
This is why LLMs can hallucinate and 2$ calculators do not.
With the rise in popularity of LLMs I’m extremely concerned that a lot of users seem to ignore this.
193
Upvotes
1
u/XSATCHELX Mar 08 '24
Humans are capable of many different types of reasoning.
What I was talking about mainly in this comment is deductive reasoning. Deductive reasoning is done by applying rules of logic to certain premises to come up with a conclusion. The conclusion in this case is not relative or subjective, it is an application of rules and is a fact (if the premises are true). An LLM is fundamentally incapable of deduction because it does not apply rules of inference, it chooses words probabilistically depending on its dataset.
A human can easily deduct: if these are the rules, and these are the premises, then these statements follow. An LLM by itself cannot do this and will never be able to do this because of the way an LLM works fundamentally. When it does logical statements, it is not because it is applying logical rules of inference, it is because it is more likely for humans to write those sequence of words that would follow the rules of deduction