Giter Club home page Giter Club logo

idsia / modern-srwm Goto Github PK

View Code? Open in Web Editor NEW
163.0 8.0 17.0 18.73 MB

Official repository for the paper "A Modern Self-Referential Weight Matrix That Learns to Modify Itself" (ICML 2022 & NeurIPS 2021 Deep RL Workshop) and "Accelerating Neural Self-Improvement via Bootstrapping" (ICLR 2023 Workshop)

Dockerfile 0.20% Python 74.15% C++ 1.96% Shell 0.79% Cuda 22.90%
reinforcement-learning self-referential-weight-matrix transformers pytorch torchbeast fast-weight-programmers fast-weights rnn-based-few-shot-learning self-referential-learning

modern-srwm's Introduction

Modern Self-Referential Weight Matrix

This is the official repository containing code for the paper:

A Modern Self-Referential Weight Matrix That Learns to Modify Itself (ICML 2022 & NeurIPS 2021 Deep RL Workshop)

An earlier/shorter version of the paper (only containing the RL part) was presented at NeurIPS 2021 Deep RL Workshop. The corresponding version is available on Openreview.

This reposity also contains code for the paper: Accelerating Neural Self-Improvement via Bootstrapping (ICLR 2023 Workshop). Example scripts for this paper can be found under supervised_learning/scripts/bootstrapping.

Note(November 2023): We have a followup work on self-referential weight matrices (+ continual learning), IDSIA/automated-cl

General instructions

Please refer to the readme file under each directory for further instructions.

License files can be found under the corresponding directories.

In all tasks, our custom CUDA kernels will be automatically compiled. To avoid recompiling the code multiple times, we recommend to specify the path to a directory to store the compiled code via:

export TORCH_EXTENSIONS_DIR="/home/me/torch_extensions/rl"

BibTex

ICML 2022:

@inproceedings{irie2022modern,
  title={A Modern Self-Referential Weight Matrix That Learns to Modify Itself},
  author={Kazuki Irie and Imanol Schlag and R\'obert Csord\'as and J\"urgen Schmidhuber},
  booktitle={Proc. Int. Conf. on Machine Learning (ICML)},
  address={Baltimore, {MD}, {USA}},
  month=jul,
  year={2022}
}

NeurIPS 2021 Workshop:

@inproceedings{irie2021modern,
  title={A Modern Self-Referential Weight Matrix That Learns to Modify Itself}, 
  author={Kazuki Irie and Imanol Schlag and R\'obert Csord\'as and J\"urgen Schmidhuber},
  booktitle={Workshop on Deep Reinforcement Learning, NeurIPS},
  address={Virtual only},
  year={2021}
}

ICLR 2023 Workshop:

@inproceedings{irie2023accelerating,
  title={Accelerating Neural Self-Improvement via Bootstrapping},
  author={Kazuki Irie and J{\"u}rgen Schmidhuber},
      booktitle={Workshop on Mathematical and Empirical Understanding of Foundation Models, ICLR},
      address={Kigali, Rwanda},
      year={2023}
}

Links

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.