Back to results

The Ohio State University

API Design and Middleware Optimization for Big Data and Machine Learning Applications

Abstract

dc:description

The past decade has witnessed the success of big data processing frameworks, which provide simple interfaces to parallelize and scale applications efficiently. Comparing the design of MapReduce, Spark, and Reduction Object paradigm, we identified that the design of pattern-based Application Programming Interfaces (APIs) can significantly impact the captured application types as well as middleware performance. Therefore, by concluding common patterns in popular big-data and machine learning applications, we want to build new frameworks with both expressive interfaces and efficient middleware, to achieve better parallelism, locality, programmability, fault tolerance, and coverage of applications.To approach this, Chapter 2 studies the impact of API design on programmability and middleware performance of MapReduce(-like) frameworks. Specifically, we introduce two different variations of the original MapReduce API and efficient implementations of all three APIs. Through performance comparison and modeling, we identify that though MapReduce and similar frameworks have demonstrated high programmability, they fall short in terms of performance. We show that Reduction-Object-based APIs, which only require small additional effort from programmers, can provide high performance.Following this work, in Chapter 3, we built a high-throughput stream processing framework that offers a high-level API to the users (similar to Reduction Object), is fault-tolerant, and is also more efficient and scalable than current solutions. Particularly, a cost-efficient MPI/OpenMP-based fault-tolerant scheme is incorporated so that the system can survive node failures with only a modest degradation of performance. A comparison against state-of-the-art streaming frameworks shows our system boosts the throughput of test cases by up to 10X and achieves desirable parallelism when scaled out.In the fast-evolving Internet of Things (IoT) scenario, we envision the potential of leveraging established pattern-based APIs to resolve the challenges of (1) automatically distributing the work between different devices to reduce application latency and (2) parallelizing operations on each multi-core device. Motivated by the popularity of MapReduce(- like) frameworks, in Chapter 4, we develop a pattern-based high-level programming API targeting computer vision applications for the Edge/Fog paradigm with parallelism within devices. Based on this API, parallelization, workload distribution, and optimizations that account for IoT devices’ resource limitations, are implemented. Our evaluation shows a 17-45% speedup over OpenCV and desirable load-balancing performance.A more recent trend is to deploy accurate and robust convolution neural networks (CNN) models on edge devices to cooperate with or replace traditional pattern recognition algorithms. Chapter 5 proposes an efficient sparse inference strategy combining direct sparse convolution and fusion. We improve the locality of intermediate results while reducing fusion overhead through loop re-ordering and tiling. We also demonstrate a scalable implementation that utilizes both multi-core and SIMD parallelism. Experiments show that our scheme significantly outperforms existing implementations on an edge device, while also scaling better on multi-core platforms. On top of this design, Chapter 6 brings in state-of-the-art pattern-based sparsity, which uses pre-defined kernel patterns, leading to a high pruning rate while maintaining low accuracy loss. With regrouping of similar patterns and re-structured fusion design, we show that the pattern-based approach and fusion can work together to further improve the inference of sparse CNN on edge devices.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Computer Science and Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Guo, Jia
Advisors dc:contributor.advisor
  • Agrawal, Gagan
  • Teodorescu, Radu

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Guo, Jia. API Design and Middleware Optimization for Big Data and Machine Learning Applications. doctoral thesis, The Ohio State University, 2021. http://rave.ohiolink.edu/etdc/view?acc_num=osu1624032644718137