Research Article

Research on distributed coding computation based on matrix multiplication

Lin Zhang*
Xi'an University of Technology

* Corresponding author: [email protected]

Abstract

Matrix multiplication is used in machine learning to train larger, more accurate models with massive data more effectively. The distributed machine learning paradigm necessitates the distributed computing of many matrix multiplications once it is adopted. The execution time of distributed machine learning algorithms increases on dropout nodes, which are computational nodes in distributed clusters that randomly slow down computation due to a variety of factors (e.g., node failure, system failure, communication bottlenecks, etc.), becoming a significant bottleneck in distributed computing systems. It has been discovered that coded computation is less expensive than replica methods and can more effectively reduce the effects of dropped nodes. In this study, we present theoretical insights on how encoded solutions might produce significant gains over unencoded solutions.

Keywords: coding computing; distributed machine learning; matrix multiplication
Published: October 23, 2023
DOI: 10.54254/2755-2721/14/20230763
Volume: ACE Vol.14
pp. 74-80
Download PDF

References

  1. Dean J, Barroso L A. The tail at scale [J]. Communications of the ACM, 2013, 56(2): 74-80.
  2. Ananthanarayanan G, Kandula S, Greenberg A G, et al. Reining in the Outliers in Map-Reduce Clusters using Mantri [C]. Osdi. 2010, 10(1): 24.
  3. Dean J, Ghemawat S. MapReduce: simplified data processing on large clusters [J]. Communications of the ACM, 2008, 51(1): 107-113
  4. Wang S, Liu J, Shroff N. Coded sparse matrix multiplication [C]. International Conference on Machine Learning. PMLR, 2018: 5152-5160.
  5. Wang D, Joshi G, Wornell G. Efficient task replication for fast response times in parallel computation [C]. The 2014 ACM international conference on Measurement and modeling of computer systems. 2014: 599-600.
  6. Shah N B, Lee K, Ramchandran K. When do redundant requests reduce latency? [J]. IEEE Transactions on Communications, 2015, 64(2): 715-722.
  7. Lee K, Pedarsani R, Ramchandran K. On scheduling redundant requests with cancellation overheads [J]. IEEE/ACM Transactions on Networking, 2016, 25(2): 1279-1290.
  8. Dutta S, Cadambe V, Grover P. Coded convolution for parallel and distributed computing within a deadline [C]. 2017 IEEE International Symposium on Information Theory (ISIT). IEEE, 2017: 2403-2407.
  9. Yu Q, Maddah-Ali M A, Avestimehr A S. Coded fourier transform [C]. 2017 55th Annual Allerton Conference on Communication, Control, and Computing (Allerton). IEEE, 2017: 494-501
  10. Tandon R, Lei Q, Dimakis A G, et al. Gradient coding: Avoiding stragglers in distributed learning [C]. International Conference on Machine Learning. PMLR, 2017: 3368-3376
  11. Zaharia M, Konwinski A, Joseph A D, et al. Improving MapReduce performance in heterogeneous environments [C]. Osdi. 2008, 8(4): 7.
  12. Dutta S, Cadambe V, Grover P. " Short-Dot" computing large linear transforms distributedly using coded short dot products [C]. Proceedings of the 30th International Conference on Neural Information Processing Systems. 2016: 2100-2108.
  13. Reisizadeh A, Prakash S, Pedarsani R, et al. Coded computation over heterogeneous clusters [J]. IEEE Transactions on Information Theory, 2019, 65(7): 4227-4242.
  14. Ferdinand N S, Draper S C. Anytime coding for distributed computation [C]. 2016 54th Annual Allerton Conference on Communication, Control, and Computing (Allerton). IEEE, 2016: 954- 960
  15. Qu, Lingxiao. Construction of a coded distributed computing scheme based on placement distribution tables[D].Guangxi Normal University, 2021.
  16. Maddah-Ali, Ali M, Niesen, et al. Fundamental Limits of Caching[J]. IEEETransactions on Information Theory, 2014, 60(5): 2856- 2867.
  17. Maddah-Ali M A, Niesen U. Decentralized coded caching attains order-optimal memory-rate tradeoff[C]. //Proceedings of the 51st Annual Allerton Conference on Communication, 2013: 421- 427.
  18. Ji M, Caire G, Molisch A F. Fundamental Limits of Caching in Wireless D2D Networks[J]. IEEE Transactions on Information Theory, 2016, 62(2): 849- 869.
  19. Karamchandani N, Niesen U, Maddah-Ali M A, et al. Hierarchical Coded Caching[J]. IEEE Transactions on Information Theory, 2016, 62(6): 3212- 3229.