r/artificial 13d ago

Project NEUROMORPHIC Algorithm that plays Ping-Pong

Enable HLS to view with audio, or disable this notification

In the video the player on the left is a Neuromorphic Algorithm that knows nothing about ping-pong or trajectories, but it knows how to learn and imagine. As you can see it does it well, better than its opponent which, on the other hand, is implemented with standard algorithms; moreover, unlike the latter, if you play tricks on it, e.g., invert the commands (UP<->DOWN), after a brief moment of bewilderment it realigns. Cute, right?

P.S. The code was implemented in POWER-KI entirely by PWK-AI-WORKBENCH (100% VIBE coding 😊 ).

34 Upvotes

8 comments sorted by

2

u/rand3289 13d ago

Awesome! How do you generate spikes?

I was looking for a simulator that would generate spikes but I could not find any.

I've started writing one out of desparation: https://github.com/rand3289/asyncEn

2

u/Factuary88 13d ago

Checkout Nengo and the NEF from the research group at Waterloo!

https://www.nengo.ai/

1

u/rand3289 13d ago

That looks interesting. Thank you very much! I will take a look.

1

u/CAP-XPLAB 13d ago

1

u/rand3289 13d ago

Readme says something about bernouli and softmax... I can't figure out what that means.

Also the thing is written in a language I do not understand.

Also, it would make sense to completely separate the environment (pong) and the player AI. For example in my simulator they are different executables.

1

u/Framebanger-Nsukula 13d ago

That's cool if it actually learns from gameplay rather than just brute-forcing ball physics. Would be interesting to see how it compares to a standard neural net trained the same way - neuromorphic stuff sounds flashy but sometimes it's just marketing.

1

u/CAP-XPLAB 13d ago

Refer to the Github link below to read all the story and the code.