What Happens To The Numbers When AI Reads A Handwritten 7?
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

A neural network classifies a handwritten digit by transforming pixel values through layers of weighted arithmetic. A small XOR example shows how changing one bias can alter a network’s behavior; the source also reports a separate MIT CSAIL demonstration of AI editing model weights, described in a blog post rather than a peer-reviewed paper.

A November 8 explainer from Thorsten Meyer AI describes how a neural network can classify a handwritten 7 by passing its image through layers of arithmetic, with each layer transforming the numbers it receives. The article also demonstrates, using a tiny XOR network, how changing one bias can change the function the network computes, offering a concrete example of how model parameters affect behavior.

Before you orderOffer from Amazon

Get everyday 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.

For a 28-by-28 image, the input can be represented as 784 pixel values. In the multilayer perceptron described by the article, the input layer holds and passes on those values. It does not perform the transformations. Hidden layers do: each neuron multiplies inputs by weights, adds a bias, then applies an activation function. The resulting values become the next layer’s inputs.

The output layer can produce 10 scores, one for each digit from zero through nine. The article says the prediction is the digit with the highest score. In this account, “hidden” refers to intermediate layers between the supplied image and the answer; it does not mean their operations are inaccessible. The calculations can be inspected, though following them through a large network is difficult.

To show how a parameter affects behavior, the article builds a three-neuron network for XOR, a function that returns one when two input bits differ. Its hidden neurons check whether at least one bit is on and whether at most one bit is on. Together, those conditions identify inputs with exactly one bit on. The network uses nine numbers for its weights and biases. Changing its output bias from −2 to −1 makes it return one for all four possible inputs instead of computing XOR.

At a glance
reportWhen: Published November 8, 2026
The developmentA November 8 explainer traces how neural networks process handwritten digits and uses an XOR network to show how changing one bias can change its output.
AI · Briefing

What Happens to the Numbers When AI Reads a Handwritten 7?

A neural network turns pixel values into digit scores through layers of arithmetic. A small XOR example shows how changing one bias can change what a network predicts.

109,386
parameters in the described digit network
784
pixel values in a 28 × 28 image
10
output scores, one per digit
92%
of parameters in the first layer

From Pixels to a Prediction

Each layer passes transformed values forward until the network scores the possible digits.

1
Supply pixel values

The input layer holds and passes on the image’s 784 values.

2
Transform the numbers

Hidden layers combine inputs with weights and biases, then apply an activation function.

3
Choose the top score

The output layer scores digits zero through nine; the highest score is the prediction.

A Bias Can Change the Result

The article’s three-neuron XOR network makes the effect of one parameter easy to follow.

XOR behavior
  • Returns one when the two input bits differ.
  • Hidden neurons check whether at least one bit and at most one bit are on.
  • Together, those conditions identify exactly one bit on.
After the bias change
  • The output bias changes from −2 to −1.
  • The network returns one for all four possible inputs.
  • It no longer computes XOR.

What the Numbers Can’t Tell Us

Parameter counts describe the stated architecture; they do not show how accurately it reads handwriting.

Digit reader

Performance is unreported

The account gives no training data, evaluation method or accuracy, and does not show that the network was tested on handwritten sevens.

Weight editing

Reported results need context

A blog post reports that editing 0.016% of a language model’s weights raised a math score from 7.9% to 48.1%. It is not a peer-reviewed paper, and key experimental details are missing.

What to Look for Next

More evidence would connect the arithmetic examples to results readers can assess.

  • Digit model architecture, training and test data, and measured accuracy.
  • For the weight-editing report: the model, math evaluation set, score calculation and independent replication.
  • The source points to public logs, but does not include them in the supplied account.
  • The takeaway
    Weights and biases shape network predictions, but the examples explain how the arithmetic works—not how accurately the digit reader performs.

    Why Model Weights Shape Predictions

    The example makes model parameters tangible: a weight or bias is a number used in a calculation, and changing it can alter the output. In a small, deliberately constructed network, the effect of one bias is easy to follow. The article cautions that trained networks are harder to interpret because behavior typically depends on patterns across many parameters and layers.

    The scale of even a modest digit classifier illustrates that challenge. The article gives a total of 109,386 parameters for its example and says about 92% are in the first layer, where every pixel connects to each of 128 units. This count describes the stated architecture; it does not establish how accurately that model reads handwriting.

    Products Worth Considering

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

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

    Kindle Paperwhite Signature Edition, 32 GB (12th Generation, 2024), Metallic Black

    Kindle Paperwhite Signature Edition, 32 GB (12th Generation, 2024), Metallic Black

    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

    As an affiliate, we earn on qualifying purchases.

    From Pixel Grid to Digit Scores

    The source frames the handwritten-seven example as an explanation of a multilayer perceptron, or MLP: a feedforward network with dense layers. A handwritten image is flattened into a list of pixel values. Each dense layer combines those values using a weight matrix and bias vector, then applies an activation function. The next layer receives the outputs.

    The article also connects this arithmetic explanation to a report about MIT CSAIL researchers and an AI model that read and edited other networks’ numbers. It says one edit changed 0.016% of a language model’s weights and raised a math score from 7.9% to 48.1%. The source identifies this material as a blog post with public logs, not a peer-reviewed paper, so the figures should be understood as reported results from that account.

    Limits of the Reported Results

    The source does not identify the digit-classification model’s training data, evaluation method or accuracy. Its 109,386-parameter count is an architectural figure, not a performance result, and the article does not provide evidence that the described network was tested on handwritten sevens.

    Details of the reported MIT CSAIL weight-editing demonstration are also limited in the supplied material. It does not specify the language model, the math evaluation set, how the score was calculated or whether the result was independently reproduced. The source says public logs are available but does not include them here. Those details are needed to assess the reported change in score.

    What Further Evidence Could Show

    For the digit-reading example, useful next information would include the model’s architecture, training and test data, and measured accuracy across handwritten digits. Those details would show how the illustrated calculations relate to real classification performance.

    For the weight-editing report, the source points to public logs as material readers could examine. Further reporting could establish how the experiment was run, which model and benchmark were used, and whether other researchers have replicated the result. The supplied account does not give a publication date for a peer-reviewed study or a schedule for additional findings.

    Key Questions

    How does a neural network read a handwritten 7?

    In the example, a 28-by-28 image is represented by 784 pixel values. Layers transform those values using weights, biases and activation functions. The output layer produces scores for possible digits, and the highest score is the prediction.

    What does a bias do in a neural network?

    A bias is added to a neuron’s weighted input before an activation function is applied. In the article’s small XOR example, changing the output bias from −2 to −1 changes the network’s output for all four inputs.

    How many parameters does the digit-reader example have?

    The source gives 109,386 parameters for its described network and says about 92% are in its first layer. It does not report the model’s accuracy.

    Was the AI weight-editing result peer reviewed?

    The source describes the account as a blog post with public logs and says it is not a peer-reviewed paper. The supplied material does not provide enough experimental detail to independently assess the reported score change.

    Source: Thorsten Meyer AI

    You May Also Like

    Blending AI With VR and AR in Classrooms

    Providing immersive, personalized learning experiences, blending AI with VR and AR transforms classrooms—discover how to implement these powerful technologies responsibly.

    Teach for America’s AI Initiatives: Hackathons, Prototype Shops and Arcade AI

    Joining Teach for America’s AI initiatives offers innovative solutions that prioritize ethics and equity, transforming education in unexpected ways you won’t want to miss.

    Data‑Privacy Considerations for Students Using AI Platforms

    Learning about data-privacy considerations for students using AI platforms is crucial, as understanding your rights can protect your personal information.

    AI Tutors: Benefits and Limitations

    AIThis post was created with the assistance of artificial intelligence (AI).AI tutors…