Skip to main content
QUICK REVIEW

[Paper Review] Faster Discovery of Faster System Configurations with Spectral Learning

Vivek Nair, Tim Menzies|arXiv (Cornell University)|Jan 27, 2017
Software Engineering ResearchComputer Science37 references25 citations
TL;DR

This paper proposes WHAT, a spectral learning approach that uses eigenvalues of the distance matrix between software configurations to enable dimensionality reduction, allowing accurate and stable performance prediction with far fewer samples—just a few dozen—than prior methods. It achieves lower prediction error (under 10%) and standard deviation (under 2%) while reducing sample requirements by 2–10× compared to state-of-the-art techniques.

ABSTRACT

Despite the huge spread and economical importance of configurable software systems, there is unsatisfactory support in utilizing the full potential of these systems with respect to finding performance-optimal configurations. Prior work on predicting the performance of software configurations suffered from either (a) requiring far too many sample configurations or (b) large variances in their predictions. Both these problems can be avoided using the WHAT spectral learner. WHAT's innovation is the use of the spectrum (eigenvalues) of the distance matrix between the configurations of a configurable software system, to perform dimensionality reduction. Within that reduced configuration space, many closely associated configurations can be studied by executing only a few sample configurations. For the subject systems studied here, a few dozen samples yield accurate and stable predictors - less than 10% prediction error, with a standard deviation of less than 2%. When compared to the state of the art, WHAT (a) requires 2 to 10 times fewer samples to achieve similar prediction accuracies, and (b) its predictions are more stable (i.e., have lower standard deviation). Furthermore, we demonstrate that predictive models generated by WHAT can be used by optimizers to discover system configurations that closely approach the optimal performance.

Motivation & Objective

  • To address the challenge of discovering performance-optimal configurations in large, complex software systems with minimal sampling.
  • To overcome the limitations of prior methods that require excessive samples or suffer from high prediction variance.
  • To develop a scalable, stable, and accurate method for predicting system performance using a small number of representative configurations.
  • To enable efficient use of surrogate models in optimization by generating reliable, low-variance predictors.
  • To demonstrate the effectiveness of spectral clustering via the first principal component for sampling configuration spaces.

Proposed method

  • The method uses the spectrum (eigenvalues) of the distance matrix between configurations to perform spectral dimensionality reduction.
  • It recursively partitions the configuration space using an approximation to the first principal component, identifying clusters of similar configurations.
  • A small number of representative configurations are selected from each cluster based on their spectral properties to minimize sampling cost.
  • The approach leverages the intrinsic low dimensionality of configuration spaces, as measured by correlation dimension, to guide sampling.
  • It employs a distance-based similarity metric (Euclidean) to group configurations and identify informative samples.
  • The resulting model is used as a surrogate predictor for off-the-shelf optimizers to find near-optimal configurations.

Experimental results

Research questions

  • RQ1Can spectral learning reduce the number of required samples for performance prediction in configurable software systems while maintaining or improving accuracy?
  • RQ2How does the use of the first principal component of the configuration space's distance matrix improve sampling efficiency and prediction stability?
  • RQ3To what extent can the resulting predictor models be used effectively by standard optimization algorithms to discover near-optimal configurations?
  • RQ4How does the intrinsic dimensionality of configuration spaces affect the performance of spectral sampling strategies?
  • RQ5Can the proposed method outperform state-of-the-art approaches in terms of both sample efficiency and prediction variance?

Key findings

  • WHAT achieves prediction errors below 10% and standard deviations below 2% using only a few dozen samples across six real-world systems.
  • The method reduces sample requirements by 2 to 10 times compared to state-of-the-art approaches while matching or improving prediction accuracy.
  • Prediction models generated by WHAT are stable and effective, enabling off-the-shelf optimizers to discover near-optimal configurations across all tested systems.
  • The intrinsic dimensionality of the configuration spaces, as measured by correlation dimension, is low, which explains the method’s strong performance.
  • WHAT outperforms Siegmund et al. and Guo et al. in accuracy and stability, and matches Sarkar et al. in accuracy with significantly fewer samples.
  • The approach is robust across diverse systems, including Berkeley DB, Apache, SQLite, LLVM, and x264, demonstrating broad applicability.

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.