Sheikh

Blog · Essay · 12 October 2026 · 394 words

Do machines forgive?

This is a stand-in.

Good-nature and good-sense must ever join;
To err is human, to forgive, divine.

Alexander Pope, An Essay on Criticism, 1711

A network trained on one task and then another does not remember the first one badly. It stops remembering it at all. The literature calls this catastrophic forgetting, which makes it sound like an accident.11 McCloskey and Cohen named the effect in 1989, training a network on arithmetic facts one table at a time. It is closer to a policy: every update is free to overwrite whatever the last one built, and nothing in the loss asks it to keep anything.

Forgiveness is different. To forgive someone you have to keep the injury on file and decide, each time it comes up, not to collect on it. A system that only forgets has nothing to forgive. So the question is whether a learner could hold an error and stop being moved by it.

Blame, backwards

Read that way, the backward pass is a mechanism for blame. Each layer is told by exactly how much of the error was its fault, and moves it by that amount. There is no term for letting it go.

Show the derivation of (1)

By the chain rule through and :

Digits from MNIST that a small network misread after it learned a second task.

A painting makes the same point more gently. Velázquez kept his corrections: under X-ray, the earlier positions of a hand or a hat show through the finished surface.22 Painters call these pentimenti, from the Italian for repentance. The error stays in the canvas; it simply stops deciding what you see.

Velázquez, María Teresa, Infanta of Spain: the whole canvas
Detail of the Infanta's hair, the ribbons painted in a few strokes
Diego Velázquez, María Teresa (1638–1683), Infanta of Spain, 1651–54, with a detail of the hair. The Metropolitan Museum of Art.

A term for mercy

Elastic weight consolidation comes closest.33 Kirkpatrick et al., 2017, Overcoming catastrophic forgetting in neural networks. It penalises moving the weights that mattered for an old task, which is a kind of loyalty, but it still treats the old task as something owed rather than something forgiven.

def ewc_penalty(params, anchors, fisher, lam):
    # how far each weight moved, weighted by how much it mattered
    return lam / 2 * sum((f * (p - a) ** 2).sum()
                         for p, a, f in zip(params, anchors, fisher))

Mercy, for a learner, would be a term that lowers the cost of an old mistake without erasing the record of it. The weight stays where it is; the pressure to move it fades. Nothing in the standard toolkit does this on purpose, though a few things do it by accident.

Claim. Weight decay forgets every weight at the same rate, whatever it was for.

Proof. With no data gradient, the update gives , the same factor for every weight. ∎

So weight decay is the closest accident, and it is less like forgiveness than like time passing. The network does not decide to let go. It is worn down.

Three things at once

A machine that forgives would need to know three things at once: that something went wrong, who was responsible, and that it has chosen not to act on it. The first two are the whole of backpropagation. The third has no gradient.

Sources

  1. McCloskey, M. and Cohen, N. J., 1989. Catastrophic interference in connectionist networks: the sequential learning problem.
  2. Kirkpatrick, J. et al., 2017. Overcoming catastrophic forgetting in neural networks.

Images

  1. Diego Velázquez, María Teresa (1638–1683), Infanta of Spain, 1651–54. The Metropolitan Museum of Art, public domain.