Independent DQN
Definition
Independent DQN (IDQN)
The deep version of independent Q-learning: each agent trains its own DQN, an action-value network with its own target network and replay buffer, on its own observation history and reward, and treats the other agents as part of the environment. It belongs to decentralised training and execution (DTDE).
Intuition
A diary of a world that no longer exists
DQN’s replay buffer is a diary of past transitions, replayed for training. With one agent the diary stays true: the environment’s rules do not change, only the agent’s own behaviour, which Q-learning’s off-policy target can handle. With several learners the other agents are part of the environment, and they keep changing. An entry from a thousand steps ago records how they used to play, so replaying it teaches agent about opponents or teammates that are gone.
Mathematical Formulation
Agent minimises, over minibatches of transitions sampled from its own buffer :
where:
- : agent ‘s observation history; : its own action (the others’ actions are not stored)
- : its own reward (in a cooperative task, the shared team reward)
- , : its value network and target network, copied at set intervals
Each step, every agent chooses ε-greedily from its own network, the joint action is applied, and each agent stores its own transition and runs this update.
Key Properties / Variants
- Outdated experience. Transitions in were generated while the others used older policies; once they change, those transitions may no longer reflect the environment agent now faces. Off-policy learning makes agent ‘s own old actions harmless, but the others’ old behaviour is part of agent ‘s environment, and that has changed.
- Fix 1: smaller replay buffers, which keep only recent experience from policies close to the others’ current ones. A larger buffer makes the problem worse.
- Fix 2 (MARL book, Ch 9): importance sampling weights. Store the agents’ action probabilities with each transition and reweight replayed transitions by the ratio of the other agents’ current to stored probabilities (Importance Sampling).
- Against independent policy gradients: independent REINFORCE, IA2C and IPPO are on-policy, so they always learn from experience generated by the others’ current policies and adapt faster; their weakness is amplified variance instead.
- Inherits independent learning’s issues: non-stationarity, no convergence guarantee, miscoordination, but scales to many agents since each network covers only its own actions.
Connections
- Single-agent version: Deep Q-Network (DQN), Q-Learning
- Tabular ancestor: Independent Learning (independent Q-learning)
- Components: Experience Replay, Target Network, Epsilon-Greedy Policy
- Related: Off-Policy Learning, Importance Sampling
- Training mode: Centralised Training with Decentralised Execution (IDQN is the DTDE case)