r/learnmachinelearning • • Oct 26 '26

Mechanical Neural Network v2

Four years ago I posted a first version of the Mechanical Neural Network, a mechanical model of a fully connected neural network explaining structure and functionality of artificial neural networks.

Now a new 3D printed version exists along together with a series of teaching videos. Check out these videos here. For now this series covers structure and functionality of ANNs, gradient descent and backpropagation, as well as learning rate and momentum. The videos are in German but with YouTube auto translate and subtitles this should hopefully be not a big hindrance.

There is also a short explanation video on what the Mechanical Neural Network actually is and how it can be used in teaching.

351 Upvotes

34 comments sorted by

11

u/Status-Secret-4292 Oct 26 '26

Love this. Bravo

1

u/asheepland 29d ago

Thank you!

10

u/eras Oct 26 '26

Now do a 8x8 one for detecting digits :).

1

u/asheepland 29d ago

I thought about MNIST. But 28x28 pixels is a bit much. Using 7 inputs neurons to represent a seven segment display is maybe feasible. But having seven output neurons which control a seven segment display would be even better. You could then use ten input numbers, each corresponding to a number.

3

u/yensteel 29d ago

Oof, a 3x3 kernel is gonna be a pain, and an LSTM may be easier. Maybe the 3x3 kernel needs to be brute forced.

1

u/ChocomelP 29d ago

Do you have a warehouse lying around, perhaps?

5

u/DigThatData Oct 26 '26 edited Oct 26 '26

this is a cool idea, but what you have here is more like a demonstration of a linear operator. For nonlinearity, you could add a bistable switch to each read out to serve as the rectifier. that way, the switch can determine whether or not you actually respect the readout (positive) or if the module just reads as zero (because the negative deflection flipped the switch to its off position).

EDIT: Disregard, missed a subtlety in the design, see below.

10

u/john_sorrentino Oct 26 '26

It actually looks like they implemented ReLu by putting the metal pole on the left side so and values below zero stay at zero. So it does have non linearity

2

u/asheepland 29d ago

Yes, that is correct. Its a simple solution to model ReLU. Gladly I did not need to model a sigmoid function.

6

u/DigThatData Oct 26 '26

oh lol shit that's also better than my idea was, nice

2

u/Riteknight 29d ago

I would love to buy one if priced economically.

1

u/asheepland 29d ago

Well, what would be an economical price for you?

1

u/InnovativeBureaucrat 29d ago

How many would I need to run GLM 3.5? That would get me closer to a working valuation.

3

u/asheepland 24d ago

Assuming 320x10^9 parameters for GLM 5.3 and 10^1 parameters for the MNN, you would just need 320x10^8 MNNs! Disregarding model architecture, etc. LLMs are Large!

1

u/InnovativeBureaucrat 23d ago

It would be fascinating to see an LLM that’s the size of Orion’s nebula but I’ll bet the throughput would be slow. :-)

1

u/bin10pac 28d ago

€100?

1

u/asheepland 24d ago

That does not sound very economical from my side.

1

u/bin10pac 24d ago

How much would you sell one for?

1

u/asheepland 22d ago

Please send me a message if you are interested. While the 3D printed parts are not a huge cost factor the assembly, especially the strings, take quite some time.

1

u/TheRealStepBot Oct 26 '26

This is so cool! Real pity they didn’t do the video in English.

2

u/asheepland 29d ago

I would like to translate the videos at some point. If anybody wants to help with that, let me know

2

u/didinko Oct 26 '26

This should go into every neural networks book—it's a great visualization example!

1

u/AtmosphereVirtual254 29d ago

That’s a satisfying idea

1

u/Mysterious-Bison3735 6d ago

It looks like oil machinery process 

-13

u/Sea-Fishing4699 Oct 26 '26

Is the video also ai?

11

u/The_Cat_Commando Oct 26 '26 • Bravo

70% of your comments are foaming at the mouth over AI use.

you have become the very slop that angers you.

-7

u/Sea-Fishing4699 Oct 26 '26

wow such a great follower ! Thank you for doing the statistics for me

2

u/The_Cat_Commando Oct 26 '26

self-aggrandizing slop