Code Monkey home page Code Monkey logo

sequential-gp's Introduction

Memory-based dual Gaussian processes for sequential learning

This repository is the official implementation of the methods in the publication:

  • P.E. Chang, P. Verma, S.T. John, A. Solin, and M.E. Khan (2023). Memory-based dual Gaussian processes for sequential learning. In International Conference on Machine Learning (ICML). [arXiv]

Sequential learning with Gaussian processes (GPs) is challenging when access to past data is limited, for example, in continual and active learning. In such cases, errors can accumulate over time due to inaccuracies in the posterior, hyperparameters, and inducing points, making accurate learning challenging. Here, we present a method to keep all such errors in check using the recently proposed dual sparse variational GP. Our method enables accurate inference for generic likelihoods and improves learning by actively building and updating a memory of past data. We demonstrate its effectiveness in several applications involving Bayesian optimization, active learning, and continual learning.

Environment

We recommend setting up a conda environment for running the experiments. The code base is tested on a machine with a Ubuntu 22.04 distribution, CUDA11.6, and conda 23.1.0.

conda create -n sequential-gp python==3.8
conda activate sequential-gp

Within the virtual environment, install the dependencies by running

pip install -r requirements.txt

(Note that the hotspots experiment has its own environment and setup instructions.)

Experiments

There are a series of experiments which are organized inside the experiments folder as separate sub-folders. Each experiment sub-folder has their respective readme files with instructions on how to run the particular experiment.

Data sets

The datasets used for banana, UCI, and magnetometer experiments are available in experiments/data/ directory. The original source of the data sets are:

Contributing

For all correspondence, please contact [email protected] or [email protected].

License

This software is provided under the MIT license.

sequential-gp's People

Contributors

asolin avatar edchangy11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.