FAQ: Questions Asked Frequently
Not on the map. Why?
Abstract (arXiv)
We define and study the Functional Aggregate Query (FAQ) problem, which encompasses many frequently asked questions in constraint satisfaction, databases, matrix operations, probabilistic graphical models and logic. This is our main conceptual contribution. We then present a simple algorithm called "InsideOut" to solve this general problem. InsideOut is a variation of the traditional dynamic programming approach for constraint programming based on variable elimination. Our variation adds a couple of simple twists to basic variable elimination in order to deal with the generality of FAQ, to take full advantage of Grohe and Marx's fractional edge cover framework, and of the analysis of recent worst-case optimal relational join algorithms. As is the case with constraint programming and graphical model inference, to make InsideOut run efficiently we need to solve an optimization problem to compute an appropriate 'variable ordering'. The main technical contribution of this work is a precise characterization of when a variable ordering is 'semantically equivalent' to the variable ordering given by the input FAQ expression. Then, we design an approximation algorithm to find an equivalent variable ordering that has the best 'fractional FAQ-width'. Our results imply a host of known and a few new results in graphical model inference, matrix operations, relational joins, and logic. We also briefly explain how recent algorithms on beyond worst-case analysis for joins and those for solving SAT and #SAT can be viewed as variable elimination to solve FAQ over compactly represented input functions.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Apr 2015.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 7; 2023: 2; 2024: 1; 2025: 1.
14 papers.
Sort:
- 2022Expressiveness and Approximation Properties of Graph Neural Networkscited by 63
- 2024A Compositional Atlas for Algebraic Circuitscited by 10
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQLcited by 4
- 2022DPMS: An ADD-Based Symbolic Approach for Generalized MaxSAT Solvingcited by 3
- 2022DPO: Dynamic-Programming Optimization on Hybrid Constraintscited by 1
- 2022Coresets for Relational Data and The Applicationscited by 1
- 2025Tractable Responsibility Measures for Ontology-Mediated Query Answeringcited by 1
- 2021Relational Boosted Regression Treescited by 0
- 2021Fine-Tuning Data Structures for Analytical Query Processingcited by 0
- 2022DPER: Dynamic Programming for Exist-Random Stochastic SATcited by 0
- 2022Graphical Join: A New Physical Join Algorithm for RDBMSscited by 0
2 more
- 2025Tractable Responsibility Measures for Ontology-Mediated Query Answering31 Jul 2025
- 2024A Compositional Atlas for Algebraic Circuits7 Dec 2024
- 2023Counting Solutions to Conjunctive Queries: Structural and Hybrid Tractability24 Nov 2023
- 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQL1 Jul 2023
- 2022Coresets for Relational Data and The Applications9 Oct 2022
- 2022Incremental Updates of Generalized Hypertree Decompositions21 Sep 2022
- 2022Graphical Join: A New Physical Join Algorithm for RDBMSs21 Jun 2022
- 2022DPER: Dynamic Programming for Exist-Random Stochastic SAT19 May 2022
- 2022DPO: Dynamic-Programming Optimization on Hybrid Constraints17 May 2022
- 2022DPMS: An ADD-Based Symbolic Approach for Generalized MaxSAT Solving8 May 2022
- 2022Expressiveness and Approximation Properties of Graph Neural Networks10 Apr 2022
- 2021Fine-Tuning Data Structures for Analytical Query Processing24 Dec 2021
2 more
- 2021Relational Boosted Regression Trees25 Jul 2021
- 2021Functional Collection Programming with Semi-Ring Dictionaries10 Mar 2021
- 2022Expressiveness and Approximation Properties of Graph Neural Networkscited by 63
- 2024A Compositional Atlas for Algebraic Circuitscited by 10
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQLcited by 4
- 2022DPMS: An ADD-Based Symbolic Approach for Generalized MaxSAT Solvingcited by 3
- 2022DPO: Dynamic-Programming Optimization on Hybrid Constraintscited by 1
- 2022Coresets for Relational Data and The Applicationscited by 1
- 2025Tractable Responsibility Measures for Ontology-Mediated Query Answeringcited by 1
- 2021Relational Boosted Regression Treescited by 0
- 2021Fine-Tuning Data Structures for Analytical Query Processingcited by 0
- 2022DPER: Dynamic Programming for Exist-Random Stochastic SATcited by 0
- 2022Graphical Join: A New Physical Join Algorithm for RDBMSscited by 0
12 most cited of 14 All 14 (JSON)
- 2025Tractable Responsibility Measures for Ontology-Mediated Query Answering31 Jul 2025
- 2024A Compositional Atlas for Algebraic Circuits7 Dec 2024
- 2023Counting Solutions to Conjunctive Queries: Structural and Hybrid Tractability24 Nov 2023
- 2023JoinBoost: Grow Trees Over Normalized Data Using Only SQL1 Jul 2023
- 2022Coresets for Relational Data and The Applications9 Oct 2022
- 2022Incremental Updates of Generalized Hypertree Decompositions21 Sep 2022
- 2022Graphical Join: A New Physical Join Algorithm for RDBMSs21 Jun 2022
- 2022DPER: Dynamic Programming for Exist-Random Stochastic SAT19 May 2022
- 2022DPO: Dynamic-Programming Optimization on Hybrid Constraints17 May 2022
- 2022DPMS: An ADD-Based Symbolic Approach for Generalized MaxSAT Solving8 May 2022
- 2022Expressiveness and Approximation Properties of Graph Neural Networks10 Apr 2022
- 2021Fine-Tuning Data Structures for Analytical Query Processing24 Dec 2021
12 newest of 14 All 14 (JSON)