Akid:一个基于数据主义方法的神经网络研究和生产库
Akid: A Library for Neural Network Research and Production from a Dataism Approach
摘要:
神经网络是一种革命性但不成熟的技术,它正在快速发展,并严重依赖于数据。为了从最新的发展和新获得的数据中受益,我们希望研究和生产之间的差距尽可能小。另一方面,与传统的机器学习模型不同,神经网络不仅仅是另一种统计模型,而是一种自然处理引擎--大脑的模型。在这项工作中,我们描述了一个神经网络库命名为{ \texttt akid}。它在Tensorflow对信号(抽象为张量)进行抽象的基础上,为自然界中的实体(抽象为块)提供了更高层次的抽象,表征了自然界中所有实体以某种方式处理输入和发出的数据主义观察。它包括一个完整的软件栈,提供抽象,让研究人员专注于研究而不是实现,同时开发的程序也可以在分布式环境中无缝投入生产,并为生产做好准备。在应用程序堆栈的顶层,它为神经网络应用程序提供了开箱即用的工具。在底层,akid提供了一个编程范例,让用户可以轻松地构建自定义模型。分布式计算栈处理并发性和通信,因此允许模型被训练或部署到单个GPU、多个GPU或分布式环境,而不影响模型在编程范式栈中的指定方式。最后,分布式部署栈处理如何部署分布式计算,从而将研究原型环境与实际生产环境解耦,并且能够动态分配计算资源,从而可以分离开发(Devs)和操作(Ops)。有关文档,请参阅http://akid.readthedocs.io/en/latest/。
英文摘要:
Neural networks are a revolutionary but immature technique that is fast evolving and heavily relies on data. To benefit from the newest development and newly available data, we want the gap between research and production as small as possibly. On the other hand, differing from traditional machine learning models, neural network is not just yet another statistic model, but a model for the natural processing engine --- the brain. In this work, we describe a neural network library named {\texttt akid}. It provides higher level of abstraction for entities (abstracted as blocks) in nature upon the abstraction done on signals (abstracted as tensors) by Tensorflow, characterizing the dataism observation that all entities in nature processes input and emit out in some ways. It includes a full stack of software that provides abstraction to let researchers focus on research instead of implementation, while at the same time the developed program can also be put into production seamlessly in a distributed environment, and be production ready. At the top application stack, it provides out-of-box tools for neural network applications. Lower down, akid provides a programming paradigm that lets user easily build customized models. The distributed computing stack handles the concurrency and communication, thus letting models be trained or deployed to a single GPU, multiple GPUs, or a distributed environment without affecting how a model is specified in the programming paradigm stack. Lastly, the distributed deployment stack handles how the distributed computing is deployed, thus decoupling the research prototype environment with the actual production environment, and is able to dynamically allocate computing resources, so development (Devs) and operations (Ops) could be separated. Please refer to http://akid.readthedocs.io/en/latest/ for documentation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。