Weight Clipping for Deep Continual and Reinforcement Learning

Mohamed Elsayed, Qingfeng Lan, Clare Lyle, A. Rupam Mahmood
7/1/2024
cs.LGcs.AI

No official code found. Best implementation: mohmdelsayed/weight-clipping (17 stars, MIT, last commit 2025-08-20).

Abstract

Many failures in deep continual and reinforcement learning are associated with increasing magnitudes of the weights, making them hard to change and potentially causing overfitting. While many methods address these learning failures, they often change the optimizer or the architecture, a complexity that hinders widespread adoption in various systems. In this paper, we focus on learning failures that are associated with increasing weight norm and we propose a simple technique that can be easily added on top of existing learning systems: clipping neural network weights to limit them to a specific range. We study the effectiveness of weight clipping in a series of supervised and reinforcement learning experiments. Our empirical results highlight the benefits of weight clipping for generalization, addressing loss of plasticity and policy collapse, and facilitating learning with a large replay ratio.

View on arXivView PDF

Code Implementations(1)

MIT
171PythonJan 5, 20241 years agoMIT

Similar Papers

Cite this paper

@article{elsayed2024weight,
  title  = {Weight Clipping for Deep Continual and Reinforcement Learning},
  author = {Mohamed Elsayed and Qingfeng Lan and Clare Lyle and A. Rupam Mahmood},
  year   = {2024},
  eprint = {2407.01704},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.01704v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.01704.svg)](https://codeofpaper.com/paper/2407.01704)

Discussion