TGViewer
Data eXplore : Data Science, ML, Big Data, LLMs and AI Security Data eXplore : Data Science, ML, Big Data, LLMs and AI Security @dataxplore · 583 subscribers
Post #1803 314
How to train models to THINK rather than just MEMORIZE?

Why ordinary transformers are almost incapable of multi-digit multiplication and how to fix it?

MIT + Harvard + Google DeepMind Trained 2 small Transformers to perform 4-digit × 4-digit multiplication.

1️⃣ The First used Implicit chain-of-thought (ICoT) method:
the model first sees all the intermediate calculation steps, and then these steps are gradually removed.

In other words, the model is forced to “think internally” rather than rely on visible hints.

Result: 100% accuracy on all examples.


2️⃣ The second used regular training:
input → answer, without intermediate steps.
Result: about 1% correct answers.

Why is that?

- Multi-digit multiplication requires long-range dependencies
- It is necessary to remember and carry over the “sum + carry” between different positions
- The model must store intermediate partial products and return to them later
- A working model forms a “running sum” and carry, like a human
- Inside attention, a structure resembling a small binary tree appears
- Digit representations form a special space (five-pointed prism + Fourier code)

Regular training captures the “edge” digits and gets stuck — it cannot connect the middle.
ICoT provides the correct inductive bias: it forces the model to build an internal algorithm rather than guess a pattern.


AI needs a computational process to do arithmetic and logic, not just more data.

🤖 Data Science, ML & Big Data with @DataXplore
More from @dataxplore
  1. Oct 1, 2026Monitoring and debugging "silent" token drift in LLM pipelines: frequency analysis of embe…
  2. Sep 30, 2026Online detection of feature collisions in TDA transformation When using Topological Data A…
  3. Sep 18, 2026Am going to announce something big (for me, it's really big) on October 11, 2026.
  4. Sep 14, 2026Post #2188
  5. Aug 31, 2026I joined a Russian community on Telegram. They share some Russian startup and technology u…
  6. Aug 22, 2026Post #2185
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →