arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.07229cs.ITcs.AImath.IT
收藏

大规模计算中的逐步细化:推进模型推理应用

Successive Refinement in Large-Scale Computation: Advancing Model Inference Applications

Nokia Bell Labs(诺基亚贝尔实验室);Technion - Israel Institute of Technology(以色列理工学院);Massachusetts Institute of Technology (MIT)(麻省理工学院)

Homa Esfahanizadeh, Alejandro Cohen, Shlomo Shamai, Muriel Medard

AI总结:

本文提出分层分辨率计算框架,支持提前获取低分辨率结果以应对时间约束,适用于分布式矩阵乘法和模型推理,显著缩短首分辨率延迟并提升计算适应性与透明度。

摘要:

现代计算密集型应用通常在时间约束下运行,需要加速方法以及将计算工作负载分配给多个实体。然而,结果要么在期望的时间线内达成,要么无法达成,在后一种情况下,宝贵的资源会被浪费。在本文中,我们引入了分层分辨率计算的解决方案。这些解决方案允许在最终结果之前更早地获得较低分辨率的结果。这一创新显著增强了基于截止时间的系统,因为如果计算作业因时间约束而终止,仍然可以生成最终结果的近似版本。此外,在某些操作机制下,可能不需要高分辨率结果,因为低分辨率结果可能已经显著偏离决策阈值,例如在基于AI的决策系统中。因此,操作员可以根据中间结果决定是否需要更高分辨率,从而实现具有自适应分辨率的计算。我们针对两个关键且计算需求量大的任务提出了我们的框架:分布式矩阵乘法(线性)和机器学习中的模型推理(非线性)。我们的理论和实证结果表明,第一分辨率的执行延迟显著短于最终分辨率的执行延迟,同时保持整体复杂度与传统的一次性方法相当。我们的实验进一步说明了分层特征如何增加满足截止时间的可能性,并在大规模、大型计算中实现适应性和透明度。

英文摘要:

Modern computationally-intensive applications often operate under time constraints, necessitating acceleration methods and distribution of computational workloads across multiple entities. However, the outcome is either achieved within the desired timeline or not, and in the latter case, valuable resources are wasted. In this paper, we introduce solutions for layered-resolution computation. These solutions allow lower-resolution results to be obtained at an earlier stage than the final result. This innovation notably enhances the deadline-based systems, as if a computational job is terminated due to time constraints, an approximate version of the final result can still be generated. Moreover, in certain operational regimes, a high-resolution result might be unnecessary, because the low-resolution result may already deviate significantly from the decision threshold, for example in AI-based decision-making systems. Therefore, operators can decide whether higher resolution is needed or not based on intermediate results, enabling computations with adaptive resolution. We present our framework for two critical and computationally demanding jobs: distributed matrix multiplication (linear) and model inference in machine learning (nonlinear). Our theoretical and empirical results demonstrate that the execution delay for the first resolution is significantly shorter than that for the final resolution, while maintaining overall complexity comparable to the conventional one-shot approach. Our experiments further illustrate how the layering feature increases the likelihood of meeting deadlines and enables adaptability and transparency in massive, large-scale computations.

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

↑