Online Decision Making with Generative Action Sets
With the rapid advancement of Generative AI, decision-making systems are no longer restricted to a fixed set of predefined actions. Agents can now dynamically create new, perfectly tailored actions on the fly—such as generating a custom response to a unique medical query. However, this introduces a new challenge: action generation incurs costs that must be balanced against potential benefits.
This paper introduces a "create-to-reuse" framework for online learning. The authors propose a doubly-optimistic algorithm that achieves the first sublinear regret bound for expanding action spaces, effectively balancing the complex tradeoffs between exploration, exploitation, and action creation.
The Triangular Tradeoff
In traditional multi-armed bandit problems, an agent balances exploitation (using a known good action) with exploration (testing an uncertain action). When generative actions are introduced, creating these actions isn't free—it incurs a "creation cost" (e.g., API fees, compute time, or human expert validation).
An agent must now decide: Is it better to reuse a "good enough" action I already have, or should I pay to create a perfect one that I can also use in the future? This introduces a three-way tradeoff:
- Exploitation: Using an existing action known to perform well.
- Exploration: Testing an existing action with uncertain performance.
- Creation: Investing in a new action to satisfy immediate needs and expand future capabilities.
Unlike "Bandits with Knapsacks" where resources are simply consumed, spending the creation cost here yields a permanent asset (a reusable action).
A Doubly-Optimistic Algorithm
To navigate this tradeoff, the authors propose a Doubly-Optimistic Algorithm. The "double" refers to how the agent handles uncertainty in two distinct decision steps:
- Action Selection (LCB): For all existing actions in the library, the agent calculates a Lower Confidence Bound (LCB) of the predicted loss. It selects the action with the minimum LCB. This is "optimistic" because it assumes existing actions might perform at the better end of their uncertainty range.
- Action Generation (UCB): After picking the best existing candidate, the agent calculates its Upper Confidence Bound (UCB) of loss and compares it to the fixed creation cost ($c$). If the potential loss of the best existing action is high (even in a "worst-case" UCB scenario), the agent is more likely to trigger the creation of a new action.
Theoretical Optimality
By being optimistic about existing actions while simultaneously being optimistic about the long-term value of creating new ones, the algorithm avoids both excessive spending and stagnant performance.
From a theoretical perspective, the authors prove a regret bound of $O(T^{\frac{d}{d+2}}d^{\frac{d}{d+2}} + d\sqrt{T\log T})$. They demonstrate that this bound is information-theoretically optimal, providing the first sublinear regret bound for online learning with an expanding action space.
As seen in the synthetic simulations above, the empirical regret rate asymptotes closely match the predicted $d/(d+2)$ theoretical exponents (e.g., a slope of ~0.5 for $d=2$, ~0.6 for $d=3$, and ~0.667 for $d=4$).
Key Results on Real-World Datasets
The paper evaluates the algorithm using real-world healthcare scenarios, including a private Maternal Health dataset (839 user queries with custom responses generated via GPT-5) and a large-scale public Medical Q&A dataset (47,457 Q&A pairs).
The doubly-optimistic approach consistently outperformed fixed-probability baselines, pushing the performance frontier closer to the theoretical ideal:
- Superior Tradeoffs: On the Maternal Health dataset, the algorithm achieved near-zero mismatch loss while only needing to generate new responses for 70% of queries. It reduced mismatch loss by 25% compared to a "status quo" (never create) policy with very few strategic additions.
- Efficiency Gains: On the public Medical Q&A dataset, the algorithm reduced both generation costs and mismatch loss by approximately 60% compared to baseline strategies that either always create or never create.
Limitations and Future Work
While groundbreaking, the framework has areas for future expansion:
- Computational Scalability: The basic algorithm requires a search over the entire action library at every step, leading to $O(T^2)$ complexity. The authors suggest using Approximate Nearest Neighbor (ANN) search and caching to mitigate this, though it wasn't the primary focus of the theoretical proof.
- Fixed Costs: The current model assumes a constant creation cost ($c$). In reality, some actions might be harder or more expensive to generate than others.
- Loss Model: The theoretical guarantees rely on a quadratic parametric loss. Extending the formal proofs to non-parametric or more complex loss functions remains an open challenge.
Summary updated