Skip to content
@FRAIN-chain

FRAIN

Fast-and-Reliable AI Network

FRAIN: Fast-and-Reliable AI Network

Frain to Train

FRAIN introduces a novel decentralized federated learning method designed to enhance robustness and efficiency in asynchronous training environments. Building upon BRAIN's decentralized architecture, FRAIN integrates two innovative strategies:

  • FastSync: Quickly approximates the global model using only recent updates, significantly reducing synchronization overhead for newly joining or returning participants.
  • SLERP-based Model Merging: Employs spherical linear interpolation to preserve directional information in model parameters, effectively mitigating performance degradation caused by divergent updates or stale contributions.

Explore the detailed methodology and experimental results in the full paper at https://arxiv.org/abs/2505.04223.


BRAIN: Blockchain-based Reliable AI Network

Welcome to BRAIN, a pioneering Blockchain-based Reliable AI Network that aims to revolutionize the way AI models are trained and executed, ensuring transparency, reliability, and efficiency.

BRAIN offers a groundbreaking solution that enhances decentralized AI by merging AI with blockchain for secure, transparent, and scalable AI applications, overcoming challenges with large-scale models and ensuring high throughput and reliability even in the presence of Byzantine nodes.

Main Features

  • Two-Phase Transaction Execution: Enhances blockchain performance by allowing pipelining among inference/training transactions and regular transactions.
  • Asynchronous Aggregator-Free Federated Learning: Implements an innovative asynchronous federated learning algorithm that does not require a central aggregator, ensuring privacy and scalability.
  • Scalable Verification: Employs a verifiable randomly selected committee for scalable verification of inference and training processes, achieving consensus through smart contracts.

For an in-depth exploration of BRAIN, see the detailed research at https://arxiv.org/abs/2305.04062.

🛠 Projects and Repositories

BRAIN's ecosystem comprises several projects focused on AI model training and inference evaluation, as well as smart contract development for secure and efficient operations.

🤖 AI

⚙️ Contracts

  • Verifiable Random Functions: Implements VRFs in Solidity for secure and verifiable random �sortition processes.
  • Queue: A smart contract for efficient queue management in the BRAIN network.
  • Commit-and-Reveal: Facilitates a secure commit-and-reveal scheme for transparent and trustable transactions.

Pinned Loading

  1. FRAIN FRAIN Public

    Forked from FRAIN-chain/BRAIN-eval-training

    Implementation of Communication-Efficient Learning of Deep Networks from Decentralized Data

    Python

  2. FRAIN-simulation FRAIN-simulation Public

    Forked from FRAIN-chain/BRAIN-eval-inference

    Implementation of FRAIN Training Simulator

    Python

Repositories

Showing 10 of 11 repositories
  • FRAIN Public Forked from FRAIN-chain/BRAIN-eval-training

    Implementation of Communication-Efficient Learning of Deep Networks from Decentralized Data

    FRAIN-chain/FRAIN's past year of commit activity
    Python 0 MIT 462 0 0 Updated Oct 6, 2025
  • alpha-contract Public

    Solidity Implementation of alpha functions

    FRAIN-chain/alpha-contract's past year of commit activity
    JavaScript 0 MIT 0 0 0 Updated Sep 23, 2025
  • FRAIN-simulation Public Forked from FRAIN-chain/BRAIN-eval-inference

    Implementation of FRAIN Training Simulator

    FRAIN-chain/FRAIN-simulation's past year of commit activity
    Python 0 MIT 4 0 0 Updated Sep 21, 2025
  • .github Public
    FRAIN-chain/.github's past year of commit activity
    0 0 0 0 Updated May 8, 2025
  • BRAIN-eval-training Public Forked from AshwinRJ/Federated-Learning-PyTorch

    Implementation of Communication-Efficient Learning of Deep Networks from Decentralized Data

    FRAIN-chain/BRAIN-eval-training's past year of commit activity
    Python 1 MIT 462 0 0 Updated Feb 28, 2025
  • bls-solidity Public

    Boneh–Lynn–Shacham (BLS) contract written in Solidity

    FRAIN-chain/bls-solidity's past year of commit activity
    JavaScript 0 MIT 0 0 0 Updated Oct 23, 2024
  • vrf-solidity Public Forked from witnet/vrf-solidity

    Verifiable Random Function (VRF) library written in Solidity

    FRAIN-chain/vrf-solidity's past year of commit activity
    Solidity 0 MIT 37 0 0 Updated Oct 17, 2024
  • BRAIN-eval-inference Public

    Implementation of BRAIN Inference Simulator

    FRAIN-chain/BRAIN-eval-inference's past year of commit activity
    Python 0 MIT 4 0 0 Updated Apr 17, 2024
  • hash-contract Public

    Solidity implementation of Commit-and-Reveal Scheme

    FRAIN-chain/hash-contract's past year of commit activity
    JavaScript 0 MIT 3 0 0 Updated Apr 2, 2024
  • queue-contract Public

    Solidity implementation of Queue (PriorityQueue, CircularQueue)

    FRAIN-chain/queue-contract's past year of commit activity
    JavaScript 0 MIT 3 0 0 Updated Apr 2, 2024

Top languages

Loading…

Most used topics

Loading…