Demand-Driven Incremental Object Queries
Yanhong A. Liu, Jon Brandvein, Scott D. Stoller, Bo Lin

TL;DR
This paper presents an automatic, declarative method for efficiently maintaining complex object queries under arbitrary updates by transforming demand and data into relations and incrementally maintaining invariants.
Contribution
It introduces a novel approach that automatically transforms object queries into relation-based representations and maintains invariants for efficient incremental updates.
Findings
Confirmed complexity guarantees through experiments
Achieved significant performance improvements over prior methods
Demonstrated applicability to diverse application areas
Abstract
Object queries are essential in information seeking and decision making in vast areas of applications. However, a query may involve complex conditions on objects and sets, which can be arbitrarily nested and aliased. The objects and sets involved as well as the demand---the given parameter values of interest---can change arbitrarily. How to implement object queries efficiently under all possible updates, and furthermore to provide complexity guarantees? This paper describes an automatic method. The method allows powerful queries to be written completely declaratively. It transforms demand as well as all objects and sets into relations. Most importantly, it defines invariants for not only the query results, but also all auxiliary values about the objects and sets involved, including those for propagating demand, and incrementally maintains all of them. Implementation and experiments…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
