             Improving the Continuity of Goal-Achievement Ability via Policy
            Self-Regularization for Goal-Conditioned Reinforcement Learning


         Xudong Gong 1 2 Sen Yang 1 Dawei Feng 1 2 Kele Xu 1 2 Bo Ding 1 2 Huaimin Wang 1 2 Yong Dou 1


                           Abstract




                                                                     5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                     5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                                                                                               1.0                                                             1.0
       This paper addresses the challenge of disconti-
                                                                                                                               0.8                                                             0.8
       nuity in goal-achievement capabilities observed
                                                                                                                               0.6                                                             0.6
       in Goal-conditioned Reinforcement Learning
                                                                                                                               0.4                                                             0.4
       (GCRL) algorithms. Through a theoretical analy-
       sis, we identify that the reuse of successful trajec-
       tories or policies during training can aid in achiev-                                      -5 -4 -3 -2 -1 0 1 2 3 4 5                                      -5 -4 -3 -2 -1 0 1 2 3 4 5
       ing adjacent goals of achievable goals. How-
       ever, the policy discrepancy between achievable                                            (a) GC-PPO (baseline)                                           (b) MSR-GC-PPO (ours)
       and adjacent goals must be carefully managed
       to avoid both overly trivial and excessively large           Figure 1. Success rate of adjacent goals around an achievable goal
                                                                    on the fixed-wing aircraft control task. In this task, χ and µ
       differences, which can respectively hinder pol-
                                                                    represent two dimensions of the goal space. The central point in
       icy performance. To tackle this issue, we pro-               the figure denotes an achievable goal. To enhance the clarity of the
       pose a margin-based policy self-regularization ap-           two coordinate axes, we introduce the baseline noise parameters
       proach that optimizes the policy discrepancies               ∆χ and ∆µ . The horizontal axis, ϵχ , signifies that the distance
       between adjacent desired goals to a minimal ac-              between an adjacent goal and the achievable goal along the χ
       ceptable threshold. This method can be inte-                 dimension is ϵχ ∆χ . A similar interpretation applies to the vertical
       grated into popular GCRL algorithms, such as                 axis, ϵµ . We train 5 policies, each initialized with a distinct random
       GC-SAC, HER, and GC-PPO. Systematic eval-                    seed. For each policy, we conduct evaluations with 100 achievable
       uations across two robotic arm control tasks                 goals. The results presented herein reflect the average performance
       and a complex fixed-wing aircraft control task               across the total of 500 achievable goals.
       demonstrate that our approach significantly im-
       proves the continuity of goal-achievement abil-
       ities of GCRL algorithms, thereby enhancing                  2018). This method demonstrates superiority over conven-
       their overall performance. Our code is avail-                tional approaches of training a policy for each individual
       able at https://github.com/GongXudong/fly-craft-             goal, as it facilitates the transfer of knowledge across dif-
       examples.                                                    ferent goals (Andrychowicz et al., 2017). GCRL has been
                                                                    extensively applied in control domains, such as robotic arm
                                                                    manipulation (Pitis et al., 2020) and fixed-wing aircraft con-
                                                                    trol (Gong et al., 2024b; 2025b), as well as in games like
1. Introduction                                                     MineCraft (Yuan et al., 2024) and Atari (Warde-Farley et al.,
Goal-conditioned Reinforcement Learning (GCRL) (Liu                 2018; Schaul et al., 2015).
et al., 2022) is an approach that acquires goal-conditioned         However, in practice, we observe that GCRL algorithms
behaviors by maximizing cumulative rewards over a desired           commonly encounter discontinuity in their capability to
goal distribution through trial-and-error (Sutton & Barto,          achieve goals. For instance, when the error threshold for
   1
    College of Computer Science and Technology, National Uni-       determining achievement, δ = 1, an aircraft is capable of ex-
versity of Defense Technology, Changsha, Hunan, China 2 State       ecuting a right turn of 30 degrees, yet it fails to accomplish
Key Laboratory of Complex & Critical Software Environment,          a right turn of 30.1 degrees. This is an issue that should not
Changsha, Hunan, China. Correspondence to: Dawei Feng               arise, given that the change in the goal, 0.1, is significantly
<davyfeng.c@qq.com>.                                                less than δ. Consequently, reusing the trajectory for the 30-
Proceedings of the 42 nd International Conference on Machine        degree right turn should suffice to achieve the 30.1-degree
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025         turn, as demonstrated in Fig. 2 (a) and (b). To provide a
by the author(s).                                                   more intuitive illustration, we conduct systematic evalua-

                                                                1
                     Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization


       30°
                  30.1°

     (a) Research Question:            (b) Observation 1:                     (c) Observation 2:
     Suppose the aircraft can          Directly reusing the policy            It is necessary to
     turn right 30°. Then, can         for turning right 30° can              change the reused              (d) Observation 3:
     it turn right 30.1° (error        achieve 30.1° and obtain               policy in order to             If the policy differs too
     threshold 𝜹 = 𝟏)?                 a guaranteed return.                   obtain higher returns.         much, it may lead to failure.


                             Figure 2. Research question and three corresponding observational findings.


tions on the fixed-wing aircraft control task, and the results              • We conduct a theoretical analysis to elucidate the rea-
are depicted in Fig. 1. It is evident that the success rate for               sons for the discontinuity in goal-achievement capabil-
goals in the vicinity of an achievable goal typically falls                   ities of GCRL algorithms. Based on the insights from
below 60%. In contrast, our method significantly elevates                     theoretical analysis, we design a margin-based policy
the success rate to well above 60%.                                           self-regularization method. This method, serving as an
                                                                              auxiliary optimization for policies, can be integrated
To address the aforementioned issue, we conduct a theo-
                                                                              as a plug-in module into nearly all GCRL algorithms.
retical analysis which reveals that, during training, reusing
successful trajectories can facilitate the policy in learning
                                                                            • We conduct systematic evaluations on two robotic arm
to achieve adjacent goals around the achieved ones, while
                                                                              control tasks and a fixed-wing aircraft control task.
also guaranteeing a baseline level of cumulative rewards.
                                                                              Results indicate that the integration of MSR into GCRL
The difference between policies for achieved goals and their
                                                                              algorithms substantially improves the continuity of
adjacent goals should be small but not too trivial; an exces-
                                                                              their goal-achievement abilities.
sively small discrepancy may hinder the policy from further
enhancing cumulative rewards beyond the baseline (Fig. 2
(c)), whereas a large discrepancy may result in the policy’s             2. Preliminaries
failure to obtain the baseline cumulative rewards (Fig. 2
(d)).                                                                    GCRL can be described by goal-augmented MDP (Liu et al.,
                                                                         2022) M = ⟨S, A, T , r, γ, G, pdg , ϕ⟩, where S, A, γ, G and
Building upon these insights, we develop a Margin-Based                  pdg denote the state space, action space, discount factor,
Policy Self-Regularization (MSR) approach, which opti-                   goal space and desired goal distribution of the environment,
mizes the difference between the polices for a desired goal              respectively. T : S × A → P(S) is the transition func-
and its adjacent goals to a threshold that represents the                tion, where P(X ) denote the probability distribution over
minimal acceptable discrepancy. We incorporate MSR                       a set X . r : S × A × G → R is the goal-conditioned
into the widely used GCRL algorithms, including the goal-                reward function. ϕ : S → G is a tractable mapping func-
conditioned off-policy algorithms GC-SAC (Pitis et al.,                  tion that maps the state to a specific goal. The objective
2020) and HER (Andrychowicz et al., 2017), as well as                    of GCRL is to achieve goals via a goal-conditioned policy
the goal-conditioned on-policy algorithm, GC-PPO (Gong                   π : S ×G → P(A) that maximizes the expectation of the cu-
et al., 2024a). We conduct experiments on two robotic
arm control tasks (Gallouédec et al., 2021) and one com-
                                                                         mulative rewards over the desired goal      P distribution J(π) =
                                                                         Eat ∼π(·|st ,g),g∼pdg ,st+1 ∼T (·|st ,at ) [ t γ t r(st , at , g)] .
plex, real-world fixed-wing aircraft control task (Gong et al.,
2025a). Experiment results indicate that MSR effectively                 Without loss of generality, we assume that: (1) In the tran-
improves the continuity of goal-achievement abilities for                sition function, a parameter δ is incorporated to assess the
GCRL algorithms, and furthermore, it improves the ability                achievement of a goal. The criterion for determining that
of the policies to obtain cumulative rewards.                            a state s has achieved the goal g is given by the condition
                                                                         ∥ϕ(s) − g∥ < δ, where ∥ · ∥ represents a distance metric.
To summarize:                                                            If this condition is satisfied, it is said that the state s has
                                                                         achieved the goal g. (2) The reward function is bounded by
                                                                         Rmax , i.e., |r(s, a)| ≤ Rmax , ∀(s, a) ∈ S × A.
   • We assess multiple prevalent GCRL algorithms across
     a range of tasks, substantiating the prevalent challenge                                                         Pdiscounted
                                                                         To facilitate later analysis, we introduce the             sta-
                                                                                                                        ∞
     of discontinuity in the goal-achievement capabilities               tionary state distribution dπ (s) = (1 − γ) t=0 γ t Pr(st =
     of GCRL algorithms.                                                 s; π), and the discounted stationary state-action distribution

                                                                     2
                       Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization
                      P∞
ρπ (s, a) = (1 − γ) t=0 γ t Pr(st = s, at = a; π). Intu-                     goals. Theorem 3.3, meanwhile, attempts to quantify the cu-
itively, discounted stationary state (state-action) distribution             mulative rewards that can be obtained by reusing successful
measures the overall frequency of visiting a state (state-                   trajectories and policies.
action) (Xu et al., 2020). Their relationship ρπ (s, a) =                    Theorem 3.3. Consider a goal-augmented MDP M =
π(a|s)dπ (s) holds for any policy π. Additionally, we intro-                 ⟨S, A, T , r, γ, G, pdg , ϕ⟩. For any goal g ∈ G and perturba-
duce an alternative method for computing the cumulative                      tion ϵ ∈ G, the following two inequalities hold:
                              1                               1
rewards, given by J(π) = 1−γ     E(s,a)∼ρπ r(s, a), where 1−γ
is analogous to the effective planning horizon (Puterman,
2014).                                                                                        1 X
                                                                               J(πg+ϵ ) ≥               ρπg (s, a)r(s, a, g + ϵ)
To maintain the clarity of the formulas, we employ the                                      1−γ
                                                                                                  (s,a)
notation πg as an abbreviation for π(·|·, g). We denote                                         √                                       (1)
                                                                                               2 2Rmax
                                                                                                         q
the cumulative rewards that policy π can obtain with re-                                    −                DKL (πg+ϵ (·|s), πg (·|s))
spect to a desired goal g as J(πg ), P        which is defined as                              (1 − γ)2
J(πg ) = Eat ∼π(·|st ,g),st+1 ∼T (·|st ,at ) [ t γ t r(st , at , g)] =
  1
1−γ E(s,a)∼ρπg r(s, a, g).
                                                                                              1 X
                                                                               J(πg+ϵ ) ≤               ρπg (s, a)r(s, a, g + ϵ)
                                                                                            1−γ
3. Margin-Based Policy Self-Regularization                                                        (s,a)
                                                                                                                                        (2)
                                                                                                √
                                                                                               2 2Rmax
                                                                                                         q
3.1. Theoretical Analysis                                                                   +                DKL (πg+ϵ (·|s), πg (·|s))
                                                                                               (1 − γ)2
We commence by presenting Theorem 3.1 and Corollary 3.2,
which underpin the insight depicted in Fig. 2(b).                            The proof of Theorem 3.3 can be found in Appendix A.4.
Theorem 3.1. Consider a goal-augmented MDP M =                               Theorem 3.3 establishes  P the upper and lower bounds for
                                                                                                  1
⟨S, A, T , r, γ, G, pdg , ϕ⟩, where the error threshold for de-              J(πg+ϵ ). Here, 1−γ        (s,a) ρπg (s, a)r(s, a, g + ϵ) repre-
termining goal achievement is δ. Suppose we have a trajec-                   sents the first part of return determined by the state-action
tory τ = (s0 , a0 , s1 , a1 , · · · , sT , aT ) satisfying ϕ(sT ) = g.       distribution induced
                                                                                                √
                                                                                                    by πg and the reward function defined
For an arbitrary perturbation ϵ ∈ G, if ∥ϵ∥ < δ, then τ may                                       2Rmax
                                                                             by g + ϵ, while 2(1−γ)
                                                                                                        p
                                                                                                     2    DKL (πg+ϵ (·|s), πg (·|s)) denotes
also be regarded as achieving g + ϵ.                                         the second part of return that is determined by the discrep-
                                                                             ancy between πg and πg+ϵ .
The proof of Theorem 3.1 can be found in Appendix A.2.
Theorem 3.1 shows that if a trajectory successfully achieves                 As indicated by Equation 1, when πg and πg+ϵ are
goal g, then it is also able to serve as a trajectory for achiev-                 P J(πg+ϵ ) obtains the maximum lower bound,
                                                                             identical,
                                                                               1
ing goals in the vicinity of g. Theorem 3.1 analyzes the                     1−γ     (s,a) ρπg (s, a)r(s, a, g + ϵ). We refer to this value
properties of achieved goals from the perspective of tra-                    as the guaranteed return for πg+ϵ . The guaranteed re-
jectories. The following Corollary 3.2, on the other hand,                   turn corresponds to the cumulative rewards obtainable from
analyzes the properties of the achieved goal from the per-                   reusing trajectories or policies as discussed in Theorem 3.1
spective of the policy.                                                      and Corollary 3.2.
Corollary 3.2. Consider a goal-augmented MDP M =                             According to Equation 2, to enhance the return of πg+ϵ
⟨S, A, T , r, γ, G, pdg , ϕ⟩, where the error threshold for de-              beyond the guaranteed return, there must be a certain de-
termining goal achievement is δ. For a desired goal g ′ ,                    gree of discrepancy between πg+ϵ and πg (as depicted by
suppose we have a policy π that can achieve this goal (with                  Fig. 2(c)). In the following section, we present Theorem 3.4
the actually achieved goal being denoted as g). For any per-                 to elucidate the relationship between the policy discrepancy
turbation ϵ ∈ G such that ∥ϵ∥ < δ, the policy is guaranteed                  between πg+ϵ and πg and the corresponding return gap.
to achieve the goal g + ϵ on the condition that it satisfies                 Theorem 3.4. Consider a goal-augmented MDP M =
Es∼dπ ′ DKL (π(·|s, g ′ ), π(·|s, g + ϵ)) = 0.                               ⟨S, A, T , r, γ, G, pdg , ϕ⟩. For a policy π and any pair of
       g
                                                                             goals g1 ∈ G and g2 ∈ G, the following inequality holds:
The proof of Corollary 3.2 can be found in Appendix A.3.
Corollary 3.2 indicates that if the policy remains unchanged,
                                                                                   |J(πg1 ) − J(πg2 )| ≤
the same policy can also achieve goals in the vicinity of
achieved goals.                                                                       1 X
                                                                                                ρπg1 (s, a) |r(s, a, g1 ) − r(s, a, g2 )|
                                                                                   1−γ                                                      (3)
Theorem 3.1 and Corollary 3.2 demonstrate that the tra-                                   (s,a)
                                                                                        √
jectories or policies associated with achieved goals can be                            2 2Rmax
                                                                                                            q
reused to achieve goals in the vicinity of these achieved                           +            E s∼dπg      dKL (πg1 (·|s), πg2 (·|s))
                                                                                       (1 − γ)2           1



                                                                         3
                     Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization

The proof of Theorem 3.4 can be found in Appendix A.5.                 3.2. The Proposed Method
Theorem 3.4 demonstrates that the gap in cumulative re-
                                                                       We commence by summarizing the conclusions presented
wards between two goals, g1 and g2 , under policy π is
                                                                       in Section 3.1:
bounded by two components: the first part is the return gap
determined by the state-action distribution induced by πg1
and the reward gap determined by g1 and g2 ; the second part              • Corollary 3.2 indicates that a policy corresponding to
is the return gap determined by the discrepancy between                     an achieved goal can be reused to achieve goals in the
πg1 and πg2 . In the context of multi-goal problems, a com-                 vicinity of this achieved goal.
monly employed reward function is r = −∥ϕ(s) − g∥. For
                                                                          • Theorem 3.3 suggests that reusing a policy ensures
this type of reward, we further simplify Equation 3 through
                                                                            a guaranteed return, yet higher returns can only be
Corollary 3.5.
                                                                            attained through policy modification.
Corollary 3.5. Consider a goal-augmented MDP M =
⟨S, A, T , r, γ, G, pdg , ϕ⟩, where the reward function is de-            • Corollary 3.6 demonstrates that when modifying the
fined as r(s, a, g) = −∥ϕ(s) − g∥. For a policy π and any                   reused policy, the extent of modification should not
pair of goals g1 ∈ G and g2 ∈ G, the following inequality                   be excessive, as this may result in the policy’s return
holds:                                                                      being unbounded.

                                                                       Inspired by the aforementioned three conclusions, we are led
|J(πg1 ) − J(πg2 )| ≤                                                  to consider the reduction of the discrepancy between πg and
               √
∥g1 − g2 ∥ 2 2Rmax
                                q                                      πg+ϵ while simultaneously preventing their convergence to
           +           Es∼dπg     dKL (πg1 (·|s), πg2 (·|s))           excessive similarity. Consequently, we propose the MSR
  1−γ         (1 − γ)2        1

                                                          (4)          method, as delineated in Equation 6. The core component
                                                                       of this regularization involves the divergence between π at
The proof of Corollary 3.5 can be found in Appendix A.6.               g and g + ϵ, quantified by DKL [πg (·|s), πg+ϵ (·|s)]. Hence,
It can be observed that the first part of the return gap is            the primary function of MSR is to mitigate the divergence
              1 −g2 ∥
reduced to ∥g1−γ      , a value that is solely determined by the       between πg and πg+ϵ . The role of the parameter β and the
difference between g1 and g2 . When applied to our research            maximization operator is to ensure that the MSR ceases to
problem, considering goals g and g + ϵ, we further simplify            exert influence when DKL [πg (·|s), πg+ϵ (·|s)] is less than β,
Equation 4 through Corollary 3.6.                                      thereby preventing excessively small discrepancies between
Corollary 3.6. Consider a goal-augmented MDP M =                       πg and πg+ϵ .
⟨S, A, T , r, γ, G, pdg , ϕ⟩, where the reward function is de-
fined as r(s, a, g) = −∥ϕ(s) − g∥ and the error threshold
for determining goal achievement is δ. For a policy π, a               LMSR (π) = max{E       s∼dπg        DKL [πg (·|s), πg+ϵ (·|s)]−β, 0}
                                                                                            ϵ∼(−ϵ′ ,ϵ′ )
specific goal g, and any perturbation ϵ ∈ G, if ∥ϵ∥ < δ, the
                                                                                                                                       (6)
following inequality holds:
                                                                       Given that MSR serves as a regularization for policies, it
                                                                       can be integrated with any policy-based GCRL method,
 |J(πg ) − J(πg+ϵ )| ≤                                                 whether it is off-policy, such as GC-SAC, or on-policy, such
            √                                                          as GC-PPO. The specifics of this integration are detailed in
   δ       2 2Rmax
                             q                             (5)
        +            Es∼dπ     dKL (π g (·|s), πg+ϵ (·|s))             Equation 7.
 1−γ       (1 − γ)2        g




The proof of Corollary 3.6 can be found in Appendix A.7.                              L(π) = LRL (π) + λLMSR (π),                      (7)
It is evident that for a goal g and a goal within its δ-ball,
g + ϵ, the return gap under policy π is governed by two                where LRL (π) represents the optimization objective on π in
parts: a constant part determined by δ and a variable part de-         reinforcement learning and λ is the strength of MSR. Algo-
termined by the discrepancy between πg and πg+ϵ . Current              rithm 1 delineates the specific procedure for computing the
GCRL algorithms generally lack constraints on the discrep-             MSR loss. It is important to note that for each transition,
ancy between policies for adjacent goals, which leads to the           we sample N perturbations, and based on Equation 6, we
observed discontinuity in the policy’s capability to achieve           calculate N MSR values. The average of these N MSR
goals (as depicted by Fig. 2(d)). Consequently, Corollary 3.6          values is then taken as the MSR for that particular transition.
indicates that to reduce the return gap of a policy on two             Increasing the value of N can make the estimation of Equa-
adjacent goals, it is necessary to diminish the policy discrep-        tion 6 more accurate, however, it also leads to an increase
ancy between these two goals.                                          in computational expense.

                                                                   4
                     Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization

Algorithm 1 Margin-Based Policy Self-Regularization
                                                                     Table 1. Policy discrepancy, DKL (πg+ϵ , πg ), return gap,
  Input: training batch [(si , gi )], i = 1, · · · , M , policy π,   J(πg+ϵ ) − J(πg ), and expect return, J(π), for different
  perturbation number for each transition N , the maximum            algorithms. Italics indicates that these results should be interpreted
  perturbation ϵ′ , MSR threshold β, MSR strength λ                  with caution due to the baseline algorithm’s performance
  MSR losses = [ ]                                                   limitations. The mean and variance are shown over 10 random
  for transition (si , gi ) in training batch do                     seeds.
     this transition MSR losses = [ ]                                                              (a) Reach
     for j = 1 to N do                                                   Algorithms      DKL (πg+ϵ , πg )    J(πg+ϵ ) − J(πg )       J(π)
        sample a perturbation ϵ ∼ (−ϵ′ , ϵ′ )                            GC-SAC             0.51±1.28            -0.89±0.68       –12.03±0.63
        tmp MSR loss = max{DKL [π(·|si , gi ), π(·|si , gi +           MSR-GC-SAC           0.25±0.03             0.00±0.00        -0.85±0.02
                                                                          HER               0.71±0.25            -0.01±0.01        -1.16±0.10
        ϵ)] − β, 0}                                                     MSR-HER             0.31±0.04            -0.01±0.01        -0.96±0.08
        this transition MSR losses.append(tmp MSR loss)                  GC-PPO             0.01±0.03            -5.29±2.11       -24.89±1.62
     end for                                                           MSR-GC-PPO           2.85±0.72            -0.01±0.02        -1.03±0.15
     MSR losses.append(this transition MSR losses.mean())                                           (b) Push
  end for                                                                Algorithms      DKL (πg+ϵ , πg )    J(πg+ϵ ) − J(πg )       J(π)
  return λ · MSR losses.mean()                                           GC-SAC             9.69±6.81            -7.58±3.05       -25.50±8.00
                                                                       MSR-GC-SAC           4.27±1.42            -6.48±4.14       -23.80±6.76
                                                                          HER               5.62±0.57            -7.05±2.28       -18.00±2.24
                                                                        MSR-HER             3.80±0.31            -7.02±1.33       -16.31±1.92
4. Experiments                                                           GC-PPO             0.80±0.42            -8.21±1.82       -24.76±2.99
                                                                       MSR-GC-PPO           0.61±0.17            -7.08±1.78       -23.08±5.06
4.1. Settings
                                                                                                    (c) VVC
To evaluate the effectiveness of the proposed method, we                 Algorithms     DKL (πg+ϵ , πg )    J(πg+ϵ ) − J(πg )       J(π)
conduct experiments on three tasks across two physics sim-               GC-SAC            0.37±0.12           -22.00±5.06       -138.20±14.16
ulation engines. The tasks included: (1) Reach and (2) Push            MSR-GC-SAC          0.33±0.09           -20.94±7.62        -132.09±8.06
tasks on the Panda robotic arm (Gallouédec et al., 2021),                HER              0.65±0.22            -7.91±3.22        -69.21±12.87
which are two multi-goal tasks frequently used in academic              MSR-HER            0.58±0.16            -7.52±3.15        -64.73±13.55
                                                                         GC-PPO            0.08±0.08          -44.50±12.09       -169.04±25.57
research. We modify the Reach and Push tasks to increase               MSR-GC-PPO          0.19±0.20          -28.89±14.75       -146.64±28.05
their difficulty. For Reach, we expand the target range, re-
duce the error threshold for determining achievement, and
employ the joints control mode which means a larger action
space; for Push, we expand the target range, employ the              cies for adjacent desired goals, DKL (πg+ϵ , πg ). As ob-
joints control mode and sparse rewards. (3) The Velocity             served in the second column of all tables, except for the
Vector Control (VVC) task on a fixed-wing aircraft (Gong             comparison with GC-PPO on the Reach and VVC tasks,
et al., 2025a), which is a typical multi-goal long-horizon           MSR consistently lowers DKL (πg+ϵ , πg ) across all tasks
task. The long-horizon nature of the VVC task implies                and algorithms. By considering the policy return J(π) and
that the algorithm must overcome more challenging explo-             the success rate presented in Appendix D.2 and D.4, it is ev-
ration difficulties. The specific configurations for the three       ident that GC-PPO barely acquires any capability to achieve
tasks are detailed in Appendix B. Overall, in terms of task          goals on these two tasks. The failure to learn the distinc-
difficulty, the order is Reach < Push < VVC.                         tions between adjacent goals results in a small value of
We evaluate the following three baseline algorithms: (1)             DKL (πg+ϵ , πg ). Conversely, MSR aids the policy in learn-
GC-SAC, representing off-policy GCRL algorithms; (2)                 ing the distinctions between adjacent goals, thereby slightly
HER, another off-policy GCRL algorithm that incorporates             increasing DKL (πg+ϵ , πg ).
the goal-relabeling technique; and (3) GC-PPO, represent-            MSR also effectively diminishes the return gap between
ing on-policy GCRL algorithms. Furthermore, we extend                policies for adjacent desired goals, |J(πg+ϵ ) − J(πg )|.
these baselines with MSR: (4) MSR-GC-SAC; (5) MSR-                   The third column of all tables demonstrates that MSR re-
HER; and (6) MSR-GC-PPO. Detailed descriptions of these              duces |J(πg+ϵ ) − J(πg )| across all tasks and algorithms.
algorithms can be found in Appendix C.                               In conjunction with Theorem 3.4 and the aforementioned
                                                                     analysis of DKL (πg+ϵ , πg ), it can be concluded that MSR
4.2. Main Results                                                    can effectively reduce the discrepancy between policies for
                                                                     adjacent desired goals, thereby lowering the return gap. Ad-
Table 1 presents the performance of our method and the
                                                                     ditionally, we present the success rate for adjacent desired
baselines across three tasks.
                                                                     goals surrounding achievable goals in Appendix D, which
MSR effectively reduces the discrepancy between poli-                exhibits a similar trend to |J(πg+ϵ ) − J(πg )|.

                                                                 5
                                                              Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization
  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                     5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                        5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                                                         5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                                            20                                                                                                 20
                                                                                                                                                                                                                                                  6.0                                                              6.0
                                                                            15                                                                                                 15                                                                 6.5                                                              6.5
                                                                            10                                                                                                 10                                                                 7.0                                                              7.0
 y




                                                                                            y




                                                                                                                                                                                    y




                                                                                                                                                                                                                                                        y
                                                                            5                                                                                                  5                                                                  7.5                                                              7.5
                                                                            0                                                                                                  0                                                                  8.0                                                              8.0


                               -5 -4 -3 -2 -1 0 1 2 3 4 5                                                                         -5 -4 -3 -2 -1 0 1 2 3 4 5                                                         -5 -4 -3 -2 -1 0 1 2 3 4 5                                       -5 -4 -3 -2 -1 0 1 2 3 4 5
                                                    x                                                                                                  x                                                                          x                                                                x

                         (a) HER, DKL (πg+ϵ , πg )                                        (b) MSR-HER, DKL (πg+ϵ , πg )                                                                               (c) HER, J(πg+ϵ ) − J(πg )                        (d) MSR-HER, J(πg+ϵ ) − J(πg )

Figure 3. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on Push over 10
ransom seeds. The interpretation of the coordinate axes and the data collection methods are analogous to those described in Fig. 1.


             40                                                GC-HER                                       10
             35                                                MSR-GC-HER                                                                                                                                   crepancy and return gap between achievable goals and their
                                                                                                            15
             30                                                                                                                                                                                             adjacent goals. It can be observed that the color in Fig. 3b
                                                                                 Cumulative Reward




                                                                                                            20
             25                                                                                             25                                                                                              is darker than that in Fig. 3a, indicating that MSR-HER
             20                                                                                             30
 KL




             15                                                                                             35
                                                                                                                                                                                                            has a smaller DKL (πg+ϵ , πg ) value, which suggests that our
             10                                                                                             40                                                                                              method effectively reduces the discrepancy between poli-
              5                                                                                             45                                                  GC-HER
              0                                                                                             50
                                                                                                                                                                MSR-GC-HER                                  cies for adjacent desired goals. Furthermore, the color in
                               0.0   0.2      0.4       0.6     0.8    1.0                                                        0.0   0.2      0.4       0.6   0.8    1.0
                                           Environment Steps           1e6                                                                    Environment Steps          1e6                                Fig. 3d is lighter than that in Fig. 3c, indicating that the
                   (a) HER, DKL (πg+ϵ , πg )                                                                                      (b) MSR-HER, J(π)                                                         value of J(πg+ϵ ) − J(πg ) for MSR-HER is closer to zero,
                                                                                                                                                                                                            demonstrating that our method effectively reduces the return
Figure 4. Trends of policy discrepancy between policies for ad-                                                                                                                                             gap between policies for adjacent desired goals. For results
jacent desired goals and cumulative rewards of policy during                                                                                                                                                on other tasks and algorithms, please refer to Appendix D.
training. It is important to note that the data presented in this
figure are derived from the training process. In the computation                                                                                                                                           In addition, Fig. 4 illustrates the trends of DKL (πg+ϵ , πg )
of DKL (πg+ϵ , πg ), g may represent both achievable and unachiev-                                                                                                                                         and J(π) during training. As observed in Fig. 4a, our ap-
able goals. In contrast, the data shown in Fig. 3 are obtained from                                                                                                                                        proach successfully confines the values of DKL (πg+ϵ , πg )
testing conducted after the completion of training, where g is only                                                                                                                                        within a relatively low range, demonstrating its effectiveness
comprised of achievable goals. Results come from HER and MSR-                                                                                                                                              in limiting the discrepancy between policies for adjacent
HER on Push over 10 random seeds.                                                                                                                                                                          desired goals without overly minimizing it. Furthermore,
                                                                                                                                                                                                           Fig. 4b reveals that the policy trained by our method ex-
                                                                                                                                                                                                           hibits a faster increase in cumulative rewards, indicating
Furthermore, MSR enhances the cumulative rewards                                                                                                                                                           that our approach not only enhances the policy’s capability
of the policy, J(π). The fourth column of all tables shows                                                                                                                                                 to acquire cumulative rewards but also accelerates the rate
that MSR consistently improves J(π). We posit that the                                                                                                                                                     at which these rewards are obtained.
enhancement of J(π) by MSR is an indirect result of its
reduction in |J(πg+ϵ ) − J(πg )|. Specifically, MSR’s en-
                                                                                                                                                                                                            4.4. Ablation Studies
hancement of the continuity in the policy’s ability to achieve
goals subsequently boosts the policy’s capability to accumu-                                                                                                                                                In this section, we take the MSR-GC-SAC algorithm as an
late rewards across all goals.                                                                                                                                                                              example on the Reach task to analyze the impact of the four
                                                                                                                                                                                                            hyperparameters in MSR, ϵ′ , λ, β, N , on the training.
Additionally, we analyze the impact of MSR on training
efficiency. For detailed experiments and analysis, please                                                                                                                                                  Setting ϵ′ to δ facilitates the reduction of discrepancy
refer to Appendix D.1.                                                                                                                                                                                     between policies for adjacent desired goals.. The value
                                                                                                                                                                                                           of ϵ′ determines the definition of adjacent desired goals,
In summary, the core capability of MSR is to reduce the
                                                                                                                                                                                                           making it a parameter tightly coupled with the task. Typi-
policy discrepancy between adjacent desired goals. This
                                                                                                                                                                                                           cally, setting ϵ′ = δ is sufficient. To demonstrate the impact
reduction in policy discrepancy facilitates a decrease in the
                                                                                                                                                                                                           of ϵ′ on training, we set λ = 0.001, β = 0.0 and ϵ′ to
return gap between adjacent desired goals, thereby enhanc-
                                                                                                                                                                                                           0.1δ, 0.5δ, δ, and respectively evaluate the trained policies
ing the overall ability of the policy to accumulate rewards.
                                                                                                                                                                                                           within the ranges of 0.1δ, 0.5δ, δ around achievable goals.
                                                                                                                                                                                                           Figure 5 presents the corresponding average DKL (πg+ϵ , πg )
4.3. A Micro-level Analysis of the Results
                                                                                                                                                                                                           of achievable goals and their adjacent goals with ϵ sampled
To provide a more intuitive demonstration of the effective-                                                                                                                                                randomly from the range of evaluation ϵ′ . It can be ob-
ness of our method, we present in Fig. 3 the policy dis-                                                                                                                                                   served that regardless of the value of ϵ′ used in evaluation,

                                                                                                                                                                                    6
                                                              Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization




                                                                                                                   5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                                                                  5 4 3 2 1 0 -1 -2 -3 -4 -5
                      0.4620             0.3389              0.2498                0.4
        1



                                                                                                                                                                                            1.0                                                             1.0                                                             1.0
                                                                                   0.3                                                                                                      0.8                                                             0.8                                                             0.8
in Evaluation




                                                                                                                                                                                            0.6                                                             0.6                                                             0.6
                      0.1145             0.0852              0.0636
        0.5




                                                                                                                   y




                                                                                                                                                                                                  y




                                                                                                                                                                                                                                                                  y
                                                                                   0.2                                                                                                      0.4                                                             0.4                                                             0.4
                                                                                                                                                                                            0.2                                                             0.2                                                             0.2
    0




                                                                                                                                                                                            0.0                                                             0.0                                                             0.0
                                                                                   0.1
                      0.0047             0.0035              0.0025
        0.1




                       0.1                 0.5                 1                                                                                -5 -4 -3 -2 -1 0 1 2 3 4 5                                                     -5 -4 -3 -2 -1 0 1 2 3 4 5                                      -5 -4 -3 -2 -1 0 1 2 3 4 5
                                     0
                                         in Training                                                                                                              x                                                                         x                                                               x

                                                                                                                                                           (a) β = 0                                                                (b) β = 0.01                                                     (c) β = 0.1
  Figure 5. Policy discrepancy be-
  tween adjacent desired goals,                                                                              Figure 6. Policy discrepancy between adjacent desired goals, DKL (πg+ϵ , πg ), under different β
  DKL (πg+ϵ , πg ), under different                                                                          settings. The meanings of the coordinate axes and the evaluation methods are consistent with those
  ϵ′ settings. Results are derived                                                                           in Fig.1. Results are derived from MSR-GC-SAC on Reach across 5 random seeds.
  from MSR-GC-SAC on Reach
  across 5 random seeds.

                0.6                                                      = 0.001                             0.8
                                                                         = 0.01
                0.5                                                      = 0.1                               1.0                                                                                  Table 2. Policy discrepancy between adjacent desired goals,
                                                                         = 1.0
                                                                                         Cumulative Reward




                0.4                                                                                          1.2                                                                                  DKL (πg+ϵ , πg ), return gap, J(πg+ϵ ) − J(πg ), and expected re-
                0.3                                                                                          1.4                                                                                  turn, J(π), under different N settings. The mean and variance are
        KL




                                                                                                             1.6                                                                                  shown over 5 random seeds.
                0.2
                                                                                                             1.8                                                                  = 0.001
                                                                                                                                                                                                                               N     DKL (πg+ϵ , πg )         J(πg+ϵ ) − J(πg )                                     J(π)
                0.1                                                                                                                                                               = 0.01
                                                                                                             2.0                                                                  = 0.1
                0.0
                                                                                                             2.2
                                                                                                                                                                                  = 1.0                                        1       0.23±0.18                  0.00±0.01                                       -0.85±0.01
                      0.0      0.2          0.4        0.6         0.8        1.0                                  0.0                            0.2      0.4     0.6      0.8       1.0
                                         Environment Steps                    1e6                                                                       Environment Steps             1e6                                      4       0.24±0.19                  0.00±0.01                                       -0.83±0.02
                        (a) DKL (πg+ϵ , πg )                                                                                                        (b) J(π)                                                                   16      0.25±0.20                  0.00±0.01                                       -0.84±0.02
                                                                                                                                                                                                                               64      0.22±0.17                  0.00±0.01                                       -0.82±0.01
  Figure 7. Trends of policy discrepancy between policies for ad-
  jacent desired goals, DKL (πg+ϵ , πg ), and expected return, J(π),
  during training under different λ settings. Results are derived from
  MSR-GC-SAC on Reach across 5 random seeds.                                                                                                                                                      excessively large λ can compromise the optimization of the
                                                                                                                                                                                                  original RL objectives.
                                                                                                                                                                                                  A moderate increase in β is beneficial for preventing
   increasing ϵ′ used in training towards δ aids in reducing the                                                                                                                                  MSR from over-optimizing the discrepancy between poli-
   discrepancy between policies for adjacent desired goals.                                                                                                                                       cies for adjacent desired goals. The initial motivation for
  The selection of λ necessitates a balance between the                                                                                                                                           introducing the β parameter into MSR is to prevent the
  effects of RL optimization and MSR optimization. λ                                                                                                                                              over-optimization of the discrepancy between policies for
  is utilized to balance the relative importance between op-                                                                                                                                      adjacent desired goals during the policy optimization pro-
  timization objectives of RL and MSR. A larger value of                                                                                                                                          cess. To validate the role of β, we conduct evaluations under
  λ indicates a greater proportion of the MSR optimization                                                                                                                                        the conditions ϵ′ = 0.1δ, λ = 1 with β set to 0.0, 0.01, and
  objective in the overall optimization objective. We conduct                                                                                                                                     0.1, and present the DKL (πg+ϵ , πg ) between policies for
  ablation experiments with ϵ′ = δ, β = 0.1 and λ set at                                                                                                                                          adjacent desired goals in Fig. 6. It can be observed that as β
  0.001, 0.01, 0.1, and 1, and the trends of DKL (πg+ϵ , πg )                                                                                                                                     increases, the policy discrepancy also increases, effectively
  and J(π) during training are shown in Fig. 7. As observed                                                                                                                                       demonstrating β’s role in preventing the over-optimization
  in Fig. 7a, an increase in λ corresponds to a decrease in the                                                                                                                                   of the discrepancy between policies for adjacent desired
  value of DKL (πg+ϵ , πg ), suggesting that a larger λ enhances                                                                                                                                  goals. However, it is important to note that an excessively
  the self-regularization effect on the policy. However, Fig. 7b                                                                                                                                  large β can diminish MSR’s self-regularization effects on
  reveals that a larger λ results in a reduced capability of the                                                                                                                                  the policy during training, as an overly large β implies that
  policy to acquire cumulative rewards. This is attributed to                                                                                                                                     MSR is unable to function.
  the extension of the RL optimization objective by MSR; a                                                                                                                                        MSR exhibits robustness to the value of N . The role
  greater emphasis on MSR leads to a diminished focus on                                                                                                                                          of N is to average Equation 6 over multiple noises; as N
  the original RL optimization objective, adversely affecting                                                                                                                                     increases, the estimation of Equation 6 becomes more accu-
  the policy’s ability to accumulate rewards. Therefore, λ                                                                                                                                        rate, albeit with a corresponding increase in computational
  is a parameter that requires careful consideration when ap-                                                                                                                                     cost. To analyze the varying effects of different N values
  plying MSR. A too small λ may not adequately leverage                                                                                                                                           on training, we conduct experiments with N set to 1, 4, 16,
  MSR’s self-regularization effects on the policy, while an                                                                                                                                       and 64, under the conditions ϵ′ = δ, λ = 0.001, β = 0.1.

                                                                                                                                                                                              7
                      Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization

Figure 8 illustrates the trend                                                       larly, (Korkmaz, 2024) identified overfitting as a primary
                                   0.5
of DKL (πg+ϵ , πg ) during                                                           factor limiting the generalization capabilities of policies.
                                   0.4
training, while Table 2                                                              Consequently, research on RL generalization has largely fo-
                                   0.3
presents the evaluation re-                                                          cused on overcoming overfitting. Examples include studies




                                  KL
                                   0.2
sults after training. It can be                                          N=1         like (Laskin et al., 2020; Yarats et al., 2021), which con-
                                   0.1                                   N=4
observed that, both during                                               N=16
                                                                         N=64
                                                                                     centrate on data regularization through data augmentation
training and in the final eval-    0.0                                               methods, and (Igl et al., 2019; Lee et al., 2020; Liu et al.,
                                         0.0   0.2    0.4    0.6     0.8   1.0
                                                   Environment Steps       1e6
uation, there is negligible                                                          2021), which focus on policy regularization via neural net-
differential impact of vary-      Figure 8. Policy discrepancy
                                                                                     work regularization techniques. In the context of GCRL,
ing N values on the training      between adjacent desired                           (Yang et al., 2023) combined both data and policy regu-
process. This indicates that      goals, DKL (πg+ϵ , πg ) under                      larization methods to enhance the generalization ability of
MSR is robust to the choice       different N settings. Results                      offline GCRL approaches. Despite these similarities, our
of N .                            come from MSR-GC-SAC on                            research differs significantly from generalization studies.
                                  Reach over 5 random seeds.                         We discuss the continuity of the policy’s goal-achievement
5. Related Work                                                                      ability, without emphasizing whether it pertains to training
                                                                                     or unseen environments. As our experiments demonstrate,
Goal-Conditioned Reinforcement Learning. Research                                    for tasks with continuous state spaces, the policy’s continu-
in GCRL primarily focuses on two directions. The first                               ity of goal-achievement ability is suboptimal even within
direction investigates sampling methods for behavior goals                           the training tasks.
(Liu et al., 2022), which leverage the concept of curriculum
                                                                                     Additionally, KL divergence is commonly used as a measure
learning (Narvekar et al., 2020) to select behavior goals
                                                                                     of distance to constrain policies in policy optimization. In
from easy to difficult, thereby accelerating the convergence
                                                                                     the context of multi-goal settings, we compare MSR with
of the policy. This line of research encompasses two main
                                                                                     two KL-based policy constraint approaches and provide a
questions: how to estimate the policy’s ability to achieve
                                                                                     detailed analysis in Appendix E.
goals, and how to select appropriate behavior goals based on
this ability. In the general off-policy GCRL framework pro-
posed by (Pitis et al., 2020), the policy’s goal-achievement                         6. Conclusion and Limitations
ability is estimated using data from the experience replay
                                                                                     In this paper, we delve into the challenge of discontinuity in
buffer. Conversely, in the general on-policy GCRL frame-
                                                                                     goal-achievement capabilities inherent in Goal-conditioned
work proposed by (Gong et al., 2024a), the policy’s ability
                                                                                     Reinforcement Learning (GCRL) algorithms. Through a
is assessed periodically during training, and the Off-Policy
                                                                                     comprehensive evaluation of various prevalent GCRL algo-
Evaluation (OPE) (Uehara et al., 2022) method is used to fit
                                                                                     rithms across diverse tasks, we empirically demonstrate the
this ability based on historical evaluation data. Regarding
                                                                                     prevalence and significance of this issue. Our theoretical
methods for sampling behavior goals, approaches such as
                                                                                     analysis provide deeper insights into the underlying causes
RIG (Nair et al., 2018), DISCERN (Warde-Farley et al.,
                                                                                     of this discontinuity, highlighting the importance of regular-
2018), and MEGA (Pitis et al., 2020) sample behavior goals
                                                                                     izing policy discrepancies between achieved goals and their
based on variations in the distribution of achieved goals.
                                                                                     adjacent goals.
The second research direction explores sub-goal generation
methods, which are primarily aimed at addressing the long-                           In response to these findings, we propose a novel margin-
horizon challenge. These methods decompose the desired                               based policy self-regularization (MSR) approach. MSR,
goal into several sub-goals (Park et al., 2024; Chane-Sane                           designed to optimize the minimal acceptable discrepancy
et al., 2021), and then use GCRL to sequentially solve these                         between policies for a desired goal and its adjacent goals,
sub-goals, thereby achieving the original desired goal. It                           offers a robust solution to the discontinuity problem. By
is evident that the primary research areas in GCRL have                              integrating MSR as a plug-in module into existing GCRL
not yet taken note of the continuity of the policy’s goal-                           algorithms, we show its effectiveness through systematic
achievement ability. To the best of our knowledge, our work                          evaluations on two robotic arm control tasks and a complex,
is the first in the field of GCRL to focus on the continuity of                      real-world fixed-wing aircraft control task.
the policy’s goal-achievement ability.
                                                                                     Some limitations should be addressed in future work. Firstly,
Generalization in Reinforcement Learning. Our work                                   exploring the scalability of our method to even more
shares similarities with research on generalization in RL                            complex tasks and environments, as well as investigating
(Korkmaz, 2024). For instance, (Lee et al., 2020) observed                           its applicability to more GCRL algorithms, remain im-
that RL agents frequently overfit to training environments                           portant directions. Secondly, further theoretical analysis
and struggle to generalize to unseen environments. Simi-                             could provide more nuanced understandings of the relation-


                                                                                 8
                    Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization

ship between policy differences and cumulative rewards.             Gong, X., Feng, D., Xu, K., Zhai, Y., Yao, C., Wang, W.,
Thirdly, our approach mitigates the discontinuity in goal-            Ding, B., and Wang, H. Iterative regularized policy opti-
achievement capabilities under expected scenarios, but it             mization with imperfect demonstrations. In International
does not address the discontinuity in goal-achievement ca-           Conference on Machine Learning. PMLR, 2024b.
pabilities in the worst-case scenarios.
                                                                    Gong, X., Feng, D., Xu, K., Wang, W., Sun, Z., Zhou, X.,
In conclusion, our research contributes to the advancement            Zheng, S., Ding, B., and Wang, H. Vvc-gym: A fixed-
of GCRL by providing a novel and effective solution to               wing uav reinforcement learning environment for multi-
the discontinuity problem, thereby enhancing the perfor-              goal long-horizon problems. In International Conference
mance and applicability of GCRL algorithms in real-world              on Learning Representations, 2025a.
scenarios.
                                                                    Gong, X., Feng, D., Xu, K., Zhou, X., Zheng, S., Ding, B.,
Acknowledgements                                                      and Wang, H. V-pilot: A velocity vector control agent
                                                                      for fixed-wing uavs from imperfect demonstrations. In
This work was supported by the Open Fund of National Key             2025 IEEE International Conference on Robotics and
Laboratory of Parallel and Distributed Computing (PDL)               Automation (ICRA). IEEE, 2025b.
(NO.2024-KJWPDL-02) and the Science and Technology
Innovation Program of Hunan Province (No.2023RC1005).               Igl, M., Ciosek, K., Li, Y., Tschiatschek, S., Zhang, C.,
                                                                       Devlin, S., and Hofmann, K. Generalization in rein-
Impact Statement                                                       forcement learning with selective noise injection and in-
                                                                       formation bottleneck. Advances in neural information
This paper presents work whose goal is to advance the field            processing systems, 32, 2019.
of Machine Learning. There are many potential societal
consequences of our work, none which we feel must be                Korkmaz, E. A survey analyzing generalization in deep
specifically highlighted here.                                        reinforcement learning. arXiv preprint arXiv:2401.02349,
                                                                      2024.
References                                                          Laskin, M., Lee, K., Stooke, A., Pinto, L., Abbeel, P., and
Andrychowicz, M., Wolski, F., Ray, A., Schneider, J., Fong,           Srinivas, A. Reinforcement learning with augmented data.
  R., Welinder, P., McGrew, B., Tobin, J., Pieter Abbeel, O.,         Advances in neural information processing systems, 33:
  and Zaremba, W. Hindsight experience replay. Advances               19884–19895, 2020.
  in Neural Information Processing Systems, 30, 2017.
                                                                    Lee, K., Lee, K., Shin, J., and Lee, H. Network randomiza-
Baker, B., Akkaya, I., Zhokov, P., Huizinga, J., Tang, J.,            tion: A simple technique for generalization in deep rein-
  Ecoffet, A., Houghton, B., Sampedro, R., and Clune,                 forcement learning. In Eighth International Conference
  J. Video pretraining (vpt): Learning to act by watching             on Learning Representations, ICLR 2020. International
  unlabeled online videos. Advances in Neural Information             Conference on Learning Representations, 2020.
  Processing Systems, 35:24639–24654, 2022.
                                                                    Liu, M., Zhu, M., and Zhang, W. Goal-conditioned rein-
Chane-Sane, E., Schmid, C., and Laptev, I. Goal-                      forcement learning: Problems and solutions. Interna-
  conditioned reinforcement learning with imagined sub-               tional Joint Conference on Artificial Intelligence, 2022.
  goals. In International conference on machine learning,
  pp. 1430–1440. PMLR, 2021.                                        Liu, Z., Li, X., Kang, B., and Darrell, T. Regularization
                                                                      matters in policy optimization-an empirical study on con-
Csiszár, I. and Körner, J. Information theory: coding theo-
                                                                      tinuous control. In International Conference on Learning
  rems for discrete memoryless systems. Cambridge Uni-
                                                                      Representations, 2021.
  versity Press, 2011.
Gallouédec, Q., Cazin, N., Dellandréa, E., and Chen, L.           Nair, A. V., Pong, V., Dalal, M., Bahl, S., Lin, S., and Levine,
  panda-gym: Open-source goal-conditioned environments                S. Visual reinforcement learning with imagined goals.
  for robotic learning. 4th Robot Learning Workshop: Self-            Advances in Neural Information Processing Systems, 31,
  Supervised and Lifelong Learning at NeurIPS, 2021.                  2018.

Gong, X., Feng, D., Xu, K., Ding, B., and Wang, H. Goal-            Narvekar, S., Peng, B., Leonetti, M., Sinapov, J., Taylor,
  conditioned on-policy reinforcement learning. In The                M. E., and Stone, P. Curriculum learning for reinforce-
 Thirty-eighth Annual Conference on Neural Information                ment learning domains: A framework and survey. Journal
 Processing Systems, 2024a.                                           of Machine Learning Research, 21(181):1–50, 2020.

                                                                9
                    Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization

Panda-Gym. https://panda-gym.readthedocs.                            Yuan, H., Mu, Z., Xie, F., and Lu, Z. Pre-training goal-based
  io/en/latest/usage/manual_control.                                   models for sample-efficient reinforcement learning. In
  html, 2024.                                                          International Conference on Learning Representations,
                                                                       2024.
Park, S., Ghosh, D., Eysenbach, B., and Levine, S. Hiql:
  Offline goal-conditioned rl with latent states as actions.
  Advances in Neural Information Processing Systems, 36,
  2024.

Pitis, S., Chan, H., Zhao, S., Stadie, B., and Ba, J. Maximum
   entropy gain exploration for long horizon multi-goal re-
   inforcement learning. In International Conference on
   Machine Learning, pp. 7750–7761. PMLR, 2020.

Puterman, M. L. Markov decision processes: discrete
  stochastic dynamic programming. John Wiley & Sons,
  2014.

Raffin, A., Hill, A., Gleave, A., Kanervisto, A., Ernestus,
  M., and Dormann, N. Stable-baselines3: Reliable rein-
  forcement learning implementations. Journal of Machine
  Learning Research, 22(268):1–8, 2021. URL http:
  //jmlr.org/papers/v22/20-1364.html.

Schaul, T., Horgan, D., Gregor, K., and Silver, D. Universal
  value function approximators. In International Confer-
  ence on Machine Learning, pp. 1312–1320. PMLR, 2015.

Schulman, J., Levine, S., Abbeel, P., Jordan, M., and Moritz,
  P. Trust region policy optimization. In International
  conference on machine learning, pp. 1889–1897. PMLR,
  2015.

Sutton, R. S. and Barto, A. G. Reinforcement learning: An
  introduction. MIT press, 2018.

Uehara, M., Shi, C., and Kallus, N. A review of off-policy
  evaluation in reinforcement learning. arXiv preprint
  arXiv:2212.06355, 2022.

Warde-Farley, D., Van de Wiele, T., Kulkarni, T., Ionescu,
 C., Hansen, S., and Mnih, V. Unsupervised control
 through non-parametric discriminative rewards. In Inter-
 national Conference on Learning Representations, 2018.

Xu, T., Li, Z., and Yu, Y. Error bounds of imitating poli-
  cies and environments. Advances in Neural Information
 Processing Systems, 33:15737–15749, 2020.

Yang, R., Yong, L., Ma, X., Hu, H., Zhang, C., and Zhang,
  T. What is essential for unseen goal generalization of
  offline goal-conditioned rl? In International Conference
  on Machine Learning, pp. 39543–39571. PMLR, 2023.

Yarats, D., Kostrikov, I., and Fergus, R. Image augmentation
  is all you need: Regularizing deep reinforcement learning
  from pixels. In International conference on learning
  representations, 2021.

                                                                10
                      Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization




Appendix
A. Theoretical Proofs
A.1. Useful Lemmas
Lemma
p       A.1. (Pinsker’s inequality (Csiszár & Körner, 2011)) For two arbitrary distributions µ and ν, DTV (µ, ν) ≤
  2DKL (µ, ν)
Lemma A.2. (Xu et al., 2020) For any two policies π1 and π2 , we have that

                                                            1
                                      DTV (ρπ1 , ρπ2 ) ≤       Es∼dπ1 [DTV (π1 (·|s), π2 (·|s))] .                                     (8)
                                                           1−γ

A.2. Proof of Theorem 3.1
Proof. Based on that ϕ(sT ) = g and ∥ϵ∥ < δ, we can derive that ∥ϕ(sT ) − (g + ϵ)∥ = ∥g − (g + ϵ)∥ = ∥ϵ∥ ≤ δ.

A.3. Proof of Corollary 3.2
Proof. We give the proof under the conditions of deterministic environment transitions and deterministic policies.
Suppose that the trajectory τ achieved by policy π for goal g ′ is τ = (s0 , a0 , s1 , a1 , · · · , sT , aT ), where ai = π(si , g ′ ), 1 ≤
i ≤ T , and it satisfies ϕ(sT ) = g with ∥g ′ − g∥ < δ. For the goal g + ϵ, let the corresponding trajectory be denoted as
τ ′ = (s′0 , a′0 , s′1 , a′1 , · · · , s′T , a′T ), where a′i = π(s′i , g + ϵ), 1 ≤ i ≤ T .
We proceed to prove that τ = τ ′ by induction:
Firstly, since we assume a fixed initial state, it follows that s0 = s′0 . Furthermore, from the condition
Es∼dπ ′ DKL (π(s, g ′ ), π(s, g + ϵ)) = 0, we can infer that a′0 = π(s′0 , g + ϵ) = π(s0 , g + ϵ) = π(s0 , g ′ ) = a0 , which
       g
                ′
implies τ0:1 = τ0:1 .
                               ′
Secondly, assuming τ0:k = τ0:k    , we have sk = T (sk−1 , ak−1 ) = T (s′k−1 , a′k−1 ) = s′k , and ak = π(sk , g ′ ) = π(sk , g +
        ′             ′                   ′
ϵ) = π(sk , g + ϵ) = ak , thus τ0:k+1 = τ0:k+1 .
The above proof establishes that π(·, g + ϵ) can yield the same trajectory τ as π(·, g ′ ). By combining this with Theorem 3.1,
we conclude the proof.



A.4. Proof of Theorem 3.3
Proof.

                J(πg+ϵ )                                                                                                               (9)
                     1 X
                =        ρπg+ϵ (s, a)r(s, a, g + ϵ)                                                                                   (10)
                   1−γ
                            (s,a)
                    1 X                                              1 X
                 =      (ρπg+ϵ (s, a) − ρπg (s, a))r(s, a, g + ϵ) +      ρπg (s, a)r(s, a, g + ϵ)                                     (11)
                   1−γ                                              1−γ
                            (s,a)                                                       (s,a)
                        1 X                                             1 X
                 ≥−         ρπg+ϵ (s, a) − ρπg (s, a) r(s, a, g + ϵ) +      ρπg (s, a)r(s, a, g + ϵ)                                  (12)
                       1−γ                                             1−γ
                              (s,a)                                                        (s,a)
                       Rmax X                              1 X
                 ≥−           ρπg+ϵ (s, a) − ρπg (s, a) +      ρπg (s, a)r(s, a, g + ϵ)                                               (13)
                       1−γ                                1−γ
                              (s,a)                                        (s,a)


                                                                   11
                           Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization

                           2Rmax                       1 X
                   =−            DTV (ρπg+ϵ , ρπg ) +      ρπg (s, a)r(s, a, g + ϵ)                                       (14)
                           1−γ                        1−γ
                                                             (s,a)
                       2Rmax                                               1 X
                   ≥−          Es∼dπ
                                       [D TV (π g+ϵ  (·|s), π g (·|s))] +           ρπg (s, a)r(s, a, g + ϵ)              (15)
                      (1 − γ)2       g
                                                                          1−γ
                                                                              (s,a)
                       √
                      2 2Rmax                                         1 X
                               q
                   ≥−            D  KL (π g+ϵ (·|s), π g (·|s))  +           ρπg (s, a)r(s, a, g + ϵ)                     (16)
                      (1 − γ)2                                      1−γ
                                                                            (s,a)




                   J(πg+ϵ )                                                                                               (17)
                        1 X
                   =        ρπg+ϵ (s, a)r(s, a, g + ϵ)                                                                    (18)
                      1−γ
                                (s,a)
                       1 X                                              1 X
                    =      (ρπg+ϵ (s, a) − ρπg (s, a))r(s, a, g + ϵ) +      ρπg (s, a)r(s, a, g + ϵ)                      (19)
                      1−γ                                              1−γ
                                (s,a)                                                 (s,a)
                         1 X                                             1 X
                    ≤        ρπg+ϵ (s, a) − ρπg (s, a) r(s, a, g + ϵ) +      ρπg (s, a)r(s, a, g + ϵ)                     (20)
                        1−γ                                             1−γ
                                (s,a)                                                 (s,a)
                        Rmax X                              1 X
                    ≤          ρπg+ϵ (s, a) − ρπg (s, a) +      ρπg (s, a)r(s, a, g + ϵ)                                  (21)
                        1−γ                                1−γ
                                (s,a)                                     (s,a)
                        2Rmax                       1 X
                    =         DTV (ρπg+ϵ , ρπg ) +      ρπg (s, a)r(s, a, g + ϵ)                                          (22)
                        1−γ                        1−γ
                                                            (s,a)
                       2Rmax                                          1 X
                    ≤        2
                               Es∼dπg [DTV (πg+ϵ (·|s), πg (·|s))] +           ρπg (s, a)r(s, a, g + ϵ)                   (23)
                      (1 − γ)                                        1−γ
                                                                         (s,a)
                       √
                      2 2Rmax                                    1 X
                               q
                    ≤            D KL (π g+ϵ (·|s), πg (·|s)) +         ρπg (s, a)r(s, a, g + ϵ)                          (24)
                      (1 − γ)2                                  1−γ
                                                                          (s,a)




A.5. Proof of Theorem 3.4
Proof.

     |J(πg1 ) − J(πg2 )|                                                                                                  (25)
          1
      =         E(s,a)∼ρπg r(s, a, g1 ) − E(s,a)∼ρπg r(s, a, g2 )                                                         (26)
        1−γ                1                           2

          1    X
      =              ρπg1 (s, a)r(s, a, g1 ) − ρπg2 (s, a)r(s, a, g2 )                                                    (27)
        1−γ
                   (s,a)
              1 X
         =        ρπg1 (s, a)r(s, a, g1 ) − ρπg1 (s, a)r(s, a, g2 ) + ρπg1 (s, a)r(s, a, g2 ) − ρπg2 (s, a)r(s, a, g2 )   (28)
             1−γ
                   (s,a)
              1 X                                                1 X                                       
         ≤        ρπg1 (s, a) [r (s, a, g1 ) − r (s, a, g2 )] +      r (s, a, g2 ) ρπg1 (s, a) − ρπg2 (s, a)              (29)
             1−γ                                                1−γ
                   (s,a)                                                     (s,a)
            1 X                                               Rmax X                          
         ≤      ρπg1 (s, a) [r (s, a, g1 ) − r (s, a, g2 )] +         ρπg1 (s, a) − ρπg2 (s, a)                           (30)
           1−γ                                                1−γ
                   (s,a)                                                     (s,a)
              1 X                                               2Rmax                 
         =        ρπg1 (s, a) |r (s, a, g1 ) − r (s, a, g2 )| +       DTV ρπg1 , ρπg2                                     (31)
             1−γ                                                1−γ
                   (s,a)


                                                                     12
                          Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization


                                                Table 3. Environment Hyper-Parameters
                   (a) Reach                                   (b) Push                                    (c) VVC
              Parameter            Value                 Parameter          Value                    Parameter          Value
             control type          joints               control type        joints                   v min               150
             reward type           dense                reward type         sparse                   v max               250
              goal range            0.5                goal xy range          0.5                   mu min               -30
          distance threshold        0.01                obj xy range          0.0                   mu max                30
          max episode steps          50              distance threshold      0.05                   chi min              -60
                                                     max episode steps        50                    chi max               60
                                                                                                max episode steps        400

                                                               √
            1 X                                               2 2Rmax
                                                                                q
         ≤      ρπg1 (s, a) |r (s, a, g1 ) − r (s, a, g2 )| +          Es∼dπg 1
                                                                                  dKL (πg1 (·|s), πg2 (·|s))                    (32)
           1−γ                                                (1 − γ)2
                  (s,a)




A.6. Proof of Corollary 3.5
Proof.

           |J(πg1 ) − J(πg2 )|                                                                                                  (33)
                                                                           √
                1 X                                                      2 2Rmax
                                                                                                q
            ≤              ρπg1 (s, a) |r (s, a, g1 ) − r (s, a, g2 )| +            Es∼d   π
                                                                                                  dKL (πg1 (·|s), πg2 (·|s))    (34)
              1−γ                                                        (1 − γ)2            g1
                     (s,a)
                                                                                 √
                1 X                                                             2 2Rmax
                                                                                                     q
            =              ρπg1 (s, a) |−∥ϕ(s) − g1 ∥ + ∥ϕ(s) − g2 ∥| +                  2
                                                                                           Es∼dπg1 dKL (πg1 (·|s), πg2 (·|s))   (35)
              1−γ                                                               (1 − γ)
                     (s,a)
                                                        √
                1 X                                    2 2Rmax
                                                                             q
            ≤              ρπg1 (s, a)∥g1 − g2 ∥ +                E  s∼dπg     dKL (πg1 (·|s), πg2 (·|s))                       (36)
              1−γ                                      (1 − γ)2            1
                     (s,a)
                               √
              ∥g1 − g2 ∥ 2 2Rmax
                                                     q
            =              +              Es∼d  πg     dKL (πg1 (·|s), πg2 (·|s))                                               (37)
                1−γ           (1 − γ)2             1




A.7. Proof of Corollary 3.6
Proof.

                                  |J(πg ) − J(πg+ϵ )|                                                                           (38)
                                                       √
                                     ∥g − (g + ϵ)∥ 2 2Rmax
                                                                       q
                                   ≤               +           E s∼dπg   dKL (πg (·|s), πg+ϵ (·|s))                             (39)
                                         1−γ          (1 − γ)2
                                               √
                                       δ      2 2Rmax
                                                               q
                                   ≤       +           E s∼dπg  dKL (πg (·|s), πg+ϵ (·|s))                                      (40)
                                     1−γ      (1 − γ)2



B. Environments Details
The configurations for the Reach and Push tasks are presented in Tables 3a and 3b, respectively, with all other parameters
adhering to the default settings of Panda-Gym (Panda-Gym, 2024). For the VVC task, the settings are detailed in Table 3c,
while the remaining parameters are maintained at the default settings of FlyCraft (Gong et al., 2025a).

                                                                  13
                      Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization


                                  Table 4. Algorithm Hyper-Parameters Used on Reach and Push
                   (a) SAC                                 (b) HER                                     (c) PPO
          Parameter             Value               Parameter                   Value          Parameter                Value
             net arch         [256,256]               net arch               [256,256]            net arch         [256,256]
             gamma               0.95                 gamma                     0.95              gamma               0.95
           train steps         1 × 106        train steps (Reach/Push)    5 × 104 /1 × 106      train steps         1 × 107
            batch size           256                 batch size                 256              batch size           512
     rollout process num           1          rollout process num                1                n steps             512
          learning rate       3 × 10−4             learning rate             3 × 10−4            n epochs               5
         gradient steps           1               gradient steps                  1        rollout process num         16
           buffer size         2 × 105              buffer size               2 × 105          learning rate       3 × 10−4



                                        Table 5. Algorithm Hyper-Parameters Used on VVC
                   (a) SAC                                  (b) HER                                    (c) PPO
          Parameter             Value                Parameter               Value             Parameter                Value
             net arch         [128,128]                net arch            [128,128]              net arch         [128,128]
             gamma              0.995                  gamma                 0.995                gamma               0.95
           train steps           106                 train steps            5 ∗ 105             train steps         2 × 108
            batch size          1024                  batch size             1024                batch size          4096
     rollout process num          1            rollout process num             1                  n steps             512
          learning rate       3 × 10−4              learning rate          3 × 10−4              n epochs               5
         gradient steps           1                gradient steps              1           rollout process num         64
           buffer size         2 × 105               buffer size            2 × 105            learning rate       3 × 10−4



Table 6. Comparison of training wall clock time between baselines and MSR+baselines. Results come from PPO (107 environment steps),
SAC (105 environment steps), and HER (105 environment steps) on VVC.
                                   GC-PPO       MSR-GC-PPO            GC-SAC      MSR-GC-SAC       HER      MSR-HER
          Wall Clock Time (s)        3498             3573               2621           3175       5096          5912



C. Implementation Details
All our GC-SAC, GC-HER, and GC-PPO are implemented with the Stable-Baselines3 (Raffin et al., 2021) framework. For
our MSR method, we employ ϵ′ = δ, λ = 10−3 , β = 0.1, N = 16 for Reach and Push and ϵ′ = 0.1 · δ, λ = 10−3 , β =
0.1, N = 16 for VVC.

D. Additional Results
In this section, we provide supplementary presentations of the experimental results discussed in the main text.

D.1. Impact on Training Efficiency
MSR adds training overhead without influencing inference, due to added regularization only in policy optimization. Table 6
shows the wall clock time for training different baselines and baselines+MSR. For on-policy RL, where the main cost is
environment sampling, MSR’s effect is negligible, with only a 2.14% increase. In off-policy RL, which leverages replay
buffer data, the impact is more pronounced: a 21.14% increase for MSR-GC-SAC and 16.02% for MSR-HER. Figs. 13, 17,
and 22 reveal MSR’s convergence rate is on par with baselines. Overall, despite the slight added training overhead, MSR
markedly improves policy continuity in achieving goals.

                                                                 14
                                                      Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization
     5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                          5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                           5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                               3                                                                    3                                                                        0.0                                                                     0.0
                                                                                                                                                                                                               0.1                                                                     0.1
                                                               2                                                                    2                                                                          0.2                                                                     0.2
 y




                                                                    y




                                                                                                                                        y




                                                                                                                                                                                                                     y
                                                               1                                                                    1                                                                          0.3                                                                     0.3
                                                                                                                                                                                                               0.4                                                                     0.4
                                                               0                                                                    0                                                                          0.5                                                                     0.5


                                  -5 -4 -3 -2 -1 0 1 2 3 4 5                                           -5 -4 -3 -2 -1 0 1 2 3 4 5                                              -5 -4 -3 -2 -1 0 1 2 3 4 5                                               -5 -4 -3 -2 -1 0 1 2 3 4 5
                                               x                                                                        x                                                                      x                                                                     x

  (a) GC-SAC, DKL (πg+ϵ , πg ) (b)              MSR-GC-SAC, (c) GC-SAC, J(πg+ϵ ) − J(πg ) (d) MSR-GC-SAC, J(πg+ϵ ) −
                               DKL (πg+ϵ , πg )                                           J(πg )

Figure 9. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on Reach with
GC-SAC and MSR-GC-SAC. The interpretation of the coordinate axes and the data collection methods are analogous to those described
in Fig. 1.
  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                    5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                        5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                      5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                               3                                                                    3                                                                       0.00                                                                     0.00

                                                               2                                                                    2                                                                        0.01                                                                     0.01
 y




                                                                   y




                                                                                                                                        y




                                                                                                                                                                                                                     y
                                                               1                                                                    1                                                                        0.02                                                                     0.02
                                                               0                                                                    0                                                                        0.03                                                                     0.03


                                  -5 -4 -3 -2 -1 0 1 2 3 4 5                                           -5 -4 -3 -2 -1 0 1 2 3 4 5                                         -5 -4 -3 -2 -1 0 1 2 3 4 5                                                    -5 -4 -3 -2 -1 0 1 2 3 4 5
                                               x                                                                    x                                                                      x                                                                         x

                    (a) HER, DKL (πg+ϵ , πg )                      (b) MSR-HER, DKL (πg+ϵ , πg )                                                          (c) HER, J(πg+ϵ ) − J(πg )                                 (d) MSR-HER, J(πg+ϵ ) − J(πg )

Figure 10. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on Reach with
HER and MSR-HER. The interpretation of the coordinate axes and the data collection methods are analogous to those described in Fig. 1.



D.2. On Reach
Figure 9 illustrates the evaluation results of GC-SAC and MSR-GC-SAC. It is evident that MSR-GC-SAC significantly
reduces the policy discrepancy between adjacent desired goals, DKL (πg+ϵ , πg ), while effectively diminishing the return
gap between policies for adjacent desired goals, J(πg+ϵ ) − J(πg ). Figure 10 presents the evaluation results of HER and
MSR-HER, yielding conclusions similar to those of MSR-GC-SAC. Figure 11 depicts the evaluation results of GC-PPO
and MSR-GC-PPO, showing that MSR-GC-PPO slightly increases J(πg+ϵ ) − J(πg ). In conjunction with the success
rates presented in Table 7, it is observed that the success rate of GC-PPO is nearly zero, suggesting that GC-PPO lacks
the capability to achieve goals. This is reflected in DKL (πg+ϵ , πg ), indicating that the policy cannot distinguish between
different goals, resulting in a particularly small value of DKL (πg+ϵ , πg ).
Figure 12 shows the trend of policy discrepancy between adjacent desired goals, DKL (πg+ϵ , πg ), during training, indicating
that MSR maintains DKL (πg+ϵ , πg ) within a relatively small but not excessively small range. Figure 13 demonstrates the
trend of cumulative rewards during training, revealing that MSR not only enhances the upper limit of cumulative rewards
acquisition but also accelerates the rate of cumulative rewards acquisition.
Table 7 presents the success rates of adjacent goals around an achievable goal and the overall success rate. Given that our
method diminishes the return gap between policies for adjacent desired goals and enhances the overall capability of the
policy to acquire cumulative rewards, the policy exhibits a notable improvement in both the success rate of adjacent goals
around an achievable goal and the overall success rate.

D.3. On Push
Figure 14 illustrates the evaluation results of GC-SAC and MSR-GC-SAC. It is evident that MSR-GC-SAC significantly
reduces the policy discrepancy between adjacent desired goals, DKL (πg+ϵ , πg ), while effectively diminishing the return gap
between policies for adjacent desired goals, J(πg+ϵ ) − J(πg ). Figure 15 presents the evaluation results of GC-PPO and
MSR-GC-PPO, yielding conclusions similar to those of MSR-GC-SAC.

                                                                                                                                        15
                                                                            Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization
  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                      5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                                                                                          5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                                                        0.10                                                                                            10
                                                                                        0.08                                                                                            8                                                                                            2                                                                   2
                                                                                        0.06                                                                                            6                                                                                            4                                                                   4
 y




                                                                                                      y




                                                                                                                                                                                               y




                                                                                                                                                                                                                                                                                         y
                                                                                        0.04                                                                                            4                                                                                            6                                                                   6
                                                                                        0.02                                                                                            2                                                                                            8                                                                   8
                                                                                        0.00                                                                                            0


                               -5 -4 -3 -2 -1 0 1 2 3 4 5                                                                          -5 -4 -3 -2 -1 0 1 2 3 4 5                                                                -5 -4 -3 -2 -1 0 1 2 3 4 5                                                                -5 -4 -3 -2 -1 0 1 2 3 4 5
                                                                 x                                                                                  x                                                                                           x                                                                                      x

        (a) GC-PPO, DKL (πg+ϵ , πg )                                                             (b)              MSR-GC-PPO, (c) GC-PPO, J(πg+ϵ ) − J(πg ) (d) MSR-GC-PPO, J(πg+ϵ ) −
                                                                                                 DKL (πg+ϵ , πg )                                           J(πg )

Figure 11. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on Reach with
GC-PPO and MSR-GC-PPO. The interpretation of the coordinate axes and the data collection methods are analogous to those described
in Fig. 1.

                                                                                                                                                                   10                                                                                                         10
                                                                                               GC-SAC                                                                                                                                HER                                                                                                   GC-PPO
                                                     1.0                                       MSR-GC-SAC                                                                                                                            MSR-HER                                                                                               MSR-GC-PPO
                                                                                                                                                                    8                                                                                                          8
                                                     0.8
                                                                                                                                                                    6                                                                                                          6
                                                     0.6
                                     KL




                                                                                                                                                    KL




                                                                                                                                                                                                                                                             KL
                                                                                                                                                                    4                                                                                                          4
                                                     0.4

                                                     0.2                                                                                                            2                                                                                                          2

                                                     0.0                                                                                                            0                                                                                                          0
                                                           0.0       0.2      0.4    0.6        0.8                                1.0                                  0          1      2                   3                  4         5                                       0.0   0.2                              0.4    0.6        0.8    1.0
                                                                           Environment Steps                                       1e6                                                 Environment Steps                                  1e4                                                                          Environment Steps           1e7

                                                     (a) GC-SAC, MSR-GC-SAC                                                                                                     (b) HER and GC-HER                                                                  (c) GC-PPO and MSR-GC-PPO

Figure 12. Trends of policy discrepancy between policies for adjacent desired goals during training on Reach. Results come from
algorithms over 5 random seeds.

                                                      0                                                                                                             0                                                                                                          0
                                                      5
                                                                                                                                                                   10                                                                                                         10
                                 Cumulative Reward




                                                                                                                                               Cumulative Reward




                                                                                                                                                                                                                                                          Cumulative Reward



                                                     10
                                                     15                                                                                                                                                                                                                       20
                                                                                                                                                                   20
                                                     20                                                                                                                                                                                                                       30
                                                     25                                                                                                            30
                                                                                                                                                                                                                                                                              40
                                                     30                                    GC-SAC                                                                                                          HER                                                                                                 GC-PPO
                                                                                           MSR-GC-SAC                                                              40                                      MSR-HER                                                                                             MSR-GC-PPO
                                                     35                                                                                                                                                                                                                       50
                                                           0.0       0.2    0.4    0.6      0.8    1.0                                                                      0      1       2      3      4        5                                                                0.0   0.2    0.4    0.6      0.8     1.0
                                                                         Environment Steps          1e6                                                                                Environment Steps         1e4                                                                         Environment Steps          1e7

                                                     (a) GC-SAC, MSR-GC-SAC                                                                                                 (b) HER and GC-HER                                                                      (c) GC-PPO and MSR-GC-PPO

                                    Figure 13. Cumulative rewards of policy during training on Reach. Results come from algorithms over 5 random seeds.


Table 7. Success rate of adjacent goals around an achievable goal and overall success rate of policy for different algorithms on Reach.
The mean and variance are shown over 5 random seeds. Italics indicates that these results should be interpreted with caution due to the
baseline algorithm’s performance limitations.
                                                                                               Algorithms                                               Adjacent Success Rate (%)                                                                   Success Rate (%)
                                                                                             GC-SAC                                                                                65.58±9.10                                                          0.20±0.29
                                                                                           MSR-GC-SAC                                                                              99.98±0.04                                                          99.95±0.12
                                                                                              HER                                                                                  98.98±0.42                                                          94.60±4.43
                                                                                            MSR-HER                                                                                99.34±0.27                                                          90.69±6.85
                                                                                             GC-PPO                                                                                44.63±13.83                                                         0.04±0.09
                                                                                           MSR-GC-PPO                                                                              98.79±0.36                                                          98.05±3.19


Figure 16 shows the trend of policy discrepancy between adjacent desired goals, DKL (πg+ϵ , πg ), during training. Figure 17

                                                                                                                                                                                          16
                                                            Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization
  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                         5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                             5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                                                                              5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                                        20                                                                                       20                                                                                              4                                                                                 4
                                                                        15                                                                                       15                                                                                              5                                                                                 5
                                                                        10                                                                                       10                                                                                              6                                                                                 6
 y




                                                                                 y




                                                                                                                                                                                  y




                                                                                                                                                                                                                                                                     y
                                                                        5                                                                                        5                                                                                               7                                                                                 7
                                                                        0                                                                                        0                                                                                               8                                                                                 8


                               -5 -4 -3 -2 -1 0 1 2 3 4 5                                                             -5 -4 -3 -2 -1 0 1 2 3 4 5                                                                          -5 -4 -3 -2 -1 0 1 2 3 4 5                                                       -5 -4 -3 -2 -1 0 1 2 3 4 5
                                                 x                                                                                     x                                                                                                  x                                                                                    x

  (a) GC-SAC, DKL (πg+ϵ , πg )                                                 (b)              MSR-GC-SAC, (c) GC-SAC, J(πg+ϵ ) − J(πg ) (d) MSR-GC-SAC, J(πg+ϵ ) −
                                                                               DKL (πg+ϵ , πg )                                           J(πg )

Figure 14. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on Push with
GC-SAC and MSR-GC-SAC. The interpretation of the coordinate axes and the data collection methods are analogous to those described
in Fig. 1.
  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                 5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                            5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                                                                      5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                                        3                                                                                    3
                                                                                                                                                                                                                                                            6                                                                                  6
                                                                        2                                                                                    2
                                                                                                                                                                                                                                                            8                                                                                  8
 y




                                                                                y




                                                                                                                                                                        y




                                                                                                                                                                                                                                                                     y
                                                                        1                                                                                    1                                                                                              10                                                                                 10
                                                                        0                                                                                    0                                                                                              12                                                                                 12


                               -5 -4 -3 -2 -1 0 1 2 3 4 5                                                             -5 -4 -3 -2 -1 0 1 2 3 4 5                                                              -5 -4 -3 -2 -1 0 1 2 3 4 5                                                                   -5 -4 -3 -2 -1 0 1 2 3 4 5
                                                 x                                                                                 x                                                                                                 x                                                                                     x

  (a) GC-PPO, DKL (πg+ϵ , πg ) (b)              MSR-GC-PPO, (c) GC-PPO, J(πg+ϵ ) − J(πg ) (d) MSR-GC-PPO, J(πg+ϵ ) −
                               DKL (πg+ϵ , πg )                                           J(πg )

Figure 15. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on Push with
GC-PPO and MSR-GC-PPO. The interpretation of the coordinate axes and the data collection methods are analogous to those described
in Fig. 1.

                                    20.0                                                                                                    40                                                                                                         25
                                                                               GC-SAC                                                                                                                                        GC-HER                                  GC-PPO
                                    17.5                                       MSR-GC-SAC                                                   35                                                                               MSR-GC-HER                              MSR-GC-PPO
                                                                                                                                                                                                                                                       20
                                    15.0                                                                                                    30
                                    12.5                                                                                                    25                                                                                                         15
                                    10.0                                                                                                    20
                                                                                                                                           KL




                                                                                                                                                                                                                                                  KL
                                 KL




                                     7.5                                                                                                                                                                                                               10
                                                                                                                                            15
                                     5.0                                                                                                    10                                                                                                          5
                                     2.5                                                                                                     5
                                     0.0                                                                                                     0                                                                                                          0
                                           0.0       0.2      0.4    0.6        0.8                                    1.0                       0.0   0.2            0.4                                        0.6          0.8    1.0                    0.0          0.2                                  0.4    0.6           0.8   1.0
                                                           Environment Steps                                           1e6                                   Environment Steps                                                       1e6                                                                   Environment Steps             1e8

                                      (a) GC-SAC, MSR-GC-SAC                                                                                       (b) HER and GC-HER                                                                              (c) GC-PPO and MSR-GC-PPO

Figure 16. Trends of policy discrepancy between policies for adjacent desired goals during training on Push. Results come from algorithms
over 5 random seeds.


demonstrates the trend of cumulative rewards during training. Table 8 presents the success rates of adjacent goals around an
achievable goal and the overall success rate. All of the above results demonstrated conclusions similar to those observed on
the Push task.

D.4. On VVC
Figure 18 illustrates the evaluation results of GC-SAC and MSR-GC-SAC. Figure 19 illustrates the evaluation results of
HER and MSR-HER. Figure 20 illustrates the evaluation results of GC-PPO and MSR-GC-PPO.
Figure 21 shows the trend of policy discrepancy between adjacent desired goals, DKL (πg+ϵ , πg ), during training. Figure 22
demonstrates the trend of cumulative rewards during training. Table 9 presents the success rates of adjacent goals around an
achievable goal and the overall success rate. All of the above results demonstrated conclusions similar to those observed on

                                                                                                                                                                      17
                                                                      Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization
                                                     15
                                                                                                                                                        10                                                                                                 10
                                                     20                                                                                                 15                                                                                                 15




                                                                                                                                    Cumulative Reward




                                                                                                                                                                                                                                       Cumulative Reward
                                                     25                                                                                                 20
                                 Cumulative Reward
                                                                                                                                                                                                                                                           20
                                                     30                                                                                                 25
                                                                                                                                                                                                                                                           25
                                                                                                                                                        30
                                                     35                                                                                                                                                                                                    30
                                                                                                                                                        35
                                                     40                                                                                                 40                                                                                                 35
                                                     45                               GC-SAC                                                            45                               GC-HER                                                            40                                  GC-PPO
                                                                                      MSR-GC-SAC                                                                                         MSR-GC-HER                                                                                            MSR-GC-PPO
                                                     50                                                                                                 50
                                                          0.0   0.2    0.4    0.6      0.8    1.0                                                            0.0   0.2    0.4    0.6      0.8    1.0                                                            0.0      0.2    0.4    0.6      0.8     1.0
                                                                    Environment Steps          1e6                                                                     Environment Steps          1e6                                                                        Environment Steps          1e8

                                                     (a) GC-SAC, MSR-GC-SAC                                                                                   (b) HER and GC-HER                                                                 (c) GC-PPO and MSR-GC-PPO

                                         Figure 17. Cumulative rewards of policy during training on Push. Results come from algorithms over 5 random seeds.


Table 8. Success rate of adjacent goals around an achievable goal and overall success rate of policy for different algorithms on Push. The
mean and variance are shown over 5 random seeds.
                                                                                        Algorithms                                            Adjacent Success Rate (%)                                                       Success Rate (%)
                                                                                     GC-SAC                                                                        81.26±3.28                                                     58.37±19.37
                                                                                   MSR-GC-SAC                                                                      84.37±2.34                                                     62.17±16.23
                                                                                      HER                                                                          82.27±1.34                                                     79.49±5.34
                                                                                    MSR-HER                                                                        82.29±1.51                                                     84.27±3.92
                                                                                     GC-PPO                                                                        77.07±3.36                                                     66.90±6.84
                                                                                   MSR-GC-PPO                                                                      80.17±3.69                                                     68.82±10.84
  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                          5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                                                                       5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                                                  1.0                                                                                  1.0                                                                                  0                                                                    0
                                                                                  0.8                                                                                  0.8
                                                                                  0.6                                                                                  0.6                                                                                      10                                                                   10
                                                                                  0.4                                                                                  0.4                                                                                      20                                                                   20
                                                                                  0.2                                                                                  0.2
                                                                                  0.0                                                                                  0.0                                                                                      30                                                                   30


                               -5 -4 -3 -2 -1 0 1 2 3 4 5                                                              -5 -4 -3 -2 -1 0 1 2 3 4 5                                                              -5 -4 -3 -2 -1 0 1 2 3 4 5                                                           -5 -4 -3 -2 -1 0 1 2 3 4 5


  (a) GC-SAC, DKL (πg+ϵ , πg ) (b)              MSR-GC-SAC, (c) GC-SAC, J(πg+ϵ ) − J(πg ) (d) MSR-GC-SAC, J(πg+ϵ ) −
                               DKL (πg+ϵ , πg )                                           J(πg )

Figure 18. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on VVC with
GC-SAC and MSR-GC-SAC. The interpretation of the coordinate axes and the data collection methods are analogous to those described
in Fig. 1.
  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                          5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                                                                       5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                  2.0                                                                                  2.0                                                                                  0                                                                    0
                                                                                  1.5                                                                                  1.5
                                                                                                                                                                                                                                                                5                                                                    5
                                                                                  1.0                                                                                  1.0
                                                                                                                                                                                                                                                                10                                                                   10
                                                                                  0.5                                                                                  0.5
                                                                                  0.0                                                                                  0.0                                                                                      15                                                                   15


                               -5 -4 -3 -2 -1 0 1 2 3 4 5                                                              -5 -4 -3 -2 -1 0 1 2 3 4 5                                                              -5 -4 -3 -2 -1 0 1 2 3 4 5                                                           -5 -4 -3 -2 -1 0 1 2 3 4 5


                           (a) HER, DKL (πg+ϵ , πg )                                     (b) MSR-HER, DKL (πg+ϵ , πg )                                                                       (c) HER, J(πg+ϵ ) − J(πg )                                               (d) MSR-HER, J(πg+ϵ ) − J(πg )

Figure 19. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on VVC with
HER and MSR-HER. The interpretation of the coordinate axes and the data collection methods are analogous to those described in Fig. 1.



the Reach task.

                                                                                                                                                                             18
                                                                          Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization
  5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                              5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                         5 4 3 2 1 0 -1 -2 -3 -4 -5




                                                                                                                                                                                                                                                                                5 4 3 2 1 0 -1 -2 -3 -4 -5
                                                                                     0.5                                                                                      0.5                                                                                   0                                                                            0
                                                                                     0.4                                                                                      0.4                                                                                       10                                                                           10
                                                                                     0.3                                                                                      0.3                                                                                       20                                                                           20
                                                                                     0.2                                                                                      0.2                                                                                       30                                                                           30
                                                                                     0.1                                                                                      0.1                                                                                       40                                                                           40
                                                                                     0.0                                                                                      0.0                                                                                       50                                                                           50


                               -5 -4 -3 -2 -1 0 1 2 3 4 5                                                                  -5 -4 -3 -2 -1 0 1 2 3 4 5                                                                 -5 -4 -3 -2 -1 0 1 2 3 4 5                                                             -5 -4 -3 -2 -1 0 1 2 3 4 5


   (a) GC-PPO, DKL (πg+ϵ , πg ) (b)              MSR-GC-PPO, (c) GC-PPO, J(πg+ϵ ) − J(πg ) (d) MSR-GC-PPO, J(πg+ϵ ) −
                                DKL (πg+ϵ , πg )                                           J(πg )

Figure 20. Policy discrepancy and return gap between policies for adjacent desired goals. Results come from experiments on VVC with
GC-PPO and MSR-GC-PPO. The interpretation of the coordinate axes and the data collection methods are analogous to those described
in Fig. 1.

                                                    0.0200                                                                                                                                                                                                        1.4
                                                                   GC-SAC                                                                                   25          HER                                                                                                    GC-PPO
                                                    0.0175         MSR-GC-SAC                                                                                           MSR-HER                                                                                                MSR-GC-PPO
                                                                                                                                                                                                                                                                  1.2
                                                    0.0150                                                                                                  20
                                                                                                                                                                                                                                                                  1.0
                                                    0.0125
                                                                                                                                                            15                                                                                                    0.8
                                                    0.0100
                                                                                                                                                   KL




                                                                                                                                                                                                                                                   KL
                                    KL




                                                                                                                                                            10                                                                                                    0.6
                                                    0.0075
                                                    0.0050                                                                                                                                                                                                        0.4
                                                                                                                                                             5
                                                    0.0025                                                                                                                                                                                                        0.2
                                                    0.0000                                                                                                   0                                                                                                    0.0
                                                             0.0    0.2     0.4     0.6       0.8                            1.0                                  0      1          2                                 3     4      5                                    0.0                           0.5             1.0      1.5       2.0
                                                                          Environment Steps                                  1e6                                              Environment Steps                                   1e5                                                                         Environment Steps          1e8

                                                      (a) GC-SAC, MSR-GC-SAC                                                                                          (b) HER and GC-HER                                                                    (c) GC-PPO and MSR-GC-PPO

Figure 21. Trends of policy discrepancy between policies for adjacent desired goals during training on VVC. Results come from algorithms
over 5 random seeds. Note that the policy discrepancy is measured by noise ϵ ∼ [−0.1 · δ, 0.1 · δ].

                                                                                                                                                             60
                                                                                                                                                                                                                                                                  120
                                                                                                                                                             80                                                                                                   140
                                                    140
                                                                                                                                                            100                                                                                                   160
                                Cumulative Reward




                                                                                                                                                                                                                                              Cumulative Reward
                                                                                                                                        Cumulative Reward




                                                    160                                                                                                     120                                                                                                   180
                                                                                                                                                            140                                                                                                   200
                                                    180                                                                                                     160                                                                                                   220
                                                                                                                                                            180                                                                                                   240
                                                    200                                                                                                     200                                                                                                   260
                                                                                         GC-SAC                                                                                                                             HER                                                                                                  GC-PPO
                                                                                         MSR-GC-SAC                                                         220                                                             MSR-HER                               280                                                            MSR-GC--PPO
                                                          0.0      0.2    0.4    0.6      0.8    1.0                                                              0       1         2                                 3     4      5                                     0.0                                 0.5       1.0       1.5       2.0
                                                                       Environment Steps          1e6                                                                         Environment Steps                                   1e5                                                                           Environment Steps          1e8

                                                    (a) GC-SAC, MSR-GC-SAC                                                                                        (b) HER and GC-HER                                                                       (c) GC-PPO and MSR-GC-PPO

                                            Figure 22. Cumulative rewards of policy during training on VVC. Results come from algorithms over 5 random seeds.



Table 9. Success rate of adjacent goals around an achievable goal and overall success rate of policy for different algorithms on VVC. The
mean and variance are shown over 5 random seeds.
                                                                                           Algorithms                                             Adjacent Success Rate (%)                                                             Success Rate (%)
                                                                                        GC-SAC                                                                           71.72±8.87                                                        20.86±7.75
                                                                                      MSR-GC-SAC                                                                         74.32±7.46                                                        22.28±6.84
                                                                                         HER                                                                             89.69±3.03                                                        62.84±12.12
                                                                                       MSR-HER                                                                           90.97±3.59                                                        67.94±13.03
                                                                                        GC-PPO                                                                           54.22±8.02                                                         7.62±8.06
                                                                                      MSR-GC-PPO                                                                         69.11±5.65                                                        26.52±33.64




                                                                                                                                                                                    19
                   Improving the Continuity of Goal-Achievement Ability via Policy Self-Regularization


                                Table 10. Comparison of TRPO, Offline-to-Online and MSR.
                              Algorithm                     Optimization Objective
                                TRPO               Eg∼pdg KL[πθt−1 (·|·, g)∥πθt (·|·, g)]
                          Offline-to-Online          Eg∼pdg KL[π0 (·|·, g)∥πθt (·|·, g)]
                                MSR            Eg∼pdg ,ϵ∼(−ϵ′ ,ϵ′ ) KL[πθt (·|·, g)∥πθt (·|·, g + ϵ)]


E. Comparison of MSR with Other KL-Based Policy Optimization Methods
Table 10 delineates the optimization objectives of TRPO (Schulman et al., 2015), Offline-to-Online (Baker et al., 2022;
Gong et al., 2024b), and MSR under multi-goal settings. It can be observed that:

  • TRPO aims to prevent the policy from changing too much during optimization, thus it achieves this objective by
    constraining the KL divergence between policies in consecutive training iterations.
  • The Offline-to-Online method aims to prevent the policy from forgetting the knowledge learned offline during online
    learning, by constraining the KL divergence between the offline-learned policy, π0 , and the policy currently being
    learned online, πθt .

  • MSR, on the other hand, seeks to enhance the policy’s continuity of goal-achievement ability by limiting the divergence
    between policies corresponding to adjacent goals.

In summary, although all these methods utilize KL divergence, from the perspective of optimization objectives, MSR is
fundamentally distinct from other KL-based methods.




                                                            20
