acceptodds
Published as a conference paper at NeurIPS 2026

Understanding Goal Generalisation in Sequential Reinforcement Learning

Jason Brown, Edward Young

Abstract

Reinforcement learning agents often exhibit unintended goal-directed behaviour outside their training distribution, but we currently lack a principled understanding of how such agents will generalise to novel environments based on their training history. We address this gap for agents trained sequentially on one or more tasks. We study over 100 sequential training pipelines, evaluating behaviour across over 250 out-of-distribution environments. We find that salient features drive generalisation, and that goals learnt early in training can persist and influence those acquired later. To explain these phenomena, we introduce latent policy gradients , a method that predicts what out-of-distribution behaviour a training pipeline will likely induce. Our method simulates the evolution of low-dimensional latent variables during training according to what would achieve high reward on the training objective with respect to a simple model of how the latent variables map to behaviour. It achieves strong predictive accuracy, generalises to unseen types of training pipeline, and is interpretable. Our findings demonstrate that while out-of-distribution RL agent behaviour is dependent on the whole training pipeline, this dependence has an underlying structure we can capture, laying groundwork for understanding goal generalisation from a developmental perspective.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_P4udOpenReview ↗
Rating
3
Clarity
2
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper presents a principled understanding and prediction of the behavior of Reinforcement Learning agents in out-of-distribution environments based on their training history. The paper specifically introduces a new method, latent policy gradients, to predict the out-of-distribution behavior of an agent based on its specific training pipeline. They trained agents through 100 training pipelines and evaluated them in 250 unseen environments. They found out that behavior learned early in the training process persists, and that salient features drive this persistence. They further found that this behavior can be predicted by a few latent variables that capture the underlying structure.

Strengths and weaknesses

Strengths

  • The work studies an interesting problem of predicting how an RL agent would behave in unseen out-of-distribution situations.

Weakness

  • The paper is not well structured and is hard to follow, especially the methods section. I struggled to follow the proposed methodological details. For instance, Section 5 is not presented in a coherent way and thus limited my ability to understand and meaningfully evaluate the work. It wasn’t clear to me what the specific mathematical problem formulation being solved was.
  • The main paper does not sufficiently discuss related work, making it difficult to assess the contribution on its own without referencing the appendix.
Questions
  • I couldn’t follow footnote #3. The main paper text shows 108 agents, but the footnote shows 96. Not sure I understand where the other 12 configurations come from.
  • I suggest a better reorganization of the paper so that the motivation, method, evaluation, and results are very clear. Current as is, sections 3, 4, and 5 are all over, each presenting the experimental details, mixed up with results, methodology, and discussion. It is unclear to me what the specific contribution is and how to evaluate it.
  • I also noted a general overdependence on the appendix. Key details are repeatedly deferred from the main text, making the main paper difficult to evaluate on its own. For instance, I think Methodological details in Appendix Section C (e.g Algorithms 1 & 2) should be in the main paper to make it easier to understand the latent policy gradients method in Section 5.
Limitations

yes

Paper formatting concerns

None

Final justification

The rebuttal clarified what the key contributions of the paper were. That was very helpful and allowed me to better follow the paper. The authors also provided the intended structure of the paper and what each section/subsection intends to achieve.

I re-read the paper, and I got a better understanding of sections 1-4, but I find section 5 still hard to follow. Specifically, it compresses the problem formalism, the method, the evaluation & results, and the interpretation into a very dense presentation. While these choices are not necessarily wrong, I think they make it hard for the reader to see clearly what the latent policy gradients method is, why it is novel, and what advantage it has over the baselines. For this reason, I will raise my rating from 2 to 3. I am still not comfortable with accepting the current structure of the paper.

Reviewer_Cq8NOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
4
Quality
4
Significance
3
Read review
Summary

This paper explores goal generalisation in RL agents. Specifically, it examines whether agents exhibit coherent behaviour when presented with OOD goals. The paper continues by presenting a method for predicting OOD goal selection agent behaviour that performs significantly better than random choice, and approaches agent-specific lower bounds.

Strengths and weaknesses

Strengths

Predicting agent behaviour in out of distribution environments is clearly a compelling direction of research.

This paper presents a clearly outlined, novel examination of agent generalisation patterns. The results shown illustrate that agent behaviour in relation to unseen goals is relatively predictable, and can be modelled using the proposed method.

The proposed latent policy gradient method appears to be a sensible and effective method of modelling these behaviours, as supported by the results.

Weaknesses

I think the primary weaknesses of this work is the limited scope of the experimentation. This has been clearly outlined in the Discussion section, but I do think the work would be greatly strengthened with either an examination of different domains, or additional results using different algorithms or architectures.

This may lie in the scope of future work, but I do think is an area that should be explored. I would be interested whether different learning algorithms result in similarly coherent agent behaviours, and whether there is any correlation between different algorithms' agent behaviour.

Questions
  1. My understanding is that, although some visual features were not used in agent training (only in eval), all features were used when training the latent policy gradient model. However, it seems like the most useful application of this method would be in predicting agent behaviour with entirely unseen features. Do you think it would be possible to extend this method to this setting? And do you think it would be effective?

  2. Currently, it seems as though the only inputs to the latent variable ww that summarises an agent's behaviour is the features used in training. Do you think it would be possible to include more agent-specific information? The most extreme version of this would be to include the full network parameters, as suggested in the paper, but have you considered any other options?

Limitations

yes

Paper formatting concerns

No formatting concerns

Final justification

I think this is an interesting piece of work that shows a compelling result. There is a clearly valuable contribution in examining out-of-distribution RL behaviour, and the paper demonstrates that this behaviour can be coherent and predictable. There is definitely room for future work in extending to different environments and algorithms, but the work in its current form is still a meaningful and insightful contribution.

Reviewer_NWh3OpenReview ↗
Rating
4
Clarity
4
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes a new method for analyzing goal generalization via capturing agent preferences towards goals in out-of-distribution (OOD) probelms. In order to do so, the authors devise a simple toy environment of maze navigation where the agents are trained to retrieve objects of different shapes and colors. There are distractor objects in some environments which do not impact reward per step.

The authors then device training pipelines. This is akin to curriculums although task difficulty is not mentioned here. In a training pipeline, the goals are fixed and episodes involve optimizing agents to navigate the maze and reach these objects. The next stage can have different goals and object settings.

The agent preference is defined as the frequency over which an agent prefers object A to B. The authors train agents on this and note some preferences in agreement with literature in Sec 4.2

They then introduce teh concept of learning said preferences or goal generalization using latency policy gradients whose optimization objective is to minimize the KL-divergence between the observed preferences and the parametric function that represents the learned preferences.

The authors then conduct an empirical evaluation with different functions and showcase that their method is able to predict agent preferences far better than others. Finally, the authors provide insights into how latent policy gradients are interpretable in terms of the features.

Strengths and weaknesses

Thank you for your work. I think the presented results are interested, the method is novel and this seems like it could be a good fit for NeurIPS. Some notes and pointers to improve the paper are below.

Strengths

S1. The paper is very well-written although a nit is that it seems the authors relied on the Appendix for related work etc. This makes the paper less accessible and diminishes the paper from being well-rounded.

S2. The method is intuitive and the results are strong.

S3. Intepretability is a big plus and the proposed method seems sound.

Weaknesses

W1. As said in S1, the writing choices are a bit strange. I understand page limits, but the paper does not read as an isolated unit. Defering to related work in the appendix undermines related work which IMO should be in the main paper to better understand the contributions.

W2. The problem seems super simple. Only maze navigation and only simple objects or training pipelines. I think an evaluation that shows 3 objects would be better and learned preferences over these would be far better to showcase. A different representative environment would also be better to showcase.

W3. I think an ablation that shows how the preference function evolves is missing. Since the preference function is only available post-training, it would be interesting to see and characterize "surprise" to perhaps improve the training pipeline to be better. At the moment, the utility seems a bit limited since there are no guarantees that goal generalization behavior can be reliably predicted which goes against the very motivation of AI safety that the authors presented in the intro paragraph.

W4. Circling back to W2 again, i think there is some info missing naturally and could be pre-empted by a stronger or more detailed evaluation. For example, lets say there are two objects as-in the maze setting, reaching any object gives a reward. Assuming deterministic semantics, the MDP's optimal policy is now represented by the shortest path from the agent to any object. Can this be captured? Graph neural networks for example can represent and encoed such info in some sense upto some generalization. It would be interesting to see what preferences are learned in such cases and how intepretability projections are expressed in such cases.

Overall, I am quite happy with this work and I think it is a good fit for NeurIPS. Happy to discuss further and increase my score.

Questions

Please address my weaknesses.

Limitations

Yes

Paper formatting concerns

None

Final justification

Paper is well-written and a good fit for neurips. Evaluation could be stronger but I think the paper has merit in being accepted in its current form. Rebuttal has clarified my concerns and I maintain my original recommendation of an accept.

Comments on the paper

1 comment
Meta-review

The paper proposes a framework for analyzing goal generalization by modeling agent preferences in out-of-distribution (OOD) settings. Using a toy maze navigation environment with objects of varying shapes and colors, the authors define agent preferences based on the frequency of selecting one goal over another across different training pipelines. They introduce Latent Policy Gradients (LPG) to learn these preferences by minimizing the KL divergence between observed and predicted preference distributions. Experimental results demonstrate that LPG predicts agent preferences more accurately than competing methods while also providing interpretable latent representations of the underlying goal features.

Strengths:

  • The paper deals with a compelling topic of agent behavior modeling and seeks to answer whether an agent behavior would be predictable in OOD goal.
  • Developed an intuitive method and shows that agent behavior is indeed predictable.
  • Demonstrate supportive results in carefully designed environment and the method offers interpretability.

Weaknesses:

  • The major weakness of the work is the limited evaluation on only two simple maze like environments.
  • Multiple reviewer pointed out the necessity of reorganization of the manuscript and reducing over-reliance on Appendix.
  • The paper does not offer any formal guarantee that goal generalization can be predicted accurately.
  • How the agent preference prediction mechanism will work with other RL algorithms is missing.

In the review response, the authors should discuss how the organization of the paper could be improved. Further analysis with more complex environments would greatly strengthen the work and show the practical applicability. An ablation that shows how the preference function evolves would add value to the paper. Answering the remaining questions from the reviewers would help them to reassess the contribution.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.