__ Summary and Contributions__: In this paper the authors focus on episodic reinforcement learning in constrained MDPs, where the optimized function may vary between episodes, and is only observed at the end of each episode (as are the stochastic constraints). This paper starts with a description of prior work which allows to position its theoretical contribution. Once the problem is formally described, the proposed algorithm (UCPD Mirror Descent) is presented. Finally, the bounds on regret as well as on the violation of constraints implied by the algorithm are demonstrated.

__ Strengths__: This paper is very well written, the proofs it contains seems to be correct, and it makes an important theoretical contribution. The study of constrained MDPs is important because many systems have safety constraints to respect. To my knowledge this work is new, and of course very relevant to the NeurIPS community.

__ Weaknesses__: My only concern with this paper is the lack of empirical evaluation of the algorithm, which makes it impossible to validate the use of this approach in practice. Some minor remarks are given in the "Correctness" and "Clarity" sections.

__ Correctness__: This paper demonstrates quite clearly the existence of upper bounds on regret and constraint violations, based on many lemmas that are shown in the supplementary material (because of lack of space). The proofs in the paper seems to me to be correct. The only inconsistency seems to be between Equation 1 and Assumption 2.2: the sum is on {0,...,T-1} (resp. {1,...,T}) and with a factor 1/T (resp. without) for equation 1 (resp. assumption 2.2).

__ Clarity__: The following remarks may help to improve the clarity of this paper.
line 989:
< constraint function
> constraint function (also called budget functions)
\overline{theta}^* should be defined in line 130
line 194:
< Therefore we know that
> Per definition
Lemma 4.2:
< for any x in X
> for any eta in R^I
line 226:
< in our proof. . Then, this lemma
> in our proof. Then, this lemma

__ Relation to Prior Work__: The introduction is more than one page long and contains mostly elements on previous work related to the contributions of this paper.

__ Reproducibility__: Yes

__ Additional Feedback__: I thank the authors for their response.

__ Summary and Contributions__: This paper proposes an upper confidence primal-dual algorithm for CMDP where the losses could be adversarial and the model is unknown. The proposed algorithm is shown to achieve nearly optimal regret and a similar rate in the constraint violation.
=======After rebuttal=========
I have read the other reviews and the rebuttal. Given the results in [Yu et al. 2017], I tend to agree with reviewer #3. The two extensions mentioned in this paper, (1) from online gradient descent to mirror descent; (2) from knowing the transition model to introducing the \lambda-greedy exploration, don't seem to be hugely significant. On the other hand, combining various techniques to achieve a state-of-the-art regret bound in a more general setting is still an interesting result. Therefore, I lower my score to weak acceptance.

__ Strengths__: The results on the paper extend the analysis in Rosenberg and Mansour (2019) to achieve a low constraint violation, by incorporating a constraint related dual multiplier into the objective function in solving the occupancy measure. The regret rate is nearly optimal.

__ Weaknesses__: I only have minor comments. Technical intuition behind the dual multiplier Q is not explained in the main content of the paper. Also, could the authors comment on the importance of the loop-free assumption of the state space to the final results? (I understand this assumption is also made in Rosenberg and Mansour (2019))

__ Correctness__: I have not checked the proofs in the appendix. The results seem correct to me.

__ Clarity__: Overall the paper is well written and its trend is easy to follow.

__ Relation to Prior Work__: Yes, this paper provides a good literature review.

__ Reproducibility__: Yes

__ Additional Feedback__: Typos:
page 6, footnote: 'argmin' -> min
Line 203: what is f^(t, \tau) (\theta)? <f^(t, \tau), \theta>? Same for g_i(\theta)

__ Summary and Contributions__: The authors consider the learning problem with episodic constraint Markov decision processes (episodic CMDPs). There are a total number of $I$ budget constraints that the learner must try to obey. The constraints are stochastic whose realizations the learner only observes at the end of each episode along with the loss function (full-information setting). The learner also observes the unknown Markov transition function by interacting with the environment (unknown dynamics). The authors proposed an algorithm that achieves both \thilde{O}(\sqrt{LS\sqrt{AT}}) regret and budget violations. The high-level approach follows that of “Online convex optimization with stochastic constraints” (Yu et al. NIPS’17), which considered a simpler stateless online learning setting. Both papers apply drift analysis on the quantity ||Q(t)||, to derive O(\sqrt{T}) bounds on ||Q(t)||, which leads to O(\sqrt{T}) bounds for regret and violations. This paper combines ideas from 1) online learning with stochastic constraints (Yu et al. 2017) and 2) episodic MDPs with unknown dynamics (Neu et al. 2012; Rosenberg et al. 2019), which has been studied as an online linear optimization problem. The paper also weakens previous working assumption (Slater condition) to Assumptions 4.1.

__ Strengths__: The paper provides the first result for sublinear regret and violation bounds O(LS\sqrt{AT}) for constraint MDPs with unknown dynamics. Although the high-level approach follows Yu et al .2017 and Rosenberg et al 2019, the derivation of the bounds and the checking of the drift condition is more challenging. The paper provides a detailed derivation for its proofs. In regards to the proposed algorithm, based on the similar update rule for UC-O-REPS algorithm, it also enjoys a semi-closed form expression for the online mirror descent update at each time-step. The algorithm also adopts the doubling epoch length rule (as in Jaksch et al. 2010) to start new epochs.

__ Weaknesses__: (W1): As such the high-level outline of the proof strategy follows previous procedures for drift analysis in (Yu et al. 2017) and MDP analysis in (Neu et al. 2012 and Rosenberg et al. 2019). Lemma B.2 is very similar to Lemma 4 in Neu et al. 2012 and Lemma B.2 in Rosenberg et al. 2019. Lemma 5.2 mirrors Lemma 8 in Yu et al. 2017. Technical lemmas for stochastic analysis are also from the previous paper: (Lemma B.6 and B.7 are Lemma 5 and 9 in Yu et al. 2017). The main lemma, Lemma 5.3, has the same goal as Lemma 7 in Yu et al. 2017, which is to show ||Q_t|| satisfies the drift condition stated in Lemma 5 in Yu et al. 2017. Lemma 5.6 is also exact as Lemma 3 in Yu et al. 2017.
(In author feedback for W1): the authors replied that the goal of the paper is the theoretical study of the regret/budget violation bounds for episodic constrained MDPs. And indeed, they have designed algorithm 1 to obtain \tilde{O}(LS\sqrt{AT}) regret/budget violation bounds. (which matches the best upper bound for unconstrained episodic MDPs). Furthermore, in previous work, [Yu et al. 2017], the online gradient descent algorithm with 2-norm regularizer was studied, whereas in the current paper, the authors study the online mirror descent counterpart (with un-normalized KL divergence regularizer). Third, another contribution of the current paper, the authors argue, different from the stateless online convex optimization with stochastic constraints is the use of doubling epoch length, line 8 in Algorithm 1, (as used in UCRL2 [Jaksch et al. 2010]) to bound \sum_{t=1}^T || \theta^t - \theta^{t-1}||_1, in Lemma 5.7 (for bounding one of the terms that contributes to Term (IV)).
However, the reviewer still finds great similarity. In short, by over-viewing the high-level regret decomposition in line 244, expression (9): the treatment for Term (II) is similar to that in [Yu et al. 2017] ; and the treatment for Term (I) can be found in [Rosenberg et al. 2019]. On the other hand, in line 263, expression (12) decomposes the budget violation bound into Term (III) and Term (IV). Term (IV) is treated similarly as in [Yu et al. 2017]. The differences in
Term (II) and (IV) from previous work [Yu et al. 2017] mainly stem from the two papers using different regularizers. (2-norm or KL divergence) To give the authors credits, it still requires works to derive the bounds in Lemmas 5.2, 5.3 & 5.7.
(W2): Regarding the algorithm, the hyper-parameters of the algorithm require the knowledge of the quantities (\hat{theta}, B and \sigma) specified in Assumption 4.1 and Lemma 4.2. It is not clear if these quantities can be accurately and easily measured in real applications.
(In author feedback for W2): the only hyper-parameter involving the theoretical quantities (\hat{theta}, B and \sigma), is \zita the confidence parameter, which can be made much smaller with confidence interval increased only by a log scale.The quantities (\hat{theta}, B and \sigma) are for theoretical analysis only. The reviewer understand now the weak dependence of the hyper-parameters on the theoretical quantities (\hat{theta}, B and \sigma). Thus W2 is clear and is a non-issue.
(W3): While providing an upper bound, there is no lower bound result; one cannot see if the upper bound dependence on other problem parameters (L, S, A) are tight.
(In authors feedback for W3): under the setting of unknown MDP dynamics, the current regret lower bound for episodic MDP is \Omega(\sqrt{LSAT}), and the upper bound for episodic (unconstrained) MDPs is \tilde{O}(LS\sqrt{AT}). There is a gap of \sqrt{LS}. The current paper establishes regret and budget violation upper bounds for the episodic constrained MDPs of the order \tilde{O}(\sqrt{LSAT}), which matches the regret bound for the episodic unconstrained MDPs. It is left as future work to establish lower bound for constrained MDPs.
(W4): (It is originally raised by reviewer #1.) In the paper, there are no numerical/empirical experiments.

__ Correctness__: The high-level proof strategy is given in the main text and the proofs are written in detail in the appendix. The proofs are sound and provided in great details.

__ Clarity__: The paper is written clearly with detailed technical proofs.

__ Relation to Prior Work__: This paper’s high level approach is similar to that in Yu et al. 2017, with specialization for the MDP setting with further consideration of confidence bound analysis for unknown MDP dynamics, related to Neu et al. 2012 and Rosenberg et al. 2019.
The statement that the weaker condition, Assumption 4.1, is implied by the Slater condition is proved by [Nedic & Ozdaglar 2009]. Lemma 4.2 is proved by Lemma 5 in [Wei et al. 2019]. These technical lemmas are proved by previous works.

__ Reproducibility__: Yes

__ Additional Feedback__: minor typos:
line 542 and line 544, the term 4L^2/V should be (4L^2/V)T
(and in the statement in Lemma 5.2 for this term, which does not have an effect on the regret bound)
line 573, in expression (29), the superscripts for the summand should be 2\alpha [D(\theta, \tilde{\theta}^{t'}-D(\theta, \theta^{t'})
the same for line 575
line 611 should be \bar{\sigma}/4\geq \zeta(\bar{\sigma}/2 + 2L)
line 402, should be "h(x) is a concave function" ... "all superlevel sets are closed and convex."
line 485, missing logarithms for the un-normalized KL divergence.
line 638, "boundign"
line 646, on the RHS of the ineq., missing const. 2 inside the sqrt.
line 668, "dropping the last term (due to D(\tilde{\theta}^{t-1}, \theta^t)\geq 0)"
below line 668, on the RHS of the first ineq., it should be -\alpha D(\tilde{\theta}^{t-1}, \theta^t)

__ Summary and Contributions__: The authors addressed my concern in the rebuttal. I’d like to change the score to 7.
This paper considers online episodic MDPs with constraints where the transition model is unknown and the loss function can change over time. The authors propose a new upper confidence primal-dual algorithm to solve the problem. Through theoretical analysis, authors show the UCB has sublinear regret and constraint violation when incorporating with primal-dual type approaches.

__ Strengths__: Solving constrained MDP problems is a very promising topic. And the problem itself is very challenging given the fact that the reward function is time-dependent and the transition is unknown. The proposed algorithm achieves sqrt(T) regret and constraint violation which is almost the optimal result. Through rigorous analysis, the authors show this is nearly optimal.

__ Weaknesses__: 1. Authors claim the proposed method outperforms OPDOP (Ding et al.,2020) given the fact that OPDOP’s result depends on |S, |A|, and L. However, I do not see that from your theoretical results. The regret and constraint violation bounds of the proposed algorithm are proportional to |S| sqrt(|A|) and L.
2. Even though Equ. (6) can be solved by an LP solver, there are still |S||A||S| decision variables. How do you solve such a large scale optimization in an efficient way? Could you present more details in terms of solving this optimization problem?

__ Correctness__: Yes. The claimed theorem makes sense to me. And the proofs are correctly and technically novel.

__ Clarity__: Yes. This paper is well written and easy to follow. Sufficient proofs are provided in order to understand the theoretical result.

__ Relation to Prior Work__: Yes. Related works are well discussed and explained.

__ Reproducibility__: Yes

__ Additional Feedback__: