arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.19775cs.AIcs.CLcs.CRcs.DC
收藏

面向异构分布式推理的模型无关混合分片

Model Agnostic Hybrid Sharding For Heterogeneous Distributed Inference

Nesa Research(Nesa研究院);James Buban(詹姆斯·布班)

Claudio Angione, Yue Zhao, Harry Yang, Ahmad Farhan, Fielding Johnston, James Buban, Patrick Colangelo

AI总结:

Nesa提出一种模型无关的去中心化分片框架,结合动态块级量化与混合矩阵分解等压缩技术,在保障数据安全与模型准确性的前提下,实现了大规模AI模型在异构及消费级硬件上的高效分布式推理。

摘要:

大规模AI模型,特别是大型语言模型的快速增长,带来了数据隐私、计算资源和可访问性方面的重大挑战。传统的集中式架构通常难以满足所需的数据安全性和可扩展性需求,这阻碍了AI系统的普及。Nesa引入了一个为去中心化AI推理设计的模型无关分片框架。我们的框架使用基于区块链的顺序深度神经网络分片,基于个性化启发式和路由机制将计算任务分配到多样化的节点网络中。这使得近期的大规模模型即使在消费级硬件上也能进行高效的分布式训练和推理。我们使用动态块级量化和混合矩阵分解等压缩技术来减少数据传输和内存需求。我们还集成了强大的安全措施,包括基于硬件的可信执行环境,以确保数据完整性和机密性。在各种自然语言处理和视觉任务上评估我们的系统表明,这些压缩策略不会损害模型准确性。我们的结果突显了通过在去中心化网络上实现安全高效的推理,来普及前沿AI技术的潜力。

英文摘要:

The rapid growth of large-scale AI models, particularly large language models has brought significant challenges in data privacy, computational resources, and accessibility. Traditional centralized architectures often struggle to meet required data security and scalability needs which hinders the democratization of AI systems. Nesa introduces a model-agnostic sharding framework designed for decentralized AI inference. Our framework uses blockchain-based sequential deep neural network sharding to distribute computational tasks across a diverse network of nodes based on a personalised heuristic and routing mechanism. This enables efficient distributed training and inference for recent large-scale models even on consumer-grade hardware. We use compression techniques like dynamic blockwise quantization and mixed matrix decomposition to reduce data transfer and memory needs. We also integrate robust security measures, including hardware-based trusted execution environments to ensure data integrity and confidentiality. Evaluating our system across various natural language processing and vision tasks shows that these compression strategies do not compromise model accuracy. Our results highlight the potential to democratize access to cutting-edge AI technologies by enabling secure and efficient inference on a decentralized network.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑