在资源受限的物联网设备间分布模型时,通常采用两种主要技术来满足实时推理限制:(1)模型并行(MP)和(2)类别并行(CP)。在MP中,设备之间传输庞大的中间数据(比输入大几个数量级)会带来巨大的通信开销。虽然CP解决了这个问题,但它在子模型数量上存在限制。此外,这两种方案都不具备容错能力,这在部署于边缘设备时是一个问题。我们提出变体并行(VP),这是一种基于集成学习的深度学习分布方法,其中生成主模型的不同变体,并可部署在独立的机器上。我们围绕原始模型设计了一系列更轻量的模型,并同时训练它们,以提高相对于单一模型的准确率。我们在六个常见的中等规模物体识别数据集上的实验结果表明,与MobileNetV2相比,我们的模型参数量可减少5.8-7.1倍,乘加运算(MACs)减少4.3-31倍,对原子输入的响应时间缩短2.5-13.2倍,同时达到相当或更高的准确率。我们的技术可以轻松生成基础架构的多个变体。每个变体仅返回2k个输出,其中1 <= k <=(类别数/2),表示Top-k类别,而不是MP所需的大量浮点值。由于每个变体都提供全类别预测,因此在发生故障时,与MP和CP相比,我们的方法保持了更高的可用性。
英文摘要:
Two major techniques are commonly used to meet real-time inference limitations when distributing models across resource-constrained IoT devices: (1) model parallelism (MP) and (2) class parallelism (CP). In MP, transmitting bulky intermediate data (orders of magnitude larger than input) between devices imposes huge communication overhead. Although CP solves this problem, it has limitations on the number of sub-models. In addition, both solutions are fault intolerant, an issue when deployed on edge devices. We propose variant parallelism (VP), an ensemble-based deep learning distribution method where different variants of a main model are generated and can be deployed on separate machines. We design a family of lighter models around the original model, and train them simultaneously to improve accuracy over single models. Our experimental results on six common mid-sized object recognition datasets demonstrate that our models can have 5.8-7.1x fewer parameters, 4.3-31x fewer multiply-accumulations (MACs), and 2.5-13.2x less response time on atomic inputs compared to MobileNetV2 while achieving comparable or higher accuracy. Our technique easily generates several variants of the base architecture. Each variant returns only 2k outputs 1 <= k <= (#classes/2), representing Top-k classes, instead of tons of floating point values required in MP. Since each variant provides a full-class prediction, our approach maintains higher availability compared with MP and CP in presence of failure.
DP2Guard: A Lightweight and Byzantine-Robust Privacy-Preserving Federated Learning Scheme for Industrial IoT
Southeast University(东南大学);National University of Singapore(新加坡国立大学);Huazhong University of Science and Technology(华中科技大学);Jinan University(暨南大学);Queensland University of Technology(昆士兰科技大学);The University of Hong Kong(香港大学);Nanyang Technological University(南洋理工大学)
Knowledge-Enhanced Semi-Supervised Federated Learning for Aggregating Heterogeneous Lightweight Clients in IoT
Pennsylvania State University(宾夕法尼亚州立大学);University of Electronic Science and Technology of China(电子科技大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Purdue University(普渡大学);Georgia State University(佐治亚州立大学)
ResiHP: Taming LLM Training Failures with Dynamic Hybrid Parallelism
Fudan University(复旦大学);Shanghai AI Laboratory(上海人工智能实验室);Hong Kong University of Science and Technology(香港科技大学);Shanghai Jiao Tong University(上海交通大学);The Chinese University of Hong Kong(香港中文大学)