bones-ai / rust-drive-ai

Self driving car AI in road fighter world
https://youtu.be/H7RWcNgE-6s
MIT License
105 stars 16 forks source link

Verifiable simulation fork #5

Open tarrencev opened 11 months ago

tarrencev commented 11 months ago

Hey!

I came across your work a few weeks ago and was interested in the possibility in using dojo to implement provable model inference. The gist of it is Dojo is a provable game engine inspired by Rust. It is written in Cairo which means that we can generate a mathematical proof of computation using a zkSTARK. It creates an interesting dynamic where a player can train a neural network to drive the car, then run inference using the Dojo implementation, and a submit a proof of their score, without having to expose the model weights. It's mostly an experiment with this new affordance. Essentially, with provable computation it is no longer necessary to verify a clients computation using a trusted centralized server, which enables interesting new architectures and also fully private information.

I wanted to share here incase you found it interesting. Happy to share more if so!

Thanks for the original implementation!

bones-ai commented 10 months ago

Hey, Apologies I missed this notification.

I'll have a look at the repo and play around with it in my free time, thanks for sharing :)