TL;DR
Prime made for students and young adults
- Fast, free delivery for dorm and study essentials
- Prime Video and Amazon Music included
- Member-only deals
A neural network reads a handwritten digit by transforming its pixel values through layers of arithmetic, then selecting the highest score among possible answers. The source article uses a nine-number XOR network to show how one bias can change behavior, and describes a 109,386-parameter digit reader as an example; its separate claims about AI editing model weights come from a blog post, not a peer-reviewed paper.
A November 8 explainer by Thorsten Meyer describes how a neural network can turn an image of a handwritten 7 into a digit prediction by processing 784 pixel values through layers of weighted arithmetic. The article illustrates the process with a small, hand-built network whose output changes when one bias changes, then scales up to a digit reader it says contains 109,386 parameters.
The article focuses on a multilayer perceptron, a feedforward network made of dense layers. For a 28-by-28 image, the input is flattened into 784 numbers, one for each pixel. The input layer holds those values and passes them forward; the hidden layers transform them, and an output layer can produce ten scores corresponding to the possible digits. The highest score is treated as the prediction.
In each dense layer, a neuron multiplies its inputs by weights, adds a bias, and applies an activation function. In the article’s notation, the layer first computes z = W x + b, then applies an activation to produce the values passed to the next layer. Weights determine how much inputs count in the calculation; the bias shifts the neuron’s response point.
To make the mechanics concrete, the explainer builds a network for XOR, a function that returns one when two input bits differ. Two hidden neurons test whether at least one bit is on and whether at most one bit is on; the output returns one when both conditions hold. The article says this network uses nine numbers. Moving its output bias from −2 to −1 makes it return one for all four input combinations, rather than only the combinations where the bits differ.
How a Neural Network Reads a 7 From pixels to prediction
A neural network transforms pixel values through layers of arithmetic, then predicts the digit with the highest output score.
From image to answer
Each stage transforms values and passes them forward.
A 28-by-28 image becomes 784 pixel values.
Layers combine inputs with weights and biases, then apply activation functions.
The output scores correspond to digits; the highest score becomes the prediction.
What weights and biases do
Set each input’s influence
Weights determine how much each input counts in a neuron’s calculation.
Shift the response
A bias shifts the weighted total before the activation function is applied.
Pass transformed values
Hidden layers transform values between the pixel input and digit scores.
A small network shows why settings matter
The hand-built XOR example uses two input bits and nine numbers.
- Output bias: −2
- Returns one when the two bits differ.
- Output bias: −1
- Returns one for all four input combinations.
A separate weight-editing claim
| Reported change | Reported result | Source context |
|---|---|---|
| 0.016% of weights changed | Math score rose from 7.9% to 48.1% | Blog post with public logs, not a peer-reviewed paper |
Why Parameter Changes Matter
The example shows that a network’s behavior follows from its numerical settings and the calculations applied to them. A single bias change flips the function in this small demonstration. For a trained model, the source cautions, behavior is usually distributed across patterns in many parameters and layers, so a change to one number may be harder to interpret.
The article connects this idea to weight-space programming: changing a model by editing its weights directly. It reports that MIT CSAIL researchers described an AI model reading and editing other networks’ parameters. The source says one edit changed 0.016% of a language model’s weights and raised a math score from 7.9% to 48.1%. Those figures are claims reported in the source article, which characterizes the underlying material as a blog post with public logs rather than a peer-reviewed paper.
For readers, the distinction is useful: a network’s output is not a handwritten rule hidden inside a single place. It emerges from a sequence of operations and learned numerical values. That makes the arithmetic traceable in principle while leaving the full behavior of larger models difficult to explain parameter by parameter.
Popular right now

Breville Barista Express Espresso Machine with Built-In Grinder, Brushed Stainless Steel

Vitamix Propel Series 510 Blender, 3 Programs, Slate

Ninja Espresso and Coffee Maker with Built-In Frother, CFN601
As an affiliate, we earn on qualifying purchases.
From Pixels to Layered Arithmetic
The article’s example assumes a 28-by-28 image, which has 784 pixel locations when flattened into a list. A dense layer connects each input value to each unit in the following layer. In the described digit reader, the first layer has 128 units; the source says about 92% of its 109,386 parameters sit there because every pixel connects to every unit.
The hand-built XOR network is a teaching example, not the same system as a trained digit reader. It uses step activations and only two input bits, while the digit task takes hundreds of pixel values and produces scores for ten classes. Its purpose is to show how weights, biases, and activations combine—and how changing a parameter can change the output.
The source also refers to an AI system editing other networks’ weights. That development is distinct from the handwritten-digit walkthrough. The supplied account gives the reported score change and parameter percentage, but does not provide enough methodological detail to independently assess the result here.
“One edit changed 0.016% of a language model’s weights and raised a math score from 7.9% to 48.1%.”
— Thorsten Meyer, summarizing the reported MIT CSAIL work
What the Examples Do Not Show
The source does not identify the dataset, training procedure, evaluation setup, or confidence values behind the 109,386-parameter digit reader. It explains the architecture at a high level but does not show a specific image of a seven moving through a trained model or provide the model’s scores for each digit.
The reported language-model edit also lacks detail in the supplied material about the benchmark, baseline conditions, repeatability, or how the score was measured. The article describes the source as a blog post with public logs, but does not include enough information to verify the result independently. It is also unclear whether the reported improvement generalizes beyond that evaluation.
The XOR demonstration establishes what happens in that deliberately constructed network. It does not show that a single parameter change in a large trained model will produce a similarly clear or predictable effect.
Following the Calculation Forward
The explainer’s next step is to follow values through a larger digit-reading network: the 784 pixel inputs feed successive layers, and the output scores indicate how strongly the model associates the image with each digit. The source does not provide a schedule for further reporting or new results.
To assess the separate weight-editing claim, readers would need the cited logs and evaluation details, including the benchmark, comparison conditions, and repeatability. The supplied material does not state whether a peer-reviewed study or additional results are forthcoming.
Key Questions
How does a neural network recognize a handwritten 7?
In the source’s example, a 28-by-28 image becomes 784 pixel values. Layers apply weighted sums, biases, and activation functions, and the output layer provides scores for possible digits. The digit with the highest score is the prediction.
What do weights and biases do?
Weights set how much each input contributes to a neuron’s total. A bias shifts that total before an activation function determines the neuron’s output.
What does the XOR example demonstrate?
It demonstrates that a small network’s output depends on its numerical settings. In the article’s hand-built network, changing the output bias from −2 to −1 changes the result from XOR to returning one for all four two-bit inputs.
Is the reported language-model editing result peer-reviewed?
The source article describes the material as a blog post with public logs, not a peer-reviewed paper. It reports a score increase from 7.9% to 48.1% after changing 0.016% of a model’s weights, but the supplied text does not include enough evaluation details to independently assess the claim.
Source: Thorsten Meyer AI
