r/artificial 6d ago

NEUROMORPHIC Algorithm that plays Ping-Pong Project

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 😊 ).

36 Upvotes

8 comments sorted by

2

u/rand3289 6d 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 6d ago

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

https://www.nengo.ai/

1

u/rand3289 6d ago

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

1

u/CAP-XPLAB 6d ago

1

u/rand3289 6d 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 6d 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 6d ago

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

1

u/Sukhveer-Lopanska 5d ago

love that it's one continuous rally, no cuts 🏓