Search arXiv⌕ Search

arXiv subjects

Zixin Wei

Publications and source records attributed to Zixin Wei.

2 recordsLinked to original sources

SemMV: Materialized Views for Semantic Query Processing over Evolving Data

Semantic query processing extends databases with semantic predicates evaluated by large language models (LLMs). Since LLM inference dominates the cost of semantic queries, existing systems employ various query optimization strategies to reduce this cost. Optimizing queries in isolation, however, overlooks redundant LLM calls across related queries that repeatedly access incrementally changing data. Exploiting this redundancy poses three challenges: determining which prior results can be reused, efficiently evaluating the rows those results leave undecided, and deciding when to refresh stored results as data change. In this paper, we present SemMV, a system that reduces semantic query processing cost by reusing prior results through materialized views. Specifically, SemMV comprises four components to address the aforementioned challenges. First, the validator conservatively judges relations between predicates to reduce the risk of incorrect reuse. Second, the query rewriter translates these relations into execution plans that reuse stored decisions to eliminate redundant LLM calls. Third, the two-sided scan algorithm reduces LLM calls on undecided rows, stopping when estimated precision and recall reach the specified target. Fourth, the maintenance manager proactively refreshes a view only when the expected savings from its reuse outweigh the refresh cost. Experiments on various real-world datasets and query workloads show that SemMV achieves a 57% reduction in total LLM calls and a 40% reduction in average query latency compared with re-executing every query, while keeping recall and precision against reference labels within 1% of the re-execution baseline.

cs.DB↗

Revisiting Task-Oriented Dataset Search in the Era of Large Language Models: Challenges, Benchmark, and Solution

The search for suitable datasets is the critical "first step" in data-driven research, but it remains a great challenge. Researchers often need to search for datasets based on high-level task descriptions. However, existing search systems struggle with this task due to ambiguous user intent, task-to-dataset mapping and benchmark gaps, and entity ambiguity. To address these challenges, we introduce KATS, a novel end-to-end system for task-oriented dataset search from unstructured scientific literature. KATS consists of two key components, i.e., offline knowledge base construction and online query processing. The sophisticated offline pipeline automatically constructs a high-quality, dynamically updatable task-dataset knowledge graph by employing a collaborative multi-agent framework for information extraction, thereby filling the task-to-dataset mapping gap. To further address the challenge of entity ambiguity, a unique semantic-based mechanism is used for task entity linking and dataset entity resolution. For online retrieval, KATS utilizes a specialized hybrid query engine that combines vector search with graph-based ranking to generate highly relevant results. Additionally, we introduce CS-TDS, a tailored benchmark suite for evaluating task-oriented dataset search systems, addressing the critical gap in standardized evaluation. Experiments on our benchmark suite show that KATS significantly outperforms state-of-the-art retrieval-augmented generation frameworks in both effectiveness and efficiency, providing a robust blueprint for the next generation of dataset discovery systems.

cs.DB↗