Skip to main content
QUICK REVIEW

[Paper Review] Near-Data Processing for Machine Learning

Hyeokjun Choe, Se-Il Lee|arXiv (Cornell University)|Apr 24, 2017
Advanced Data Storage TechnologiesComputer Science12 references8 citations
TL;DR

This paper proposes a near-data processing (NDP) framework, ISP-ML, for accelerating machine learning workloads by executing stochastic gradient descent (SGD) directly within SSDs, leveraging multi-channel parallelism. The evaluation shows significant performance and energy gains over conventional in-host processing, demonstrating the viability of in-storage processing for ML workloads.

ABSTRACT

In computer architecture, near-data processing (NDP) refers to augmenting the memory or the storage with processing power so that it can process the data stored therein. By offloading the computational burden of CPU and saving the need for transferring raw data in its entirety, NDP exhibits a great potential for acceleration and power reduction. Despite this potential, specific research activities on NDP have witnessed only limited success until recently, often owing to performance mismatches between logic and memory process technologies that put a limit on the processing capability of memory. Recently, there have been two major changes in the game, igniting the resurgence of NDP with renewed interest. The first is the success of machine learning (ML), which often demands a great deal of computation for training, requiring frequent transfers of big data. The second is the advent of NAND flash-based solid-state drives (SSDs) containing multicore processors that can accommodate extra computation for data processing. Sparked by these application needs and technological support, we evaluate the potential of NDP for ML using a new SSD platform that allows us to simulate in-storage processing (ISP) of ML workloads. Our platform (named ISP-ML) is a full-fledged simulator of a realistic multi-channel SSD that can execute various ML algorithms using the data stored in the SSD. For thorough performance analysis and in-depth comparison with alternatives, we focus on a specific algorithm: stochastic gradient decent (SGD), which is the de facto standard for training differentiable learning machines including deep neural networks. We implement and compare three variants of SGD (synchronous, Downpour, and elastic averaging) using ISP-ML, exploiting the multiple NAND channels for parallelizing SGD. In addition, we compare the performance of ISP and that of conventional in-host processing, revealing the advantages of ISP. Based on the advantages and limitations identified through our experiments, we further discuss directions for future research on ISP for accelerating ML.

Motivation & Objective

  • Address the growing computational and data movement overhead in training machine learning models, especially deep neural networks.
  • Overcome the limitations of traditional CPU-centric processing by leveraging processing-capable SSDs for in-storage computation.
  • Design and evaluate a full-fledged simulator (ISP-ML) to model realistic multi-channel SSDs capable of executing ML algorithms directly on storage.
  • Investigate the performance and scalability of three SGD variants—synchronous, Downpour, and elastic averaging—under in-storage processing.
  • Compare in-storage processing (ISP) with conventional in-host processing to quantify the benefits and limitations of NDP for ML workloads.

Proposed method

  • Developed a full-fledged simulator named ISP-ML to model a realistic multi-channel SSD with embedded multicore processors capable of executing ML algorithms.
  • Implemented three variants of stochastic gradient descent (SGD)—synchronous, Downpour, and elastic averaging—within the SSD's processing units to enable parallelized training.
  • Exploited the inherent parallelism across multiple NAND channels in SSDs to distribute and accelerate SGD computation, reducing data movement.
  • Simulated end-to-end ML training workloads directly on the SSD, bypassing the host CPU for computation and minimizing data transfers.
  • Conducted performance and energy efficiency comparisons between in-storage processing (ISP) and traditional in-host processing using the same ML algorithms.
  • Used the simulator to analyze scalability, communication overhead, and resource utilization across different SGD variants and SSD configurations.

Experimental results

Research questions

  • RQ1To what extent can in-storage processing (ISP) accelerate stochastic gradient descent (SGD) training compared to conventional in-host processing?
  • RQ2How do different SGD variants (synchronous, Downpour, elastic averaging) perform when executed in parallel across multiple SSD channels?
  • RQ3What are the performance and energy efficiency trade-offs of offloading ML computation to SSD-based processing units versus CPUs?
  • RQ4What are the key bottlenecks and limitations of near-data processing for ML workloads in current SSD architectures?
  • RQ5How does the architectural design of modern SSDs, particularly their multicore processors and multi-channel memory, enable or constrain in-storage ML processing?

Key findings

  • In-storage processing (ISP) significantly reduces data movement by executing SGD directly within the SSD, leading to lower latency and higher throughput compared to host-based processing.
  • The multi-channel architecture of modern SSDs enables effective parallelization of SGD computation, improving training throughput by leveraging channel-level concurrency.
  • Elastic averaging SGD showed better convergence stability and scalability across channels compared to synchronous and Downpour variants in the ISP environment.
  • The performance gains from ISP are most pronounced in data-intensive ML workloads where memory bandwidth and data transfer overhead dominate execution time.
  • Despite the advantages, limitations such as limited processing power and memory bandwidth within SSDs constrain the maximum speedup, especially for highly compute-intensive models.
  • Energy efficiency is improved in ISP due to reduced data movement and more efficient use of on-device processing, though gains depend on workload characteristics and SSD hardware capabilities.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.