Multi-Objective Agentic Rewrites for Unstructured Data Processing
Lindsey Linxi Wei, Shreya Shankar, Sepanta Zeighami, Yeounoh Chung, Fatma Ozcan, Aditya G. Parameswaran

TL;DR
This paper introduces MOAR, a multi-objective optimizer for the DocETL system, enhancing data pipeline accuracy and cost-efficiency through advanced rewrite directives and a global search algorithm.
Contribution
It extends DocETL with over 30 rewrite directives and a novel global search algorithm based on multi-armed bandits for better pipeline optimization.
Findings
MOAR achieves 27% higher accuracy than ABACUS.
It matches ABACUS's accuracy at 55% of its cost.
The system improves data processing across six diverse workloads.
Abstract
One year ago, we open-sourced DocETL, a declarative system for LLM-powered data processing that, as of March 2026, has 3.7K GitHub stars and users across domains (e.g., journalism, law, medicine, policy, finance, and urban planning). In DocETL, users build pipelines by composing operators described in natural language, also known as semantic operators, with an LLM executing each operator's logic. However, due to complexity in the operator or the data it operates on, LLMs often give inaccurate results. To address this challenge, DocETL introduced rewrite directives, or abstract rules that guide LLM agents in rewriting pipelines by decomposing operators or data. For example, decomposing a single filter("is this email sent from an executive and discussing fraud?") into the conjunction of two separate semantic filters may improve accuracy. However, DocETL only optimizes for accuracy, not…
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.
