[Paper Review] Learning-based Automatic Parameter Tuning for Big Data Analytics Frameworks
This paper proposes AutoTune, a learning-based automatic parameter tuning system for big data analytics frameworks (BDAFs) that uses a smaller-scale testbed to generate more training samples and improve prediction model accuracy within time constraints. It combines Latin hypercube sampling and multiple bound-and-search to explore high-dimensional parameter spaces, achieving 63.70% average improvement over default configurations and 6%-23% over state-of-the-art methods on Spark workloads.
Big data analytics frameworks (BDAFs) have been widely used for data processing applications. These frameworks provide a large number of configuration parameters to users, which leads to a tuning issue that overwhelms users. To address this issue, many automatic tuning approaches have been proposed. However, it remains a critical challenge to generate enough samples in a high-dimensional parameter space within a time constraint. In this paper, we present AutoTune--an automatic parameter tuning system that aims to optimize application execution time on BDAFs. AutoTune first constructs a smaller-scale testbed from the production system so that it can generate more samples, and thus train a better prediction model, under a given time constraint. Furthermore, the AutoTune algorithm produces a set of samples that can provide a wide coverage over the high-dimensional parameter space, and searches for more promising configurations using the trained prediction model. AutoTune is implemented and evaluated using the Spark framework and HiBench benchmark deployed on a public cloud. Extensive experimental results illustrate that AutoTune improves on default configurations by 63.70% on average, and on the five state-of-the-art tuning algorithms by 6%-23%.
Motivation & Objective
- To address the challenge of limited sampling in high-dimensional parameter spaces for BDAF tuning under time constraints.
- To improve prediction model accuracy for performance optimization by using a smaller-scale testbed that mirrors production system behavior.
- To develop an efficient search algorithm that balances exploration and exploitation in parameter space.
- To outperform default configurations and existing tuning algorithms in execution time reduction on Spark workloads.
- To enable practical, automated, and scalable parameter tuning for real-world big data applications.
Proposed method
- Construct a smaller-scale testbed from the production system to accelerate training sample generation while preserving performance variation characteristics.
- Use Latin hypercube sampling (LHS) to generate diverse and well-distributed samples across the high-dimensional parameter space.
- Train a random forest-based performance prediction model on the testbed to estimate application execution time for different configurations.
- Apply multiple bound-and-search to iteratively refine the search space around promising configurations identified by the prediction model.
- Balance time allocation between testbed training, exploration, and final validation on the production system to maximize tuning efficiency.
- Integrate testbed and production system workflows to validate and select the best configuration under a fixed time budget.
Experimental results
Research questions
- RQ1Can a smaller-scale testbed effectively capture performance variation across configurations while enabling faster training sample generation?
- RQ2How can sampling strategies like Latin hypercube sampling improve coverage and efficiency in high-dimensional parameter spaces?
- RQ3To what extent can a learned prediction model combined with bound-and-search outperform random or heuristic-based tuning in BDAF configuration?
- RQ4How does the AutoTune framework compare in performance improvement against default configurations and existing state-of-the-art tuning algorithms?
- RQ5What is the trade-off between exploration, exploitation, and validation time in automated parameter tuning under time constraints?
Key findings
- AutoTune improves average execution time by 63.70% compared to default configurations on Spark workloads in the HiBench benchmark.
- AutoTune achieves 6% to 23% improvement over five state-of-the-art tuning algorithms: BestConfig, RFHOC, Hyperopt, SMAC, and Random.
- The system demonstrates stable and significant performance gains across seven diverse big data applications, including WordCount, PageRank, and GBT.
- Random search performs surprisingly well, but AutoTune consistently outperforms it by 7.35% on average, validating the effectiveness of its learning and search strategy.
- The use of a testbed enables more than 100x speedup in sample generation compared to direct production system tuning, allowing better model training within time limits.
- The multiple bound-and-search mechanism effectively narrows down the search space around high-performing configurations, improving convergence and efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.