arXiv:2611.09433cs.LGNov 2026

Manuscript Offprint

arXiv:2611.09433

DexDICE: Reconciling Safety and Performance via Dual-Expert Offline Imitation Learning

Seokin Seo, Sung Kuk Shyn, Minji Seo, Yisoo Lee, Jongmin Lee, Hongseok Yang, Kee-Eung Kim

Abstract

Ensuring high returns while providing strong safety guarantees in offline imitation learning (IL) is a fundamental challenge: existing approaches either rely on explicitly specified cost functions, which are difficult to design for complex real-world safety constraints, or require expert demonstrations that are both safe and high-performing, which are often too costly to collect. We introduce dual-expert imitation learning, which leverages two complementary data sources: (i) safety-compliant demonstrations that faithfully follow safety guidelines but may be suboptimal, and (ii) performance-oriented demonstrations that achieve high returns but may violate safety guidelines. To address this problem, we propose DexDICE (Dual-expert offline imitation learning via stationary DIistribution Correction Estimation). Instead of conventional distribution constraints, DexDICE combines DICE-style offline learning with safe support constraints, enabling agents to exploit high-return behaviors while remaining within safety-compliant regions. We prove that the ideal solution satisfying this constraint exactly has zero unsafe-region visitation with high probability. We evaluate DexDICE on a re-curated DSRL benchmark and validate it on a real-world mobile-robot navigation task trained directly from human teleoperation demonstrations, where it substantially outperforms baselines and remains robust to data scarcity and quality degradation.¹

1 Introduction

Imitation learning (IL) is a powerful paradigm for sequential decision-making that learns directly from expert demonstrations [21, 25, 67], bypassing the reward specification required in reinforcement learning (RL). IL has enabled sophisticated behaviors in real-world domains such as robotic manipulation [17, 30, 63] and autonomous driving [19, 37]. In many such domains, however, collecting additional on-policy interaction data can be expensive or impractical due to hardware wear-and-tear, limited access to the system, and slow or costly resets, motivating offline IL methods that learn entirely from fixed datasets [27, 58]. Since expert demonstrations are often scarce, recent offline IL methods also leverage auxiliary unlabeled trajectories that, while potentially suboptimal, provide valuable coverage of transition information [31, 45, 64, 66].

Separately, when IL policies are deployed in safety-critical applications, ensuring safety remains an open challenge. A common strategy is to encode safety requirements via explicit cost functions

†Equal advising.

¹Code: https://github.com/tzs930/dexdice

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Taxonomy
Performance SafetyRewardPerformance-Expert Demonstration
CostConstrained RLCost-Constrained IL
Safety-Expert DemonstrationInverse Constrained RLDual-Expert ILOUR SETTING

Figure

Figure 1: (left) Taxonomy of safe sequential decision-making problems by available performance and safety signals. (middle) Dual-expert IL instance: DP\mathcal{D}_P prioritizes fast goal reaching but is possibly unsafe, while DS\mathcal{D}_S stays safe but possibly suboptimal. (right) Prior offline IL relies on divergence regularization (e.g., behavior regularization), biasing the policy toward DS\mathcal{D}_S's suboptimal behaviors (red path); DexDICE instead imposes a support constraint from DS\mathcal{D}_S (blue path), recovering DP\mathcal{D}_P's near-optimal route within the safe support.

and solve a constrained optimization problem [14, 59, 65]. However, specifying such costs can be as difficult as reward design: safety desiderata are often nuanced, context-dependent, and hard to instrument. Inverse constraint learning (ICL) [24, 40, 46] offers an alternative by inferring safety constraints from demonstrations, but many ICL methods still rely on access to reward signals that IL does not assume. These limitations motivate methods that can jointly optimize safety and performance solely from demonstration data, without requiring an explicitly specified cost function.

In practice, demonstrations that are simultaneously safe and high-performing are difficult to obtain from a single expert. Moreover, simply pooling demonstrations from multiple experts (e.g., some prioritizing safety and others prioritizing performance) does not resolve the issue, since it introduces the challenging problem of disentangling safety and performance signals within the resulting dataset. A more realistic strategy is therefore to separately collect different types of expert demonstrations, one focused on safety and the other focused on performance [35]. This separation provides clearer supervision for each objective, making it easier for offline IL algorithms to leverage both effectively. Such dual-source datasets are common in practice: for example, autonomous driving data contain high-speed but risky maneuvers, alongside safe and conservative driving behaviors [3, 10]; similarly, in robotics and healthcare, some demonstrations are efficiency-oriented while others explicitly prioritize safety [34, 36, 47, 49].

Motivated by these observations, we introduce a novel problem setting, dual-expert imitation learning, in which the learner has access to two types of expert demonstrations: safe demonstrations, which adhere to safety constraints but may be suboptimal in task performance, and performant demonstrations, which achieve high returns but may violate safety constraints. We further consider dual-expert offline IL, a more restrictive setting that forbids online interaction during training; in lieu of online rollouts, we incorporate unlabeled demonstrations that provide broader transition coverage, following prior work on offline IL [26, 31, 64].

To address this setting, we propose DexDICE (Dual-expert offline imitation learning via stationary Distribution Correction Estimation), which extends the DICE framework [31] with a support constraint derived from the safe demonstrations. The resulting policy is the closest approximation to the performant expert's state-action distribution within the estimated safe support, with a high-probability guarantee on zero unsafe-region visitation for the ideal support-constrained policy (Theorem 3).

Our main contributions are summarized below:

  • We formalize dual-expert offline imitation learning, a problem class that disentangles safety and performance objectives through complementary demonstrations alone, without the explicit reward or cost labels required by prior methods.

  • We propose DexDICE, the first DICE-based offline IL algorithm to replace distributional regularization toward dSd_S with an explicit safe-support constraint, decoupling the learned policy's performance from the safe expert's suboptimality.

  • We empirically validate DexDICE on a re-curated DSRL benchmark [44], where it achieves superior (i) safety-performance trade-off, (ii) data efficiency, and (iii) robustness to variations in data quality, and further demonstrate (iv) real-robot applicability with human teleoperation demonstrations.

References (65)