mlsanityData to 14 Oct 2026

Common Benchmarks Undervalue the Generalization Power of Programmatic Policies

arXiv 2506.14162 ↗First posted 17 Jun 2025cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Algorithms for learning programmatic representations for sequential decision-making problems are often evaluated on out-of-distribution (OOD) problems, with the common conclusion that programmatic policies generalize better than neural policies on OOD problems. In this position paper, we argue that commonly used benchmarks undervalue the generalization capabilities of programmatic representations. We analyze the experiments of four papers from the literature and show that neural policies, which were shown not to generalize, can generalize as effectively as programmatic policies on OOD problems. This is achieved with simple changes in the neural policies training pipeline. Namely, we show that simpler neural architectures with the same type of sparse observation used with programmatic policies can help attain OOD generalization. Another modification we have shown to be effective is the use of reward functions that allow for safer policies (e.g., agents that drive slowly can generalize better). Also, we argue for creating benchmark problems highlighting concepts needed for OOD generalization that may challenge neural policies but align with programmatic representations, such as tasks requiring algorithmic constructs like stacks.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 35 references that are in the map. First posted on arXiv 17 Jun 2025.

Builds on

14 of 35 references.

References · 14

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2015Continuous control with deep reinforcement learningcited by 3,407
  3. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
  4. 2018Programmatically Interpretable Reinforcement Learningcited by 193
  5. 2018Verifiable Reinforcement Learning via Policy Extractioncited by 177
  6. 2020DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learningcited by 161
  7. 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
  8. 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
  9. 2021Learning to Synthesize Programs as Interpretable and Generalizable Policiescited by 59
  10. 2022Top-Down Synthesis for Library Learningcited by 58
  11. 2022Look where you look! Saliency-guided Q-networks for generalization in visual Reinforcement Learningcited by 34
  12. 2022babble: Learning Better Abstractions with E-Graphs and Anti-Unificationcited by 23
2 more
  1. 2023MaDi: Learning to Mask Distractions for Generalization in Visual Deep Reinforcement Learningcited by 10
  2. 2023Bayesian Program Learning by Decompiling Amortized Knowledgecited by 2

Built on by

Not cited yet.