mlsanityData to 14 Oct 2026

ScaleDoc: Scaling LLM-based Predicates over Large Document Collections

arXiv 2509.12610 ↗First posted 16 Sep 2025cs.DB cs.AI cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Predicates are foundational components in data analysis systems. However, modern workloads increasingly involve unstructured documents, which demands semantic understanding, beyond traditional value-based predicates. Given enormous documents and ad-hoc queries, while Large Language Models (LLMs) demonstrate powerful zero-shot capabilities, their high inference cost leads to unacceptable overhead. Therefore, we introduce textscScaleDoc, a novel system that addresses this by decoupling predicate execution into an offline representation phase and an optimized online filtering phase. In the offline phase, textscScaleDoc leverages a LLM to generate semantic representations for each document. Online, for each query, it trains a lightweight proxy model on these representations to filter the majority of documents, forwarding only the ambiguous cases to the LLM for final decision. Furthermore, textscScaleDoc proposes two core innovations to achieve significant efficiency: (1) a contrastive-learning-based framework that trains the proxy model to generate reliable predicating decision scores; (2) an adaptive cascade mechanism that determines the effective filtering policy while meeting specific accuracy targets. Our evaluations across three datasets demonstrate that textscScaleDoc achieves over a 2× end-to-end speedup and reduces expensive LLM invocations by up to 85%, making large-scale semantic analysis practical and efficient.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 41 of its 58 references that are in the map. First posted on arXiv 16 Sep 2025.

Builds on

41 of 58 references.

References · 41

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  8. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  9. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  10. 2020Supervised Contrastive Learningcited by 2,829
  11. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  12. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
29 more
  1. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  2. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
  3. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
  4. 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 617
  5. 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
  6. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
  7. 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
  8. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
  9. 2024Multilingual E5 Text Embeddings: A Technical Reportcited by 372
  10. 2021Efficient Attentions for Long Document Summarizationcited by 345
  11. 2022One Embedder, Any Task: Instruction-Finetuned Text Embeddingscited by 333
  12. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inferencecited by 235
  13. 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 156
  14. 2020Embedding-based Retrieval in Facebook Searchcited by 156
  15. 2017PubMed 200k RCT: a Dataset for Sequential Sentence Classification in Medical Abstractscited by 124
  16. 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 111
  17. 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 52
  18. 2024UDA: A Benchmark Suite for Retrieval Augmented Generation in Real-world Document Analysiscited by 40
  19. 2017NoScope: Optimizing Neural Network Queries over Video at Scalecited by 37
  20. 2024A Declarative System for Optimizing AI Workloadscited by 37
  21. 2023CHORUS: Foundation Models for Unified Data Discovery and Explorationcited by 24
  22. 2020Approximate Selection with Guarantees using Proxiescited by 15
  23. 2022Optimizing Machine Learning Inference Queries with Correlative Proxy Modelscited by 13
  24. 2023SUQL: Conversational Search over Structured and Unstructured Data with Large Language Modelscited by 13
  25. 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyondcited by 12
  26. 2024Using LLM to select the right SQL Query from candidatescited by 12
  27. 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 9
  28. 2025LEAP: LLM-powered End-to-end Automatic Library for Processing Social Science Queries on Unstructured Datacited by 7
  29. 2025OkraLong: A Flexible Retrieval-Augmented Framework for Long-Text Query Processingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.