Lotus: Characterization of Machine Learning Preprocessing Pipelines via Framework and Hardware Profiling

Preprocessing input data is a crucial step in machine learning pipelines, involving tasks such as loading, decoding, and applying transformations. Prior works have identified preprocessing as a performance bottleneck for ML training jobs and introduced optimizations like CPU and I/O parallelism, accelerator offloading, and on-node/distributed computing as well as caching to mitigate this bottleneck. However, there is a lack of support for characterizing preprocessing pipelines at a finer granularity, especially at the microarchitecture level, which can provide insights to validate and inform the design of existing and future optimization techniques.To enable these insights, we introduce Lotus, a profiling tool for the preprocessing stage of ML pipelines. Firstly, it captures fine-grained preprocessing events (e.g., <10 ms) with minimal time and storage overheads. Secondly, it bridges the gap between high-level Python functions and low-level hardware performance counters by reconstructing a mapping between Python functions and the underlying C++ functions they invoke. This unique combination enables users to better reason about their pipeline’s performance at both the framework and CPU architecture levels. We demonstrate the insights made possible by applying Lotus to representative ML workloads and compare its capabilities, overheads, and ease of use with alternative profilers.

Authors

Institutions

Publication Details

Published
2024-09-15
DOI
https://doi.org/10.1109/iiswc63097.2024.00013
Citations
3
Primary Topic
Machine Learning and Data Classification
Type
article
Field-Weighted Citation Impact
1.04
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lotus: Characterization of Machine Learning Preprocessing Pipelines via Framework and Hardware Profiling

Ada Gavrilovska, Kexin Rong, Rajveer Bachkaniwala, Harshith Lanka
3 citations
Machine Learning and Data Classification
1.04
article

Lotus: Characterization of Machine Learning Preprocessing Pipelines via Framework and Hardware Profiling

Ada Gavrilovska, Kexin Rong, Rajveer Bachkaniwala, Harshith Lanka
article en
3 citations

Abstract

Preprocessing input data is a crucial step in machine learning pipelines, involving tasks such as loading, decoding, and applying transformations. Prior works have identified preprocessing as a performance bottleneck for ML training jobs and introduced optimizations like CPU and I/O parallelism, accelerator offloading, and on-node/distributed computing as well as caching to mitigate this bottleneck. However, there is a lack of support for characterizing preprocessing pipelines at a finer granularity, especially at the microarchitecture level, which can provide insights to validate and inform the design of existing and future optimization techniques.To enable these insights, we introduce Lotus, a profiling tool for the preprocessing stage of ML pipelines. Firstly, it captures fine-grained preprocessing events (e.g., <10 ms) with minimal time and storage overheads. Secondly, it bridges the gap between high-level Python functions and low-level hardware performance counters by reconstructing a mapping between Python functions and the underlying C++ functions they invoke. This unique combination enables users to better reason about their pipeline’s performance at both the framework and CPU architecture levels. We demonstrate the insights made possible by applying Lotus to representative ML workloads and compare its capabilities, overheads, and ease of use with alternative profilers.

Georgia Institute of Technology (US)
Openalex Percentile: Top 18%
Machine Learning and Data Classification
1.04
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Lotus: Characterization of Machine Learning Preprocessing Pipelines via Framework and Hardware Profiling — Ada Gavrilovska, Kexin Rong, et al. · (2024) | TGRS Research Map | TGRS