Verifiable Random Function (VRF)
Last updated
Last updated
An additional cryptographic primitive utilized in the Nesa Execution layer is the Verifiable Random Function (VRF). VRFs are pivotal for the generation of unbiased and unpredictable random values that are also verifiable by any party with public information. A VRF is a construct that allows its holder to provide proof that a number was generated in a truly random and secure manner, akin to a cryptographic lottery that cannot be rigged.
On Nesa, VRFs are utilized to enhance the security and fairness of node selection processes. When executing AI tasks, the committee of nodes responsible for these tasks must be chosen without any bias or manipulation. VRFs serve this purpose by allowing for the secure and fair selection of the inference committee. Each node generates a random number with its private VRF key and publishes both the number and its proof. The verifiability aspect of VRFs ensures that all other nodes or participants can independently verify the correctness of the random number, ruling out any foul play in the selection process.
This mechanism preserves the decentralization ethos of Nesa by preventing central authorities from controlling the selection process but also instills confidence in the network participants. This ensures that each AI task is processed by a randomly chosen, yet reliably determined, committee of nodes, which upholds the integrity and unpredictability of the selection protocol for the guarantee of increased transparency and security over assumptions of good intent.
We briefly give some more details about VRF below. It consists of three functions: keygen, evaluate, and verify.