🔍 Read the full analysis: How Neural Networks Process Numbers To Recognize A Handwritten 7 on ThorstenMeyerAI.com
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
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.
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.
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
| Input | At least one | At most one | Output, bias −2 | Output, bias −1 |
|---|---|---|---|---|
| 0, 0 | 0 | 1 | 0 | 1 |
| 0, 1 | 1 | 1 | 1 | 1 |
| 1, 0 | 1 | 1 | 1 | 1 |
| 1, 1 | 1 | 0 | 0 | 1 |
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

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

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
