Search papers, labs, and topics across Lattice.
The paper introduces Quivr, a framework for synthesizing trajectory queries from example input-output pairs, addressing the challenge of manually tuning real-valued parameters in data processing pipelines for ML model predictions. Quivr employs a parameter space pruning technique and a quantitative semantics to accelerate the synthesis process. Experiments on 17 tasks demonstrate Quivr's ability to synthesize accurate queries and the effectiveness of its optimizations in reducing synthesis time.
Automating the creation of trajectory queries from examples slashes development time by eliminating manual parameter tuning.
Data scientists often need to write programs to process predictions of machine learning models, such as object detections and trajectories in video data. However, writing such queries can be challenging due to the fuzzy nature of real-world data; in particular, they often include real-valued parameters that must be tuned by hand. We propose a novel framework called Quivr that synthesizes trajectory queries matching a given set of examples. To efficiently synthesize parameters, we introduce a novel technique for pruning the parameter space and a novel quantitative semantics that makes this more efficient. We evaluate Quivr on a benchmark of 17 tasks, including several from prior work, and show both that it can synthesize accurate queries for each task and that our optimizations substantially reduce synthesis time.