Enabling and Optimizing Non-linear Feature Interactions in Factorized Linear Algebra

被引:20
作者
Li, Side [1 ]
Chen, Lingjiao [2 ]
Kumar, Arun [1 ]
机构
[1] Univ Calif San Diego, La Jolla, CA 92093 USA
[2] Univ Wisconsin, Madison, WI USA
来源
SIGMOD '19: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA | 2019年
关键词
D O I
10.1145/3299869.3319878
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Accelerating machine learning (ML) over relational data is a key focus of the database community. While many real-world datasets are multi-table, most ML tools expect single-table inputs, forcing users to materialize joins before ML, leading to data redundancy and runtime waste. Recent works on "factorized ML" address such issues by pushing ML through joins. However, they have hitherto been restricted to ML models linear in the feature space, rendering them less effective when users construct non-linear feature interactions such as pairwise products to boost ML accuracy. In this work, we take a first step towards closing this gap by introducing a new abstraction to enable pairwise feature interactions in multi-table data and present an extensive framework of algebraic rewrite rules for factorized LA operators over feature interactions. Our rewrite rules carefully exploit the interplay of the redundancy caused by both joins and interactions. We prototype our framework in Python to build a tool we call MorpheusFI. An extensive empirical evaluation with both synthetic and real datasets shows that MorpheusFI yields up to 5x speedups over materialized execution for a popular second-order gradient method and even an order of magnitude speedups over a popular stochastic gradient method.
引用
收藏
页码:1571 / 1588
页数:18
相关论文
共 50 条
  • [31] Study of the "non-Abelian" current algebra of a non-linear σ-model
    Ghosh, Subir
    PHYSICS LETTERS B, 2006, 640 (1-2) : 64 - 67
  • [32] Non-linear interactions in cosmologies with energy exchange
    John D. Barrow
    Georgia Kittou
    The European Physical Journal C, 2020, 80
  • [33] Non-linear derivative interactions in relativistic hadrodynamics
    Gaitanos, T.
    Kaskulov, M.
    Mosel, U.
    NUCLEAR PHYSICS A, 2009, 828 (1-2) : 9 - 28
  • [34] Clustering non-linear interactions in factor analysis
    Amorim, Erick da Conceicao
    Mayrink, Vinicius Diniz
    METRON-INTERNATIONAL JOURNAL OF STATISTICS, 2020, 78 (03): : 329 - 352
  • [35] NON-LINEAR WAVE INTERACTIONS IN AN ACOUSTIC RESONATOR
    KHAZANOV, IV
    SOVIET PHYSICS ACOUSTICS-USSR, 1980, 26 (05): : 447 - 450
  • [36] Non-linear interactions in cosmologies with energy exchange
    Barrow, John D.
    Kittou, Georgia
    EUROPEAN PHYSICAL JOURNAL C, 2020, 80 (02):
  • [37] CP INVARIANCE AND NON-LINEAR PION INTERACTIONS
    GUPTA, V
    BISWAS, SN
    NUOVO CIMENTO, 1960, 16 (05): : 971 - 972
  • [38] NON-LINEAR INTERACTIONS BETWEEN ELECTROMAGNETIC FIELDS
    KARPLUS, R
    NEUMAN, M
    PHYSICAL REVIEW, 1950, 80 (03): : 380 - 385
  • [39] NON-LINEAR RADIATIVE INTERACTIONS IN GENERAL RELATIVITY
    COUCH, WE
    KINNERSLEY, WM
    TORRENCE, RJ
    PHYSICS LETTERS A, 1970, A 31 (10) : 576 - +
  • [40] NON-LINEAR INTERACTIONS POINT TO LASER ADVANCES
    不详
    CURRENT SCIENCE, 1962, 31 (08): : 359 - &