Published January 22, 2026· 4 min read

Why Machine Learning Never Escaped the Dot Product

Ashutosh Singhai
Ashutosh Singhai
Engineering for Public Health @ ARTPARK, IISc

This is not a complaint, and it’s not a claim that something is wrong with machine learning.

It’s just an observation that refused to go away.

No matter how much I learned — machine learning, deep learning, transformers — everything seemed to collapse back to the same operation: multiplying and adding numbers.

At some point, I stopped taking that for granted and started wondering why.

1. The Pattern You Can’t Unsee

Once you notice it, it becomes difficult to ignore.

Linear regression starts with it. Logistic regression does too.
Neural networks replace vectors with matrices, but the operation stays the same.
Convolutions are dot products with shared weights.
Attention — the mechanism behind transformers — is explicitly built on dot products.

Different architectures, different names, same arithmetic.

Every layer takes numbers, multiplies them by weights, adds the result, and passes it forward. Activations, normalization, and residuals change the behavior, but not the core operation.

At first, this feels unremarkable. Multiplication and addition are basic.

But after a while, the repetition starts to feel intentional.

Machine learning has grown deeper and more abstract, yet the fundamental operation has remained untouched.

Once you see that, a quiet question appears:
is this just convenience — or something we can’t move beyond?

2. “Surely There Were Other Options”

The usual explanations come easily.

Multiplication and addition are efficient.
They’re easy to differentiate.
They behave well under optimization.

All of that is true.

But it still feels incomplete.

Machine learning is not a young field. For decades, researchers have explored nonlinear interactions, symbolic systems, and biologically inspired models. If a fundamentally better learning primitive existed, it’s reasonable to expect it would have surfaced by now.

And yet, everything keeps returning to the same place.

Not because no one tried anything else, but because most alternatives don’t learn reliably at scale. They may be expressive or elegant, but they are unstable, difficult to optimize, or impractical when models grow large.

So the persistence of the dot product doesn’t feel like laziness.
It feels like selection.

Which makes the question sharper:
what is it about this operation that survives where others don’t?

3. What the Dot Product Really Is: A Weighted Sum

Before it’s geometry, the dot product is something simpler: a weighted sum.

Learning is about assigning importance. Some inputs matter more than others. The most direct way to express this is to multiply each input by a weight and add the results together.

That operation — weighting and summing — is exactly what the dot product formalizes.

Seen this way, multiplying and adding numbers isn’t arbitrary. It’s the simplest way for a model to express preference: this matters more than that.

The geometric interpretation follows naturally. A weighted sum also measures alignment. When inputs align with the weights, the result is large. When they don’t, it shrinks or flips sign.

A neuron doesn’t really “decide” anything. It computes a weighted sum to measure how strongly a pattern is present, then passes that measurement forward.

This is why the same operation keeps reappearing. Convolutions, attention, and embeddings all rely on the same idea: measure alignment, then respond.

Machine learning works because it reduces learning to adjusting what we measure, and how strongly we respond when we see it.

Which is why dot products are everywhere — not by accident, but by design.

4. Hardware, Physics, and the Lock-In Effect

By this point, the dominance of the dot product starts to feel less like preference and more like constraint.

Weighted sums map cleanly onto how computation is physically realized. Multiplication and addition are simple, stable operations that parallelize well and tolerate noise.

Modern hardware is built around this reality.

GPUs and TPUs are optimized for matrix multiplication. Software stacks and numerical libraries exist almost entirely to accelerate multiply-and-add operations. Once learning reduced itself to weighted sums, hardware followed — and then reinforced the choice.

Any alternative learning primitive doesn’t just have to be better in theory. It has to compete with an ecosystem that can perform trillions of weighted sums per second, cheaply and reliably.

Over time, this feedback loop tightens. Models fit the hardware. Hardware accelerates the models.

At that point, moving beyond the dot product is no longer just a modeling decision.

5. The Cost of Never Escaping It

There is a cost to building everything on weighted sums.

Because dot products are linear, nonlinearity is always layered on top rather than native. Even deep networks are stacks of linear measurements separated by simple nonlinear gates.

This makes models excellent at interpolation, but far less reliable at extrapolation.

They often respond confidently to inputs that align statistically, even when those inputs are logically inconsistent or causally incoherent. The measurement is strong, but the understanding is thin.

These are not incidental flaws. They are the natural consequences of systems built to measure alignment rather than to reason symbolically or causally.

Weighted sums give us powerful pattern recognition.
They do not, by themselves, give us grounded understanding.

6. A Question, Not a Conclusion

Seen this way, the dominance of the dot product stops being surprising.

Learning became assigning importance.
Assigning importance became weighting.
Weighting became weighted sums.
And weighted sums became dot products.

Everything else — depth, attention, scale — grew around that core.

The question is not whether this was a mistake. It clearly wasn’t.

The question is subtler: if intelligence emerges from systems that primarily measure alignment, what kinds of intelligence are we building — and what kinds might remain out of reach?

If we ever move beyond multiply-and-add, it won’t be through a clever architectural tweak. It will require a different answer to a deeper question: what does it mean for a system to learn?

Until then, machine learning will continue to do what it does best — measure, weight, and sum.

And perhaps that says as much about us as it does about our models.