Field noteNov 25, 20263 min read1 source

In a handwritten-digit classifier, keeping the signs of surviving trained weights produced 49.79% average

In one minute

In a handwritten-digit classifier, keeping the signs of surviving trained weights produced 49.79% average test accuracy before retraining; shuffling those signs within each layer cut it to 10.89%. (habr.com)

What happened

The experiment used scikit-learn’s Digits dataset of 1,797 8×8 images and a fully connected 64–32–10 network with a ReLU hidden layer. The author trained dense donor networks with Adam for 100 epochs, then removed the smallest-magnitude weights across both layers, leaving 474 of 2,368 connections (80% pruned). The mask was chosen from the trained network and held fixed during restart training.

Across four stratified 60/20/20 splits, with StandardScaler fitted only on each training portion, the author compared four initial networks per split. Restart variants shared fresh trainable random biases, the same mini-batch order, and a newly initialized optimizer; training used cross-entropy, Adam at 0.001 and batches of 64. Active weights began at equal RMS magnitudes within each layer. The shuffled-sign control preserved each layer’s positive/negative sign counts while moving signs between connections. A random-mask control preserved each layer’s connection count and excluded dead ends or unreachable outputs.

After 100 restart-training epochs, retained signs averaged 96.15% accuracy, versus 95.40% for shuffled signs; retained signs scored higher in 11 of 16 runs, tied in two and lower in three. Before retraining, retained signs beat shuffled signs in all 16 runs.

Magnitude choices mattered. With a common initial magnitude of 1, retained signs reached 84.58% before the first update, versus 9.93% with shuffled signs; with fresh independent random magnitudes, the corresponding start was 38.02% versus 9.55%. At magnitude 1, retained signs reached 94.60% after 100 epochs, while magnitude 100 reached 85.94% under the same learning rate. The random-mask/random-sign control began at 9.62% and reached 93.37% after 100 epochs.

For comparison, the dense network averaged 97.69% before pruning and 97.03% after half its connections were removed. At 80% pruning, the original trained network averaged 83.59% immediately after pruning and 95.33% after 25 fine-tuning epochs; none of its surviving weights changed sign in any run.

Why it matters

The restart comparison supports a narrow claim: the arrangement of trained signs on a mask selected from a trained dense model carries useful information, especially before updates. It is not evidence that signs provide a shortcut around dense-model training, since both the mask and signs were inherited from that trained donor; nor do the post-training averages show a large consistent advantage over shuffled signs.

Limits and uncertainty

The sign comparison covers one fully connected architecture, one dataset and one pruning level. Its test sets partially overlap because the splits come from the same dataset, and the validation portions were not used in the article’s calculations.

Reader takeaway

With the pruned connectivity mask fixed, trained signs yielded 49.79% test accuracy before retraining, against 10.89% after shuffling signs. The gap shows that sign placement retained information in this setup; it does not show that signs alone can replace training, because magnitudes changed the result and the mask came from a trained dense network.

Open question

Does the sign effect persist across architectures, datasets and pruning levels?

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1habr.com/ru/articles/1111596
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicModelsExplore the models topic hub.
  2. 02archiveField NotesOpen the latest editorial analysis.
  3. 03sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract