Skip to main content

2027

  1. Under review

    Beyond Retrieval: Analytic Memory for Multimodal Agents opens in a new tab

    Zhoujin Tian, Hao Zhang, Yao Tian*, Cheng Chen, Yakun Li, Lei Zhang, Xiaofang Zhou

    Abstract

    Long-term multimodal memory must support not only retrieving relevant information but also computing over observations accumulated across interactions. Existing systems largely emphasize retrieval memory, organizing interaction histories through summaries and indexes to return query-relevant information at multiple granularities, from high-level abstractions to underlying records. In this paper, we formulate analytic memory as a complementary abstraction that organizes recurring multimodal observations into queryable structures supporting filtering, aggregation, ranking, and temporal comparison. We present AdaMM, a framework that jointly supports retrieval and analytic memory. Rather than relying on application-defined schemas, AdaMM extracts provenance-linked attribute-value observations from dialogue, images, and contextual metadata, discovers recurring field structures, and materializes them for analytical access. At inference time, a memory-aware planner decomposes queries into retrieval and analytic operations and routes each operation to the appropriate tools. Experiments on two long-term multimodal memory benchmarks, MemEye and MemGallery, show that AdaMM improves performance by up to 11.3% and 6.9%, respectively.

    Source
  2. Under review

    DocNavRAG: Document-Structured Graph RAG with Stateful Evidence Construction for Complex Document Question Answering opens in a new tab

    Dongyang Xie, Yao Tian, Hao Zhang, Yifei Yuan, Tieyun Qian, Ming Zhong, Jiawei Jiang, Yuanyuan Zhu

    Abstract

    Answering complex questions over large document collections requires assembling complementary evidence across sections and documents. Existing Retrieval-Augmented Generation (RAG) approaches combine structured retrieval with adaptive reasoning, but typically rely either on fixed graph traversal or on weakly structured interfaces. On this basis, we propose an agentic framework that learns to navigate document structure within and across documents rather than repeatedly search from scratch. We introduce DocNavRAG, which organizes document hierarchies and cross-region relationships into a navigable graph and exposes graph operations for locating, navigating, expanding, and fetching within an agentic framework. Throughout retrieval, DocNavRAG maintains an evolving evidence state that guides exploration until sufficient evidence has been gathered. We show that across four long- and multi-document QA benchmarks, DocNavRAG improves answer quality and context sufficiency over the strongest baseline by 7.8% and 17.7% on average.

    Source
  3. Under review

    Graphtor: Orchestrating Billion-Scale Proximity Graph Construction on GPUs

    Yuming Xu, Yao Tian, Bo Kuang, Yuncheng Lu, Hao Zhang, Jiehui Li, Yakun Li, Cheng Li

    Abstract

    Proximity graphs are a core index for approximate nearest neighbor (ANN) search. Existing work primarily optimizes query-time traversal, treating graph construction as one-time offline preprocessing. In production, however, graphs must be rebuilt as datasets grow, embeddings are upgraded, and workloads evolve. Because constructing a high-quality graph can take hours or even days, rebuilding becomes a recurring operational bottleneck. This motivates a heterogeneous deployment model: build on GPUs for speed; serve on CPUs for cost.

    We present Graphtor, a GPU-native system for constructing high-quality, large-scale proximity graphs ready to be served on CPUs. Our key insight is that construction is stateful and phase-heterogeneous: candidate generation and neighbor pruning stress different resources and require different levels of accuracy, so no single GPU execution strategy is efficient throughout. Graphtor makes this structure explicit and co-designs phase execution, data precision, memory management, and multi-GPU orchestration to minimize end-to-end construction cost. At comparable recall, Graphtor reduces construction time from days to hours, and in some cases to minutes. It achieves up to 9× speedup over the strongest prior GPU baseline, supports graphs up to 3.5× larger on a single GPU, scales to billion-scale datasets, and reduces cost by up to 88% and 97% relative to state-of-the-art GPU and CPU-based systems, respectively.

  4. SIGMOD

    RaP: A Redirect-and-Patch Framework for Efficient Dynamic Updates in Graph-Based ANN Indexes

    Zhoujin Tian, Xi Zhao, Yao Tian, Zhengjun Huang, Xiaofang Zhou

    Abstract

    Graph-based approximate nearest neighbor (ANN) indexes, such as HNSW and NSG, achieve state-of-the-art search performance by exploiting heterogeneous proximity graphs. However, efficient deletion remains challenging because removing a node can simultaneously disrupt local connectivity and global navigability, and repairing the graph without compromising its heterogeneous structure is difficult. In this paper, we show that heterogeneous edges in approximate proximity graphs (APGs) play distinct roles in query navigation and leverage this insight to propose a Redirect-and-Patch (RaP) framework for deletion handling. RaP uses local patching to identify the local-scale affected region and restore short-range connectivity via a pruning-based approximation of graph construction, and uses global redirection to preserve long-range navigability without explicit long-range affected-region identification. We implement RaP on HNSW and further introduce two practical optimizations for efficient repair. Experiments on six datasets show that RaP preserves graph quality and query performance under continuous updates while achieving high update efficiency, outperforming existing dynamic graph-based ANN methods.

  5. Under review

    IGMem: Interaction-Grounded Memory for Multimodal Multi-Party Conversations opens in a new tab

    Zhoujin Tian, Yao Tian, Zhengjun Huang, Junle Chen, Hao Zhang, Xiaofang Zhou

    Abstract

    Agent memory for multimodal multi-party conversations aims to support recall and reasoning about past interactions and events, whose constituent information is often distributed across participants, turns, and modalities. Building such memory is challenging for two reasons: information about the same event can be scattered across different speakers, turns, and modalities, and different participants may attend to different parts of the same multimodal content. Existing approaches typically organize memory by temporal proximity, semantic similarity, or generic visual content, but overlook these interaction-dependent relationships, leaving event information fragmented or ignored. To address these challenges, we introduce IGMem, a novel Interaction-Grounded Memory framework for multimodal multi-party conversations. Our key insight is that each response provides a signal for connecting distributed sources and selecting the particular content relevant to it. Specifically, IGMem first recovers the interaction flow from multiple conversational cues, and then compiles the relevant textual and visual evidence into response-centered memory units. Such memory units brings information belonging to the same event together, making it easier to retrieve and reason over past information. Extensive experiments show that IGMem outperforms competitive baselines on two benchmarks across different backbones. Our code is available at https://anonymous.4open.science/r/IGMem.

    Source
  6. Under review

    GATOR: Granularity-Aware Token-Optimized Routing for Efficient Multimodal Retrieval opens in a new tab

    Zhengjun Huang, Zhoujin Tian, Junle Chen, Xujian Liang, Yao Tian, Hao Zhang, Liyi Zeng, Qintian Guo, Zhaoquan Gu, Xiaofang Zhou

    Abstract

    Multimodal agents rely on external memory to access evidence beyond a finite context window, yet reading retrieved evidence remains costly. A document page may be represented as a caption, full text, or an image, with costs differing by more than an order of magnitude. Retaining rich representations can waste budget, whereas uniformly choosing cheap ones can discard answer-critical evidence. We propose GATOR, a cost-aware router that complements relevance ranking with query-dependent granularity selection. Under an explicit token budget, its greedy selector balances relevance, redundancy, and cost, retaining at most one representation per page while promoting coverage across pages. A lightweight scorer learns representation preferences from automatically derived weak supervision and on-policy distillation, without LLM calls during training. The same selector accepts host retrieval scores, enabling integration with existing memory systems without retraining or re-indexing them. On UniDoc and MMDocRAG, standalone GATOR reduces token-equivalent evidence cost by 41.3% and 59.4% relative to Vanilla RAG while improving answer F1. Mounted on Mem0 and A-Mem, it reduces evidence cost by up to 88.5%, with observed F1 changes ranging from −0.011 to +0.042.

    Source
  7. Under review

    Optimizing SSD-Resident Graph Indexing for High-Throughput Vector Search opens in a new tab

    Weichen Zhao, Yuncheng Lu, Yao Tian, Hao Zhang, Jiehui Li, Minghao Zhao, Yakun Li, Weining Qian

    Abstract

    Graph-based approximate nearest neighbor search (ANNS) methods (e.g., HNSW) have become the de facto state of the art for their high precision and low latency. To scale beyond main memory, recent out-of-memory ANNS systems leverage SSDs to store large vector indexes. However, they still suffer from severe CPU underutilization and read amplification (i.e., storage stalls) caused by limited access locality during graph traversal. We present VeloANN, which mitigates storage stalls through a locality-aware data layout and a coroutine-based asynchronous runtime. VeloANN utilizes hierarchical compression and affinity-based data placement scheme to co-locate related vectors within the same page, effectively reducing fragmentation and over-fetching. We further design a record-level buffer pool, where each record groups the neighbors of a vector; by persistently retaining hot records in memory, it eliminates excessive page swapping under constrained memory budgets. To minimize CPU scheduling overheads during disk I/O interruptions, VeloANN employs a coroutine-based asynchronous runtime for lightweight task scheduling. On top of this, it incorporates asynchronous prefetching and a beam-aware search strategy to prioritize cached data, ultimately improving overall search efficiency. Extensive experiments show that VeloANN outperforms state-of-the-art disk-based ANN systems by up to 5.8× in throughput and 3.25× in latency reduction, while achieving 0.92× the throughput of in-memory systems using only 10% of their memory footprint.

    Source
  8. Under review

    VERUM: Resource-Efficient Multi-Vector Retrieval for On-Device Intelligence

    Juncheng Zhang, Yao Tian, Hao Zhang, Zhang Cao, Patrick P. C. Lee

    Abstract

    On-device intelligence increasingly depends on high-quality multi-vector retrieval from users’ private multimodal data. Existing multi-vector retrieval approaches are often expensive for on-device execution in storage, I/O, memory, computation, and energy. Unified memory removes explicit CPU--GPU copies, but not resource contention: CPUs and GPUs still share scarce memory capacity and bandwidth, while fine-grained GPU dispatch and synchronization remain expensive. We present VERUM, a multi-vector retrieval system for unified-memory SoCs. VERUM adopts matrix compression to enable GPU computation directly on compressed records without reconstruction to the raw format. It applies speculative graph expansion to form larger GPU batches and sample-based pruning to limit the resulting extra work. It further coalesces SSD reads and overlaps I/O with GPU computation under a bounded memory footprint. Across eight workloads on an Apple M5 Pro MacBook, four of which are further evaluated on an iPhone 17, VERUM is on average 2.2× faster than the lowest-latency competing system at comparable recall, with speedups of up to 8.5×. It also reduces SoC energy per query by up to 79% relative to the lowest-energy competing system and limits storage to 26--31% of the raw token-vector footprint.

  9. Under review

    FreQuant: Frequency-Based Symmetric Quantization for Efficient Vector Search with Theoretical Guarantees

    Xi Zhao, Yao Tian, Zhoujin Tian, Kai Huang, Xiaofang Zhou

    Abstract

    Vector search repeatedly requires evaluating distances in refined full scans, hash candidate generation, and proximity-graph construction and traversal. Existing low-bit quantization reduces memory traffic, but designs optimized for asymmetric query-to-code scoring are difficult to reuse for stored-vector comparisons and hash lookup, often forcing systems to maintain multiple representations.

    In this paper, we present FreQuant, a normalization-free symmetric quantizer based on Euclidean-LSH bucket differences. Its practical encoder combines an orthogonalized Gaussian random projection with data-aware finite buckets, and one packed code supports refined scans, hash filtering and ranking, insertion- and join-style graph construction, and graph traversal. For independent Gaussian LSH, we derive the exact bucket-difference distribution and a consistent likelihood estimator; a continuous approximation yields an OP(1/√s) closed-form estimator whose rank-equivalent score is a regular SIMD integer reduction.

    Across five datasets, FreQuant retains competitive reranked accuracy against maintainer RaBitQ/TurboQuant and equal-budget SQ4/PQ4. It delivers up to 4.02× the packed full-scan throughput of the fastest equal-budget compressed baseline and builds insertion graphs up to 5.86× faster than fp32 once codes are available; join construction and native traversal identify where bookkeeping or query quantization limits shared-code reuse.

BibTeX

2026

  1. SIGMOD

    GEM: A Native Graph-based Index for Multi-Vector Retrieval opens in a new tab

    Yao Tian, Zhoujin Tian, Xi Zhao, Ruiyuan Zhang, Xiaofang Zhou

    Abstract

    In multi-vector retrieval, both queries and data are represented as sets of high-dimensional vectors, enabling finer-grained semantic matching and improving retrieval quality over single-vector approaches. However, its practical adoption is held back by the lack of effective indexing algorithms. Existing work, attempting to reuse standard single-vector indexes, often fails to preserve multi-vector semantics or remains slow. In this work, we present GEM, a native indexing framework for multi-vector representations. The core idea is to construct a proximity graph directly over vector sets, preserving their fine-grained semantics while enabling efficient navigation. First, GEM designs a set-level clustering scheme. It associates each vector set with only its most informative clusters, effectively reducing redundancy without hurting semantic coverage. Then, it builds local proximity graphs within clusters and bridges them into a globally navigable structure. To handle the non-metric nature of multi-vector similarity, GEM decouples the graph construction metric from the final relevance score and injects semantic shortcuts to guide efficient navigation toward relevant regions. At query time, GEM launches beam search from multiple entry points and prunes paths early using cluster cues. To further enhance efficiency, a quantized distance estimation technique is used for both indexing and search. Across in-domain, out-of-domain, and multi-modal benchmarks, GEM achieves up to 16× speedup over state-of-the-art methods while matching or improving accuracy.

    Source
  2. ATC

    UBASE: An AI Search Engine for Trillion-Scale Vector Data Management opens in a new tab

    Yao Tian, Yuncheng Lu, Liyao Xiong, Yuming Xu, Hao Zhang, Weichen Zhao, Xi Zhao, Bo Kuang, Dongyu Wang, Jiehui Li, Yakun Li, Lei Zhang

    Abstract

    Since 2016, UBASE has been the foundation of ByteDance’s search infrastructure, scaling to more than 7,000 clusters and 300 PB of indexed data. Driven by the demands of AI workloads, UBASE has evolved from a text search engine into a unified AI search system supporting vector retrieval, lexical matching, and predicate filtering. Its largest deployment indexes nearly one trillion high-dimensional vectors. This scale exposes two central bottlenecks in AI-era retrieval: memory-intensive graph-index construction under sustained ingestion, and the prohibitive cost of keeping vector indexes entirely in memory.

    UBASE addresses these bottlenecks with two techniques. First, it introduces a quantization-aware vector kernel based on SymRaBitQ, a new symmetric quantization scheme with theoretical analysis that allows index construction to run directly in the quantized space accurately and efficiently without retaining a copy of full-precision vectors. Second, it provides a hybrid storage engine that supports memory-resident, hybrid, and SSD-resident deployments, with fine-grained record-level caching to trade memory for latency under operational control. On large-scale benchmarks, UBASE improves throughput by up to 3×, reduces indexing memory by 80%, and lowers serving cost ($/QPS) by up to 99.4% compared to prior systems, while supporting trillion-vector scale, write-heavy or latency-sensitive workloads in production.

    Source
  3. SIGMOD

    Enhancing Graph-based Approximate Maximum Inner Product Search via Norm-Adaptive Partitioning opens in a new tab

    Xi Zhao, Zhoujin Tian, Kai Huang, Yao Tian, Xiaokui Xiao, Bolong Zheng, Xiaofang Zhou

    Abstract

    The rapid development of vector databases and large language models has significantly increased the importance of the Approximate Maximum Inner Product Search (AMIPS) problem. Over the past decade, various approaches have been proposed to efficiently address AMIPS problems. Compared to other methods, such as those based on Locality Sensitive Hashing (LSH), proximity graph-based methods have shown superior query performance on AMIPS. However, the performance of graph-based methods for AMIPS is still not fully optimized due to the norm bias issue, while graph-based methods have demonstrated strong effectiveness for ANNS. In this paper, we theoretically analyze norm bias in MIPS and identify a norm domination phenomenon: results are consistently dominated by a handful of large-norm vectors, with negligible contributions from small-norm ones. Building on this observation, we propose the Norm-Adaptive Partitioning (NAP) scheme, which splits the vectors in a dataset into Head, Body, and Tail based on vector norms. The Head contains a small number of large-norm vectors for exhaustive search; the Tail includes small-norm vectors that can be safely pruned under accuracy bounds; and the Body, characterized by concentrated norms, is well-suited for conventional proximity graphs. The main challenge of the NAP strategy is balancing query accuracy and the extra cost introduced by NAP by efficiently determining the sizes of ail, Head, and Body. To address this, we further design a practical NAP algorithm that minimizes search cost while ensuring bounded accuracy. To demonstrate NAP, we introduce a hybrid index combining a lightweight structure (for example, a hash table) for the head and a proximity graph for the body. Experimental results show that NAP reduces the index size of existing proximity graphs by over 50%, and the NAP-based hybrid index enables more than 2x speedup over state-of-the-art graph-based AMIPS methods at the same recall level.

    Source
  4. ATC

    LifeSketch: Lifecycle-aware Active Flow Counting on Programmable Switches opens in a new tab

    He Huang, Hanwen Zhang, Yang Du, Jia Liu, Zhongjun Qiu, Yu-E Sun, Yao Tian, Xiaofang Zhou, Fu Xiao

    Abstract

    Accurate active flow counting is critical for network security and management tasks like DDoS detection and load balancing. Existing sketches approximate active flows as those seen within a fixed or sliding window, systematically misestimating flows due to their inability to track true lifecycle states: they undercount long-lived low-rate flows and overcount short-lived ones due to residual entries. We present LifeSketch, the first hardware-deployable sketch that enables lifecycle-aware active flow counting, bridging the gap between theoretical cardinality estimation and operational needs for real-time lifecycle awareness in high-speed network measurement. LifeSketch explicitly models per-flow state transitions (i.e., active, timeout, and closed) with O(1) insertion and deletion operations. It combines adaptive flow sampling, a virtual bucket array for compact per-flow state tracking, and a rejuvenation mechanism to stabilize performance under traffic dynamics. We derive a tight error bound and implement LifeSketch on an Intel Tofino switch, overcoming data plane constraints such as circular dependencies. Evaluations on real-world traces show LifeSketch reduces estimation error by up to 46.73 × compared to state-of-the-art methods while maintaining line-rate processing.

    Source
  5. EMNLP

    RW-TTT: Batched Serving for Request-Owned Test-Time Training State opens in a new tab

    Jian Yang, Zhizhuo Kou, Chen Han, Hao Zhang, Yao Tian*, Sirui Han, Yike Guo

    Abstract

    Test-time training (TTT) adapts an LLM during generation by reading and updating request-owned state, such as fast weights, low-rank deltas, or streaming learner state. This breaks batched LLM serving, which assumes shared static weights: serial execution is correct but slow, while naive batching can corrupt request state. We formulate this problem as read-write TTT serving and present RW-TTT, which tags each decode step with its owner, version, and READ/WRITE effect, batches only compatible phases, and commits updates only to the owner. On one GPU with eight fast-weight In-Place-TTT streams, RW-TTT reaches 274.61 aggregate tok/s, 9.31× over sequential serving and 3.44× over memory-matched independent replicas. It preserves behavior on RULER, a long-context benchmark, and passes owner/version checks.

    Source
  6. ADC

    HiQAN: High-Quality Entry Points for Efficient Parallel Nearest Neighbor Search

    Jinghao Yang, Xi Zhao, Xi He, Yao Tian, Chen Xu, Kai Huang

    Abstract

    The rapidly growing scale of high-dimensional vector data and the stringent latency requirements of real-time applications have made efficient Approximate Nearest Neighbor Search (ANNS) a critical component in modern retrieval systems. Graph-based ANNS has emerged as a dominant approach due to its superior accuracy-efficiency trade-off. However, the increasing demand for sub-millisecond query response has pushed intra-query parallelism to the forefront. Yet, it still faces a critical challenge: the representative parallel approach iQAN, for instance, relies on fixed entry points blind to query positions, forcing a lengthy sequential warm-up that severely limit its parallelism efficiency. In this work, we first establish that entry-point quality serves as the decisive catalyst for parallel efficiency—our experiments show that solely improving entry points yields up to 1.7× absolute speedup for iQAN on SIFT1M. Motivated by this finding, we propose HiQAN, a novel design that decouples navigation from search. HiQAN employs a lightweight HNSW graph as a navigator to generate high-quality, query-specific entry points online, which are then fed into a path-wise parallel search framework for precise localization. Extensive experiments on SIFT1M and DEEP10M demonstrate that HiQAN consistently outperforms HNSW, NSG, and iQAN across all evaluated recall targets. At 0.99 recall, HiQAN achieves 3.7×/2.1× speedups over HNSW/NSG on SIFT1M and 4.4×/3.0× on DEEP10M; across recall targets from 0.90 to 0.99, it further reduces average latency by 6.25% and 9.88% compared to iQAN on the two datasets, respectively. Our results confirm that high-quality entry points unlock the full potential of intra-query parallelism, offering a new paradigm for efficient graph-based vector retrieval.

BibTeX

2025

  1. SIGMOD

    Low Rank Learning for Offline Query Optimization opens in a new tab

    Zixuan Yi, Yao Tian, Zachary G. Ives, Ryan Marcus

    Abstract

    Recent deployments of learned query optimizers use expensive neural networks and ad-hoc search policies. To address these issues, we introduce LimeQO, a framework for offline query optimization leveraging low-rank learning to efficiently explore alternative query plans with minimal resource usage. By modeling the workload as a partially observed, low-rank matrix, we predict unobserved query plan latencies using purely linear methods, significantly reducing computational overhead compared to neural networks. We formalize offline exploration as an active learning problem, and present simple heuristics that reduces a 3-hour workload to 1.5 hours after just 1.5 hours of exploration. Additionally, we propose a transductive Tree Convolutional Neural Network (TCNN) that, despite higher computational costs, achieves the same workload reduction with only 0.5 hours of exploration. Unlike previous approaches that place expensive neural networks directly in the query processing ''hot'' path, our approach offers a low-overhead solution and a no-regressions guarantee, all without making assumptions about the underlying DBMS.

    Source
  2. arXiv

    LHPF: Look back the History and Plan for the Future in Autonomous Driving opens in a new tab

    Sheng Wang, Yao Tian, Xiaodong Mei, Ge Sun, Jie Cheng, Fulong Ma, Pedro V. Sander, Junwei Liang

    Abstract

    Decision-making and planning in autonomous driving critically reflect the safety of the system, making effective planning imperative. Current imitation learning-based planning algorithms often merge historical trajectories with present observations to predict future candidate paths. However, these algorithms typically assess the current and historical plans independently, leading to discontinuities in driving intentions and an accumulation of errors with each step in a discontinuous plan. To tackle this challenge, this paper introduces LHPF, an imitation learning planner that integrates historical planning information. Our approach employs a historical intention aggregation module that pools historical planning intentions, which are then combined with a spatial query vector to decode the final planning trajectory. Furthermore, we incorporate a comfort auxiliary task to enhance the human-like quality of the driving behavior. Extensive experiments using both real-world and synthetic data demonstrate that LHPF not only surpasses existing advanced learning-based planners in planning performance but also marks the first instance of a purely learning-based planner outperforming the expert. Additionally, the application of the historical intention aggregation module across various backbones highlights the considerable potential of the proposed method. The code will be made publicly available.

    Source
  3. ICDE Workshops

    Abstract

    The emergence of generative AI (GenAI) is a major driving force behind the modern data science ecosystem, a field that exploits data as the central asset for actionable insights. Analogously, GenAI is a form of artificial intelligence which learns from massive datasets to generate new data, showcasing human-like creativity in text, images to code, speech, and video. Two critical pillars of the GenAI technology are large language models (LLMs) and vector data. In particular, LLMs are a category of genAI models that emphasize on generating new text contents. On the other hand, there is also an upsurge of dense, high-dimensional, billion-scale vector data from deep learning models that embed complex data, e.g., text, multimedia, graphs, and tables into vector representations aiming to preserve semantic similarity. Since LLMs operate on vector data at various stages consisting of pre-training, fine-tuning, inference, and retrieval-augmented generation (RAG), coupling large language models with vector data management is essential for enhancing data science services with cross-modal data querying and generation. It creates new opportunities and challenges in areas such as accuracy, consistency, efficiency, scalability, privacy, fairness, explainability, data regulations, software-hardware collaboration, and cloud-native systems. The workshop aims to advance the understanding of how LLMs and vector data management can cooperatively contribute to data science solutions.

    Source

BibTeX

2024

  1. SIGMOD

    Abstract

    Designing a space-efficient data structure to answer membership queries while ensuring high accuracy and real-time response is a challenging task in the field of stream processing. Many techniques have been developed to answer these queries in a sliding windows manner. However, assuming the user will conduct the query with the presupposed window size is not always practical. In this paper, we introduce a novel data structure called Learned Cuckoo Filter (LCF). It can provide satisfactory results for the approximate membership query on data streams, regardless of the user-defined query windows. LCF operates by adaptively maintaining cuckoo filters with the assistance of a well-trained oracle that learned the frequency feature of the data within the stream. To further enhance memory utilization, we develop a compact version of LCF (denoted by LCF_C), which selectively removes redundant information to reduce space consumption without compromising query accuracy. Furthermore, we conduct a thorough theoretical analysis of query accuracy and provide detailed guidelines for optimal parameter selection (denoted by LCF_O). Extensive experimental studies on synthetic and real-world datasets demonstrate the superiority of the proposed methods in terms of both space consumption and accuracy. Compared to the state-of-the-art algorithms, LCF_O can reduce up to 61% of space cost at the same error level, and achieve up to 12× improved accuracy with the same space cost.

    Source
  2. aiDM@SIGMOD

    Low Rank Approximation for Learned Query Optimization opens in a new tab

    Zixuan Yi, Yao Tian, Zachary G. Ives, Ryan Marcus

    Abstract

    We present LimeQO, a learned steering query optimizer based on linear methods, such as matrix completion, for repetitive workloads. LimeQO can forgo expensive neural networks by taking advantage of the low-rank structure of query workloads. Using offline execution, LimeQO can accelerate workloads by up to 2x with zero regressions in just a few hours, while using 100-1000x fewer computational resources than deep learning techniques.

    Source
  3. ICDE

    FRESH: Towards Efficient Graph Queries in an Outsourced Graph opens in a new tab

    Kai Huang, Yunqi Li, Qingqing Ye, Yao Tian, Xi Zhao, Yue Cui, Haibo Hu, Xiaofang Zhou

    Abstract

    The constantly increasing scale of graphs leads to higher costs in terms of data storage and computation. Consequently, there is a growing trend of outsourcing and analyzing graphs in clouds. As there is a concern that cloud servers may extract sensitive information from these graphs, the graphs being outsourced must be pre-anonymized, leading to increased space consumption and degraded graph query processing efficiency. Previous work has attempted to address this issue by outsourcing a compacted anonymized graph to the cloud. However, the solution typically focuses on a specific type of query, such as a subgraph query, and cannot adequately accommodate real-life scenarios where multiple applications often work concurrently on the same graph. In this paper, we propose a generic framework called FRESH to handle various graph queries efficiently within a single outsourced graph. To reduce the size of the outsourced graph, we developed a novel graph contraction scheme that transforms a big graph into a compact one while preserving graph privacy. To showcase the adaptability of classical graph query algorithms (e.g., subgraph query, triangle counting, and shortest distance query), we demonstrate their successful execution on the same compact graph created through our contraction scheme. We further extend our framework by incorporating optimizations that significantly improve query processing efficiency. Extensive experimental results demonstrate the superiority of FRESH over traditional techniques.

    Source

BibTeX

2023

  1. TKDE

    Abstract

    Locality-sensitive hashing (LSH) is a promising family of methods for the high-dimensional approximate nearest neighbor (ANN) search problem due to its sub-linear query time and strong theoretical guarantee. Existing LSH methods either suffer from large index sizes and hash boundary problems, or incur a linear cost for high-quality candidate identification. This dilemma is addressed in a novel method called DB-LSH proposed in this paper. It organizes the projected spaces with multi-dimensional indexes instead of fixed-width hash buckets, which significantly reduces space costs. High-quality candidates can be generated efficiently by dynamically constructing query-based hypercubic buckets with the required widths through index-based window queries. A novel incremental search strategy called DBI-LSH is also developed to further boost the query performance, which incrementally accesses the next best point for higher accuracy and efficiency. Considering the intermediate query information of each query, DBA-LSH is designed to adaptively tune termination conditions without scarifying the success probability. Our theoretical analysis proves that DB-LSH has a smaller query cost than the existing work while DBA-LSH and DBI-LSH have lower expected query costs than DB-LSH. An extensive range of experiments on real-world data show the superiority of our approaches over the state-of-the-art methods in both efficiency and accuracy.

    Source
  2. IEEE Data Engineering Bulletin

    Abstract

    Approximate nearest neighbor search is an important research topic with a wide range of applications. In this study, we first introduce the problem and review major research results in the past. We then discuss the current work in the database research community, categorizing the work by their key underlying methodologies, such as locality-sensitive hashing, product quantization, and approximate nearest neighbor graphs. Finally, we examine several new directions, with a focus on vector databases to support large language models.

    Source
  3. VLDB

    Abstract

    The approximate nearest neighbor (ANN) search in high-dimensional spaces is a fundamental but computationally very expensive problem. Many methods have been designed for solving the ANN problem, such as LSH-based methods and graph-based methods. The LSH-based methods can be costly to reach high query quality due to the hash-boundary issues, while the graph-based methods can achieve better query performance by greedy expansion in an approximate proximity graph (APG). However, the construction cost of these APGs can be one or two orders of magnitude higher than that for building hash-based indexes. In addition, they fail short in incrementally maintaining APGs as the underlying dataset evolves. In this paper, we propose a novel approach named LSH-APG to build APGs and facilitate fast ANN search using a lightweight LSH framework. LSH-APG builds an APG via consecutively inserting points based on their nearest neighbor relationship with an efficient and accurate LSH-based search strategy. A high-quality entry point selection technique and an LSH-based pruning condition are developed to accelerate index construction and query processing by reducing the number of points to be accessed during the search. LSH-APG supports fast maintenance of APGs in lieu of building them from scratch as dataset evolves. Its maintenance cost and query cost for a point is proven to be less affected by dataset cardinality. Extensive experiments on real-world and synthetic datasets demonstrate that LSH-APG incurs significantly less construction cost but achieves better query performance than existing graph-based methods.

    Source
  4. TKDE

    TED+: Towards Discovering Top-k Edge-Diversified Patterns in a Graph Database opens in a new tab

    Kai Huang, Yue Cui, Qingqing Ye, Yan Zhao, Xi Zhao, Yao Tian, Kai Zheng, Haibo Hu, Xiaofang Zhou

    Abstract

    With an exponentially growing number of graphs from disparate repositories, there is a strong need to analyze a graph database containing an extensive collection of small- or medium-sized data graphs (e.g., chemical compounds). Although subgraph enumeration and subgraph mining have been proposed to bring insights into a graph database by a set of subgraph structures, they often end up with similar or homogenous topologies, which is undesirable in many graph applications. To address this limitation, we propose the Top-k Edge-Diversified Patterns Discovery problem to retrieve a set of subgraphs that cover the maximum number of edges in a database. To efficiently process such query, we present a generic and extensible framework called Ted+ which achieves a guaranteed approximation ratio to the optimal result. Three optimization strategies are further developed to improve the performance, and a lightweight version called TedLite is designed for even larger graph databases. Experimental studies on real-world datasets demonstrate the superiority of Ted+ to traditional techniques.

    Source
  5. VLDB

    VisualNeo: Bridging the Gap between Visual Query Interfaces and Graph Query Engines opens in a new tab

    Kai Huang, Houdong Liang, Chongchong Yao, Xi Zhao, Yue Cui, Yao Tian, Ruiyuan Zhang, Xiaofang Zhou

    Abstract

    Visual Graph Query Interfaces (VQIs) empower non-programmers to query graph data by constructing visual queries intuitively. Devising efficient technologies in Graph Query Engines (GQEs) for interactive search and exploration has also been studied for years. However, these two vibrant scientific fields are traditionally independent of each other, causing a vast barrier for users who wish to explore the full-stack operations of graph querying. In this demonstration, we propose a novel VQI system built upon Neo4j called VisualNeo that facilities an efficient subgraph query in large graph databases. VisualNeo inherits several advanced features from recent advanced VQIs, which include the data-driven gui design and canned pattern generation. Additionally, it embodies a database manager module in order that users can connect to generic Neo4j databases. It performs query processing through the Neo4j driver and provides an aesthetic query result exploration.

    Source

BibTeX

2022

  1. ICDE

    Abstract

    Among many solutions to the high-dimensional approximate nearest neighbor (ANN) search problem, locality sensitive hashing (LSH) is known for its sub-linear query time and robust theoretical guarantee on query accuracy. Traditional LSH methods can generate a small number of candidates quickly from hash tables but suffer from large index sizes and hash boundary problems. Recent studies to address these issues often incur extra overhead to identify eligible candidates or remove false positives, making query time no longer sub-linear. To address this dilemma, in this paper we propose a novel LSH scheme called DB-LSH which supports efficient ANN search for large high-dimensional datasets. It organizes the projected spaces with multi-dimensional indexes rather than using fixed-width hash buckets. Our approach can significantly reduce the space cost by avoiding the need to maintain many hash tables for different bucket sizes. During the query phase of DB-LSH, a small number of high-quality candidates can be generated efficiently by dynamically constructing query-based hypercubic buckets with the required widths through index-based window queries. For a dataset of n d-dimensional points with approximation ratio c, our rigorous theoretical analysis shows that DB-LSH achieves a smaller query cost O(n^ρ d log n), where ρ* is bounded by 1/c^α versus a bound of 1/c in the existing work. An extensive range of experiments on real-world data demonstrate the superiority of DB-LSH over state-of-the-art methods on both efficiency and accuracy.

    Source
  2. TKDE

    A Learned Index for Exact Similarity Search in Metric Spaces opens in a new tab

    Yao Tian, Tingyun Yan, Xi Zhao, Kai Huang, Xiaofang Zhou

    Abstract

    Indexing is an effective way to support efficient query processing in large databases. Recently the concept of learned index, which replaces or complements traditional index structures with machine learning models, has been actively explored to reduce storage and search costs. However, accurate and efficient similarity query processing in high-dimensional metric spaces remains to be an open challenge. In this paper, we propose a novel indexing approach called LIMS that uses data clustering, pivot-based data transformation techniques and learned indexes to support efficient similarity query processing in metric spaces. In LIMS, the underlying data is partitioned into clusters such that each cluster follows a relatively uniform data distribution. Data redistribution is achieved by utilizing a small number of pivots for each cluster. Similar data are mapped into compact regions and the mapped values are totally ordinal. Machine learning models are developed to approximate the position of each data record on disk. Efficient algorithms are designed for processing range queries and nearest neighbor queries based on LIMS, and for index maintenance with dynamic updates. Extensive experiments on real-world and synthetic datasets demonstrate the superiority of LIMS compared with traditional indexes and state-of-the-art learned indexes.

    Source

BibTeX