DARA: Few-shot Budget Allocation in Online Advertising via In-Context Decision Making with RL-Finetuned LLMs

Mingxuan Song, Yusen Huo, Bohan Zhou, Shenglin Yin, Zhen Xiao +3 more
1/21/2026
cs.AIcs.LG

No official code found. Best implementation: mx-song/DARA (2 stars, Apache-2.0, last commit 2026-02-27).

Abstract

Optimizing the advertiser's cumulative value of winning impressions under budget constraints poses a complex challenge in online advertising, under the paradigm of AI-Generated Bidding (AIGB). Advertisers often have personalized objectives but limited historical interaction data, resulting in few-shot scenarios where traditional reinforcement learning (RL) methods struggle to perform effectively. Large Language Models (LLMs) offer a promising alternative for AIGB by leveraging their in-context learning capabilities to generalize from limited data. However, they lack the numerical precision required for fine-grained optimization. To address this limitation, we introduce GRPO-Adaptive, an efficient LLM post-training strategy that enhances both reasoning and numerical precision by dynamically updating the reference policy during training. Built upon this foundation, we further propose DARA, a novel dual-phase framework that decomposes the decision-making process into two stages: a few-shot reasoner that generates initial plans via in-context prompting, and a fine-grained optimizer that refines these plans using feedback-driven reasoning. This separation allows DARA to combine LLMs' in-context learning strengths with precise adaptability required by AIGB tasks. Extensive experiments on both real-world and synthetic data environments demonstrate that our approach consistently outperforms existing baselines in terms of cumulative advertiser value under budget constraints.

View on arXivView PDF

Code Implementations(1)

mx-song/DARACommunity69%
Apache-2.0

The implementation of the paper “DARA: Few-shot Budget Allocation in Online Advertising via In-Context Decision Making with RL-Finetuned LLMs”.

21PythonJan 14, 20267 months agoApache-2.0

Similar Papers

Cite this paper

@article{song2026dara,
  title  = {DARA: Few-shot Budget Allocation in Online Advertising via In-Context Decision Making with RL-Finetuned LLMs},
  author = {Mingxuan Song and Yusen Huo and Bohan Zhou and Shenglin Yin and Zhen Xiao and Jieyi Long and Zhilin Zhang and Chuan Yu},
  year   = {2026},
  eprint = {2601.14711},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.14711v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.14711.svg)](https://codeofpaper.com/paper/2601.14711)

Discussion