Tandem Inference: An Out-of-Core Streaming Algorithm for Very Large-Scale Relational Inference
Sriram Srinivasan, Eriq Augustine, Lise Getoor
Abstract
Statistical relational learning (SRL) frameworks allow users to create large, complex graphical models using a compact, rule-based representation. However, these models can quickly become prohibitively large and not fit into machine memory. In this work we address this issue by introducing a novel technique called tandem inference (ti). The primary idea of ti is to combine grounding and inference such that both processes happen in tandem. ti uses an out-of-core streaming approach to overcome memory limitations. Even when memory is not an issue, we show that our proposed approach is able to do inference faster while using less memory than existing approaches. To show the effectiveness of ti, we use a popular SRL framework called Probabilistic Soft Logic (PSL). We implement ti for PSL by proposing a gradient-based inference engine and a streaming approach to grounding. We show that we are able to run an SRL model with over 1B cliques in under nine hours and using only 10 GB of RAM; previous approaches required more than 800 GB for this model and are infeasible on common hardware. To the best of our knowledge, this is the largest SRL model ever run.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 384140a3-93eb-458e-a86f-2d266143c967Cited by top-tier papers2
- Collective Grounding: Applying Database Techniques to Grounding Templated ModelsEriq Augustine, Lise GetoorVLDB 2023 · 1 citation
- Context-Aware Online Collective Inference for Templated Graphical ModelsCharles Dickens, Connor Pryor, Eriq Augustine, Alexander Miller et al.ICML 2021 · 1 citation
Related papers
- BOWL: Bayesian Optimization for Weight Learning in Probabilistic Soft LogicSriram Srinivasan, Golnoosh Farnadi, Lise GetoorAAAI 2020 · 4 citations
- Differentiable Neuro-Symbolic Reasoning on Large-Scale Knowledge GraphsShengyuan Chen, Yunfeng Cai, Huang Fang, Xiao Huang et al.NeurIPS 2023 · 56 citations
- Probabilistic Reasoning at Scale: Trigger Graphs to the RescueEfthymia Tsamoura, Jaehun Lee, Jacopo UrbaniSIGMOD 2023
- Disentangle-based Continual Graph Representation LearningXiaoyu Kou, Yankai Lin, Shaobo Liu, Peng Li et al.EMNLP 2020 · 26 citations
- Extending Complex Logical Queries on Uncertain Knowledge GraphsWeizhi Fei, Zihao Wang, Hang Yin, Yang Duan et al.ACL 2025
