arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.10280cs.LGcs.DBcs.DC
收藏

TensAIR:从数据流中实时训练神经网络

TensAIR: Real-Time Training of Neural Networks from Data-streams

University of Luxembourg(卢森堡大学);IIIT Bangalore(印度信息技术学院班加罗尔分校)

Mauro D. L. Tosi, Vinu E. Venugopal, Martin Theobald

AI总结:

TensAIR是首个用于实时训练神经网络的在线学习系统,采用去中心化异步架构和DASGD算法,实现近线性扩展,在稀疏和密集用例中吞吐率比现有系统高6至116倍。

摘要:

在线学习(OL)从数据流中学习是一个新兴的研究领域,涵盖了流处理、机器学习和网络中的众多挑战。诸如Apache Kafka和Flink等流处理平台,在流处理管道中训练人工神经网络(ANNs)方面有基本的扩展。然而,这些扩展并非为实时训练ANN而设计,在实时训练时存在性能和可扩展性问题。本文介绍了TensAIR,这是第一个用于实时训练ANN的在线学习系统。TensAIR通过使用去中心化和异步架构,通过DASGD(去中心化和异步随机梯度下降)训练ANN模型(无论是新初始化的还是预训练的),实现了卓越的性能和可扩展性。我们通过实验证明,TensAIR在(1)网络中部署的工作节点数量和(2)数据批次到达数据流操作符的吞吐量方面,实现了近乎线性的水平扩展性能。我们通过研究稀疏(词嵌入)和密集(图像分类)用例来展示TensAIR的多功能性,在这些用例中,TensAIR实现的可持续吞吐率比在流处理管道中训练ANN的最先进系统高出6到116倍。

英文摘要:

Online learning (OL) from data streams is an emerging area of research that encompasses numerous challenges from stream processing, machine learning, and networking. Stream-processing platforms, such as Apache Kafka and Flink, have basic extensions for the training of Artificial Neural Networks (ANNs) in a stream-processing pipeline. However, these extensions were not designed to train ANNs in real-time, and they suffer from performance and scalability issues when doing so. This paper presents TensAIR, the first OL system for training ANNs in real time. TensAIR achieves remarkable performance and scalability by using a decentralized and asynchronous architecture to train ANN models (either freshly initialized or pre-trained) via DASGD (decentralized and asynchronous stochastic gradient descent). We empirically demonstrate that TensAIR achieves a nearly linear scale-out performance in terms of (1) the number of worker nodes deployed in the network, and (2) the throughput at which the data batches arrive at the dataflow operators. We depict the versatility of TensAIR by investigating both sparse (word embedding) and dense (image classification) use cases, for which TensAIR achieved from 6 to 116 times higher sustainable throughput rates than state-of-the-art systems for training ANN in a stream-processing pipeline.

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

↑