Skip to main content
QUICK 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 Science参考文献 15被引用 3
一句话总结

本文将因果推断应用于可配置系统中的迁移学习,证明了配置选项对性能的因果效应可在不同环境(如不同硬件、工作负载和软件版本)之间被识别并可迁移,从而实现无需全面重新测试的低成本性能建模。

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.

研究动机与目标

  • 解决可配置系统性能建模中高维配置空间的挑战。
  • 探究能否从观测数据中识别出配置选项的因果效应。
  • 检验因果关系与统计关系在不同环境(如硬件、工作负载、软件版本)之间的可迁移性。
  • 通过跨环境复用可迁移的因果知识,实现低成本的性能预测。
  • 为降低性能建模中测量开销的采样策略提供因果基础。

提出的方法

  • 使用 do-演算及 do-演算完备性定理,从观测数据中形式化识别因果效应。
  • 应用 PC 和 FCI 算法从配置-性能数据中估计因果结构,识别因果图并检测混淆因子或选择偏差。
  • 通过引入选择变量(S)扩展因果图,建模可迁移性,以评估从有偏样本中恢复分布的能力。
  • 应用 Bareinboim 和 Pearl(2014)的定理 1 检验 s-可恢复性:当且仅当 (S ⊥⊥ Y | X) 时,P(y|x) 是 s-可恢复的,从而实现从有偏样本中的一般化。
  • 利用因果图识别因果效应在不同环境中是否保持不变,支持无需微调的迁移学习。
  • 使用 SQLite 和 XGBoost 在多种配置下具有差异的环境中的实证数据验证可迁移性。

实验结果

研究问题

  • RQ1能否从可配置系统中观测数据中识别出配置选项对性能的因果效应?
  • RQ2关于性能行为的因果关系与统计关系在不同环境(如硬件、工作负载、软件版本)之间的可迁移程度如何?
  • RQ3在无外部信息的情况下,能否从选择性偏差数据中恢复条件概率?
  • RQ4因果知识如何指导可配置系统中性能建模的低成本采样?
  • RQ5在环境变化下,因果效应的可迁移性在何种条件下为平凡或非平凡?

主要发现

  • 即使没有随机实验,也能从观测数据中识别出配置选项对性能的因果效应。
  • 许多关于性能的因果关系与统计关系可在不同环境中实现可迁移性——即使在硬件、工作负载或软件版本发生剧烈变化时亦然。
  • 可迁移性在多数情况下为平凡情形:例如,P(test-time|do(colsample-bylevel)) = P(test-time|colsample-bylevel),表明干预不会改变观测分布。
  • 在大多数情况下,选择偏差不会破坏推断:当 (S ⊥⊥ Y | X) 时,s-可恢复性成立,从而可从样本子群体推广至全群体。
  • FCI 在某些情况下检测到选择偏差(如图6a、c),但良性偏差更为常见(如图6b、d),表明从采样配置中构建的性能模型通常具有可推广性。
  • 因果分析通过跨环境复用因果知识,实现可靠且低成本的性能预测,显著减少对新测量的需求。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。