LLM-Driven Online Aggregation for Unstructured Text Analytics
Chao Hui, Weizheng Lu, Yanjie Gao, Lingfeng Xiong, Yunhai Wang, and Yueguo Chen

TL;DR
This paper introduces OLLA, an online aggregation framework leveraging Large Language Models to enable real-time, incremental text analytics with improved speed and accuracy, addressing the latency issues of traditional batch processing.
Contribution
The paper presents a novel LLM-driven online aggregation method with semantic stratified sampling, significantly accelerating unstructured text analysis compared to existing batch systems.
Findings
OLLA achieves less than 4% of full-data processing time to reach 1% accuracy.
OLLA speeds up text analytics by 1.6x to 38x across various domains.
The approach provides progressive results, improving real-time responsiveness in unstructured data analysis.
Abstract
Large Language Models (LLMs) exhibit strong capabilities in text processing, and recent research has augmented SQL and DataFrame with LLM-powered semantic operators for data analysis. However, LLM-based data processing is hindered by slower token generation speeds compared to relational queries. To enhance real-time responsiveness, we propose OLLA, an LLM-driven online aggregation framework that accelerates semantic processing within relational queries. In contrast to batch-processing systems that yield results only after the entire dataset is processed, our approach incrementally transforms text into a structured data stream and applies online aggregation to provide progressive output. To enhance our online aggregation process, we introduce a semantic stratified sampling approach that improves data selection and expedites convergence to the ground truth. Evaluations show that OLLA…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Data Quality and Management
