Akash Network

Microservice

Proposal Details

Proposal #261

Passed

Proposal title

Verifiable Compute for Akash Network

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

83.82%

Proposal #261 description

Introduction

Verifiable computing is an entire class of algorithms or systems, where a particular portion of the compute stack is verifiable/provable in a trustless manner to participants within a decentralized network. Verifiable computing can take many forms, including: Verifiable provisioning of hardware: This corresponds to the case where we desire to verify the nature and extent to which a piece of hardware is provisioned for the Akash network.

Specifically, if a 4090 GPU were to be incorporated in the Akash network, verifiable provisioning ensures that it indeed matches its hardware specifications, and it is genuinely allocated for functions on the Akash network.

Verifiable execution of program/software: This corresponds to the case where a program (any AI program, ranging from inference to training) is correctly executed on a node/set of nodes in the Akash network. For example, that a particular piece of code was executed correctly in a cluster of 4090s on the Akash network. Verifiable execution of programs/software also comes in multiple flavors, including: Non-real-time: An offline verification mechanism that presents a proof in non-real-time, where the proof has no time or size constraints. Optimistic, real-time proofs: An optimistic proof mechanism that can be verified or contested in (near) real time. Zero knowledge, real-time proofs: A zero knowledge proof mechanism (that does not reveal anything about the inputs but can still be verified, in (near) real time.

In this proposal, for the first year of this project, we focus on only the first type of verifiability: That of provisioning of hardware. After the completion of this first portion of the project, a further proposal will be submitted on non-real-time and subsequently, real-time verifiable computing within the Akash network. Please review the discussions on Github here.

Benefits to Akash Network

The need for verifiable provisioning of hardware is significant for a variety of reasons, including the elimination/reduction of Sybil attacks, and of other forms of misrepresentation and abuse in the network.

Verifiable Hardware Provisioning

Verifiable hardware provisioning can be achieved in a variety of ways: by using schemes uniquely associated with particular types of hardware, by using access patterns and footprints associated with a particular make and model, and other ways. However, these schemes are dependent on hardware configurations and do not necessarily generalize well. In order to develop a scalable, universal solution, we take a trusted enclave (trusted execution environment) approach as follows: Akash providers that intend to be “hardware verifiable” are equipped with a TEE, configured by Akash (such as Trusty [1], for more information on TEE, see tutorial [2]). Such a TEE contains a physically unclonable function (a PUF, see [3]) that can securely sign transactions. To ensure uniformity, this TEE will be designed to be a USB A/C dongle that can be attached to any hardware configuration.

We will verify that the USB A/C dongle can be attached to any hardware configuration and provide a detailed set of instructions to install and use this dongle to enable each provider to become “hardware verifiable” on Akash.

This TEE will periodically perform the following two tasks, based on an internal pseudo-random timer:

Identification task

Following a pseudo-random clock, the TEE will query every GPU in the specific Akash provider on its status and device-level details.

Provisioning task

Periodically and randomly, a random machine learning task will be assigned to the GPUs within this provider. These provisioning tasks are based on existing, well known benchmarks on the performance of GPUs to certain deep learning tasks, including particular types of models [4], more general deep learning models [5] and other tasks that are well known benchmarks on existing GPUs [6].

After the conclusion of each type of pseudorandomly repeated task, the TEE will securely sign the message, and will share the secure message with the Akash network.

The tasks are used to ensure the following properties:

Identification task

The identification task sets up the base configuration for each GPU cluster, and assigns a unique signature associated with the TEE with that cluster. As the identification is performed at the operating system level, it can potentially be spoofed, and therefore, the provisioning/benchmarking tasks are required.

Provisioning task

The provisioning/benchmarking tasks verifies the identification while simultaneously ensuring that the associated GPUs are dedicated for the Akash network and are not prioritizing other tasks. In case they are not provisioned for Akash network, they will fail the provisioning task.

A key point is that both the entire system (user, operating system) cannot differentiate between a provisioning/benchmarking tasks and a regular AI workload provided by the Akash network, and therefore cannot selectively serve a particular type of workload/task. This ensures that the GPUs are both correctly identified and are made available to Akash network-centric tasks at all times.

Team

The team for this project is led by Prof. Sriram Vishwanath from The University of Texas, Austin. Sriram Vishwanath is a professor at The University of Texas, Austin and Shruti Raghavan is a PhD candidate in Computer Science at UT Austin. They are working together with the Harvard Medical School and MITRE on the design of new foundation/base models in healthcare, with causal learning incorporated into such a platform.

Sriram Vishwanath received the B. Tech. degree in Electrical Engineering from the Indian Institute of Technology (IIT), Madras, India in 1998, the M.S. degree in Electrical Engineering from California Institute of Technology (Caltech, Pasadena USA in 1999, and the Ph.D. degree in Electrical Engineering from Stanford University, Stanford, CA USA in 2003. Currently, he is Professor in the Chandra Department of Electrical and Computer Engineering at The University of Texas at Austin, and recently, a Technical Fellow for Distributed Systems and Machine Learning at MITRE Labs.

Timeline

Open Discussions: Starting end of June 2024 Governance Proposal: Through first half of July, 2024 Design Phase: Through Q3 and Q4 2024 Hacknet TEE Phase: Q1 2025 Devent TEE Phase: Q2 2025 Conclusion of Hardware Provisioning testing and handover to Akash Team: End of Q2 2025 Note: This is subject to change based on feedback

Deliverables

Q3 2024 - High Level Design Q4 2024 - Design Specification Q1 2025 - Initial Hacknet Prototype Q2 2025 - Devnet and Conclusion of Testing

Budget

The tentative budget for this project is presented in the spreadsheet attached here.

The high-level breakdown for the budget is: R&D Costs (Student salaries + tuition + University Overhead): $146,547 Akash Computing/Hardware Costs: $75,000 Volatility and Liquidation Buffer (10%): $22,154.70

Total budget requested: $243,701.70 or 68,842.28 AKT Wallet Address: akash1sa5quyrpmf3l2acfrwgsy9t34yxpkvwrnqdmm0

Disbursement:

Disbursement will happen in two increments, coinciding with the few weeks before the beginning of each semester - Fall 2024 (on July 22nd 2024) and Spring 2025 (December 15 2024).

References

[1] Trusty TEE: Android Open Source Project https://source.android.com/docs/security/features/trusty [2] TEE 101 White Paper https://www.securetechalliance.org/wp-content/uploads/TEE-101-White-Paper-FINAL2-April-2018.pdf [3] Shamsoshoara, Alireza, et al. "A survey on physical unclonable function (PUF)-based security solutions for Internet of Things." Computer Networks 183 (2020): 107593. [4] Wang, Yu Emma, Gu-Yeon Wei, and David Brooks. "Benchmarking TPU, GPU, and CPU platforms for deep learning." arXiv preprint arXiv:1907.10701 (2019). [5] Shi, Shaohuai, et al. "Benchmarking state-of-the-art deep learning software tools." 2016 7th International Conference on Cloud Computing and Big Data (CCBD). IEEE, 2016. [6] Araujo, Gabriell, et al. "NAS Parallel Benchmarks with CUDA and beyond." Software: Practice and Experience 53.1 (2023): 53-80.

Proposal #261 overview

Total votes
2,338
Voters
2,323
Total deposit
1,000 AKT

Proposal #261 votes

#

Validator

Account Address

Options
1Stakewolle.com | Auto-compoundYes
2ChainflowYes
3Akash AfYes
4Cypher CoreYes
5Bi23Yes
6Kalia NetworkAbstain
7chainvibesNo
8DorminikYes
9c29r3Yes
10WeStakingYes
11Ubik CapitalAbstain
12SpacePotatoNo
13europlotsYes
14KahunaYes
150base.vcYes
16PingYes
17EZ StakingNo
18BitovenAbstain
19QuasarchYes
20Jormungand | 0yYes
21GATA HUBYes
22Chorus OneYes
23Aurora StakingNo
24StakecitoYes
25AtomstakingYes
26Arcturian TechNo
27Nocturnal LabsYes
28Smart Stake 📈📊Abstain
29Vitwit (Previously Witval)Yes
30Nodeasy.comYes
31AutoStake 🛡️ Slash ProtectedAbstain
32ValidatorNodeYes
33Ariel Akash Insider | Powered by NextNet.WorksYes
34cosmosrescueYes
35AllnodesYes
36Coinage x DAICYes
37KleomedesAbstain
38Komichain.comYes
39Informal SystemsYes
40strangeloveYes
41Foundry-USAYes
42Praetor AppYes
43Blocc DynamicsNo
44Neta DAOYes
45Dora Factory ClosedYes
46CloudmosYes
47Easy 2 StakeYes
48Chandra StationYes
4916psycheYes
505.0 Validator | AirdropYes
51ChainodeTechYes
52Crypto and CoffeeNo
53Autonomy ( Formerly PrithviDevs )Yes
54#decentralizehk - DHK daoYes
55AnonstakeYes
56Cosmonaut Stakes 🤖Abstain
57Army IDsYes
58CosmostationYes
59Tedcrypto.io 🧸 | TedLottoYes
60MeriaYes
61Active NodesYes
62StakinAbstain
63WhisperNode 🤐Yes
64polkachu.comYes
65PoS NodeYes
66Cosmic Validator | Auto CompoundAbstain
67ECO Stake 🌱Yes
68w3coinsAbstain
69Stake Frites 🥩 🍟Yes
70Lavender.Five Nodes 🐝Yes
71Frens (🤝,🤝)Yes
72NansenYes
73POSTHUMAN 🧬 StakeDropYes
74Oni ⛩️ | Stake for BoostDrop™ 🚀Yes
75Imperator.coAbstain

View: