Original: [Equation]
Revised: [Equation]

Original: ≥ η
Revised: ≥ η

Original: [Equation]
Revised: [Equation]

Original: − ∥ Q it
Revised: − ∥ Q it

Original: [Equation]
Revised: [Equation]

Original: m − ¯ Q it,m ∥ (Xu et al., 2021, Eq. 15), by rearranging the terms above we obtain the result.
Revised: m − ¯ Q it,m ∥ (Xu et al., 2021, Eq. 15), by rearranging the terms above we obtain the result.

Original: Next, we study the condition on the maximum constraint violation threshold η t and how it affects
Revised: Next, we study the condition on the maximum constraint violation threshold η t and how it affects

Original: N t, 0 and the upper bounds for TAOG and TACV.
Revised: N t, 0 and the upper bounds for TAOG and TACV.

Original: We make the following assumption to proceed.
Revised: We make the following assumption to proceed.

Original: Assumption 4.
Revised: Assumption 4.

Original: Assume that (cid:80) m ∈N t, 

Revised: Assume that (cid:80) m ∈N t,

Original: J t, 0 ( π ∗ t ) − J t, 0 ( π t,m ) ≥ c J for some c J ∈ ( − 12 α t η t M, 0] .
Revised: J t, 0 ( π ∗ t ) − J t, 0 ( π t,m ) ≥ c J for some c J ∈ ( − 12 α t η t M, 0] .

Original: The assumption above indicates that the policies in N t, 0 do not have rewards higher than the optimal policy by more than 12 α t η t on average.
Revised: The assumption above indicates that the policies in N t, 0 do not have rewards higher than the optimal policy by more than 12 α t η t on average.

Original: Note that it is indeed possible to have rewards higher than the optimal policy if the corresponding policy does not satisfy some safety constraints (i.e., infeasible policy).
Revised: Note that it is indeed possible to have rewards higher than the optimal policy if the corresponding policy does not satisfy some safety constraints (i.e., infeasible policy).

Original: However, it is not a strong assumption since we are comparing with the optimal policy.
Revised: However, it is not a strong assumption since we are comparing with the optimal policy.

Original: The above assumption is not present in (Xu et al., 2021), which invalidates one of its derivation steps (in particular, (Xu et al., 2021, Thm. 3)), and is thus introduced to rectify the proof.
Revised: The above assumption is not present in (Xu et al., 2021), which invalidates one of its derivation steps (in particular, (Xu et al., 2021, Thm. 3)), and is thus introduced to rectify the proof.

Original: Lemma 20.
Revised: Lemma 20.

Original: Suppose that the following condition holds:
Revised: Suppose that the following condition holds:

Original: [Equation]
Revised: [Equation]

Original: Then, we have that N t, 0 ̸ = ∅ , i.e., ˆ π t is well-defined; also, one the following two statements must hold,
Revised: Then, we have that N t, 0 ̸ = ∅ , i.e., ˆ π t is well-defined; also, one the following two statements must hold,

Original: [Equation]
Revised: [Equation]

Original: Under assumption 4, we also have the following holds:
Revised: Under assumption 4, we also have the following holds:

Original: [Equation]
Revised: [Equation]

Original: for some κ ∈ (0 , 12 ) .
Revised: for some κ ∈ (0 , 12 ) .

Original: Proof.
Revised: Proof.

Original: The proof for N t, 0 ̸ = ∅ follows directly from (Xu et al., 2021, Lem. 9).
Revised: The proof for N t, 0 ̸ = ∅ follows directly from (Xu et al., 2021, Lem. 9).

Original: For the second statement, we consider the case that (cid:80) m ∈N t, 0 (cid:16) J
Revised: For the second statement, we consider the case that (cid:80) m ∈N t, 0 (cid:16) J

Original: [Equation]
Revised: [Equation]

Original: π
Revised: π

Original: [Equation]
Revised: [Equation]

Original: t
Revised: t

Original: [Equation]
Revised: [Equation]

Original: − J t
Revised: − J t

Original: [Equation]
Revised: [Equation]

Original: π
Revised: π

Original: [Equation]
Revised: [Equation]

Original: m ) (cid:17) > 0 .
Revised: m ) (cid:17) > 0 .

Original: From Lemma 19, it implies that
Revised: From Lemma 19, it implies that

Original: [Equation]
Revised: [Equation]

Original: Suppose that |N t, 0 | < M/ 2 , then (cid:80) pi =

Revised: Suppose that |N t, 0 | < M/ 2 , then (cid:80) pi =

Original: |N t,i | > M/ 2 , we have that
Revised: |N t,i | > M/ 2 , we have that

Original: [Equation]
Revised: [Equation]

Original: which contradicts 44.
Revised: which contradicts 44.

Original: Hence, we must have |N t, 0 | ≥ M/ 2 .
Revised: Hence, we must have |N t, 0 | ≥ M/ 2 .

Original: Next, we show that |N t, 0 | ≥ (cid:0) 12 − κ (cid:1) M for some κ ∈ (0 , 12 ) .
Revised: Next, we show that |N t, 0 | ≥ (cid:0) 12 − κ (cid:1) M for some κ ∈ (0 , 12 ) .

Original: Under assumption 4 and by Lemma 19, we have that
Revised: Under assumption 4 and by Lemma 19, we have that

Original: [Equation]
Revised: [Equation]

Original: Choose κ := − c J α t η t M .
Revised: Choose κ := − c J α t η t M .

Original: Since − c J < 12 α t η t M by assumption, we have that κ ∈ (0 , 12 ) .
Revised: Since − c J < 12 α t η t M by assumption, we have that κ ∈ (0 , 12 ) .

Original: Consider the case that |N t, 0 | < (cid:0) 12 − κ (cid:1) M , which implies that (cid:80) pi =1 |N t,i | > (cid:0) 12 + κ (cid:1) M .
Revised: Consider the case that |N t, 0 | < (cid:0) 12 − κ (cid:1) M , which implies that (cid:80) pi =1 |N t,i | > (cid:0) 12 + κ (cid:1) M .

Original: This implies that
Revised: This implies that

Original: [Equation]
Revised: [Equation]

Original: which again contradicts 44.
Revised: which again contradicts 44.

Original: Hence, we must have |N t, 0 | ≥ (cid:0) 1 2 − κ (cid:1) M .
Revised: Hence, we must have |N t, 0 | ≥ (cid:0) 1 2 − κ (cid:1) M .

Original: Now, we prove the upper bound of suboptimality and constraint violation per task.
Revised: Now, we prove the upper bound of suboptimality and constraint violation per task.

Original: Lemma 21.
Revised: Lemma 21.

Original: Let the violation tolerance be chosen as:
Revised: Let the violation tolerance be chosen as:

Original: [Equation]
Revised: [Equation]

Original: Then, the following holds
Revised: Then, the following holds

Original: [Equation]
Revised: [Equation]

Original: where c t 1 = 2 , c t 2 = 4 c 2 max |S||A| (1 − γ )
Revised: where c t 1 = 2 , c t 2 = 4 c 2 max |S||A| (1 − γ )

Original: [Equation]
Revised: [Equation]

Original: Proof.
Revised: Proof.

Original: From Lemma
Revised: From Lemma

Original: [Equation]
Revised: [Equation]

Original: we have that
Revised: we have that

Original: [Equation]
Revised: [Equation]

Original: i
Revised: i

Original: [Equation]
Revised: [Equation]

Original: (cid:88) m
Revised: (cid:88) m

Original: [Equation] [Equation]
Revised: [Equation] [Equation]

Original: it
Revised: it

Original: [Equation]
Revised: [Equation]

Original: If (cid:80) m ∈N
Revised: If (cid:80) m ∈N

Original: [Equation]
Revised: [Equation]

Original: (cid:16) J t, 0 ( π ∗ t ) − J t, 0 ( π t,m ) (cid:17) ≤ 0 , then J t, 0 ( π ∗ t ) − E
Revised: (cid:16) J t, 0 ( π ∗ t ) − J t, 0 ( π t,m ) (cid:17) ≤ 0 , then J t, 0 ( π ∗ t ) − E

Original: [ J t, 0 (ˆ π t )] ≤ 0 .
Revised: [ J t, 0 (ˆ π t )] ≤ 0 .

Original: If (cid:80) m ∈N t, 0 (cid:16) J t, 0 ( π ∗ t ) −
Revised: If (cid:80) m ∈N t, 0 (cid:16) J t, 0 ( π ∗ t ) −

Original: J t, 0 ( π t,m ) (cid:17) > 0 , then, by Lemma 20, we have |N t, 0 | ≥ M/ 2 .
Revised: J t, 0 ( π t,m ) (cid:17) > 0 , then, by Lemma 20, we have |N t, 0 | ≥ M/ 2 .

Original: Hence,
Revised: Hence,

Original: J t, 0 ( π
Revised: J t, 0 ( π

Original: [Equation] [Equation]
Revised: [Equation] [Equation]

Original: E [
Revised: E [

Original: [Equation]
Revised: [Equation]

Original: [Equation] [Equation]
Revised: [Equation] [Equation]

Original: ] =
Revised: ] =

Original: [Equation]
Revised: [Equation]

Original: where the last inequality is due to the choice of K in
Revised: where the last inequality is due to the choice of K in

Original: = Θ( M 1 /σ log 2 /σ ( |S| 2 |A| 2 M 1+2 /σ /δ )) as specified by (Xu et al., 2021, Lem.
Revised: = Θ( M 1 /σ log 2 /σ ( |S| 2 |A| 2 M 1+2 /σ /δ )) as specified by (Xu et al., 2021, Lem.

Original: 8) for critic evaluations.
Revised: 8) for critic evaluations.

Original: Here, the constants are chosen as c t 1 = 2 , c
Revised: Here, the constants are chosen as c t 1 = 2 , c

Original: t 2 = 4 c 2 max |S||A| (1 − γ ), c t 3 = 3+(1 − γ ) 2 ( − γ ) 2 , c t 4 = 3 c max (1 − γ ) 2 .
Revised: t 2 = 4 c 2 max |S||A| (1 − γ ), c t 3 = 3+(1 − γ ) 2 ( − γ ) 2 , c t 4 = 3 c max (1 − γ ) 2 .

Original: For constraint violation, consider any i
Revised: For constraint violation, consider any i

Original: = 1 , ..., p , we have
Revised: = 1 , ..., p , we have

Original: [Equation]
Revised: [Equation]

Original: where the first inequality is due to triangle inequality, the second inequality is by the design of the
Revised: where the first inequality is due to triangle inequality, the second inequality is by the design of the

Original: CRPO algorithm, and the third inequality is due to Lemma 20, where κ ∈ (0 , 12 ) .
Revised: CRPO algorithm, and the third inequality is due to Lemma 20, where κ ∈ (0 , 12 ) .

Original: By the choice of
Revised: By the choice of

Original: K in , we have that (cid:80) pi =

Revised: K in , we have that (cid:80) pi =

Original: (cid:80) m ∈N
Revised: (cid:80) m ∈N

Original: [Equation]
Revised: [Equation]

Original: ,i ∥
Revised: ,i ∥

Original: [Equation]
Revised: [Equation]

Original: it,π m
Revised: it,π m

Original: [Equation]
Revised: [Equation]

Original: |
Revised: |

Original: [Equation]
Revised: [Equation]

Original: M .
Revised: M .

Original: Plugging the value of η t yields the desired result.
Revised: Plugging the value of η t yields the desired result.

Original: Finally, we are able to provide the following bounds on TAOG and TACV in the case of adaptive learning rates.
Revised: Finally, we are able to provide the following bounds on TAOG and TACV in the case of adaptive learning rates.

Original: Theorem G.1 (Bounds on TAOG and TACV) .
Revised: Theorem G.1 (Bounds on TAOG and TACV) .

Original: Suppose we run CRPO algorithm for M steps per task t with learning rates α t .
Revised: Suppose we run CRPO algorithm for M steps per task t with learning rates α t .

Original: Then, after T tasks, the TAOG ¯ R 0 is given by
Revised: Then, after T tasks, the TAOG ¯ R 0 is given by

Original: [Equation]
Revised: [Equation]

Original: and the TACV ¯ R i is given by
Revised: and the TACV ¯ R i is given by

Original: [Equation]
Revised: [Equation]

Original: for i = 1 , ..., p , where c t 1 = 2 , c t 2 = 4 c 2 max |S||A| (1 − γ ), c t 3 = 3+(1 − γ
Revised: for i = 1 , ..., p , where c t 1 = 2 , c t 2 = 4 c 2 max |S||A| (1 − γ ), c t 3 = 3+(1 − γ

Original: [Equation]
Revised: [Equation]

Original: 2 ( − γ ) 2 , c t 4 = 3 c max (1 − γ ) 2 , and c t 5 = 2 √ (1 − γ )
Revised: 2 ( − γ ) 2 , c t 4 = 3 c max (1 − γ ) 2 , and c t 5 = 2 √ (1 − γ )

Original: |S||A|− 2 κ .
Revised: |S||A|− 2 κ .

Original: Proof.
Revised: Proof.

Original: The proof follows directly by summing the results 45 and 46 over t = 1 , ..., T .
Revised: The proof follows directly by summing the results 45 and 46 over t = 1 , ..., T .

Original: G. A DAPTING TO THE DYNAMIC REGRET USING ADAPTIVE LEARNING RATES
Revised: G. A DAPTING TO THE DYNAMIC REGRET USING ADAPTIVE LEARNING RATES

Original: We restate the theorem below for convenience.
Revised: We restate the theorem below for convenience.

Original: Theorem G.2.
Revised: Theorem G.2.

Original: Let each within-task CMDP t run M steps of CRPO, initialized by policy π t, 0 :=
Revised: Let each within-task CMDP t run M steps of CRPO, initialized by policy π t, 0 :=

Original: INIT( t ) and learning rates { α t } pi =0 :=
Revised: INIT( t ) and learning rates { α t } pi =0 :=

Original: SIM( t ) .
Revised: SIM( t ) .

Original: Let κ ∗ :=
Revised: Let κ ∗ :=

Original: arg min L ( κ ) , where
Revised: arg min L ( κ ) , where

Original: [Equation]
Revised: [Equation]

Original: and { ψ ∗ t } Tt =1 is any comparator sequence.
Revised: and { ψ ∗ t } Tt =1 is any comparator sequence.

Original: Then, the following bounds on TAOG and TACV hold:
Revised: Then, the following bounds on TAOG and TACV hold:

Original: [Equation]
Revised: [Equation]

Original: Proof.
Revised: Proof.

Original: The idea of the proof is to freeze the learning rates first to obtain a dynamic regret bound based on policy initialization, and then optimize over the learning rates to obtain a tighter characterization.
Revised: The idea of the proof is to freeze the learning rates first to obtain a dynamic regret bound based on policy initialization, and then optimize over the learning rates to obtain a tighter characterization.

Original: Also, since TAOG and TACV only differ by a bias term that does not depend on either the learning rates nor the initial policy, we can treat them indistinguishably.
Revised: Also, since TAOG and TACV only differ by a bias term that does not depend on either the learning rates nor the initial policy, we can treat them indistinguishably.

Original: In particular,
Revised: In particular,

Original: T
Revised: T

Original: [Equation] [Equation]
Revised: [Equation] [Equation]

Original: where Ψ := { ϕ t } Tt =1 .
Revised: where Ψ := { ϕ t } Tt =1 .

Original: Let
Revised: Let

Original: [Equation]
Revised: [Equation]

Original: and define
Revised: and define

Original: [Equation]
Revised: [Equation]

Original: Thus, plugging κ = κ ∗ in 54 results in 50.
Revised: Thus, plugging κ = κ ∗ in 54 results in 50.

Original: Now, we provide the regret upper bound for U simT ( κ ) , when SIM( t ) is OGD over the sequence ˆ f simt ( κ ) .
Revised: Now, we provide the regret upper bound for U simT ( κ ) , when SIM( t ) is OGD over the sequence ˆ f simt ( κ ) .

Original: Corollary 2.
Revised: Corollary 2.

Original: For any fixed comparator α ∗ =
Revised: For any fixed comparator α ∗ =

Original: arg min κ (cid:80) Tt
Revised: arg min κ (cid:80) Tt

Original: =

Revised: =

Original: ˆ f simt , if SIM( t ) is OGD which is run on a sequence of loss functions { ˆ f simt } t ∈ [ T ] with the step-size α ∗
Revised: ˆ f simt , if SIM( t ) is OGD which is run on a sequence of loss functions { ˆ f simt } t ∈ [ T ] with the step-size α ∗

Original: K α √ 2 T , then the following bound holds for static regret:
Revised: K α √ 2 T , then the following bound holds for static regret:

Original: [Equation]
Revised: [Equation]

Original: for any C 1 ∈ { c ∈
Revised: for any C 1 ∈ { c ∈

Original: [Equation]
Revised: [Equation]

Original: ∈ Λ } where u is an ϵ -subgradient of f simt ( κ ) with respect to κ , E T := (cid:80) Tt
Revised: ∈ Λ } where u is an ϵ -subgradient of f simt ( κ ) with respect to κ , E T := (cid:80) Tt

Original: =

Revised: =

Original: ϵ t is the cumulative inexactness, ϵ t is the upper bound from Theorem 3.1.
Revised: ϵ t is the cumulative inexactness, ϵ t is the upper bound from Theorem 3.1.

Original: Proof.
Revised: Proof.

Original: The proof follows directly after substituting c = 4 2 C 1 − C
Revised: The proof follows directly after substituting c = 4 2 C 1 − C

Original: L α and other appropriate constants in Theorem E.1.
Revised: L α and other appropriate constants in Theorem E.1.

Original: Next, we provide the proof of Colrollary 1 TAOG and TACV regret bounds when INIT and SIM are either FTL or inexact OGD.
Revised: Next, we provide the proof of Colrollary 1 TAOG and TACV regret bounds when INIT and SIM are either FTL or inexact OGD.

Original: Corollary 3.
Revised: Corollary 3.

Original: For any fixed comparator α ∗ =
Revised: For any fixed comparator α ∗ =

Original: arg min κ (cid:80) Tt
Revised: arg min κ (cid:80) Tt

Original: =

Revised: =

Original: ˆ f simt and c t 3 = 3+(1 − γ ) 2 ( − γ ) 2 .
Revised: ˆ f simt and c t 3 = 3+(1 − γ ) 2 ( − γ ) 2 .

Original: If INIT( t ) and SIM( t ) are FTL or inexact OGD over the sequences ˆ f initt and ˆ f simt , then, the following bounds on TAOG and TACV hold:
Revised: If INIT( t ) and SIM( t ) are FTL or inexact OGD over the sequences ˆ f initt and ˆ f simt , then, the following bounds on TAOG and TACV hold:

Original: [Equation]
Revised: [Equation]

Original: for all i = 0 , . . .
Revised: for all i = 0 , . . .

Original: , p , where { ψ ∗ t } t ∈ [ T ] is any comparator sequence,
Revised: , p , where { ψ ∗ t } t ∈ [ T ] is any comparator sequence,

Original: c t 3 = 3+(1 − γ ) 2 (1 − γ ) 2 , and c t 2 = 4 c 2 max |S||A| (1 − γ ).
Revised: c t 3 = 3+(1 − γ ) 2 (1 − γ ) 2 , and c t 2 = 4 c 2 max |S||A| (1 − γ ).

Original: Proof.
Revised: Proof.

Original: Firstly, the following inexact upper bounds hold for U initT and U simT :
Revised: Firstly, the following inexact upper bounds hold for U initT and U simT :

Original: [Equation]
Revised: [Equation]

Original: where the constants in
Revised: where the constants in

Original: Plugging these in the equation 49, we can obtain the following:
Revised: Plugging these in the equation 49, we can obtain the following:

Original: [Equation]
Revised: [Equation]

Original: where the relation ˆ V 2 ψ = 1 T (cid:80) Tt =1 E ˆ ν t
Revised: where the relation ˆ V 2 ψ = 1 T (cid:80) Tt =1 E ˆ ν t

Original: [ D KL (ˆ π t | ψ ∗ t )] is used to get the second last term T ˆ V 2 ψ κ .
Revised: [ D KL (ˆ π t | ψ ∗ t )] is used to get the second last term T ˆ V 2 ψ κ .

Original: To get κ ∗ such that L ( κ ) is minimized, we proceed using the KKT optimality conditions to get dLdκ as
Revised: To get κ ∗ such that L ( κ ) is minimized, we proceed using the KKT optimality conditions to get dLdκ as

Original: [Equation]
Revised: [Equation]

Original: Therefore, we obtain κ ∗ =
Revised: Therefore, we obtain κ ∗ =

Original: [Equation]
Revised: [Equation]

Original: Substituting this value of κ ∗ in G.2, and using the approximation (cid:113)
Revised: Substituting this value of κ ∗ in G.2, and using the approximation (cid:113)

Original: [Equation]
Revised: [Equation]

Original: M + √ M ≊ 1 M 1 / 4 , we can obtain the final result.
Revised: M + √ M ≊ 1 M 1 / 4 , we can obtain the final result.

Original: H A DDITIONAL EXPERIMENTS AND DETAILS
Revised: H A DDITIONAL EXPERIMENTS AND DETAILS

Original: In this section, we describe our experimental setup and other additional details for the OpenAI gym experiments under constrained settings.
Revised: In this section, we describe our experimental setup and other additional details for the OpenAI gym experiments under constrained settings.

Original: We present the performance of Meta-SRL on the Acrobot and the Frozen lake under high task-similarity conditions.
Revised: We present the performance of Meta-SRL on the Acrobot and the Frozen lake under high task-similarity conditions.

Original: We first present some details on the baselines used to avoid any confusion.
Revised: We first present some details on the baselines used to avoid any confusion.

Original: Details of baselines used:
Revised: Details of baselines used:

Original: Denote the policy initialization for task t as ϕ t .
Revised: Denote the policy initialization for task t as ϕ t .

Original: First baseline is the FAL, which initializes the policy ϕ t +1 for the test task t + 1 as ϕ t +1 =
Revised: First baseline is the FAL, which initializes the policy ϕ t +1 for the test task t + 1 as ϕ t +1 =

Original: 1 t (cid:80) ti =
Revised: 1 t (cid:80) ti =

Original: 1 ϕ i .
Revised: 1 ϕ i .

Original: This is done online as the tasks are encountered sequentially.
Revised: This is done online as the tasks are encountered sequentially.

Original: For the simple averaging baseline, we run CRPO on 10 tasks with random initialization, and evaluate the performance on a test task by initializing with the average of all the suboptimal policies from the batch of suboptimal policies, i.e., ϕ T =
Revised: For the simple averaging baseline, we run CRPO on 10 tasks with random initialization, and evaluate the performance on a test task by initializing with the average of all the suboptimal policies from the batch of suboptimal policies, i.e., ϕ T =

Original: 1 T − 1 (cid:80) T − 1 i =1 ϕ
Revised: 1 T − 1 (cid:80) T − 1 i =1 ϕ

Original: i , where T is the test task.
Revised: i , where T is the test task.

Original: This can be seen as an offline method, where suboptimal policies from T − 1 tasks is stored and averaged to get the initialization for the test task.
Revised: This can be seen as an offline method, where suboptimal policies from T − 1 tasks is stored and averaged to get the initialization for the test task.

Original: The pre-trained baseline uses suboptimal policy from an already trained task to initialize the policy on the test task, i.e., ϕ t
Revised: The pre-trained baseline uses suboptimal policy from an already trained task to initialize the policy on the test task, i.e., ϕ t

Original: = ˆ π t ′ , where ϕ t is the policy initialization for the task t , and ˆ π t ′ is the suboptimal policy returned some pre-trained task t ′ .
Revised: = ˆ π t ′ , where ϕ t is the policy initialization for the task t , and ˆ π t ′ is the suboptimal policy returned some pre-trained task t ′ .

Original: This baseline could be thought of as the
Revised: This baseline could be thought of as the

Original: Strawman initialization strategy, where the policy for the next task is initialized using the suboptimal policy from the previous task, i.e., ϕ t +1 =
Revised: Strawman initialization strategy, where the policy for the next task is initialized using the suboptimal policy from the previous task, i.e., ϕ t +1 =

Original: ˆ π t .
Revised: ˆ π t .

Original: For the Meta-SRL in the discrete state action-space (i.e., Frozen lake), we take the weighted average of the previous suboptimal policies weighted by the stationary distributions induced by each suboptimal policy over all thes states.
Revised: For the Meta-SRL in the discrete state action-space (i.e., Frozen lake), we take the weighted average of the previous suboptimal policies weighted by the stationary distributions induced by each suboptimal policy over all thes states.

Original: We also adapt the learning rates α t for the CRPO algorithm for each task t .
Revised: We also adapt the learning rates α t for the CRPO algorithm for each task t .

Original: The difference between FAL and Meta-SRL is that Meta-SRL weights the suboptimal policies higher in the states which were encountered more frequently.
Revised: The difference between FAL and Meta-SRL is that Meta-SRL weights the suboptimal policies higher in the states which were encountered more frequently.

Original: Random initialization baseline is using the random iniitalization for the within-task algorithm CRPO.
Revised: Random initialization baseline is using the random iniitalization for the within-task algorithm CRPO.

Original: Experimental setup: We run all the algorithms online where tasks are encountered sequentially, and present the results for the test-task after the policy initialization suggested by respective baselines.
Revised: Experimental setup: We run all the algorithms online where tasks are encountered sequentially, and present the results for the test-task after the policy initialization suggested by respective baselines.

Original: We do 10 runs for each baseline on the test task, and present the variance plots.
Revised: We do 10 runs for each baseline on the test task, and present the variance plots.

Original: On the test task, we train for 8 steps on the
Revised: On the test task, we train for 8 steps on the

Original: H. F ROZEN LAKE
Revised: H. F ROZEN LAKE

Original: Frozen lake: For the Frozen lake, we randomly generate T = 10 different orientations as tasks over the probability of a state being frozen or a hole, and evaluate the performance for the scenarios with high task-similarity (low variance for the latent CMDP distribution) or low task-similarity (high variance for the latent CMDP distribution).
Revised: Frozen lake: For the Frozen lake, we randomly generate T = 10 different orientations as tasks over the probability of a state being frozen or a hole, and evaluate the performance for the scenarios with high task-similarity (low variance for the latent CMDP distribution) or low task-similarity (high variance for the latent CMDP distribution).

Original: The agent gets rewarded +2 when it reaches the goal state, and incurs a cost − 1 when it falls into a hole.
Revised: The agent gets rewarded +2 when it reaches the goal state, and incurs a cost − 1 when it falls into a hole.

Original: We choose the constraint threshold d t,i = 0 .
Revised: We choose the constraint threshold d t,i = 0 .

Original: High task-similarity: To generate tasks with high task-similarity, we start with a random frozen lake grid of 4 × 4 , where the probability of each grid being a frozen is 0 .
Revised: High task-similarity: To generate tasks with high task-similarity, we start with a random frozen lake grid of 4 × 4 , where the probability of each grid being a frozen is 0 .

Original: Then, we generate 9 different grids which differ from the first one by only one of the grids.
Revised: Then, we generate 9 different grids which differ from the first one by only one of the grids.

Original: This means the agent always encounters the new grid which is very similar to the previous task.
Revised: This means the agent always encounters the new grid which is very similar to the previous task.

Original: From Figure 4, we can observe that baselines pre-trained and FAL are competitive with the Meta-SRL in terms of reward maximization and almost zero constraint violations.
Revised: From Figure 4, we can observe that baselines pre-trained and FAL are competitive with the Meta-SRL in terms of reward maximization and almost zero constraint violations.

Original: The good performance of the pre-trained baseline can be explained using the fact that the as the test task and the training task are very similar, the policy initialization will be close to the optimal policy of the test task.
Revised: The good performance of the pre-trained baseline can be explained using the fact that the as the test task and the training task are very similar, the policy initialization will be close to the optimal policy of the test task.

Original: H. A CROBOT
Revised: H. A CROBOT

Original: Acrobot: Acrobot is a 2 link robot OpenAI gym environment which has a continuous state space.
Revised: Acrobot: Acrobot is a 2 link robot OpenAI gym environment which has a continuous state space.

Original: The agent is rewarded when it achieves certain height of the end link.
Revised: The agent is rewarded when it achieves certain height of the end link.

Original: Two constraints are introduced for two links, where − 1 cost is incurred if any link swings in the prohibited direction.
Revised: Two constraints are introduced for two links, where − 1 cost is incurred if any link swings in the prohibited direction.

Original: We randomly generate T = 50 different tasks with different mass links and center of gravity.
Revised: We randomly generate T = 50 different tasks with different mass links and center of gravity.

Original: High task-similarity: To generate tasks with high similarity for the acrobot, we considered changing the mass of the links, center of gravity (COG) and constraint threshold for each link.
Revised: High task-similarity: To generate tasks with high similarity for the acrobot, we considered changing the mass of the links, center of gravity (COG) and constraint threshold for each link.

Original: The changes in these quantities were done by adding noise to the default quantities.
Revised: The changes in these quantities were done by adding noise to the default quantities.

Original: We considered a Gaussian noise with a low variance of 0 .
Revised: We considered a Gaussian noise with a low variance of 0 .

Original: 1 to change the tasks only slightly.
Revised: 1 to change the tasks only slightly.

Original: From Figure 5, we can observe that only pre-trained and FAL baselines are competitive with the Meta-SRL in terms of reward maximization and almost zero constraint violations.
Revised: From Figure 5, we can observe that only pre-trained and FAL baselines are competitive with the Meta-SRL in terms of reward maximization and almost zero constraint violations.

Original: Low task-similarity: To generate low similar tasks, we increased the variance of the Gaussian noise to 0 .
Revised: Low task-similarity: To generate low similar tasks, we increased the variance of the Gaussian noise to 0 .

Original: We can observe from Figure 2 that the performance of the baselines was poor for the constraint satisfaction, while Meta-SRL was able to converge quickly for reward maximization and constraint satisfaction.
Revised: We can observe from Figure 2 that the performance of the baselines was poor for the constraint satisfaction, while Meta-SRL was able to converge quickly for reward maximization and constraint satisfaction.

Original: Note that, in real-world settings, tasks are likely to have low-similarity in terms of how close their optimal policies are.
Revised: Note that, in real-world settings, tasks are likely to have low-similarity in terms of how close their optimal policies are.

Original: Good performance of Meta-SRL under these settings highlights its potential to be extended to real-world settings where safety constraints are present.
Revised: Good performance of Meta-SRL under these settings highlights its potential to be extended to real-world settings where safety constraints are present.

Original: H. A DDITIONAL EXPERIMENTS
Revised: H. A DDITIONAL EXPERIMENTS

Original: In this section, we provide additional experiments on HalfCHeetah from Mujoco.
Revised: In this section, we provide additional experiments on HalfCHeetah from Mujoco.

Original: H.3. H ALF CHEETAH
Revised: H.3. H ALF CHEETAH

Original: Half-cheetah: Half-cheetah is a simulation environment for 2-dimensional robot.
Revised: Half-cheetah: Half-cheetah is a simulation environment for 2-dimensional robot.

Original: It consists of 9 links and 8 joints, where the goal for the cheetah is to run at a certain velocity.
Revised: It consists of 9 links and 8 joints, where the goal for the cheetah is to run at a certain velocity.

Original: The original
Revised: The original

Original: HalfCheetah environment does not have any constraints.
Revised: HalfCheetah environment does not have any constraints.

Original: We introduce a constraint that penalizes the deviation of the cheetah’s head from some desired height:
Revised: We introduce a constraint that penalizes the deviation of the cheetah’s head from some desired height:

Original: [Equation]
Revised: [Equation]

Original: where we specify the cumulative absolute difference between the cheetah head height and the desired height to be less than a tolerance ϵ .
Revised: where we specify the cumulative absolute difference between the cheetah head height and the desired height to be less than a tolerance ϵ .

Original: The cheetah is trained on T = 100 tasks for both high and low task-similarity settings.
Revised: The cheetah is trained on T = 100 tasks for both high and low task-similarity settings.

Original: High task-similarity: To generate tasks with high similarity, the goal velocity for each training task is uniformly sampled from a range of [0 . 35 , 0 . 65] m/s .
Revised: High task-similarity: To generate tasks with high similarity, the goal velocity for each training task is uniformly sampled from a range of [0 . 35 , 0 . 65] m/s .

Original: From Figure 6, we can observe that under high task similarity settings, Meta-SRL is able achieve high rewards and also able to keep the constraint violation of the cheetah’s head height below the threshold.
Revised: From Figure 6, we can observe that under high task similarity settings, Meta-SRL is able achieve high rewards and also able to keep the constraint violation of the cheetah’s head height below the threshold.

Original: Under high task-similarity settings, both pre-trained and Meta-SRL perform well, as expected.
Revised: Under high task-similarity settings, both pre-trained and Meta-SRL perform well, as expected.

Original: However, it can be observed that both simple averaging and random initialization perform poorly in this setting.
Revised: However, it can be observed that both simple averaging and random initialization perform poorly in this setting.

Original: Close inspection indicates that there is a high variance among the policy parameters learned from each task, which may result in interference among different tasks in the relatively high dimensional state space.
Revised: Close inspection indicates that there is a high variance among the policy parameters learned from each task, which may result in interference among different tasks in the relatively high dimensional state space.

Original: [Figure]
Revised: [Figure]

Original: Here, the averaging and random perform the worst on the
Revised: Here, the averaging and random perform the worst on the

Original: Low task-similarity: To generate tasks with low similarity for the half-cheetah, the goal velocity for each training task is uniformly sampled from a range of [0 . 0 , 1 . 0] m/s .
Revised: Low task-similarity: To generate tasks with low similarity for the half-cheetah, the goal velocity for each training task is uniformly sampled from a range of [0 . 0 , 1 . 0] m/s .

Original: Tasks are less similar due to the high variance of goal velocities that the cheetah is trained on.
Revised: Tasks are less similar due to the high variance of goal velocities that the cheetah is trained on.

Original: It can be observed from Figurethat Meta-SRL is able to achieve higher rewards and zero constraint violations quickly compared to other baseline initializations under low task-relatedness settings.
Revised: It can be observed from Figurethat Meta-SRL is able to achieve higher rewards and zero constraint violations quickly compared to other baseline initializations under low task-relatedness settings.

Original: The pre-trained baseline can achieve higher rewards, but similar to other baselines, it cannot achieve constraint satisfaction within 10 steps.
Revised: The pre-trained baseline can achieve higher rewards, but similar to other baselines, it cannot achieve constraint satisfaction within 10 steps.

Original: It can also be observed that both simple averaging and random initialization perform poorly in reward maximization in this setting.
Revised: It can also be observed that both simple averaging and random initialization perform poorly in reward maximization in this setting.

Original: Close inspection indicates that there is a high variance among the policy parameters learned from each task, which may result in interference among different tasks in the relatively high dimensional state space.
Revised: Close inspection indicates that there is a high variance among the policy parameters learned from each task, which may result in interference among different tasks in the relatively high dimensional state space.

Original: [Figure]
Revised: [Figure]

Original: I R ELATION OF M ETA -SRL TO HARDNESS RESULTS IN (K WON ET AL ., 2021)
Revised: I R ELATION OF M ETA -SRL TO HARDNESS RESULTS IN (K WON ET AL ., 2021)

Original: There is a key difference in the problem setting of meta-learning in our study and the latent MDP setting in (Kwon et al., 2021).
Revised: There is a key difference in the problem setting of meta-learning in our study and the latent MDP setting in (Kwon et al., 2021).

Original: The latent MDP setting is more challenging in the sense that there is no clear boundary between tasks.
Revised: The latent MDP setting is more challenging in the sense that there is no clear boundary between tasks.

Original: In the latent MDP setting, each episode may come from an unknown MDP drawn from a distribution (as a special case of POMDP); in the meta-learning setting, the agent knows when a new task has arrived and is allowed to interact with the MDP over a set of episodes (the number is linear with respect to M in our paper).
Revised: In the latent MDP setting, each episode may come from an unknown MDP drawn from a distribution (as a special case of POMDP); in the meta-learning setting, the agent knows when a new task has arrived and is allowed to interact with the MDP over a set of episodes (the number is linear with respect to M in our paper).

Original: Due to the above difference, the worst-case lower bound of requiring an exponential number of episodes to learn an ϵ -optimal policy in (Kwon et al., 2021) does not hold in our case.
Revised: Due to the above difference, the worst-case lower bound of requiring an exponential number of episodes to learn an ϵ -optimal policy in (Kwon et al., 2021) does not hold in our case.

Original: Indeed, if the identity (referred to as “context” in latent MDP) is revealed or can be inferred, (Kwon et al., 2021) is able to achieve a regret that is polynomial in the number of episodes (Thms. 3.3 and 3.4 from (Kwon et al., 2021)).
Revised: Indeed, if the identity (referred to as “context” in latent MDP) is revealed or can be inferred, (Kwon et al., 2021) is able to achieve a regret that is polynomial in the number of episodes (Thms. 3.3 and 3.4 from (Kwon et al., 2021)).

Original: Furthermore, close examination of the bounds provided by (Kwon et al., 2021) also reveals some differences from our result.
Revised: Furthermore, close examination of the bounds provided by (Kwon et al., 2021) also reveals some differences from our result.

Original: In particular, let K be the number of contexts in a latent MDP and N be the total number of episodes ( N is on the order of TM in our case as we encounter T tasks, each with M episodes).
Revised: In particular, let K be the number of contexts in a latent MDP and N be the total number of episodes ( N is on the order of TM in our case as we encounter T tasks, each with M episodes).

Original: Then (Kwon et al., 2021) is able to bound the regret (without dividing by the number of episodes N ) as O ( √ KN ) .
Revised: Then (Kwon et al., 2021) is able to bound the regret (without dividing by the number of episodes N ) as O ( √ KN ) .

Original: To compare their bound with ours, we consider each task in the meta-learning setting as a context, so
Revised: To compare their bound with ours, we consider each task in the meta-learning setting as a context, so

Original: T =
Revised: T =

Original: O ( K ) .
Revised: O ( K ) .

Original: Therefore, their upper bound (after dividing by the number of episodes N = TM ) becomes O (1 / √ M ) , which does not diminish with the number of tasks T .
Revised: Therefore, their upper bound (after dividing by the number of episodes N = TM ) becomes O (1 / √ M ) , which does not diminish with the number of tasks T .

Original: Note that our bound (see the comment after Corollary 1) is O (cid:16)
Revised: Note that our bound (see the comment after Corollary 1) is O (cid:16)

Original: [Equation]
Revised: [Table]

Original: (after dividing by the number of episodes N = TM ), where for simplicity we have assumed E T = 0 , i.e., exact access to the loss function.
Revised: (after dividing by the number of episodes N = TM ), where for simplicity we have assumed E T = 0 , i.e., exact access to the loss function.

Original: Note that ˆ V ψ is a measure of task-relatedness (a smaller value indicates more relatedness among tasks).
Revised: Note that ˆ V ψ is a measure of task-relatedness (a smaller value indicates more relatedness among tasks).

Original: It can be seen that while we have a worse order dependence on M , our bound scales with task relatedness ˆ V ψ and diminishes with respect to the increasing number of tasks T .
Revised: It can be seen that while we have a worse order dependence on M , our bound scales with task relatedness ˆ V ψ and diminishes with respect to the increasing number of tasks T .

Original: This is expected, as we leverage the relatedness among contexts (in fact, the result “of (Kwon et al., 2021)” would hold when tasks are sufficiently different from each other to infer the contexts with spectral methods).
Revised: This is expected, as we leverage the relatedness among contexts (in fact, the result “of (Kwon et al., 2021)” would hold when tasks are sufficiently different from each other to infer the contexts with spectral methods).

Original: In summary, we refer to (Kwon et al., 2021) as an example that achieving regret diminishing in the number of tasks T is hard, even with the assumption of observing the task identities (contexts).
Revised: In summary, we refer to (Kwon et al., 2021) as an example that achieving regret diminishing in the number of tasks T is hard, even with the assumption of observing the task identities (contexts).

Original: J N OTATIONS AND CONSTANTS
Revised: J N OTATIONS AND CONSTANTS

Original: [Table] [Table]
Revised: [Table] [Table]