Distribution Corrected Decision Transformer for Offline Reinforcement Learning with Imbalanced Datasets
Chufan Chen, Bohao Tang, Dejiang Chen, Chao Zhang, Ruiqi Li, Hanbin Zhao, Hui Qian
NeurIPS 2026
Abstract. Decision Transformer (DT) has emerged as a powerful paradigm for offline reinforcement learning. For complex tasks with imbalanced datasets, where high-quality samples constitute only a small fraction of the data while the majority is suboptimal, the performance of DT methods usually degrade significantly due to the the offline data distribution deviates substantially from the stationary distribution of the optimal policy. In this paper, we construct a dual-based correction mechanism to mitigate the distribution shift problem and propose a Distribution Corrected Decision Transformer method. Specifically, we investigate the Lagrangian duality of the reward maximizing objective in the standard Markov decision problem and recover the optimal correction weights between the static offline data and optimal stationary distribution. Note that a double-KL regularizer is integrated in the objective to prioritize high-return state-action pairs while remaining anchored to valid data support. Subsequently, we use the learned weights to correct distributional bias in two critical components of DT: stabilizing policy evaluation through weighted temporal-difference learning, and improving policy extraction by prioritizing DT training on weighted dataset aligned with the corrected target distribution. We theoretically analyze the performance guarantee, proving our method improves upon standard baselines, and empirically demonstrate strong performance on D4RL benchmarks, particularly on highly imbalanced datasets where prior methods fail.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
DCDT (Distribution Corrected Decision Transformer) targets offline RL on imbalanced datasets where high-return trajectories are only about 3% of the data, estimating DICE-style density ratios through a double-KL-regularized dual and applying them to both critic TD learning and DT behavioral cloning. The empirical case is the paper's strength: broad experiments with consistent gains and a primal-versus-dual weight comparison (Reviewer 5dg5), together with ablations showing that weighted policy training and weighted Q-learning each contribute (Reviewer 9K65), whereas Reviewer jtEv acknowledges the effectiveness demonstrated through experiments and theoretical analysis but is more reserved. DCDT posts the best average on all six imbalanced D4RL Gym/Adroit mixtures, a reported ~33% improvement over QT, wins on all Maze2D stitching configurations, and is supported by comparisons against eight baselines.
The concerns fall into three groups. First, the theory is over-claimed, since Theorem 3.3 rests on realizability, infinite data, and oracle weights, has limited practical value, and its arguments are informal (Reviewer 5dg5). On my own reading the proof of Lemma D.1 behind Theorem 3.1 is also invalid at two separate steps. One step replaces with , turning the Bellman optimality operator into evaluation at the fixed optimal policy. The other equates the transition-induced with , even though the paper defines as a discounted occupancy obeying its own Bellman flow constraint , so the -weighted norm is not preserved. The claimed convergence guarantee is therefore not established, a point first raised here that the authors should address directly. Second, the most directly relevant competitors are missing, since the imbalance-specific trajectory-reweighting and return-rebalancing methods the paper cites as motivation are never compared or ported into DT (Reviewers jtEv, 5dg5). Third, the first-stage dual is already a complete offline RL method from which a policy can be extracted directly, which leaves open what the DT stage contributes and which component drives the gains (Reviewer 9K65). A separate minor point is that the checklist claims released code but none is locatable (Reviewer 9K65).
In a rebuttal, the authors would most need to provide (1) a repaired or honestly re-scoped theory, (2) the imbalance-specific baselines Reviewers jtEv and 5dg5 ask for, even on a subset, (3) a clarification of the code-availability discrepancy Reviewer 9K65 flagged, and (4) evidence isolating what the DT stage adds over the first-stage dual (Reviewer 9K65). The authors should also respond to the other weaknesses and questions raised across the reviews. Addressing these would strengthen the paper.
The rebuttal acknowledged both invalid steps in the Lemma D.1 proof, ran the imbalance baselines with DCDT ahead, and isolated the Decision Transformer stage. The repaired theory holds only under an added assumption, and should be considered as motivation rather than the guarantee the paper claims. The decision is based on the empirical case, and all three reviewers ended in favor of acceptance. I recommend acceptance, and the final version should revise the guarantee language to match.
Final justification
Ratings are 4, 4, and 4, and I recommend acceptance. The paper addresses data imbalance in offline RL, a practical problem where high-return trajectories are a small fraction of the dataset. Its density-ratio correction is a principled account of which transitions matter, applied to both the critic and the policy learning. The empirical study is broad, with consistent gains over the baselines and ablations that isolate each component's contribution. In the discussion, the two invalid steps in the Lemma D.1 proof were acknowledged and the result was re-derived. The imbalance baselines were run on the same backbone with DCDT ahead, the code is now available, and the Decision Transformer stage was isolated. The corrected derivation is valid under an assumption that the learned Q never overestimates the optimal state value, a theory-practice gap of a common kind. The final version should revise the guarantee language, state the theory's assumptions in the theorems, and report the main tables over multiple training seeds as promised.
Read meta-review
Meta-review
DCDT (Distribution Corrected Decision Transformer) targets offline RL on imbalanced datasets where high-return trajectories are only about 3% of the data, estimating DICE-style density ratios through a double-KL-regularized dual and applying them to both critic TD learning and DT behavioral cloning. The empirical case is the paper's strength: broad experiments with consistent gains and a primal-versus-dual weight comparison (Reviewer 5dg5), together with ablations showing that weighted policy training and weighted Q-learning each contribute (Reviewer 9K65), whereas Reviewer jtEv acknowledges the effectiveness demonstrated through experiments and theoretical analysis but is more reserved. DCDT posts the best average on all six imbalanced D4RL Gym/Adroit mixtures, a reported ~33% improvement over QT, wins on all Maze2D stitching configurations, and is supported by comparisons against eight baselines.
The concerns fall into three groups. First, the theory is over-claimed, since Theorem 3.3 rests on realizability, infinite data, and oracle weights, has limited practical value, and its arguments are informal (Reviewer 5dg5). On my own reading the proof of Lemma D.1 behind Theorem 3.1 is also invalid at two separate steps. One step replaces with , turning the Bellman optimality operator into evaluation at the fixed optimal policy. The other equates the transition-induced with , even though the paper defines as a discounted occupancy obeying its own Bellman flow constraint , so the -weighted norm is not preserved. The claimed convergence guarantee is therefore not established, a point first raised here that the authors should address directly. Second, the most directly relevant competitors are missing, since the imbalance-specific trajectory-reweighting and return-rebalancing methods the paper cites as motivation are never compared or ported into DT (Reviewers jtEv, 5dg5). Third, the first-stage dual is already a complete offline RL method from which a policy can be extracted directly, which leaves open what the DT stage contributes and which component drives the gains (Reviewer 9K65). A separate minor point is that the checklist claims released code but none is locatable (Reviewer 9K65).
In a rebuttal, the authors would most need to provide (1) a repaired or honestly re-scoped theory, (2) the imbalance-specific baselines Reviewers jtEv and 5dg5 ask for, even on a subset, (3) a clarification of the code-availability discrepancy Reviewer 9K65 flagged, and (4) evidence isolating what the DT stage adds over the first-stage dual (Reviewer 9K65). The authors should also respond to the other weaknesses and questions raised across the reviews. Addressing these would strengthen the paper.
The rebuttal acknowledged both invalid steps in the Lemma D.1 proof, ran the imbalance baselines with DCDT ahead, and isolated the Decision Transformer stage. The repaired theory holds only under an added assumption, and should be considered as motivation rather than the guarantee the paper claims. The decision is based on the empirical case, and all three reviewers ended in favor of acceptance. I recommend acceptance, and the final version should revise the guarantee language to match.
Final justification
Ratings are 4, 4, and 4, and I recommend acceptance. The paper addresses data imbalance in offline RL, a practical problem where high-return trajectories are a small fraction of the dataset. Its density-ratio correction is a principled account of which transitions matter, applied to both the critic and the policy learning. The empirical study is broad, with consistent gains over the baselines and ablations that isolate each component's contribution. In the discussion, the two invalid steps in the Lemma D.1 proof were acknowledged and the result was re-derived. The imbalance baselines were run on the same backbone with DCDT ahead, the code is now available, and the Decision Transformer stage was isolated. The corrected derivation is valid under an assumption that the learned Q never overestimates the optimal state value, a theory-practice gap of a common kind. The final version should revise the guarantee language, state the theory's assumptions in the theorems, and report the main tables over multiple training seeds as promised.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper considers Decision Transformer (DT) methods for learning policies from imbalanced offline datasets. The paper formulates a novel dual optimization objective to estimate optimal density ratios and proposes the Distribution Corrected Decision Transformer (DCDT) framework, which uses the estimated weights to correct DT training. The paper also provides theoretical analysis of the proposed method and empirically demonstrates performance gains on D4RL benchmarks.
Strengths and weaknesses
Strength
The empirical results are strong. DCDT consistently improves over several DT-based and distribution-correction baselines on imbalanced D4RL benchmarks, and the paper includes useful ablations showing that weighted policy training and weighted Q-learning both contribute to the final performance.
The method can be viewed as an adaptation of existing occupancy-correction and weighted policy-extraction ideas to DT-style sequence policies. One useful DT-specific contribution is that it applies the same density-ratio correction to both weighted TD learning and weighted sequence-model policy extraction.
Comments on the Relationship Between the Dual Objective and DCDT Training
The paper claims two main algorithmic contributions: first, a novel dual optimization objective for estimating optimal density ratios from imbalanced offline data; second, a DCDT framework that uses the resulting weights to train the DT policy. These two components are sequentially connected: the dual objective first produces correction weights, and the DCDT training stage then uses those weights as inputs.
My understanding is that the first component, namely the proposed dual optimization objective, can be viewed not merely as an optimization problem for estimating weights, but as a (regularized) offline RL problem itself. A policy can be extracted from the learned optimal density ratios, for example, by solving , as in the policy-extraction step of DemoDICE. Under this interpretation, the first component may have already solved the core offline RL problem, while the subsequent DCDT stage mainly serves as a policy-extraction or distillation step. This interpretation is further supported by the fact that the first component does not appear to depend on the DT architecture.
This raises two questions.
- Q1: to what extent does the first component already solve the offline RL problem, and how much additional improvement is provided by the subsequent DCDT training stage?
- Q2: which part is mainly responsible for the empirical gains: the dual objective, the DCDT training stage, or their combination? More detailed questions are in the Questions section.
Minor Concern
The checklist states that the code has been released, but I could not find a supplementary material file, anonymous repository, or code link in the submission. Please clarify where the code is available.
Questions
Q1
- Q1: to what extent does the first component already solve the offline RL problem, and how much additional improvement is provided by the subsequent DCDT training stage?
I would like to better understand the role of the second-stage DCDT training, both at the policy level and at the occupancy level. The first-stage dual objective estimates an occupancy correction that is optimal for the proposed regularized offline RL objective. Theoretically, how does the policy obtained after DCDT training relate to a policy extracted directly from this first-stage solution? Does the DCDT stage have a characterization as improving upon the first-stage policy, or is it mainly a parametric distillation step?
Similarly, at the occupancy level, does the final DCDT policy induce an occupancy measure that is expected to match the corrected occupancy , or can it deviate from it? If it deviates, how should the induced occupancy be interpreted with respect to both the first-stage regularized offline RL objective and the original offline RL objective?
Empirically, it would be useful to report both policy-level and occupancy-level comparisons: for example, the performance of a policy extracted directly from the learned ratios versus the full DCDT policy, and the discrepancy between the corrected occupancy and the empirical occupancy obtained by rolling out the final DCDT policy.
Q2
- Q2: which part is mainly responsible for the empirical gains: the dual objective, the DCDT training stage, or their combination?
I would also like to understand which component is mainly responsible for the empirical gains. Is the improvement primarily due to the proposed dual objective for estimating the correction weights, the DCDT training stage that uses these weights, or the specific combination of the two?
A useful ablation would be to replace one component at a time. For example, if the proposed dual objective is replaced with another reweighting or density-ratio estimation method, does the DCDT training stage still provide similar gains? Conversely, if the learned weights from the proposed dual objective are used with a different policy-extraction or policy-training method, do the gains remain? These comparisons would help separate the contribution of the first-stage occupancy correction from that of the DT-specific second-stage training.
If the main improvement comes from the combination of the two, could the authors explain the mechanism behind this interaction? In particular, why should the weights produced by the proposed dual objective be especially well matched to the DCDT training objective, rather than serving as generally useful density-ratio weights for any weighted policy-extraction method?
Limitations
Yes
Final justification
The paper presents the double-KL dual stage and the subsequent DCDT training stage as a coherent two-stage distribution-correction method.
The rebuttal experiments show that combining dual-based reweighting, Q-guidance, and weighted TD performs strongly in the evaluated settings, and that each component provides additional empirical gains.
However, they do not establish that the two stages form one coherent method at the mechanistic or optimization level. In particular, the relationship between the first-stage regularized occupancy solution and the final DCDT policy remains unclear: it is not characterized whether the second stage is policy extraction, distillation, or policy improvement with respect to a common objective.
Separately, the original convergence proof contains concrete invalid steps identified in the meta-review. The authors state that they addressed the theoretical issue in detail in their response to the AC, while providing only a summary in their response to me. I therefore defer to the AC’s assessment of whether the revised theoretical arguments are fully sound.
Overall, the empirical evidence is strong enough that I would consider a rating of 4. Assuming that the revised theoretical arguments provided to the AC are sound, I do not have a remaining correctness concern that outweighs the empirical contribution. The relationship between the two stages remains conceptually under-characterized, but I view this as a limitation of the paper’s interpretation rather than a sufficient reason to reject it. Under this assumption, I raise my rating to 4.
Formatting concerns
I did not notice any major formatting or anonymity concerns.
7 comments
Thank you for the discussion.
Q1
Thank you for the additional comparison. I would like to clarify a possible inconsistency between the rebuttal and Appendix J.
In the response, the authors describe the values (111.8), (106.3), and (45.0) as results from direct MLP policy extraction using the learned double-KL weights, with the weighted behavioral-cloning objective
.
However, Appendix J reports exactly the same values for DCDT-MLP, which is described as replacing the Transformer with a three-layer Gaussian MLP while keeping the rest of the DCDT pipeline—including density-ratio estimation, weighted TD learning, and weighted behavioral cloning—unchanged.
Could the authors clarify which experiment these numbers correspond to?
- Are they results from a separately trained direct-extraction policy optimized only with the weighted behavioral-cloning objective above?
- Or are they the DCDT-MLP results from Appendix J, which retain weighted TD learning and the rest of the DCDT pipeline?
If they are separate experiments, could the authors explain why the reported results are identical and provide the precise training objective and implementation details for the direct-extraction baseline? If they are the Appendix J DCDT-MLP results, then the comparison appears to isolate the effect of the MLP versus Transformer policy backbone, rather than the improvement of the full DCDT stage over direct policy extraction from the first-stage ratios.
Q2
Thank you for the component-wise clarification. Table 2 helps identify the relative contributions of policy-side weighting, Q-guidance, and critic correction within the proposed pipeline.
However, I am not sure that the current additional baselines fully isolate the contribution of the proposed double-KL dual objective itself. The trajectory-reweighting, return-rebalancing, and alternative density-ratio baselines use their respective weights only for behavioral cloning, whereas QWDT and DCDT additionally use critic guidance. Thus, these comparisons change both the weighting method and the downstream training procedure.
Did the authors also evaluate any of these alternative weights, where technically applicable, within the same Q-guided downstream pipeline? If such results are already available, they would help clarify whether the gains arise specifically from the proposed dual estimator or more generally from combining reweighting with critic-guided DT training. Absent such a controlled comparison, my original question about the separate contribution of the dual estimator would remain only partially resolved.
Code availability
Thank you for the clarification and for addressing this issue. As a reviewer, I am not familiar with the procedural workflow, so I am happy to defer to the Area Chair, provided that they have been able to access it and are satisfied.
We thank the reviewer for the careful reading. Both points are well taken, and we address them with new controlled experiments below.
Q1 — Direct extraction vs. the full DCDT stage
We're sorry we don't make it clear. The values 111.8 / 106.3 / 45.0 in our previous response are the DCDT-MLP numbers from Appendix J — i.e. the full DCDT pipeline (density-ratio estimation, weighted TD learning, and weighted behavioral cloning) with only the Transformer replaced by a 3-layer Gaussian MLP. We agree that this does not fully isolate the effect of the DCDT stage over direct extraction, and we now provide a new controlled experiment to do so.
To answer the question reviewer cocern, we report a genuine direct MLP extraction baseline. It trains a 3-layer Gaussian MLP policy with weighted behavioral cloning only,
using the same learned double-KL ratio that DCDT uses, with no critic and no Q-guidance.
The results in the first columns show that DCDT with only first stage is able to produce a good policy compared to existing direct bc extraction methods. Whereas, the results in the last three columns affirm the great contribution of the second-stage's critic correction in our DCDT pipeline.
| Task | Unweighted MLP BC | SMODICE-Weight MLP BC | ReCOIL-Weight MLP BC | DCDT-Weight MLP BC | DCDT-MLP (+ second-stage corrected Q) | DCDT (full) |
|---|---|---|---|---|---|---|
| relocate-human+expert | 81.2 | -0.16 | 91.9 | 94.4 | 97.9 | 106.8 |
| halfcheetah-medium+expert | 42.5 | 59.5 | 81.2 | 83.3 | 90.5 | 92.8 |
So the answer to Q1, does the first-stage direct extraction already solve the problem, is no. The first-stage direct extraction adds some performance, but using our full DCDT pipeline results in a large improvement over the direct extraction.
Q2 — Isolating the dual estimator from the downstream pipeline
Thanks for the reviewer's suggestion. To fully isolate the dual estimator from the downstream pipeline, we investigate the three baselines the reviewer suggests. Of these three alternatives, only one can be inserted into the critic in a well-defined way:
- Trajectory reweighting produces a single scalar weight per trajectory, not a per- density ratio, so it cannot weight the TD backup.
- Return rebalancing uses a kl term as implicit resampling scheme; it changes the sampling distribution rather than providing an importance ratio, so there is no ratio to plug into the critic.
- Alternative density-ratio weighting does yield a per- ratio and can therefore be applied to weighted TD.
We thus take the alternative density-ratio weight and run it inside the exact DCDT downstream pipeline — Q-guidance and the corrected (weighted-TD) critic driven by that same weight — so the only difference from DCDT is the weight source(column 3 and 4). Besides, we also compare these two weights on BC-only pipeline, i.e., applying weight directly on the BC loss without the Q guidance, in column 1 and 2.
| Task | Density-ratio DT (BC-only) | DCDT(BC-only) | Density-ratio DT + corrected Q (full pipeline) | DCDT(full pipeline) |
|---|---|---|---|---|
| HalfCheetah | 55.8 | 65.3 | 90.0 | 93.0 |
| Walker2d | 104.7 | 110.8 | 109.5 | 113.0 |
The results show that the alternative density-ratio weight does not perform as well as our dual estimator, even when used in the same DCDT pipeline(BC-only and full pipeline). This confirms that the gains arise from the proposed dual estimator.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes DCDT, addressing offline reinforcement learning on imbalanced datasets. The core idea is to estimate optimal density ratios between the optimal stationary distribution and the offline data distribution through a double-KL regularized reward-maximization objective with a closed-form dual solution. These weights are then applied at two levels: weighted TD learning to stabilize value estimation, and weighted behavior cloning to improve policy extraction. The authors provide convergence guarantees under a weighted norm and a performance hierarchy among method variants, and report state-of-the-art results on the imbalanced D4RL Gym, Adroit, and Maze2D benchmarks.
Strengths and weaknesses
Strengths
The dual-level correction is a clear and well-motivated idea that targets a real weakness of existing critic-guided DT methods, where the critic itself is learned from biased data. The double-KL formulation decouples high-quality alignment from support constraints, is elegant, and admits a closed-form solution, with an additional fallback variant for the case where no reference subset is available. The theoretical part is relatively complete, the experiments are broad with consistent gains, and they are accompanied by ablations and a primal-versus-dual weight comparison.
Weaknesses
The performance hierarchy in Theorem 3.3 relies on strong assumptions and has limited practical value, and some of the arguments are informal. The method introduces a fair number of components and hyperparameters, and its sensitivity to how the reference subset is defined deserves closer examination. The evaluation is limited to proprioceptive D4RL, with pixel-based and long-horizon tasks left untested. The comparison against recent return-rebalancing baselines for imbalanced conditional sequence modeling could be more thorough.
Questions
1.How sensitive is performance to the choice of the reference subset? The paper uses the top-200 (or top-30) trajectories, but it would help to understand how the method behaves as the boundary between high-quality and low-quality data becomes blurrier, and whether a poorly chosen subset can actively hurt performance.
2.The discriminator-based estimation of the distribution-shaped reward introduces another approximation. How stable is this estimate under severe imbalance, and how much of the final performance depends on discriminator quality?
3.Theorem 3.3 assumes policy-class realizability and infinite data. How well does the predicted performance hierarchy hold empirically under finite data and function approximation, beyond the component ablation in Table 2?
4.The augmented advantage relies on the learned dual value function. Does the method remain robust when the dual optimization is only approximately converged, which is likely in practice?
Limitations
The authors acknowledge that all experiments are confined to proprioceptive D4RL benchmarks, leaving pixel-based observations, long-horizon manipulation beyond FrankaKitchen, and safety-constrained settings untested. The method also adds several moving parts relative to standard DT, namely a discriminator, a dual network, and weighted TD learning, which increases implementation complexity and the number of objects that must be tuned or kept stable together. Finally, parts of the theory rest on idealized assumptions, and the gap between the oracle weights used in the analysis and the regularized estimator used in practice is only partially bridged.
Final justification
The rebuttal addressed my main concerns (reference-subset sensitivity, discriminator stability, empirical support for the hierarchy, and the added return-rebalancing baselines), leaving only limited originality and the proprioceptive-only evaluation as remaining reservations, so I keep my rating of 4.
Formatting concerns
N/A
5 comments
Q1 — Sensitivity to the reference subset (top-200/top-30)
We admit that our method is sensitive to reference subset. In appendix M, we includes a controlled sensitivity study using top-200, top-30, and top-10 subsets on the Gym tasks. The respective scores are on Hopper, on HalfCheetah, and on Walker2d. Performance varies with the choice of reference subset, as expected.
We view this as a clear source of flexibility rather than a limitation: the reference subset can be adjusted to accommodate the different data quality rather than being fixed to a single configuration. Through ablation in appendix K-M, we have following key takeaways about reference subset:
- The reference subset need not be expert-level or optimal; it only needs to provide a reliable, higher-return signal than the remaining offline data, which can be constructed by ranking the trajectory's cumulated reward.
- When no reliable quality stratification is available, setting () removes the reference-alignment term and yields the reward-driven fallback evaluated in the appendix L. The dual-weighting and weighted-TD mechanisms remain effective.
Although our study focuses on imbalanced offline datasets, the method is also applicable to standard offline datasets. In practice, we recommend user to plot the dataset cumulated reward distribution to check whether quality stratification exists and choose the proper quantile as the reference dataset.
Q2 — Discriminator stability under severe imbalance
Practically, the discriminator is trained with a contrastive binary-classification objective using independently sampled, equal-sized mini-batches from () and (), with equal weight on the two terms. Consequently, severe imbalance in the original offline dataset does not directly create class imbalance during discriminator training. Our experiments confirm that the discriminator remains effective even under highly imbalanced data. In our experiments, we train the discriminator to convergence before optimizing the subsequent components. Although the learned discriminator is only an approximation rather than the optimal density-ratio oracle, it provides a sufficient signal to achieve strong empirical performance. We acknowledge that a poorly estimated discriminator could degrade the resulting correction; however, under our training protocol and evaluated settings, we do not observe a significant adverse effect.
Q3 — Does the hierarchy hold under finite data / function approximation?
In Theorem 3.3, we characterize the hierarchy among the different variants under idealized assumptions. These assumptions make the comparison analytically tractable and clarify the contribution of each component. The same hierarchy is also observed empirically when the methods are trained on finite datasets using neural-network function approximation. The most direct evidence is Table 2, where all variants use the same data and DT backbone: the average score increases from DT (56.5) to QDT (94.3) and WDT (96.0), then to QWDT (106.7) and DCDT (109.8). Table 1 provides additional evidence: DCDT outperforms both QT(QDT) and VDT(QWDT) in all six dataset regimes—for example, (101.00) versus (62.16/59.82) for QT/VDT in the challenging random+few-expert regime, and (124.75) versus (105.86/116.72) in human+expert. This empirical ordering is consistent with the hierarchy established in Theorem 3.3:
Q4 — Robustness to approximately-converged dual optimization
The dual objective is strongly regularized, which makes its optimization landscape well-conditioned. In practice we train the dual with a fixed modest budget, and all reported results are obtained with this approximate solution. The results therefore provide empirical evidence that the method is robust to the level of optimization error encountered in our implementation, rather than relying on the optimal oracle solution. We acknowledge that an inaccurate dual solution could degrade performance, while under our existing training protocol no significant adverse effect has been observed. We will clarify this point in the revision as limitations.
Return-rebalancing Baselines
Regrading the comparison against recent return-rebalancing baselines, we first review how these methods handle dataset imbalance and then examine how their corrections can be adapted to the DT framework.
Existing methods for learning from imbalanced offline datasets can be broadly grouped into three categories. The first comprises explicit reweighting methods, which adjust the importance of samples to the behavioral-cloning objective. This category includes the dual-RL approach used in our method, as well as trajectory weighting, return rebalancing, and density-ratio weighting. Because these methods modify only sample importance during policy training, their benefits may be limited. The second category comprises implicit value-guided methods, which use a learned critic (Q) to guide the policy toward higher-value regions of the dataset. The third comprises generative methods, which use models such as diffusion models to synthesize additional transitions or trajectories and thereby rebalance the training distribution.
In the DT setting, recent researches have explored these method to alleviate the influence of imbalanced data: QT incorporates implicit value guidance, whereas VDT combines explicit advantage-based reweighting with implicit value guidance. Empirical results indicate that combining these two mechanisms is more effective than using either component alone. Our method can likewise be viewed as combining explicit reweighting with implicit value guidance, while introducing two fundamental advances.
-
First, when deriving the dual weights, we explicitly account for dataset imbalance through a double-KL-regularized objective. The two KL terms balance alignment with the high-return reference distribution against remaining within the support of the full offline dataset.
-
Second, we systematically extend the same distribution correction to critic learning. Existing reweighting methods primarily modify the behavioral-cloning objective, leaving the critic trained on the original imbalanced distribution. In contrast, DCDT uses the learned density ratio to correct both policy training and TD learning. Our theoretical analysis and empirical ablations support the effectiveness of this critic correction.
Generative data-augmentation methods are complementary to DCDT. These methods address imbalance by synthesizing additional transitions or trajectories, thereby changing the composition of the offline dataset. In contrast, DCDT operates on the available data and corrects how existing samples are used in both policy and critic training. The two approaches could therefore be combined: generative augmentation could improve coverage, after which DCDT could estimate a corrected occupancy and consistently reweight both behavioral cloning and TD learning. Evaluating this combination—while controlling for potential errors in generated samples—is a promising direction for future work.
Regarding baseline coverage, our current evaluation includes complementary approaches to imbalanced offline RL: explicit dual-RL occupancy-matching methods such as SMODICE and ReCOIL, implicit value-guided DT methods such as QT, and combination methods like VDT. QT uses critic guidance to improve learning from mixed-quality data, while VDT additionally applies advantage-weighted policy learning. However, neither method explicitly corrects the data distribution used for TD learning. Similarly, existing imbalance-specific reweighting and rebalancing methods are generally developed for Gaussian-policy MLPs and apply their corrections only to the behavioral-cloning objective.
To make this comparison explicit, we additionally include baselines representing explicit reweighting and rebalancing methods. Policy correction alone improves the four-task average from 45.6 for DT to 84.5 for WDT. Adding an uncorrected critic further increases the score to 97.5 for QWDT, while correcting the critic as well yields the best performance, 101.3 for DCDT. QWDT also outperforms the corresponding single-component alternatives, including QDT, trajectory weighting, return rebalancing, and density-ratio weighting. Together, these results show that combining explicit distribution correction with implicit value guidance is more effective than using either mechanism alone, while critic correction provides a further measurable benefit.
We will expand the related-work discussion to summarize the development of methods for imbalanced offline data and position these baselines—and DCDT’s distinction from them—more explicitly.
Return-rebalancing Baselines Continued
| Explicit/Implicit | Variant (same DT backbone) | BC weights | Critic | Hopper | HalfCheetah | Walker2d | Avg |
|---|---|---|---|---|---|---|---|
| none | DT | uniform | none | 69.3 | 55.6 | 11.9 | 45.6 |
| explicit | DT + Trajectory Reweighting[21] | baseline's | none | 86.0 | 90.4 | 108.4 | 94.9 |
| explicit | DT + Return Rebalancing[1] | baseline's | none | 72.9 | 34.0 | 104.6 | 70.5 |
| explicit | DT + Density-ratio Weighting[22] | baseline's | none | 102.9 | 55.8 | 104.7 | 87.8 |
| explicit | WDT | dual | none | 77.3 | 65.3 | 110.8 | 84.5 |
| implicit | QDT | uniform | uncorrected | 77.4 | 70.1 | 98.5 | 82.0 |
| both | QWDT | dual | uncorrected | 88.9 | 92.3 | 111.2 | 97.5 |
| both | DCDT (ours) | dual | dual-corrected | 97.9 | 93.0 | 113.0 | 101.3 |
Scope (pixel / long-horizon / safety)
Our current evaluation is designed to isolate and verify the proposed distribution-correction mechanism over existing DT-based methods. Hence we follow exactly the same experimental setting as DT, QT and VDT, and focus on the controlled proprioceptive D4RL benchmarks. Extending the method to pixel observations, long-horizon manipulation, or safety-constrained control would require substantial additional components—such as visual representation learning, longer-context modeling, and explicit constraint handling—which could confound the evaluation of the core idea. We therefore limit our claims to the evaluated setting and regard these broader domains as important directions for future work.
Implementation complexity
DCDT uses a structured but straightforward training pipeline. The appendix provides complete pseudocode, network architectures, update rules, and hyperparameter settings. The core hyperparameter of our methods are . In practice, we fix and adopt the task-specific from QT, which were obtained through grid search, without additional fine-tuning. Thus the only hyperparameter that requires tuning is , which we select from the small grid . The sensitivity study further shows stable performance across this range, with () serving as a near-universal default. Therefore, the overall tuning burden is limited.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a distribution corrected method to improve the performance of DT on imbalanced datasets.
Strengths and weaknesses
This paper proposes a new solution to improve the performance of DT on imbalanced datasets, and demonstrates its effectiveness through experiments and theoretical analysis. However, the current version has the following shortcomings:
- Why cannot the state-of-the-art offline DRL techniques for addressing the data imbalance challenge be directly applied to DT to help resolve this issue?
- The authors provide theoretical proof that the Q-value of the proposed method can converge to the optimal Q-value. It is recommended that the training curves of the Q-values for both the proposed method and the baseline methods be presented, along with a comparison showing the deviations from the optimal Q-value curve.
- In the experiments, it is advisable to compare the performance of several state-of-the-art offline DRL methods designed for data imbalance when they are integrated into DT, against the performance of the proposed method when integrated into DT.
- The research community has already developed numerous DTs as well as state-of-the-art offline DRL approaches for handling data imbalance. The current set of baseline comparisons is relatively limited. It is suggested that additional methods be included for comparison to more comprehensively demonstrate the effectiveness of the proposed approach.
- Some experimental results are obtained using five random seeds, while others are based on three random seeds. It is recommended that at least five random seeds be used consistently across all experiments.
Questions
- Why cannot the state-of-the-art offline DRL techniques for addressing the data imbalance challenge be directly applied to DT to help resolve this issue?
- Can the experiments be used to demonstrate that the Q-values of the proposed method are closer to the optimal Q-value than those of the baseline methods?
Limitations
yes
Final justification
The authors have addressed some of my concerns, and I have accordingly raised my score.
Formatting concerns
No Paper Formatting Concerns
3 comments
W1/Q1/W3/W4 — Why not just apply existing imbalance-offline-RL methods to DT?
To address the reviewer’s question of whether existing imbalanced offline RL methods can be directly integrated into DT, we first review how these methods handle dataset imbalance and then examine how their corrections can be adapted to the DT framework.
Existing methods for learning from imbalanced offline datasets can be broadly grouped into three categories. The first comprises explicit reweighting methods, which adjust the importance of samples to the behavioral-cloning objective. This category includes the dual-RL approach used in our method, as well as trajectory weighting, return rebalancing, and density-ratio weighting. Because these methods modify only sample importance during policy training, their benefits may be limited. The second category comprises implicit value-guided methods, which use a learned critic (Q) to guide the policy toward higher-value regions of the dataset. The third comprises generative methods, which use models such as diffusion models to synthesize additional transitions or trajectories and thereby rebalance the training distribution.
In the DT setting, recent researches have explored these method to alleviate the influence of imbalanced data: QT incorporates implicit value guidance, whereas VDT combines explicit advantage-based reweighting with implicit value guidance. Empirical results indicate that combining these two mechanisms is more effective than using either component alone. Our method can likewise be viewed as combining explicit reweighting with implicit value guidance, while introducing two fundamental advances.
-
First, when deriving the dual weights, we explicitly account for dataset imbalance through a double-KL-regularized objective. The two KL terms balance alignment with the high-return reference distribution against remaining within the support of the full offline dataset.
-
Second, we systematically extend the same distribution correction to critic learning. Existing reweighting methods primarily modify the behavioral-cloning objective, leaving the critic trained on the original imbalanced distribution. In contrast, DCDT uses the learned density ratio to correct both policy training and TD learning. Our theoretical analysis and empirical ablations support the effectiveness of this critic correction.
Generative data-augmentation methods are complementary to DCDT. These methods address imbalance by synthesizing additional transitions or trajectories, thereby changing the composition of the offline dataset. In contrast, DCDT operates on the available data and corrects how existing samples are used in both policy and critic training. The two approaches could therefore be combined: generative augmentation could improve coverage, after which DCDT could estimate a corrected occupancy and consistently reweight both behavioral cloning and TD learning. Evaluating this combination—while controlling for potential errors in generated samples—is a promising direction for future work.
Regarding baseline coverage, our current evaluation includes complementary approaches to imbalanced offline RL: explicit dual-RL occupancy-matching methods such as SMODICE and ReCOIL, implicit value-guided DT methods such as QT, and combination methods like VDT. QT uses critic guidance to improve learning from mixed-quality data, while VDT additionally applies advantage-weighted policy learning. However, neither method explicitly corrects the data distribution used for TD learning. Similarly, existing imbalance-specific reweighting and rebalancing methods are generally developed for Gaussian-policy MLPs and apply their corrections only to the behavioral-cloning objective.
To make this comparison explicit, we additionally include baselines representing explicit reweighting and rebalancing methods. Policy correction alone improves the average from 45.6 for DT to 84.5 for WDT. Adding an uncorrected critic further increases the score to 97.5 for QWDT, while correcting the critic as well yields the best performance, 101.3 for DCDT. QWDT also outperforms the corresponding single-component alternatives, including QDT, trajectory weighting, return rebalancing, and density-ratio weighting. Together, these results show that combining explicit distribution correction with implicit value guidance is more effective than using either mechanism alone, while critic correction provides a further measurable benefit.
We will expand the related-work discussion to summarize the development of methods for imbalanced offline data and position these baselines—and DCDT’s distinction from them—more explicitly.
Answer to W1/Q1/W3/W4-Continued
Results of comparison between DCDT and baselines representing explicit reweighting and rebalancing methods
| Explicit/Implicit | Variant (same DT backbone) | BC weights | Critic | Hopper | HalfCheetah | Walker2d | Avg |
|---|---|---|---|---|---|---|---|
| none | DT | uniform | none | 69.3 | 55.6 | 11.9 | 45.6 |
| explicit | DT + Trajectory Reweighting[21] | baseline's | none | 86.0 | 90.4 | 108.4 | 94.9 |
| explicit | DT + Return Rebalancing[1] | baseline's | none | 72.9 | 34.0 | 104.6 | 70.5 |
| explicit | DT + Density-ratio Weighting[22] | baseline's | none | 102.9 | 55.8 | 104.7 | 87.8 |
| explicit | WDT | dual | none | 77.3 | 65.3 | 110.8 | 84.5 |
| implicit | QDT | uniform | uncorrected | 77.4 | 70.1 | 98.5 | 82.0 |
| both | QWDT | dual | uncorrected | 88.9 | 92.3 | 111.2 | 97.5 |
| both | DCDT (ours) | dual | dual-corrected | 97.9 | 93.0 | 113.0 | 101.3 |
Q2/W2 — Are DCDT's Q-values closer to ?
Thank you for suggesting a direct comparison of the learned ()-function and (). Our empirical results of DCDT implicit demonstrate that the Q-values of the proposed method improves towards as it results in a better downstream policy performance. As exact is unavailable in D4RL, we test this claim in a controlled seven-state, two-action MDP where and can be computed exactly. The results directly show that learned-ratio-weighted TD produces a substantially more accurate critic than unweighted TD.
Setup: We set up the controlled experiment as follows. Only of the offline samples come from the optimal-policy occupancy. Every method uses the same 50,000 transitions, six-dimensional linear critic, ridge coefficient , and 80 fitted-TD iterations; only the regression weights change.
| Iter 0 | Iter 20 | Iter 40 | Iter 60 | Iter 80 | |
|---|---|---|---|---|---|
| Unweighted fitted TD | 2.0154 ± 0.0000 | 1.9026 ± 0.1585 | 1.9093 ± 0.1760 | 1.9743 ± 0.3110 | 2.4559 ± 2.1111 |
| Weighted TD (learned ratio, ours) | 2.0154 ± 0.0000 | 0.6042 ± 0.2379 | 0.4434 ± 0.2632 | 0.4253 ± 0.2649 | 0.4232 ± 0.2651 |
Main Results: Both methods start from the same error of 2.0154. By iteration 20, learned-ratio weighting reduces the -weighted error to , compared with for unweighted TD. Its error then stabilizes near 0.42, reaching at iteration 80, whereas the unweighted error increases to . Thus, learned-ratio weighting reduces the final error by and outperforms unweighted TD in all 25 paired runs.
W5 — Seed consistency
Thank you for pointing this out. We will report all headline and ablation results over at least five independent training seeds using mean () standard deviation. We will also revise the captions to distinguish clearly between training seeds and evaluation rollouts, which were conflated in the current presentation.
Thank you again for your thoughtful and constructive review and for your encouraging reassessment. We greatly appreciate your careful consideration and will incorporate all the clarifications and revisions described above into the revised manuscript.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Q1 — Does the first-stage dual already solve the problem?
To address the reviewer’s concern about the learned dual weights, we provide both theoretical justification and empirical evidence.
Theoretically, the optimal solution of the original unregularized dual problem(Eq. (5)) is w⋆=d⋆/dU. With this ratio w⋆, direct policy extraction objectives via minπ−EdU[w⋆(s,a)logπ(a∣s)] would obtain a good enough π. However, as discussed in our preliminaries (line 141), the unconstrained problem is generally intractable and all existing dual-RL methods typically introduce a support regularizer yielding a tractable regularized occupancy ratio w^⋆. Actually, SMODICE and ReCOIL follow the direct extraction paradigm through weighted BC using the estimated ratio w^⋆.
Different to direct extraction, DCDT combines the dual-weighted BC with an augmented Q-guidance, further allowing the policy to improve toward higher reward region. Prior work[1] has likewise shown that incorporating critic guidance into policy learning can outperform direct policy extraction based solely on behavioral cloning. Moreover, we propose weighting TD to mitigate the influence of imbalance dataset in traditional critic learning.
We compare direct MLP extraction from the learned double-KL weights (w^⋆) with DCDT. These results show a significant improvement resulted from the subsequent DCDT training stage over a policy extracted directly from this first-stage solution.
Actually, the comparison between DCDT with existing direct extraction baselines(SMODICE,ReCOIL) also shows the superiority of our corrected critic-guided policy improvement procedure over the direct extraction.
Since the w⋆ is generally intractable and our DCDT policy is not aimed to approximate the (w^⋆(s,a)dU(s,a)), we do not explicit compute the discrepancy between the corrected occupancy w^⋆ and the empirical occupancy rollout by the DCDT.
Q2 — Which component drives the gains?
Both components contribute, but the policy-side use of the dual weights accounts for the largest average gain, while their use in critic training provides a further improvement.
The four-task component ablation results in Table 2 of the experiment section yields two main findings. First, VDT, which combines advantage-based reweighting with uncorrected (Q)-guidance, outperforms DT. However, it remains below QWDT and DCDT, indicating that policy-side reweighting and critic guidance are beneficial, but their gains are limited when the critic is still trained on the original imbalanced distribution and and the policy weights are derived from empirical advantages rather than the learned dual ratio.
Second, Applying the learned weights only to policy training improves DT from 56.5 to 96.0 (WDT). Adding an uncorrected critic improves WDT from 96.0 to 106.7 (QWDT), and replacing that critic with the dual-weighted critic further improves performance from 106.7 to 109.8 (DCDT). The complementary comparison QDT → QWDT (94.3 to 106.7) confirms that the learned policy weights remain beneficial when Q-guidance is already present. Thus, the dual-corrected policy objective provides the largest gain in this ablation, while the full combination performs best.
The learned density ratio can be applied wherever distribution correction is needed, including both policy fitting and critic learning. Actually, a major contribution of our paper is to use the density ratio to correct the TD learning, and our theoretical and empirical study show its improvement over traditional TD learning.
We root our scope in the Decision Transformer literature, because it is the SOTA sequence-modeling architecture for offline RL. Note that the correction mechanism is not specific to Transformers and could also be extended to other policy class, such as MLP, flow-matching. Appendix J supports this generality: applying our distribution correction mechanism to Gaussian MLP yields performance improvement over uncorrected counterpart. Nevertheless, it performs less strongly on long-horizon Adroit and Kitchen tasks compared to DCDT, where access to a longer temporal context appears particularly beneficial.
Code availability
Thank you for pointing out the checklist discrepancy. We have now provided meta the complete implementation through an anonymized repository.
[1] Park, Seohong, et al. "Is value learning really the main bottleneck in offline RL?."