IBM · Filed Mar 27, 2025 · Published Oct 1, 2026 · verified — real USPTO data

IBM Patents a Fix for the Way AI Models Misread Large Numbers

AI language models can write poetry and summarize legal briefs, but ask one to compare two large numbers and it often gets confused. IBM thinks it has found a surprisingly simple fix.

A computer system with processing circuitry, memory, storage, and connections to a wide area network and cloud services. Drawing from patent filing US 2026/0299882 A1.
A computer system with processing circuitry, memory, storage, and connections to a wide area network and cloud services.
See all 6 drawings from this filing ↓
Publication number US 2026/0299882 A1
Applicant International Business Machines Corporation
Filing date Mar 27, 2025
Publication date Oct 1, 2026
Inventors ELIYAHU SCHWARTZ, Assaf Arbelle, LESHEM CHOSHEN
CPC classification 708/670
Grant likelihood Medium
Examiner CENTRAL, DOCKET (Art Unit OPAP)
Status Docketed New Case - Ready for Examination (Apr 25, 2025)
Document 20 claims

Why AI trips over numbers, and IBM's workaround

Here is an odd truth about today's AI: models that can summarize a quarterly report often struggle to tell you which of two revenue figures is larger, or to correctly add figures with many digits. That happens because AI reads numbers the same way it reads words, one character at a time, with no built-in sense of place value.

IBM's approach is to preprocess every number before it reaches the AI. Instead of feeding in 1500000, you feed in 7 1500000, where the 7 tells the model upfront how many digits follow. The model is then trained on numbers presented this way, so it learns to treat that leading digit count as a reliable signal of a number's size.

Think of it like always writing the word "million" or "billion" after a figure in a contract: you are giving the reader an instant anchor before they parse the details. IBM's system does that automatically, at scale, for every number the AI encounters.

From the filing · CLAIM 1
… preprocessing the numerical value by adding a digit count before the numerical value to generate a modified numerical value, the digit count indicating a count of digits in the numerical value; …

Translation: The system tacks a digit counter onto the front of every number before feeding it into the AI.

How the digit-count prefix gets built and used

The patent describes a preprocessing step that wraps around any large language model (LLM), which is the kind of AI system behind tools like chatbots and document analyzers.

Before a number reaches the model, a component counts its digits and prepends that count. So the number 304 becomes 3 304, and 1000000 becomes 7 1000000. This modified string is what the model actually sees.

The model itself is then pretrained on data that already uses this format. Pretraining means exposing the model to enormous amounts of text during its initial learning phase, so it builds an internal expectation that numbers arrive with their digit count attached. The result is that the model can more reliably compare magnitudes, rank numbers, or perform arithmetic, because the size signal is explicit rather than implied.

  • Obtain the raw numerical value from text or input.
  • Count the digits and prepend that count as a prefix.
  • Pass the modified value to a pretrained model that understands this format.
  • The model processes the number with built-in magnitude awareness.

The claim covers the method itself and the training setup, meaning both the runtime step and the model that has learned to expect the prefix.

From the filing · THE ABSTRACT
The modified numerical value is provided to a machine learning model pretrained to understand the modified numerical value that comprises the digit count and the modified numerical value is processed using the pre-trained machine learning model.

Translation: The specially formatted number is then sent into an AI model trained to read the added digit count.

What better AI arithmetic means for real business tasks

Numerical reasoning is not a niche AI problem. Any AI system used for financial analysis, scientific data, inventory management, or legal document review has to handle numbers accurately. Errors in magnitude, ranking, or arithmetic are not just embarrassing: they can propagate through a workflow and produce wrong answers that look confident and correct.

IBM's bet on LLM reliability is visible in this filing. If the approach works as described, it could be applied as a wrapper layer on top of existing models without rebuilding them from scratch, which makes it potentially practical for enterprise customers who already run AI tools and want better numerical accuracy without a full retraining project.

IBM has filed its 40th patent in Language AI we've tracked since May, adding to earlier work like plain-English database search and one tracing AI text sources.

Editorial take

When software misreads a large number, it rarely announces its mistake. A financial tool that silently confuses a million-dollar figure with a hundred-thousand-dollar one will still produce a confident, polished answer, and that false confidence is precisely what makes the error costly.

This problem touches nearly every serious business application that handles money, measurements, or large datasets. The damage is not hypothetical: wrong numbers in automated tools erode trust, corrupt decisions, and cost real money before anyone notices something went wrong.

IBM's proposed fix is disarmingly simple, adding a short prefix to each number that tells the program how many digits it contains before any processing begins. If a change that small reliably closes that gap, the return on such a modest intervention is hard to argue with.

There are more where this came from

We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings

6 drawing sheets from US 2026/0299882 A1 · click any drawing to enlarge

Patent filing page

Source. Full patent text and figures from the official USPTO publication PDF.
Reader comments

Be the first to weigh in

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.