Abstract
Planning in real-world settings often entails addressing partial observability while aligning with users' requirements. We present a novel framework for expressing users' constraints and preferences about agent behavior in a partially observable setting using parameterized belief-state query (BSQ) policies in the setting of goal-oriented partially observable Markov decision processes (gPOMDPs). We present the first formal analysis of such constraints and prove that while the expected cost function of a parameterized BSQ policy w.r.t its parameters is not convex, it is piecewise constant and yields an implicit discrete parameter search space that is finite for finite horizons. This theoretical result leads to novel algorithms that optimize gPOMDP agent behavior with guaranteed user alignment. Analysis proves that our algorithms converge to the optimal user-aligned behavior in the limit. Empirical results show that parameterized BSQ policies provide a computationally feasible approach for user-aligned planning in partially observable settings.
Introduction
Autonomous agents operating in real-world environments must navigate uncertainty arising from partial observability. While Partially Observable Markov Decision Processes (POMDPs) provide a robust mathematical framework for such planning, aligning agent behavior with specific human preferences remains a significant challenge. Traditional "reward engineering"—the iterative adjustment of reward functions—often leads to unintended "wireheading" behaviors where agents exploit reward structures in ways that violate human intent. This paper introduces a framework for user-aligned planning using Belief-State Query (BSQ) policies, which allow users to specify behavior based on the agent's internal confidence levels.
Parameterized Belief-State Query Policies
The core of this approach is the use of human-readable rules that map belief states to actions. For instance, in a repair scenario, a user might specify: "If the probability that the robot is broken exceeds $\Theta_1$, initiate repair." These thresholds ($\Theta_1, \Theta_2, \dots$) are the parameters of the BSQ policy.
By defining policies in terms of belief-state queries, users can directly encode safety requirements and operational constraints. This avoids the pitfalls of black-box policies and provides a transparent mechanism for ensuring the agent respects human-defined boundaries under uncertainty.
Theoretical Foundations: Piecewise Constancy and Braids
A major contribution of this work is the formal analysis of the expected cost function associated with parameterized BSQ policies. The authors prove that for a finite time horizon, this function is piecewise constant with respect to the policy parameters.
This property arises because the agent's choice of action only changes when its belief probability crosses a threshold. Consequently, the continuous parameter space is partitioned into a finite number of regions. Within each region, the agent follows the same sequence of decision rules—a concept the authors term a "braid."
As shown in the figure above, the strategy tree (a) maps out possible execution traces. Different parameter values in the partitioned space (b) lead to distinct "braids" of behavior. This transformation from an infinite continuous search space to a finite discrete one is what makes global optimization tractable.
Partition Refinement Search (PRS)
Leveraging the piecewise constant nature of the cost function, the authors developed the Partition Refinement Search (PRS) algorithm. Unlike gradient-based methods which fail on non-convex, discontinuous surfaces, PRS hierarchically divides the parameter space. It samples points to identify behavior braids and refines the boundaries of these partitions to converge on the optimal threshold values. This method is proven to be "probabilistically complete," ensuring it finds the optimal user-aligned policy given sufficient samples.
Empirical Evaluation
The framework was tested across four diverse domains:
- Spaceship Repair (SR): Choosing optimal repair actions based on noisy sensor data.
- Lane Merger (LM): Determining safe merging thresholds in autonomous driving.
- Graph Rock Sample (GRS): Navigating a rover to collect valuable samples while avoiding hazards.
- Store Visit (SV): City-scale navigation with local detection of unsafe zones.
Key results include:
- Superior Optimization: PRS consistently outperformed standard baselines like Nelder-Mead and Particle Swarm Optimization. In the SR task, a variant called PRS-Bolt achieved a 15.68% lower expected cost than random sampling.
- Guaranteed Alignment: While state-of-the-art solvers like DESPOT and SARSOP often failed to meet user requirements (e.g., 0% alignment in the SV problem), the BSQ approach guaranteed alignment by design.
- Computational Feasibility: The discrete search over partitions proved significantly more efficient than searching the original continuous space.
Conclusion
This research demonstrates that parameterized BSQ policies offer a powerful and theoretically sound method for aligning POMDP agents with human preferences. By proving the piecewise constant nature of the cost function and introducing the PRS algorithm, the authors provide a practical path for developing autonomous systems that are both efficient and trustworthy. Future work will explore extending this framework to handle temporal constraints and improving user interfaces for rule generation.
Reference: Bramblett, D., & Srivastava, S. (2024). Belief-State Query Policies for User-Aligned POMDPs. 38th Conference on Neural Information Processing Systems (NeurIPS 2024).
Summary updated