DOAJ Open Access 2024

BRAIN: Blockchain-Based Inference and Training Platform for Large-Scale Models

Sanghyeon Park Junmo Lee Soo-Mook Moon

Abstrak

As artificial intelligence (AI) is innovating various industries, there are concerns about the trust and transparency of AI-driven inference and training results. To tackle these issues, decentralized solutions employing blockchain have been proposed, but they often face challenges such as a long execution time of inference or training transactions, inefficient verification, and incompatibility with existing blockchains, especially when dealing with large-scale models. To overcome these limitations, we introduce BRAIN, a Blockchain-based Reliable AI Network. A unique feature of BRAIN is its two-phase transaction execution mechanism, which allows pipelined processing of inference or training transactions. Also, BRAIN performs asynchronous, aggregator-free federated learning, where each training node proposes its local model to the blockchain, computes the next global model incrementally based on the evaluation results of the proposed models, and calculates its local model using the global model and its own data, all asynchronously. For scalable verification of inference and training processes, BRAIN employs a verifiable, randomly selected committee. It reaches a consensus through a smart contract on the inference output or the evaluation score of a proposed model. Finally, BRAIN can work on an existing blockchain and run its inference and training transactions with regular transactions efficiently. Our experimental result with the GPT-J-6B model on an Ethereum-compatible chain shows that BRAIN affects the blockchain throughput gracefully, as the frequency of the inference requests reaches up to that of the most popular blockchain services today, with few timed-out requests and reasonable gas fees. This is in sharp contrast to the result of previous single-phase inference transactions. It is also shown that BRAIN converges well with asynchronous federated learning.

Penulis (3)

S

Sanghyeon Park

J

Junmo Lee

S

Soo-Mook Moon

Format Sitasi

Park, S., Lee, J., Moon, S. (2024). BRAIN: Blockchain-Based Inference and Training Platform for Large-Scale Models. https://doi.org/10.1109/ACCESS.2024.3503573

Akses Cepat

PDF tidak tersedia langsung

Cek di sumber asli →
Lihat di Sumber doi.org/10.1109/ACCESS.2024.3503573
Informasi Jurnal
Tahun Terbit
2024
Sumber Database
DOAJ
DOI
10.1109/ACCESS.2024.3503573
Akses
Open Access ✓