How Neural Networks Process Numbers To Recognize A Handwritten 7
AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: How Neural Networks Process Numbers To Recognize A Handwritten 7 on ThorstenMeyerAI.com

Before you orderOffer from Amazon

Get hardware and tech essentials delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

TL;DR

A neural network recognizes a handwritten digit by passing pixel values through layers that multiply inputs by learned weights, add biases and apply activations. A source explainer works through a nine-number XOR network to show how changing one bias changes its output, then describes a digit reader with 109,386 parameters.

A November 8 explainer from ThorstenMeyerAI.com describes how a neural network can classify an image of a handwritten seven by turning its pixels into numbers and processing them through layers of arithmetic. The article uses a small, hand-built network to show how one bias change can alter a network’s output, then gives the parameter count for a simple digit reader; it is an educational explanation, not a report of a new research finding.

In the example, an image is represented as a list of 784 pixel values, corresponding to a 28-by-28 image. The input layer holds and passes those values along. It does not transform them. In a dense layer, each neuron multiplies the inputs by weights, adds a bias and applies an activation function. The resulting values become inputs to the next layer.

The explainer describes a network with ten output scores, one for each possible digit. The network’s prediction is the digit with the highest output score. The article does not provide a particular image, the model’s individual scores, or a measured accuracy result for a trained digit-recognition system.

To make the arithmetic visible, the article constructs a network for XOR, a function that returns one when two input bits differ. Its network has two hidden neurons and one output neuron, with nine weights and biases in total. Changing the output bias from −2 to −1 causes the network to return one for all four possible input pairs, rather than only the pairs with different bits. This illustrates a direct effect in a deliberately small example, not a claim that a single parameter usually controls a complex model’s behavior.

At a glance
reportWhen: Published November 8, 2026
The developmentA November 8 explainer from ThorstenMeyerAI.com traces how a neural network processes a handwritten digit and uses a tiny XOR example to demonstrate how changing one parameter can change behavior.
Crypto market snapshot
Fear & Greed Index
28/100 — Fear
Bitcoin BTC$75,820▼ 0.4%
Ethereum ETH$2,235▼ 0.5%
Tether USDT$0.999▼ 0.0%
BNB BNB$697.31▲ 0.3%
XRP XRP$1.16▼ 1.2%
USDC USDC$0.9996▼ 0.0%
Solana SOL$89.11▼ 1.1%
TRON TRX$0.3203▲ 0.6%
Live data · CoinGecko · alternative.me (24h change)
Thorsten Meyer AI
XOR · 3 neurons

Infographic 01 · One bias, two behaviors

A network you can run by hand

Two hidden neurons check "at least one bit is on" and "at most one bit is on". The output neuron needs both. Change its bias and it needs only one.

Change one number−2 → −1

Move the output bias from −2 to −1 and the network stops computing XOR: it returns 1 for all four inputs.

The whole network

Hidden 1: step( x₁ + x₂ − 1 )
Hidden 2: step(−x₁ − x₂ + 1 )
Output:   step( h₁ + h₂ − 2 )

step: 1 if the total is zero or greater, otherwise 0. Nine numbers in total: six in the hidden layer, three in the output neuron.

All four inputs

Hidden outputs and the final output with the original and the changed bias

InputAt least oneAt most oneOutput, bias −2Output, bias −1
0, 00101
0, 11111
1, 01111
1, 11001

Sources: own arithmetic, checked with a script · the XOR example as in Goodfellow, Bengio, Courville: Deep Learning, ch. 6.
Powered by Thorsten Meyer AI

Why Pixel Weights Add Up

The explainer gives readers a concrete account of what happens between an image and a classification. A network does not need a hand-written rule describing the shape of every seven. Instead, it processes numerical inputs through parameters that determine how strongly different signals affect later computations. Training normally adjusts those weights and biases using data.

The article says its sample digit reader has 109,386 parameters, with about 92% in its first layer. That concentration follows from the design: every one of the 784 pixel inputs connects to each of 128 units in that layer. The figure helps explain why even a relatively small dense network can involve many adjustable numbers. The source does not report a benchmark for the model or establish that this architecture is best for recognizing digits.

Products Worth Considering

Amazon Kindle Paperwhite Signature Edition, 32GB, 7-Inch Display, Graphite

Amazon Kindle Paperwhite Signature Edition, 32GB, 7-Inch Display, Graphite

DJI Osmo Mobile 7P 3-Axis Smartphone Gimbal with Mic Mini Transmitter, Infinity Black

DJI Osmo Mobile 7P 3-Axis Smartphone Gimbal with Mic Mini Transmitter, Infinity Black

Bose QuietComfort Wireless Bluetooth Noise-Cancelling Headphones, Sandstone

Bose QuietComfort Wireless Bluetooth Noise-Cancelling Headphones, Sandstone

As an affiliate, we earn on qualifying purchases.

From XOR to Digit Scores

The source uses a multilayer perceptron, or MLP, as its teaching model. An MLP is a feedforward network made from dense layers: each unit in one layer connects to the units in the next. A layer can be written as z = W x + b, followed by an activation function. Here, the input vector is x, the weight matrix is W, and b is the bias vector.

The XOR example is a textbook illustration of why intermediate layers can matter. XOR cannot be represented by a single straight-line decision rule over its two inputs, while the two hidden units in the example compute conditions that together identify when the bits differ. The source notes that network width and depth are design choices made before training, while weights and biases are parameters that training ordinarily learns. The nine-number example is hand-designed to make its logic inspectable.

The article also refers to a separate claim about AI changing another AI’s parameters: it says MIT CSAIL researchers reported an edit affecting 0.016% of a language model’s weights and a math score rising from 7.9% to 48.1%. The source characterizes this as a blog post with public logs, not a peer-reviewed paper. That claim is distinct from the handwritten-digit walkthrough and should not be treated as evidence that the digit network was modified in the same way.

“A neural network is arithmetic in layers.”

— Thorsten Meyer, ThorstenMeyerAI.com

Limits of the Demonstration

The article explains the computation but does not identify a specific trained digit-recognition model, publish its parameter values, or show test results for recognizing handwritten sevens. It therefore does not establish how accurate the described reader is, which dataset it was trained on, or how it would perform on handwriting unlike its training examples.

The XOR network is intentionally simple, and its step activation makes the effect of changing one bias easy to follow. The article says that, in trained networks, behavior often depends on patterns distributed across many parameters and layers. It does not quantify how often a single edit changes a particular behavior. The separate MIT CSAIL figures are presented by the source as a blog-post report, and their evaluation details are not supplied in the material provided.

Following the Signal Through Layers

The source’s next step is to scale the arithmetic from the two-input XOR network to the 784-input digit example, tracing how intermediate values pass through the model to produce ten scores. Its linked video is described as a roughly seven-and-a-half-minute hand-drawn explainer; the source says the narration uses an AI voice clone of Thorsten Meyer.

No new experiment, publication date for a follow-up, or independent validation is specified. Readers seeking evidence about a particular digit model’s performance would need details such as its architecture, training data, evaluation method and test results; those are not established by this explanatory walkthrough.

Key Questions

How does a neural network recognize a handwritten 7?

It takes the image as pixel values, processes them through layers using weights, biases and activation functions, and produces scores for possible digits. The highest score is the model’s prediction.

What does a bias do in a neural network?

A bias shifts a neuron’s response by adding a value to the weighted sum of its inputs before the activation function is applied.

Why does the article use an XOR network?

XOR is a compact example where a network with hidden units can perform a function that a single straight-line rule cannot. Its small size makes it possible to inspect how changing one number changes the output.

Does the 109,386-parameter count prove the digit reader is accurate?

No. The count describes the number of weights and biases in the example architecture. The source gives no accuracy measurement or test results for that digit reader.

Is the reported MIT CSAIL model-editing result peer reviewed?

The source says the result appeared in a blog post with public logs and was not a peer-reviewed paper. The article does not provide further evaluation details.

Source: ThorstenMeyerAI.com

Nothing in this article is financial or investment advice. Cryptocurrency and precious-metal investments carry significant risk — do your own research and consider a licensed advisor.
You May Also Like

Iliad’s Massive €3 Billion Investment in AI: A Billionaire Bet on the Future of Tech

A groundbreaking €3 billion investment by Iliad in AI could transform Europe’s tech scene, but what challenges and opportunities lie ahead?

Claude Fable 5.2 Cost Breakdown: Comparing Effort Levels By Task

Artificial Analysis reports Fable 5.2 scores from 54 to 65 across effort levels, while average task costs rise from $3.10 to $26.54.

Candor as a Moat: A Critical Reading of Dario Amodei and Anthropic

A detailed analysis of Dario Amodei’s transparency strategy at Anthropic and its implications for AI regulation, capability, and industry power.

Google’s Innovative AI Push, Featuring Toonsutra, Targets a Webtoon Revolution in India.

With Google’s AI advancements, Toonsutra is poised to revolutionize India’s webtoon landscape—what unexpected changes could this bring for creators and fans?