Skip to main content
QUICK REVIEW

[Paper Review] Transfer Learning for Performance Modeling of Configurable Systems: A Causal Analysis

Mohammad Ali Javidian, Pooyan Jamshidi|arXiv (Cornell University)|Feb 26, 2019
Bayesian Modeling and Causal InferenceComputer Science15 references3 citations
TL;DR

This paper applies causal inference to transfer learning in configurable systems, demonstrating that causal effects of configuration options on performance are identifiable and transportable across diverse environments—such as different hardware, workloads, and software versions—enabling cost-efficient performance modeling without exhaustive retesting.

ABSTRACT

Modern systems (e.g., deep neural networks, big data analytics, and compilers) are highly configurable, which means they expose different performance behavior under different configurations. The fundamental challenge is that one cannot simply measure all configurations due to the sheer size of the configuration space. Transfer learning has been used to reduce the measurement efforts by transferring knowledge about performance behavior of systems across environments. Previously, research has shown that statistical models are indeed transferable across environments. In this work, we investigate identifiability and transportability of causal effects and statistical relations in highly-configurable systems. Our causal analysis agrees with previous exploratory analysis \cite{Jamshidi17} and confirms that the causal effects of configuration options can be carried over across environments with high confidence. We expect that the ability to carry over causal relations will enable effective performance analysis of highly-configurable systems.

Motivation & Objective

  • Address the challenge of high-dimensional configuration spaces in performance modeling of configurable systems.
  • Investigate whether causal effects of configuration options can be identified from observational data.
  • Examine the transportability of causal and statistical relations across different environments (e.g., hardware, workload, software versions).
  • Enable cost-efficient performance prediction by leveraging transferable causal knowledge across environments.
  • Provide a causal foundation for sampling strategies that reduce measurement overhead in performance modeling.

Proposed method

  • Use do-calculus and the do-calculus completeness theorem to formally identify causal effects from observational data.
  • Apply the PC and FCI algorithms to estimate causal structures from configuration-performance data, identifying causal graphs and detecting confounders or selection bias.
  • Model transportability using causal graphs augmented with selection variables (S) to assess recoverability of distributions from biased samples.
  • Apply Theorem 1 from Bareinboim and Pearl (2014) to test s-recoverability: P(y|x) is s-recoverable iff (S ⊥⊥ Y | X), enabling generalization from biased samples.
  • Use causal graphs to identify when causal effects are invariant across environments, supporting transfer learning without retraining.
  • Validate transportability using empirical data from SQLite and XGBoost across multiple environments with varying configurations.

Experimental results

Research questions

  • RQ1Can causal effects of configuration options on performance be identified from observational data in configurable systems?
  • RQ2To what extent are causal and statistical relations about performance behavior transportable across different environments (e.g., hardware, workload, software versions)?
  • RQ3Is it possible to recover conditional probabilities from selection-biased data without external information?
  • RQ4How can causal knowledge guide cost-efficient sampling for performance modeling in configurable systems?
  • RQ5Under what conditions is transportability of causal effects trivial or non-trivial across environmental changes?

Key findings

  • Causal effects of configuration options on performance are identifiable from observational data, even without randomized experiments.
  • Many causal and statistical relations about performance are transportable across environments—even under severe changes like different hardware, workloads, or software versions.
  • Transportability is often trivial: for example, P(test-time|do(colsample-bylevel)) = P(test-time|colsample-bylevel), indicating that interventions do not alter the observed distribution.
  • In most cases, selection bias does not invalidate inference: s-recoverability holds when (S ⊥⊥ Y | X), allowing generalization from sampled subpopulations to the full population.
  • FCI detected selection bias in some cases (e.g., Figure 6a, c), but benign bias was common (e.g., Figure 6b, d), indicating that performance models from sampled configurations are often generalizable.
  • Causal analysis enables reliable, low-cost performance prediction by reusing causal knowledge across environments, reducing the need for new measurements.

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.