Particle Belief Representations for Reinforcement Learning under Partial Observability
Organizations: Department of Aerospace Engineering Sciences, University of Colorado Boulder · Department of Computer Science, University of Colorado Boulder
Abstract
Particle filters flexibly represent complex, multimodal beliefs but expose them as weighted, unordered sets incompatible with conventional fixed-dimensional policies. We study particle-belief encodings as inputs to reinforcement-learning policies while holding belief estimation and policy optimization fixed. We compare statistical summaries, cumulant-generating-function (CGF) features, and permutation-invariant set encoders. Trainable encoders are learned end-to-end or pretrained through belief reconstruction or task-specific prediction. Across eight tasks, pooling-based set encoders and gradient CGF features are reliable end-to-end, while the Set Transformer achieves the highest performance with appropriate pretraining. Task-specific pretraining helps when its target captures decision-relevant belief structure, whereas reconstruction pretraining and latent alignment provide more selective benefits. For selecting and training particle-belief encoders in partially observable Markov decision processes, our results show that an encoding that reconstructs the belief well is not necessarily a good input for control.
Figures & tables
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Statistics | CGF | Set networks | History | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Task | Gaussian | Moments | fixed | learned | fixed | learned | Deep Sets | PointNet | Set Transf. | Frame Stacking |
| Car–Flag | 0.80 0.12 | 0.70 0.12 | 0.70 0.12 | 0.70 0.12 | 0.90 0.10 | 0.90 0.10 | 1.00 0.00 | 1.00 0.00 | 1.00 0.00 | 0.80 0.12 |
| Ant Tag | 0.55 0.06 | 0.18 0.05 | 0.48 0.02 | 0.58 0.07 | 0.74 0.02 | 0.75 0.01 | 0.85 0.05 | 0.69 0.05 | 0.87 0.02 | 0.02 0.01 |
| Lantern Ant Tag | 0.32 0.03 | 0.04 0.01 | 0.09 0.03 | 0.17 0.02 | 0.38 0.04 | 0.36 0.03 | 0.59 0.04 | 0.29 0.02 | 0.43 0.05 | 0.00 0.00 |
| Hideout Ant Tag | 0.29 0.05 | 0.72 0.01 | 0.71 0.01 | 0.72 0.01 | 0.70 0.04 | 0.73 0.01 | 0.75 0.01 | 0.75 0.00 | 0.73 0.02 | 0.73 0.01 |
| Odd–Even | 0.31 0.02 | 0.29 0.02 | 0.30 0.01 | 0.31 0.01 | 0.42 0.03 | 0.42 0.02 | 0.31 0.03 | 0.57 0.01 | 0.22 0.04 | 0.26 0.01 |
| Frozen encoder | Fine-tuned encoder ( LR) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Task | CGF | CGF | Deep Sets | PointNet | Set Transf. | CGF | CGF | Deep Sets | PointNet | Set Transf. |
| Ant Tag | 0.31 0.05 | 0.70 0.02 | 0.94 0.03 | 0.90 0.02 | 0.79 0.03 | 0.38 0.03 | 0.78 0.03 | 0.81 0.05 | 0.77 0.05 | 0.78 0.03 |
| Lantern Ant Tag | 0.09 0.02 | 0.40 0.04 | 0.38 0.08 | 0.35 0.04 | 0.40 0.05 | 0.09 0.03 | 0.36 0.02 | 0.43 0.04 | 0.34 0.03 | 0.44 0.05 |
| Hideout Ant Tag | 0.71 0.02 | 0.72 0.02 | 0.72 0.01 | 0.74 0.01 | 0.73 0.02 | 0.74 0.01 | 0.73 0.01 | 0.72 0.02 | 0.69 0.06 | 0.74 0.01 |
| Odd–Even | 0.29 0.01 | 0.44 0.01 | 0.48 0.02 | 0.48 0.02 | 0.62 0.01 | 0.28 0.01 | 0.43 0.01 | 0.54 0.01 | 0.55 0.03 | 0.40 0.02 |
| Beacon Sweep | 0.88 0.01 | 0.95 0.01 | 0.71 0.01 | 0.91 0.00 | 0.87 0.03 | 0.89 0.02 | 0.95 0.01 | 0.97 0.01 | 0.99 0.00 | 0.95 0.01 |
| Frozen encoder | Fine-tuned encoder ( LR) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Task | CGF | CGF | Deep Sets | PointNet | Set Transf. | CGF | CGF | Deep Sets | PointNet | Set Transf. |
| Ant Tag | 0.43 0.08 | 0.71 0.04 | 0.86 0.01 | 0.78 0.02 | 0.87 0.03 | 0.47 0.07 | 0.68 0.05 | 0.88 0.03 | 0.80 0.00 | 0.89 0.02 |
| Lantern Ant Tag | 0.10 0.02 | 0.33 0.03 | 0.30 0.06 | 0.31 0.02 | 0.36 0.02 | 0.08 0.01 | 0.39 0.02 | 0.26 0.05 | 0.31 0.03 | 0.45 0.06 |
| Hideout Ant Tag | 0.61 0.08 | 0.74 0.00 | 0.73 0.01 | 0.72 0.02 | 0.71 0.01 | 0.73 0.01 | 0.74 0.01 | 0.76 0.01 | 0.77 0.02 | 0.71 0.02 |
| Odd–Even | 0.24 0.02 | 0.43 0.01 | 0.87 0.00 | 0.87 0.00 | 0.87 0.00 | 0.25 0.02 | 0.44 0.01 | 0.82 0.01 | 0.85 0.01 | 0.83 0.02 |
| Beacon Sweep | 0.86 0.01 | 0.91 0.01 | 0.99 0.00 | 1.00 0.00 | 1.00 0.00 | 0.87 0.01 | 0.92 0.00 | 1.00 0.00 | 1.00 0.00 | 1.00 0.00 |
| Frozen encoder | Fine-tuned encoder ( LR) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Task | CGF | CGF | Deep Sets | PointNet | Set Transf. | CGF | CGF | Deep Sets | PointNet | Set Transf. |
| Ant Tag | 0.66 0.05 | 0.75 0.03 | 0.79 0.08 | 0.87 0.04 | 0.86 0.05 | 0.72 0.04 | 0.74 0.05 | 0.93 0.01 | 0.83 0.02 | 0.76 0.05 |
| Lantern Ant Tag | 0.40 0.03 | 0.36 0.03 | 0.50 0.08 | 0.33 0.01 | 0.43 0.06 | 0.38 0.04 | 0.39 0.02 | 0.41 0.05 | 0.42 0.02 | 0.53 0.06 |
| Odd–Even | 0.30 0.03 | 0.35 0.02 | 0.55 0.02 | 0.47 0.03 | 0.51 0.01 | 0.31 0.02 | 0.39 0.02 | 0.48 0.05 | 0.56 0.02 | 0.50 0.04 |
| Beacon Sweep | 0.88 0.01 | 0.96 0.00 | 0.66 0.01 | 0.88 0.00 | 0.82 0.06 | 0.89 0.00 | 0.96 0.01 | 0.97 0.01 | 1.00 0.00 | 0.97 0.01 |
| Faint Beacon | 0.16 0.01 | 0.22 0.01 | 0.12 0.01 | 0.17 0.01 | 0.16 0.01 | 0.19 0.01 | 0.22 0.01 | 0.23 0.01 | 0.16 0.00 | 0.22 0.02 |
| Frozen encoder | Fine-tuned encoder ( LR) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Task | CGF | CGF | Deep Sets | PointNet | Set Transf. | CGF | CGF | Deep Sets | PointNet | Set Transf. |
| Ant Tag | 0.48 0.02 | 0.68 0.04 | 0.79 0.04 | 0.77 0.05 | 0.81 0.03 | 0.48 0.06 | 0.79 0.03 | 0.87 0.01 | 0.89 0.02 | 0.91 0.02 |
| Lantern Ant Tag | 0.11 0.01 | 0.34 0.04 | 0.41 0.03 | 0.32 0.02 | 0.37 0.00 | 0.10 0.01 | 0.33 0.04 | 0.49 0.04 | 0.32 0.01 | 0.34 0.04 |
| Odd–Even | 0.28 0.01 | 0.44 0.02 | 0.87 0.00 | 0.86 0.01 | 0.88 0.00 | 0.28 0.02 | 0.45 0.01 | 0.81 0.01 | 0.79 0.01 | 0.86 0.01 |
| Beacon Sweep | 0.87 0.01 | 0.94 0.01 | 0.99 0.00 | 1.00 0.00 | 0.99 0.01 | 0.86 0.02 | 0.95 0.01 | 1.00 0.00 | 1.00 0.00 | 1.00 0.00 |
| Faint Beacon | 0.17 0.01 | 0.20 0.01 | 0.31 0.01 | 0.25 0.00 | 0.88 0.01 | 0.20 0.02 | 0.18 0.01 | 0.32 0.01 | 0.31 0.01 | 0.89 0.01 |
| Ant Tag | Lantern Ant Tag | Hideout Ant Tag | |
| Episode length | 400 | 400 | 300 |
| Cage half-width | 4.5 | 4.5 | 7.0 |
| (train eval) | (20–50%) | (20–40%) | (20–50%) |
| 1.5 | 1.0 | 0.6 | |
| Target step | 0.5 | 0.3 | 0.5 |
| Evasion scale | over 20–50% of training; at evaluation | ||
| Beacon Sweep | Faint Beacon | Diffuse Beacon | |
|---|---|---|---|
| Episode length | 60 | 60 | 60 |
| Min. separation of | 2.5 | 3.0 | 3.0 |
| Fix scatter | ; the widest exceeds the next by | ||
| Particle counts | equal over live beacons | unique minimum ; every other | equal |
| Ping probability | 1 for live beacons | 1 | |
| Target | every live beacon |
| Odd–Even | |
|---|---|
| Hidden state | one integer drawn uniformly from at reset; fixed for the episode |
| Episode length | 30 steps, with a prediction at every step |
| Observation | one integer per step, drawn from a discretized Gaussian centered on with and restricted to the integers in of the same parity as ; one observation at reset and one after every action, so the prediction at step uses the first observations |
| Action | discrete, 50 choices: a prediction of |
| Reward | for an exact match, otherwise; no shaping |
| Belief | the exact posterior over the 50 states, one particle per integer with the posterior as its weight, from a uniform prior; every opposite-parity state has weight exactly from the first observation on, and the mass on the remaining 25 states sharpens with each observation, by step 21 |
| Task | Score | Other | |
|---|---|---|---|
| CF | 160 | 0.80 (three seeds solve every episode; two commit to one end) | – |
| AT | 8 | 0.017 | – |
| LAT | 8 | 0.000 | – |
| HAT | 8 | 0.730 | – |
| OE | 30 | 0.260 | : 0.242 |
| BS | 60 | 0.24 / 0.003 | : 0.24 / 0.001; : 0.19 / 0.000 |
| Task | Frame | Input width | |
|---|---|---|---|
| CF | position, velocity, priest reading (the native observation) | 160 | 480 |
| AT, LAT | the 31-d MuJoCo observation, with the target’s coordinates unmasked while inside the visibility radius and zero outside it | 8 | 248 |
| HAT | as above, plus a constant 6-vector: the two active dens (scaled by the arena half-width) and their prior masses, the filter’s initial belief | 8 | 254 |
| OE | the observation and the time index, | 30 | 60 |
| BS, FB, DB | agent position, then five slots of (bit, , ): this step’s anonymous pings in random slot order, agent-relative and scaled; empty slots zero | 60 | 1020 |
| Output width | Trainable parameters | |||
|---|---|---|---|---|
| Representation | 1-D tasks | 2-D tasks | 1-D tasks | 2-D tasks |
| Gaussian | 2 | 5 | 0 | 0 |
| Moments | 8 | 16 | 0 | 0 |
| , fixed probes | 64 | 64 | 0 | 0 |
| , learned probes | 64 | 64 | 64 | 192 |
| , fixed probes | 64 | 128 | 0 | 0 |
| Hyperparameter | Car–Flag, Odd–Even | Ant Tag variants | Beacon tasks |
|---|---|---|---|
| Training steps | 1M (CF), 3M (OE) | 6M | 3M |
| Learning rate | , linear decay | , linear decay | , constant |
| Parallel environments | 4 | 4 | 16 |
| Steps per environment per update | 2048 | 4096 | 256 |
| Minibatch size | 64 | 64 | 1024 |
| Epochs per update | 10 | 10 | 10 |
| Task | Source | Beliefs |
|---|---|---|
| Ant Tag | scripted rollouts | 100 000 |
| Lantern Ant Tag | scripted rollouts | 100 000 |
| Hideout Ant Tag | scripted rollouts | 38 271 |
| Beacon Sweep | scripted rollouts | 185 009 |
| Faint Beacon | reset distribution | 100 000 per epoch (reconstruction); 300 000 per epoch (task-specific) |
| Diffuse Beacon | reset distribution (reconstruction); rollouts of trained policies and reset distribution (task-specific) | 100 000 per epoch (reconstruction); 161 960 and 87 092 per epoch (task-specific) |
| Task | Objective | Batch size | Epochs | Learning rate | |
|---|---|---|---|---|---|
| Ant Tag, Lantern Ant Tag | reconstruction | 128 ∗ | 200 ∗ | 0.2 | |
| task-specific | 256 | up to 120 | 0.2 | ||
| Hideout Ant Tag | reconstruction | 32 | 100 | – | |
| task-specific | 256 | up to 120 | – | ||
| Beacon Sweep | reconstruction | 256 | 200 | 0.02 | |
| task-specific | 256 | up to 120 | 0.02 |
Representation Learning for RL
Representation learning for reinforcement learning builds state, task, and dynamics features that help agents learn, explore, and transfer.
See all 84 papers