🔍 Read the full analysis: How AI Follows Pixel Data To Recognize A Handwritten 7 on ThorstenMeyerAI.com
Get privacy and security gear 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 November 8, 2026, explainer traces how a dense neural network can turn 784 pixel values from a 28-by-28 image into scores for digits 0 through 9. It also uses a nine-number XOR network to show how changing one bias can change the function, while cautioning that the network’s arithmetic is visible even when its learned behavior is hard to interpret.
ThorstenMeyerAI.com published an explainer on November 8 showing how a neural network can classify a handwritten seven by passing pixel values through layers of arithmetic. The article uses a 28-by-28 image with 784 pixel values and a nine-number toy network to make the process concrete, while explaining that a much larger digit reader may contain 109,386 learned parameters.
In the example, the image is converted into a list of 784 numbers, one for each pixel. The input layer holds and passes those numbers on; it does not itself transform them. In a dense layer, each neuron multiplies inputs by weights, adds a bias, and applies an activation function. The resulting values become inputs to the next layer.
The output layer can produce 10 scores, one for each possible digit. The highest score is treated as the prediction. The explainer represents a layer’s calculation as z = W x + b, followed by an activation: W contains the weights, x the input values, and b the biases. These operations are explicit arithmetic, though the article notes that the quantity and interaction of parameters make trained networks difficult to interpret.
To show how a parameter can affect behavior, the article constructs an XOR network with two inputs, two hidden neurons and one output neuron. Its nine numbers are chosen to return one when the inputs differ and zero when they match. Changing just the output bias from −2 to −1 makes the network return one for all four possible input pairs. This is a designed teaching example, not a claim that a single edit typically controls a trained image classifier.
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-Level Arithmetic Matters
The walkthrough offers a practical distinction between visible computation and easy explanation. A network’s layers perform defined operations, so its calculations are not inaccessible in principle. But identifying why a trained model chose a particular answer can be difficult: behavior may depend on patterns distributed across many weights and layers, rather than one isolated value.
The parameter count helps explain the scale difference. The source says a small digit reader has 109,386 parameters, with about 92% in its first layer because every pixel connects to each of 128 units. That figure is specific to the architecture described; it is not a universal count for digit-recognition systems. The example also clarifies why researchers’ ability to edit model weights directly is of interest: interventions can alter behavior, but interpreting the effects in a large trained model is more involved than changing one number in a toy network.
Products Worth Considering

Logitech MX Master 4 Ergonomic Wireless Mouse with Haptic Feedback, Graphite

Bose QuietComfort Headphones – Wireless Bluetooth Over-Ear Noise Cancelling Headphones, Twilight Blue Limited Edition

Apple iPad 11-inch with A16 Chip, 128GB, Wi-Fi 6, Silver
As an affiliate, we earn on qualifying purchases.
From XOR to Digit Recognition
The source presents a multilayer perceptron, or MLP, a feedforward network made of dense layers. Its XOR demonstration is built from a stated rule rather than learned from examples. Two hidden neurons represent the conditions “at least one input is on” and “at most one input is on”; both are true exactly when one input is on. An output neuron combines those intermediate results.
The article contrasts that hand-built network with a trained digit reader. Width—the number of units in a layer—and depth—the number of layers—are architectural choices made before training. Weights and biases are parameters that training normally learns, though they can also be assigned directly. The source further mentions a separate report by MIT CSAIL researchers about an AI model editing other networks’ parameters, but characterizes it as a blog post with public logs rather than a peer-reviewed paper.
That separate account says an edit affecting 0.016% of a language model’s weights raised a math score from 7.9% to 48.1%. Those results are claims reported in the source’s account of the researchers’ work; they do not establish that the same kind of intervention works similarly in digit recognition or other models.
Limits of the Demonstration
The source does not provide the digit reader’s training data, evaluation results, or a full specification of the network associated with the 109,386-parameter count. It also does not give a measured accuracy for the handwritten-seven example. The walkthrough explains a possible processing path, but it should not be read as a report of a new benchmark or a newly released model.
The XOR example establishes what happens in one deliberately constructed network when one bias changes. It does not show that changing a single parameter in a trained model will produce a predictable, isolated change. The source says trained behavior is often spread across many parameters. Details behind the separate MIT CSAIL report—including independent validation and the precise evaluation setup—are not provided in the supplied material.
What the Walkthrough Shows Next
The article points readers to an accompanying video, described as a roughly seven-and-a-half-minute explainer moving from a handwritten seven to the XOR example. No further release, experiment, or publication date is stated in the source. The immediate next step for readers is to follow the sequence of pixel values, layer calculations, and output scores in the demonstration.
For claims about the larger parameter-editing work, a peer-reviewed publication or detailed evaluation would provide more information than the blog post and public logs cited by the source. Until then, the reported score change should remain attributed to the researchers’ account rather than treated as a broadly established result.
Key Questions
How does a neural network turn a picture into a digit prediction?
In the described example, a 28-by-28 image becomes 784 pixel values. Dense layers combine those values using weights and biases, apply activation functions, and pass results forward. The output layer returns scores for possible digits; the highest score is the prediction.
What does a weight or bias do?
A weight controls how much an input contributes to a neuron’s total. A bias shifts that total before the activation function is applied. Together with the activation, these calculations determine what value the neuron sends to the next layer.
Does the XOR example prove that one weight controls a trained AI?
No. It shows that changing one bias changes the output of a small network designed by hand. The source says behaviors in trained networks may depend on patterns spread across many parameters, making the effects of edits harder to isolate.
How many parameters does the digit reader have?
The explainer gives a count of 109,386 parameters for the small digit reader it describes, with about 92% in the first layer. The source does not present this as a standard count for every digit-recognition network.
Is the reported AI weight-editing result peer-reviewed?
The supplied article describes the MIT CSAIL account as a blog post with public logs, not a peer-reviewed paper. It reports a change in a language-model math score, but the provided material does not include independent validation or full evaluation details.
Source: ThorstenMeyerAI.com
