Skip to content

CIQ: training resilient Q-networks against observation disturbancesTraining a Resilient Q-Network against Observational Interference

arXiv· arXiv:2102.09677· AAAI· Chao-Han Huck Yang, I-Te Danny Hung, Yi Ouyang, Pin-Yu ChenGeorgia Institute of Technology; Columbia University; Preferred Networks America; IBM Research AIIndexed by this site · 27 days ago· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose the causal inference Q-network CIQ, which uses observed disturbance labels during training to learn latent variables; the authors state that it outperforms DQN baselines in return and robustness across 4 DQN environments and 4 types of observational disturbance.

Threat modelAgent observations are subject to sudden disturbances with probability pI: Gaussian noise, FGSM adversarial perturbation, black-out, frozen frame; during training, the disturbance type and disturbance label it are available, while at test time only the disturbed observation is visible, the label is unknown, and decisions must be maintained.

Questions
When DRL agents are deployed, they encounter rare but critical observational disturbances such as black-out, frozen frame, and adversarial perturbation; the authors argue that existing DQN returns drop substantially under such sudden disturbances, requiring training methods that are robust to disturbance.
Methods
Proposes CIQ: during training, disturbance labels serve as auxiliary supervision; an encoder maps disturbed observations to latent variables and predicts the disturbance label; the model switches between two Q branches according to the label, and is trained end-to-end with the DQN loss plus the label prediction loss; also proposes the CLEVER-Q robustness metric.
Experiments and results
Across four environments—Cartpole, Banana Collector, LunarLander, and Pixel Cartpole—and four types of disturbances, the authors report that CIQ's return, CLEVER-Q, and AC-Rate are all higher than DQN-family baselines; for example, under adversarial disturbance of 20% in Cartpole, AC-Rate is 98.52% versus 9.68% for DQN (Table 1).
Limitations and future work
The paper has no dedicated limitations section; experiments are limited to 4 discrete-action DQN environments, 4 disturbance types, disturbance probability at most 50%, and assume true disturbance labels are available during training; all test environments are simulators.
Experimental setupCIQ、CIQ-MI et al. · Cartpole-v0、Banana Collector (Unity 3D) et al. · average return、CLEVER-Q et al.
Evaluated models
CIQCIQ-MIVCIQ
Benchmarks
Cartpole-v0Banana Collector (Unity 3D)LunarLander-v2Pixel Cartpole
Metrics
average returnCLEVER-QAC-RateATE
AI summaryThe researchers propose CIQ (causal inference Q-network), a DQN algorithm based on causal inference, to resist sudden observation disturbances such as black screens, frozen frames and adversarial perturbations. The method adds observation disturbance (such as artificial noise) auxiliary tasks to DQN training, with different disturbance types as auxiliary labels. In experiments on multiple benchmark DQN environments, CIQ achieves higher performance and greater resilience to observation disturbances.

The researchers propose CIQ (causal inference Q-network), a DQN algorithm based on causal inference, to resist sudden observation disturbances such as black screens, frozen frames and adversarial perturbations. The method adds observation disturbance (such as artificial noise) auxiliary tasks to DQN training, with different disturbance types as auxiliary labels. In experiments on multiple benchmark DQN environments, CIQ achieves higher performance and greater resilience to observation disturbances.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Address the problem of DQN agents' performance degradation under sudden observation disturbances (noise, black-out, frozen frame, adversarial perturbation).

    Core question: how to train a DQN agent that maintains decision-making capability under rare but critical observation disturbances.

    • Problem scenario: The authors point out that DRL is mostly trained in controlled environments, whereas real deployment encounters black-outs, frame drops, sensor noise, or adversarial perturbations from external attackers due to unstable networks; such sudden disturbances pose risks to DRL systems.
    • Shortcomings of existing methods: The authors believe that ordinary DQN's return drops substantially under such disturbances; general POMDP methods (such as DVRL) do not exploit disturbance labels available during training, and the authors report that most of their experiments under this framework fail to reach the target return.
    • Core observation: During training, disturbance labels are often available (e.g., a simulator records whether an observation at a given moment was disturbed); treating the label as a binary treatment in causal inference allows the agent to learn implicit confounders, thereby learning disturbance resistance more efficiently.
    • Proposed in the paper: The causal inference Q-network (CIQ), which uses disturbance labels during training to learn latent states and perform label prediction, and makes decisions at test time solely from disturbed observations; the paper also proposes a robustness metric CLEVER-Q based on extreme value theory.
    • Threat model:
      • Disturbance forms: Observations are replaced with disturbed versions with probability pI, in four types: Gaussian noise, FGSM adversarial perturbation (against the DQN loss), black-out (observations set to zero), frozen frame (reusing the previous frame).
      • Attacker/disturber knowledge: Adversarial perturbations follow the standard adversarial RL attack setting, generated with FGSM against the victim DQN's loss.
      • Defender's available information: During training, the disturbance type and true disturbance label it are known; at test time, only the disturbed observation is visible and the label is unknown.
      • Victim system: DQN agents running in 4 simulated environments.
  2. What related research exists?

    Related work falls into three groups: causal inference and generative RL, adversarial perturbation attacks, and POMDP methods.

    Causal Inference and Generative Reinforcement Learning

    • TARNet of Shalit et al. (2017) and CEVAE of Louizos et al. (2017)—propose switching neural structures and latent variable models for binary treatment; CIQ's switching mechanism is inspired by these.
    • Lu, Schölkopf, and Hernández-Lobato (2018), Tennenholtz et al. (2019)—define actions as a kind of intervention and estimate causal effects; the paper notes that this work differs by introducing observational disturbance as an additional intervention into generative DRL.
    • Zhang and Bareinboim (2020, 2021), Zhang, Kumor, and Bareinboim (2020), etc.—apply causal modeling to treatment estimation, imitation learning, etc.; the paper lists these as recent progress in causal RL.

    Adversarial Perturbation

    • Goodfellow et al. (2015), Szegedy et al. (2014)—gradient attack methods such as FGSM; this paper uses FGSM to generate adversarial observations against the DQN loss.
    • Huang et al. (2017)—adversarial attacks on neural network policies; Lin et al. (2017), Yang et al. (2020b)—timed, hard-to-detect attacks on DRL agents, which the paper states can substantially degrade Q-network performance.

    POMDP

    • Kaelbling et al. (1998)—belief-state methods for simple POMDPs; the paper notes that general POMDPs have no provably efficient algorithm (Papadimitriou and Tsitsiklis 1987).
    • DVRL of Igl et al. (2018)—a POMDP method combining variational autoencoders with policy learning; the paper notes that such methods do not use training-time disturbance labels, and this paper adapts it into DVRLQ as a baseline.

    Baselines and Benchmarks: baselines are DQN, DQN-CF (with disturbance classifier), DQN-SA (safe action), DVRLQ, DVRLQ-CF; ablations additionally include the DDQN series, DQN-VAE, NoisyNet, CEVAE-Q; evaluation environments are Cartpole-v0, Banana Collector, LunarLander-v2, Pixel Cartpole.

    The authors position this paper as: introducing the causal effect of observational disturbance into generative DRL, and learning causal observation representations with an end-to-end structure, distinct from causal RL that treats actions as interventions and from POMDP methods that do not use disturbance labels.

  3. How does the paper address this problem?

    CIQ treats disturbance labels as a binary treatment for causal-inference-style training, and at test time predicts the label itself and switches Q branches.

    Overall idea: during training, observational disturbance is modeled as a binary treatment in a causal graphical model; disturbance labels supervise the learning of latent variables and a label predictor; the Q-network switches between two branches according to the label; at test time predicted labels replace true labels. The method is named causal inference Q-network (CIQ).

    Problem Setting and Formalization

    • Disturbance model: x′t = it × I(xt) + (1−it) × xt, where it is the binary label of whether disturbance occurs, and I(xt) is the disturbed observation; it follows an i.i.d. Bernoulli process with disturbance probability pI.
    • The state takes the most recent M frames of observations; four disturbance types: Gaussian noise (variance taken as the variance of all recorded states), FGSM adversarial perturbation, black-out (I(xt)=0), frozen frame (I(xt)=xt−1).
    • Causal graphical model (Figure 3): the latent variable zt = (st, it−M+1, …, it) is a hidden confounder that causally affects the disturbed observation, the Q-value and the label; labels are visible during training (Figure 3a) and invisible at test time (Figure 3b).

    CIQ Architecture

    • Encoder f1 maps the disturbed observation to a latent state z̃t; label predictor fI gives the estimated label ĩt; the latent state history and predicted label are concatenated into the causal inference state sCI_t.
    • The Q-network consists of two branches f2, f3, switched by the disturbance label: true labels are used in training, predicted labels at test time; the authors state that this switching mechanism prevents the network from over-generalizing on the causal inference state.
    • All networks are two-layer fully connected with ReLU activation; the parameter count of each model is uniformly controlled at about 9.7M.

    Training Objective

    • Total objective: LCIQ = itraint · LDQN(θ1,θ2,ϕ) + (1−itraint) · LDQN(θ1,θ3,ϕ) + λ · label prediction cross-entropy, with λ set to 1; that is, the DQN loss of the corresponding branch is selected according to the label, plus the disturbance label prediction loss.
    • The training procedure is in Algorithm 1: the environment provides oracle labels, the agent interacts and learns in the disturbed environment, and is periodically evaluated in a disturbance-free test environment.

    CLEVER-Q Robustness Metric

    • Extends the CLEVER score for classification tasks to Q-networks: for lp-norm perturbations of state st, derives a lower bound on the minimum perturbation that keeps the greedy action unchanged, βL = min ga(st)/Laq (Theorem 1, proof in Appendix A), and estimates the local Lipschitz constant by sampling with extreme value theory.
    • Also defines a retrospective metric AC-Rate: the agreement rate between the action taken under disturbed observation and the action under clean observation.

    Evaluation Approach

    • Main metrics are average return (until reaching the target score or 400 episodes), CLEVER-Q and AC-Rate; additionally the Dowhy package is used for ATE estimation and three refutation tests (Tc, Tp, Ts) to validate the causal graphical model.
  4. What experiments did the paper conduct?

    4 environments × 4 disturbance types × 6 noise levels; CIQ is compared with 5 DQN baselines on return, CLEVER-Q, and AC-Rate.

    Experimental Setup

    • Methods under test: CIQ; baselines are DQN, DQN-CF, DQN-SA, DVRLQ, DVRLQ-CF; ablations additionally include DDQN, DDQNd, DDQN-CF, DQN-VAE, NoisyNet, CEVAE-Q, DQN-CF2H. All models are uniformly about 9.7M parameters.
    • Environments: Cartpole-v0 (target return 195.0), Banana Collector (target 12.0), LunarLander-v2 (target 200), Pixel Cartpole (input 400×600 pixels).
    • Disturbances: Gaussian, adversarial (FGSM), black-out, frozen frame; disturbance probability pI ∈ {0%,10%,20%,30%,40%,50%}, plus [0%,30%] cosine dynamic noise.
    • Metrics: average return, CLEVER-Q, AC-Rate, ATE; return experiments train each agent 50 times and report standard deviation.
    • Robustness evaluation: CLEVER-Q and AC-Rate are computed on recorded clean states, 50 experiments per agent (Table 1 setting).
    • Statistical tests: p-values of learning curves between CIQ and each baseline (Table 12); ATE refutation tests implemented with Dowhy.

    Main Results

    Table 1: AC-Rate and CLEVER-Q under Cartpole (higher is better), I=L2 is Gaussian, I=L∞ is adversarial perturbation.

    Swipe horizontally to read the table

    DisturbanceLevelDQN AC-RateCIQ AC-RateDQN CLEVER-QCIQ CLEVER-Q
    L210%82.10%99.61%0.1760.221
    L220%72.15%98.52%0.1300.235
    L230%69.74%98.12%0.1090.232
    L∞10%62.23%99.52%0.1690.248
    L∞20%9.68%98.52%0.1710.236
    L∞30%1.22%98.10%0.0520.230
    • The authors state that CIQ outperforms all baselines in return under all four disturbance types (Figure 6 shows the adversarial and black-out curves at pI=20%, the rest are in Appendix B).
    • The authors state that DQN-CF and DQN-SA are competitive against some disturbances in some environments, but perform poorly in other environments; DVRLQ and DVRLQ-CF fail to reach the target return in most experiments, which the authors suggest implies that general POMDP methods are not efficient under this specific disturbance structure.
    • Ablation summary table (Table 7, average return per environment): CIQ is 195.1 on Env1, 12.5 on Env2, 200.1 on Env3, 195.2 on Env4; DQN is 20.2, 3.1, -113.6, 10.8 respectively; the best-performing baseline varies by environment (e.g., DDQN-CF 161.3 on Env1, NoisyNet 50.1 on Env3).

    Noise Levels and Transfer

    • Different noise levels (Table 8, Env1, average over four disturbance types): CIQ stays above 195.0 at 0%–30%, drops to 168.2 at 40% and 113.1 at 50%; DQN has already dropped to 115.0 at 10%. Under cosine dynamic noise, CIQ is 195.0 and DQN is 42.1.
    • Train/test noise level mismatch (Table 2): when CIQ is trained at 30% and tested at 10%–40%, return stays at 195.0, and is 185.7 at test 50%; the authors state that the noise level difference has little effect on CIQ.
    • Transfer between disturbance types (Tables 13, 14, Env1, average of 20 runs): CIQ Gaussian→adversarial 165.2, adversarial→Gaussian 162.8, same-type train/test both about 195; DQN under the same conditions only 38.4–85.7. The authors note that adversarial training is slightly lower than Gaussian training under black-out and frozen tests, and cite research that adversarial training may harm generalization as a possible explanation.

    Causal Effect and Interpretability Analysis

    • ATE estimation (Table 5): under intervention label error rates n=0.1–0.5, the absolute ATE error of CIQ is 0.015–0.023, lower than CEVAE (0.021–0.081) and logistic regression (0.062–0.164).
    • Refutation tests (Table 6): Tc, Tp, Ts tests are performed on the four disturbance types; the authors state that adversarial disturbance performs best in most tests.
    • Saliency maps (Figure 7): the authors state that CIQ's saliency centers correspond to the correct action more often (96.2%), higher than other DQN methods; the figure shows the saliency maps of the four models and arrows labeling the correct/actual actions.

    Other Ablations and Analyses

    • Structural ablation (Table 9, Env1, 20% noise): removing label concatenation gives return 152.1, removing the θ3 branch gives 150.1, training without true labels gives 135.1, full CIQ is 195.1.
    • Two-head DQN-CF2H (Table 10): slightly better than DQN-CF at 30%/40% noise, slightly worse at 10%/20%, all lower than CIQ.
    • Label prediction accuracy (Table 11): CIQ is close to the baselines (e.g., 98.21% vs. DQN-CF 98.34% under Gaussian), the authors report a Pearson correlation coefficient of 0.1081 between prediction accuracy and average return, a low correlation.
    • Multi-disturbance version CIQ-MI (Table 3): after mixed training it reaches 195.0 on all three test types; single-type training drops to 96.3–154.2 on cross-type tests.
    • Markov dynamic disturbance (Table 4): CIQ is 195.0 on Env1 and 12.1 on Env2, both higher than each baseline.
    • white-out ablation: the authors state that CIQ is still the best, with average return decreasing by 12.3% relative to black-out.
  5. What are some points that can be further explored?

    The paper has no dedicated limitations section; the experiments are limited to 4 simulated environments, 4 disturbance types, and the assumption that labels are available during training.

    Limitations and Future Directions Noted by the Authors

    • The paper does not specifically discuss limitations; the following are future or open-ended statements written by the authors in the appendix:
    • Appendix B: VCIQ (the variational inference version of CIQ) is only a preliminary implementation, which the authors leave for future research, calling it a preliminary exploration of variational architecture design on CIQ.
    • Appendix B: the results on transfer across different noise levels are limited by the generalization ability of a single parameterized deep network to decouple unseen states (the authors cite representation learning literature to explain this challenge).
    • Appendix D: the cross-type transfer of CIQ-MI (153.9/154.2) is slightly lower than single-disturbance CIQ (162.8/165.2), which the authors suggest may stem from the higher model capacity requirements of CIQ-MI.
    • Appendix D: the authors state that adversarial training transfers slightly worse under black-out and frozen tests, which may be related to existing findings that adversarial training harms generalization.

    Scope of Experiments

    • The environments under test are 4 discrete-action simulated environments: Cartpole-v0, Banana Collector, LunarLander-v2, Pixel Cartpole; disturbance probability is at most 50%.
    • There are 4 disturbance types: Gaussian, FGSM adversarial, black-out, frozen frame; the appendix additionally tests white-out, cosine dynamic noise and Markov dynamic disturbance.
    • The method assumes true disturbance labels are available during training; at test time it does not rely on labels.
    • Return experiments train each agent 50 times; robustness transfer experiments use 20 runs per condition; CLEVER-Q/AC-Rate use 50 experiments per agent.
    • The paper does not report experiments on real physical systems or continuous-action environments; adversarial perturbation uses only FGSM as the attack generation method.
  6. Summarize the main content of the paper

    CIQ uses training-time disturbance labels for causal-inference-style DQN training, and outperforms baselines in return and robustness across 4 environments and 4 disturbance types.

    A DRL method paper on robustness to observational disturbance. Addressing the performance degradation of DQN agents when encountering sudden observational disturbances during deployment (Gaussian noise, FGSM adversarial perturbation, black-out, frozen frame), the authors propose the causal inference Q-network CIQ.

    • Method: during training, disturbance labels are treated as a binary treatment; an encoder learns latent variables and predicts labels; the Q-network switches between two branches according to the label; the objective is the label-assigned DQN loss plus the label prediction loss; at test time only predicted labels are used. Also proposes the CLEVER-Q metric, which gives a lower bound on the perturbation that keeps the greedy action unchanged.
    • Main results: on Cartpole under 20% adversarial disturbance, CIQ's AC-Rate is 98.52% and DQN's is 9.68% (Table 1); on Env1 under 0%–30% noise, CIQ keeps return above 195.0, while DQN has already dropped to 115.0 at 10% noise (Table 8).
    • Ablation: removing label concatenation, removing the second branch, or training without true labels lowers Env1 return from 195.1 to 152.1, 150.1, 135.1 respectively (Table 9).
    • Causal analysis: CIQ's absolute ATE error is 0.015–0.023 at label error rates 0.1–0.5, lower than CEVAE and logistic regression (Table 5).
    • Authors' conclusion: the authors state that CIQ consistently outperforms each DQN baseline across 4 environments and multiple disturbance types, and that CLEVER-Q and AC-Rate jointly support its robustness; the experimental scope is limited to discrete-action simulated environments and the setting where labels are available during training.
Read originalAAAI