Giter VIP home page Giter VIP logo

feedforward_adaptation's Introduction

Online Model Adaptation with Feedforward Compensation

This repository contains the code for Feedforward and Online Model Adaptation, as demonstrated in the following papers:

Abulikemu Abuduweili, and Changliu Liu, "Online Model Adaptation with Feedforward Compensation," CoRL, 2023.

Abstract

To cope with distribution shifts or non-stationarity in system dynamics, online adaptation algorithms have been introduced to update offline-learned prediction models in real-time. Existing online adaptation methods focus on optimizing the prediction model by utilizing feedback from the latest prediction error. Unfortunately, this feedback-based approach is susceptible to forgetting past information. This work proposes an online adaptation method with feedforward compensation, which uses critical data samples from a memory buffer, instead of the latest samples, to optimize the prediction model. We prove that the proposed approach achieves a smaller error bound compared to previously utilized methods in slow time-varying systems. Furthermore, our feedforward adaptation technique is capable of estimating an uncertainty bound for predictions.

About Code

Install Requirments

pip install numpy pandas scikit-learn torch

Training the Model on etth1/ill/exchange:

python train.py --data etth1

Adapting the trained model with Feedforward Adaptation:

python adap.py --data etth1 --adapt sgd --buffer_size 1000

Citation

If you find the code helpful in your research or work, please cite the following papers.

@inproceedings{
abuduweili2023online,
title={Online Model Adaptation with Feedforward Compensation},
author={ABULIKEMU ABUDUWEILI and Changliu Liu},
booktitle={7th Annual Conference on Robot Learning},
year={2023},
}

feedforward_adaptation's People

Contributors

walleclipse avatar

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.