Arithmetic Without Numbers – How LLMs Do Math
28 points
2 days ago
| 6 comments
| alvaro-videla.com
| HN
Npovview
33 minutes ago
[-]
Turing Award Winner: Thinking Clearly, Paxos vs Raft, Working With Dijkstra | Leslie Lamport

https://www.youtube.com/watch?v=U719vQz-WFs

Leslie Lamport : "I am not smart. I have the gift of abstraction."

Real mathematics isn't about details. Its about concepts and abstractions and how we compose them (LLMs are good at those aspects).

reply
iammjm
2 hours ago
[-]
Why doesn’t it just call tools such as Mathematica for such operations?
reply
defrost
2 hours ago
[-]
This is more how an LLM thinks about math internally - an LLM version of drilled tables being used for mental arithmetic "as humans do".

When humans stall on these tasks, they reach for pen and paper, a slide rule, a calculator, etc.

Mathematica is overkill for arithmetic, in addition it's licenced and can cost a bit extra.

If an LLM were to reach for a light cheap arithmetic tool something like bc would be a good first stop - a CLI tool with a language that supports arbitrary precision numbers with interactive execution of statements.

https://en.wikipedia.org/wiki/Bc_(programming_language)

reply
jampekka
1 hour ago
[-]
They do. I asked CharGPT for 327 x 48 and it used the "ChatGPT Instruments" calculator.

Previously it used to run Python scripts, and may still do for more complex calculations.

reply
euroderf
3 hours ago
[-]
The spirit of Rube Goldberg is alive and well.
reply
old_sound
2 days ago
[-]
What happens inside an LLM when it tries to calculate with nothing but matrices.
reply
silvestrov
3 hours ago
[-]
This is a very nice and fresh page layout.
reply
andrewstuart
1 hour ago
[-]
I assumed it wrote Python or some sort of other code.
reply
mavhc
21 minutes ago
[-]
writing and calling an entire python setup seems massive overkill, surely just have an internal way of calling a simple calculator function would be millions of times faster
reply