project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

HeptagonAI

Proof of learning AI training platform that uses Filecoin for dataset storage, Phala TEE for proof verification and Flare Network for data collection and price feeds.

HeptagonAI

Created At

ETHGlobal Bangkok

Winner of

Blockscout - Blockscout Explorer Big Pool Prize

Prize Pool

Protocol Labs - Filecoin Foundation: Storage & Retrieval 2nd place

Phala Network - Best Use of AI in TEE - 🥇

Flare Network - Best Usecase of Flare's enshrined Data Protocols 1st place

Project Description

Heptagon AI is a platform that links data providers, computing power contributors, and AI model builders, allowing for efficient and collaborative AI development. We use proof of learning scheme to guarantee verifiability of model training. The datasets get posted on Filecoin by contributers. The trainer than trains the model and computes proof of learning. Proof of learning gets verified inside Phala's TEE. Finally we use Flare Data Connector to check which users have contributed data to the dataset and how valuable the data was and reward the users accordingly.

How it's Made

The project uses Filecoin's lighthouse storage (we also implemented EVM compatible onramp contracts) to store datasets. We than implemented training and proof of learning for the simple image prediction AI model made in pytorch. We trained the model and calculated proof of learning. We verified proof of learning inside Phalas TEE simulator - we used tdx_quotes to sign the valid proof and verify it on the Solidity smart contract (we mocked Automata's verifier). Finally we used Flare network's FDC to verify the contributions that the users have made (quality of the data is estimated by its variance) to the model and FTSO to calculate accurate prices of the rewards to pay. We made our own attestation type for this. For the frontend we used Nextjs and React. We used Blockscout to display transactions.

background image mobile

Join the mailing list

Get the latest news and updates