PromptPack: Scaling LLM Annotation Agents for Online Recommendation
Sebastian Koralewski, Merwan Barlier, Yulia Stolin, Blaž Škrlj
Abstract
Online recommendation platforms increasingly use Large Language Models (LLMs) to extract structured features from ad creatives. While deploying a single-call LLM annotation agent yields significant Click-Through Rate (CTR) improvements in our live production environment, per-creative prompting is prohibitively expensive to scale. The redundant system instructions sent in every request account for 94% of billed input tokens. To break this cost bottleneck, we introduce PromptPack, a scalable, high-throughput LLM annotation agent. PromptPack achieves this scale via in-context batching, combining a shared system prompt, a strict XML structural envelope, and an output correction layer to ensure deterministic, pipeline-ready feature extraction across multiple creatives simultaneously. We evaluate PromptPack via an offline retrieval benchmark using a downstream logistic-regression ranker. To deeply profile the agent's behavior, we measure AUC and introduce Volume-Weighted Absolute Lift (VWAL), a novel metric capturing the signal quality of the generated features. Compared to our live, unbatched production baseline, PromptPack at batch size 20 cuts our LLM costs by 89% and accelerates throughput by 2.5x while fully preserving AUC.
Create a lesson
Related papers
SCALECUA: Scaling Computer Use Agents with Verifiable Task Synthesis and Efficient Online RL
Shared title terminologycs.AIBowen Lv, Xiao Liu, Yanyu Ren et al.
EATS: Scaling Tool-Use Experience for Medical Reasoning Agents
Shared title terminologycs.AIMingyuan Li, Tong Jia, Haoran Wang et al.
SlicePlanner: Logic-Guided Agentic AI for Online QoS-Aware Network Slicing in Open RAN
Shared title terminologycs.AIAdhwaa Al-Chaab, Ayman Younis, Dario Pompili
The Path to Self-Evolving Clinical Systems: Scaling Medical Agents from Assistance to Autonomy
Shared title terminologycs.AIChunzheng Zhu, Lei Tian, Bohan Tan et al.
SETA: Scaling Environments for Terminal Agents
Shared title terminologycs.AIQijia Shen, Zhiqi Huang, Vamsidhar Kamanuru et al.
KV-PRM: Efficient Process Reward Modeling via KV-Cache Transfer for Multi-Agent Test-Time Scaling
Shared title terminologycs.AIPeng Kuang, Haibo Jin, Xiaoyu Han et al.