I had an idea one day around language models. Over the years, one of the common ways people criticized them was by pointing out all the ways they failed at basic arithmetic. Today, we regularly post-train language models to be able to use tools, and they're effective at it. Thus, they can offload arithmetic, and more complex methematical operations, to deterministic programs without having to infer them.

https://arxiv.org/abs/2302.04761

One could make the point like the following.

> Since arithmetic is a fundamental building block of more complex tasks, it would be worthwhile to enable LLMs to solve arithmetic tasks directly during pretraining, so that it can use this ability as a subroutine for more complex problems.

https://arxiv.org/html/2501.00684v1

This is certainly valid, however, we could argue that plenty of humans aren't going to have perfect arithmetic skills yet are great at solving problems, thinking, and doing good econpomic outut. The same paper demonstrates that despite training a 8B parameter network, they're able to attach a submodule to a network to directly do arithmetic via one round of training. And this even beats out a PALM 535B model that was optimized for mathematics. The rough takeaway is that next token prediction in a language model is a poor approximation for doing math.

At a certain point we have to ask this question, "Are we trying to make computer models more like humans? Would we be willing to give up some computational capabilities to gain that?"

I think we ought to try out training language models that suck at arithmetic. This way, the hope is that they spend less time trying to memorize and chase down every single mathematical relationship and they learn general patterns. We want it to learn things like orders of magnitude. Yes 10 is less than 1000. We'd also like to learn basic relations. pi is about 3.14, but this is mostly based on linguistic context, not exactitude.

If learning arithmetic is something we can offload so easily (either via tools or via including a trainable submodule), should we even be optimizing models on numerical tokens?

There's some talk about how tokenization can influence numeric prediction. I think we should take a look at the other side of the equation. If a numeric token is the expected output, we can soften the penalty for an incorrect prediction. If a model is given a mathematical task like 101 + 200, emitting 1 should have a higher penalty than 300. And we should give about as much credit for 300 as we would for 301. Models are already learning plausible guesses as it is, so why force it the model to hammer and compress information spread throughout the entire network.

However, when we ask the model about the Battle of Hastings, we should penalize 1067 just as much as 1. Basically, arithmetic gets downweighted, facts get the full loss, and scientific constants are a bit fuzzier (perhaps based on significant figures).