https://github.com/ophiase/astral-zk-ml
🌠 ETH Brussels Contest : Decentralized Machine Learning Protocol adapted to both terrestrial and spatial context to enable the collaboration of different military forces.
https://github.com/ophiase/astral-zk-ml
blockchain machine-learning starknet zero-knowledge
Last synced: 3 months ago
JSON representation
🌠 ETH Brussels Contest : Decentralized Machine Learning Protocol adapted to both terrestrial and spatial context to enable the collaboration of different military forces.
- Host: GitHub
- URL: https://github.com/ophiase/astral-zk-ml
- Owner: Ophiase
- License: apache-2.0
- Created: 2024-07-12T19:09:00.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-12-15T17:25:39.000Z (6 months ago)
- Last Synced: 2025-01-19T08:32:36.213Z (5 months ago)
- Topics: blockchain, machine-learning, starknet, zero-knowledge
- Language: Jupyter Notebook
- Homepage:
- Size: 7.21 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Astral-ZK-ML
Sponsorized by [ETH Global - Brussels](https://ethglobal.com/events/brussels). \
Prize : **Nethermind** - Best zkML projectDecentralized Machine Learning Protocol adapted to both terrestrial and spatial context. \
The models and the two smartcontracts utilizing them are written in the ZK-Proovable language Cairo. \
In the future, the smart contracts will be deployed on specific L3 for each planets/asteroids using Madara.## Introduction
- ✅ **ZK-ML tools** : Built in Cairo 2.6.4 for contracts on starknet-compatible blockchain
- ✅ Implemented on blockchain
- Basic Algebra + Linear Algebra
- Principal types: Signed Integer, Float (WFloat), Vector, Matrix
- Numerous High level operations to manipulate those types.
- Uniform pseudo random generator (to initialize weights)
- TODO: add more distributions (normal, poisson, $\dots$)
- Multi Layer Perceptron (ie. regular Neural Network)
- eg: Star type identification
- ❌ Not implemented in cairo yet
- Convolutional Neural Network
- for Crater identification
- Graph Attention Network
- for Constellation identification
- ❌ Additional proof of concept for tasks assigned to spatial decentralized robots
- Crater identification (Computer Vision)
- Constellation identification (Computer Vision)
- [Microorganism analysis](https://github.com/Ophiase/Microorganism-Computer-Vision) (Computer Vision)
- **Decentralized Smart Contracts** : Variants of the smart contract :
- ❌ **Fully Decentralized** (not implemented yet)
-
- Based on financial incentive (ie. egoistic incentive)
- Terestrial variant adapted to Starknet L2.
- ❌ **Country Wise Decentralized** (not implemented yet)
-
- Assumed resistance to Byzantine fault
- Spacial variant adapted to a specific L3 for a planet/satellite owned by multiples countries.
- **Demonstration Client**
- ❌ Not implemented yet## Documentation
- ### [On Chain content](contract/README.md)
- ZK-ML tools
- Fully Decentralized contract
- Country Wise Decentralized contract
- ### [Mathematical/Implementation details](documentation/README.md)
- Mathematical model/assumptions
- Algorithms
- Misc
- ### [Demonstration Client](client/README.md)
- ### Proof Of Concept
- [Crater Identification](poc/crater_identification/README.md)
- [Constellation Identification](poc/constellation_identification/README.md)
- [Microorganism analysis](https://github.com/Ophiase/Microorganism-Computer-Vision)