Search arXiv⌕ Search

arXiv subjects

Alexandre Evfimievski

Publications and source records attributed to Alexandre Evfimievski.

2 recordsLinked to original sources

Blocked Bloom Filters for Overlap Estimation

Estimating the cardinality of set overlaps and set-algebra expressions over sketched sets is a common operation in marketing research and audience analytics. We develop efficient methods for these estimates over large-capacity single and blocked Bloom filters (BFs). We study cardinality and overlap estimation from truncated BFs and derive first-order variance approximations to guide partial-read budgeting. We extend these estimators to multi-block Bloom filters (MBFs) that partition a sketch into hash-routed blocks for efficient parallelization in relational databases. Truncation in MBFs becomes a choice of how many blocks we must read. Building on this, we give a three-phase method for accuracy-limited cardinality estimation of set-algebra expressions and implement it for pairwise overlaps, where reading only enough blocks to meet a user-specified precision yields a 10-100x speedup. We scale the method to the cross-overlap problem: estimating all pairwise overlaps between two collections of MBFs to the same target accuracy. Our SQL cross-overlap implementation controls I/O and storage costs through careful shared-block management, adaptive batching, and compressed block representation. We adapt a known rANS codec to compress run-length encoded sparse bit-vectors to within a few percent of the Shannon bound. We evaluate the framework on Snowflake and analyze how MBF parameters shape the accuracy vs. efficiency vs. storage trade-off.

cs.DB↗

ELOQ: Resources for Enhancing LLM Detection of Out-of-Scope Questions

Retrieval-augmented generation (RAG) has become integral to large language models (LLMs), particularly for conversational AI systems where user questions may reference knowledge beyond the LLMs' training cutoff. However, many natural user questions lack well-defined answers, either due to limited domain knowledge or because the retrieval system returns documents that are relevant in appearance but uninformative in content. In such cases, LLMs often produce hallucinated answers without flagging them. While recent work has largely focused on questions with false premises, we study out-of-scope questions, where the retrieved document appears semantically similar to the question but lacks the necessary information to answer it. In this paper, we propose a guided hallucination-based approach ELOQ to automatically generate a diverse set of out-of-scope questions from post-cutoff documents, followed by human verification to ensure quality. We use this dataset to evaluate several LLMs on their ability to detect out-of-scope questions and generate appropriate responses. Finally, we introduce an improved detection method that enhances the reliability of LLM-based question-answering systems in handling out-of-scope questions.

cs.CL↗