mlsanityData to 14 Oct 2026

InferF: Declarative Factorization of AI/ML Inferences over Joins

arXiv 2511.20489 ↗First posted 25 Nov 2025cs.DB cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Real-world AI/ML workflows often apply inference computations to feature vectors joined from multiple datasets. To avoid the redundant AI/ML computations caused by repeated data records in the join's output, factorized ML has been proposed to decompose ML computations into sub-computations to be executed on each normalized dataset. However, there is insufficient discussion on how factorized ML could impact AI/ML inference over multi-way joins. To address the limitations, we propose a novel declarative InferF system, focusing on the factorization of arbitrary inference workflows represented as analyzable expressions over the multi-way joins. We formalize our problem to flexibly push down partial factorized computations to qualified nodes in the join tree to minimize the overall inference computation and join costs and propose two algorithms to resolve the problem: (1) a greedy algorithm based on a per-node cost function that estimates the influence on overall latency if a subset of factorized computations is pushed to a node, and (2) a genetic algorithm for iteratively enumerating and evaluating promising factorization plans. We implement InferF on Velox, an open-sourced database engine from Meta, evaluate it on real-world datasets, observed up to 11.3x speedups, and systematically summarized the factors that determine when factorized ML can benefit AI/ML inference workflows.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 104 references that are in the map. First posted on arXiv 25 Nov 2025.

Builds on

22 of 104 references.

References · 22

  1. 2022The Stack: 3 TB of permissively licensed source codecited by 359
  2. 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
  3. 2018Apache Calcite: A Foundational Framework for Optimized Query Processing Over Heterogeneous Data Sourcescited by 25
  4. 2019SystemDS: A Declarative Machine Learning System for the End-to-End Data Science Lifecyclecited by 20
  5. 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
  6. 2022Serving Deep Learning Models with Deduplication from Relational Databasescited by 15
  7. 2022Yggdrasil Decision Forests: A Fast and Extensible Decision Forests Librarycited by 13
  8. 2016Towards Linear Algebra over Normalized Datacited by 12
  9. 2019Declarative Recursive Computation on an RDBMS, or, Why You Should Use a Database For Distributed Machine Learningcited by 12
  10. 2019A Layered Aggregate Engine for Analytics Workloadscited by 12
  11. 2020Tensor Relational Algebra for Machine Learning System Designcited by 11
  12. 2018AC/DC: In-Database Learning Thunderstruckcited by 6
10 more
  1. 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
  2. 2017PlinyCompute: A Platform for High-Performance, Distributed, Data-Intensive Tool Developmentcited by 5
  3. 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQLcited by 4
  4. 2024PyTond: Efficient Python Data Science on the Shoulders of Databasescited by 4
  5. 2018Pangea: Monolithic Distributed Storage for Data Analyticscited by 3
  6. 2018Functional Aggregate Queries with Additive Inequalitiescited by 3
  7. 2023DeepMapping: Learned Data Mapping for Lossless Compression and Efficient Lookupcited by 2
  8. 2023Serving Deep Learning Model in Relational Databasescited by 2
  9. 2024PARQO: Penalty-Aware Robust Plan Selection in Query Optimizationcited by 2
  10. 2025Privacy and Accuracy-Aware AI/ML Model Deduplicationcited by 2

Built on by

Not cited yet.