Could the relationships between whole numbers help us make AI less resource-intensive?
That question led us through four experiments: small neural networks, specialised arithmetic benchmarks and a test using recorded musical notes.
We found some narrow computational benefits: our compiled implementation of the divisor-sum operation achieved 6.7–10.7% lower median execution time than the faster of the tested SciPy sparse implementations, and used 74.1–76.0% less storage for the operator’s arrays. These results came from two local CPU benchmark runs, using input widths of 4,096 and 16,384 and a batch size of 128. The timings include required data-layout conversions but exclude compilation and warm-up; the storage savings concern the operator itself, not total application memory.
The mathematical starting point
Our investigation began with the research on divisibility presented in the original manuscripts and discussed in Jurnalul Bucureștiului’s articles on prime and composite numbers and the Riemann Hypothesis.
Divisibility describes which whole numbers divide others exactly. Six, for example, is divisible by one, two, three and six. These relationships can be represented as a table or a network of connections.
We asked whether that structure could guide a useful computation: perhaps by reducing the connections a model needs, or by organising repeated arithmetic more efficiently. Our AI experiments were proposed applications inspired by the manuscripts.
The computational experiments stand separately from the manuscripts’ broader claims about the Riemann zeta function; they neither depend on nor establish a proof of the Riemann Hypothesis.
Four experiments that narrowed the question
First, we tested handwritten-digit recognition. We built a small neural network whose connections followed the divisor relation. It stored less model data than a fully connected model, but it was slower and less accurate. A randomly connected model with the same storage budget also achieved higher accuracy. Fewer connections alone did not demonstrate a special advantage from divisibility.
Next, we strengthened the comparisons. We tested 13 model variants across five repeated training runs each, including richer arithmetic patterns, matched random connections and compact conventional models. Some changes improved accuracy, but they did not establish a consistent benefit from the number-theoretic wiring itself.
Then, we isolated the arithmetic. We focused on summing values linked by divisibility. A known algorithm that breaks this calculation into prime-number stages offered a compact implementation. Compared with optimised sparse alternatives, it stored less information describing the operation and achieved some speed improvements that depended on how data was arranged in memory. However, temporary copies also consumed memory, and the main comparison did not meet our pre-set speed-improvement threshold. This was a result about a specific operation, not for arbitrary AI computation. The underlying divisor-transform algorithm is established prior art.
Finally, we tested recorded sound. Musical harmonics occur near integer multiples of a fundamental frequency, making note identification a natural application to investigate. We selected 100 recordings across violin, cello, flute, clarinet and trumpet from the Philharmonia sample library.
Our harmonic method matched the filename-labelled note in 86 recordings. The established YIN pitch estimator matched 97 and had lower median complete-pipeline processing time in both repeated runs. Those labels provide a note-identification reference, not independently measured pitch at every instant. This was a signal-processing workload, rather than a trained AI model.
The arithmetic implementations agreed on their note selections. The application result still fell short: the full transform calculated many frequency bins the task did not need, and the chosen harmonic score sometimes confused a higher harmonic with the fundamental note.
What we learned
An elegant mathematical representation, a compact implementation and an effective application are three different achievements. A method can succeed at one without succeeding at the others.
Our current evidence supports compact implementations of a specific arithmetic operation. It does not support a claim that this approach makes neural networks or large language models broadly easier to run.
These are small, local CPU experiments, not a cross-hardware study. The second audio timing run also showed substantial variation, so we do not treat small speed differences as reliable. All 55 checks in the current test suite pass, but software correctness does not establish scientific or practical superiority.
Where the investigation goes next
We are setting this particular audio application aside. Any further efficiency experiment should begin with a real computational bottleneck and a reason the proposed structure could help, followed by a comparison against a strong existing method.
That is the approach we want AI Fiddler research to reflect: curiosity that leads to working experiments, and results that can change our minds. Sometimes the useful outcome is a better method. Sometimes it is knowing which idea not to scale up.
Original research papers
The five original manuscripts are available directly from the publisher:
- TPFM application and the Riemann zeta function (PDF)
- The discrete structure of divisibility (PDF)
- Automatic validation of prime numbers (PDF)
- A discrete structural representation of prime and composite numbers (PDF)
- A discrete interpretation of the Riemann Hypothesis (PDF)
Two companion papers also informed our review: