NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Solving Inverse Problem for Multi-armed Bandits via Convex Optimization

Hao Zhu, Joschka Boedecker · OpenReview

TL;DR

This paper tackles the "inverse problem" of multi-armed bandits (IMAB), a common task in modeling behavior, which is notoriously non-convex. The authors propose a novel two-step heuristic that leverages convex optimization to efficiently and accurately estimate model parameters, outperforming existing methods in speed and robustness.

What Problem Does This Paper Address?

The paper addresses the Inverse Problem for Multi-Armed Bandits (IMAB). In essence, IMAB is about figuring out the underlying decision-making parameters (like learning rates and reward sensitivities) of an agent, given their observed choices and the rewards they received. This is crucial in fields like neuroscience and psychology for understanding how agents (human or animal) learn and make decisions. The standard mathematical formulation of this problem, however, is non-convex, making it difficult to find reliable, globally optimal solutions. Existing methods either get stuck in local optima (direct methods) or are computationally very expensive (Monte Carlo methods).

Methods

The core of the paper's contribution lies in a two-step heuristic approach:

  1. Convexification via Relaxation: The authors first transform the original IMAB problem into a related, but convex, problem. This is achieved by introducing variable transformations and relaxing certain constraints. This allows them to use powerful convex optimization solvers. The output of this step provides a lower bound on the true objective function.
  2. Sequential Heuristic (Function Fitting): The second step takes the results from the convex relaxation and uses them to find the original IMAB parameters. This involves solving a non-convex function-fitting problem. While this step is not guaranteed to be convex, the authors propose a heuristic that often finds good solutions and provides a measure of suboptimality (the gap between the upper and lower bounds). They also introduce a truncated polynomial approximation to speed up this step further.

A key aspect is that the method provides a certificate for global optimality under certain conditions and a measure of suboptimality in general, which is a significant advantage over existing direct methods.

Datasets

The paper does not introduce new datasets. Instead, it uses simulated data from:

  • A 2-armed bandit testbed: This is a standard setup for evaluating decision-making models.
  • A 10-armed bandit with subreward signals: This represents a more complex scenario, building upon existing work.

The authors provide code to reproduce their experiments, allowing others to use these setups.

Key Insights and Ideas

  • Non-convexity is the bottleneck: The paper clearly demonstrates that the inherent non-convexity of the IMAB problem is the primary challenge for finding accurate solutions.
  • Convex relaxation as a powerful tool: By cleverly transforming variables and relaxing constraints, the authors turn a difficult non-convex problem into a tractable convex one, providing a crucial lower bound.
  • Two-step approach balances accuracy and speed: The heuristic elegantly combines the strengths of convex optimization (speed, global solutions) with a method to recover the original, non-convex problem's parameters.
  • Suboptimality as a feature: The ability to quantify the gap between the upper and lower bounds of the objective function is a significant contribution, allowing users to assess the quality of the solution.
  • Truncation for efficiency: The truncated polynomial approximation offers a practical way to drastically reduce computation time, especially for longer time horizons, with only a minor impact on performance.

Key Results

  • Performance: The proposed sequential heuristic achieves performance comparable to Monte Carlo methods but with significantly reduced running times.
  • Speed: The heuristic is substantially faster than Monte Carlo methods, often achieving similar results in a fraction of the time. It also outperforms direct methods in terms of accuracy.
  • Robustness: The heuristic is shown to be more robust than direct methods, which can get stuck in local optima.
  • Suboptimality Measure: The method provides a quantifiable measure of suboptimality, allowing users to understand how close their solution is to the global optimum. In some cases, it can even provide a certificate of global optimality.
  • Truncation Benefits: The truncated polynomial approximation (p=5) reduced computation time by approximately five times with only a minor performance decrease in experiments.

Limitations and Future Work

  • Step II Non-convexity: While Step I is convex, Step II (function fitting) remains non-convex. Although the heuristic often finds good solutions, global optimality is not guaranteed in all cases. The paper mentions that alternative penalty functions could make Step II convex, but this approach is not pursued further in this work.
  • Computational Cost of Step II: The repeated optimization in Step II can still be time-consuming. The authors suggest exploring faster solvers, such as those leveraging second-order information or GPU acceleration.
  • Truncation Trade-off: While truncation speeds up computation, it can lead to a slight decrease in performance. The paper notes that for very long horizons, the impact of imprecise tails in the full matrix F can be problematic, making truncation a beneficial trade-off.
  • Future Work: The authors suggest exploring different penalty functions for Step II to achieve convexity and investigating alternative solvers for Step II to further improve efficiency. They also highlight the potential of their method for evaluating solutions from other IMAB solvers.

Summary updated

BibTeX
@misc{zhu2025solving,
  author = {Hao Zhu and Joschka Boedecker},
  title = {{Solving Inverse Problem for Multi-armed Bandits via Convex Optimization}},
  year = {2025},
  eprint = {2501.18945},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.18945},
}
Figure