Giter VIP home page Giter VIP logo

probabilisticnumericcnns's Introduction

Probabilistic Numeric CNNs (PNCNNs)

This repository contains the implementation and experiments for the paper presented at ICLR2021.

Marc Finzi1, Roberto Bondesan2, Max Welling2, "Probabilistic Numeric Convolutional Neural Networks", ICLR 2021. [arxiv]

1 New York University (Work done during internship at Qualcomm AI Research) 2 Qualcomm AI Research (Qualcomm AI Research is an initiative of Qualcomm Technologies, Inc.)

Training the Models

Assuming the docker container has been built successfully, you can train the relevant models with the following commands. The author was able to execute his code in a Docker container based on the image nvidia/cuda:11.0.3-base-ubuntu20.04. After installing using setup.py, you can train the relevant models with the following commands.

SuperPixelMNIST-75

Train the PNCNN on SuperPixelMNIST-75, a variant of MNIST digit classification where images are replaced by a collection of 75 irregularly spaced superpixels. The dataset will be automatically downloaded when running the script for the first time to the directory specified by --data_dir which defaults to scripts/datasets.

python scripts/train_superpixel.py

The script contains several command line arguments such as --data_dir --bs --lr --num_epochs that can be specified. To see all command line arguments and their default values, run python scripts/train_superpixel.py --help. As shown in the table below, PNCNN greatly improves over the previous state of the art performance.

PNCNN GAT GCCP SplineCNN Monet
Error 1.24 3.81 4.2 4.78 8.89

Reference

If you find our work useful, please cite

@inproceedings{finzi2021,  
  title={Probabilistic Numeric Convolutional Neural Networks},  
  author={Marc Anton Finzi, Roberto Bondesan, Max Welling},  
  booktitle={International Conference on Learning Representations},  
  year={2021},  
  url={https://openreview.net/forum?id=T1XmO8ScKim}  
}

probabilisticnumericcnns's People

Contributors

mhofmann-qc 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.