Code Monkey home page Code Monkey logo

lipsnet's Introduction

LipsNet

This is a PyTorch implementation of LipsNet.

The paper is accepted at ICML 2023 with the title 'LipsNet: A Smooth and Robust Neural Network with Adaptive Lipschitz Constant for High Accuracy Optimal Control'.

Links: [Paper], [Poster].

LipsNet can serve as actor networks in most actor-critic reinforcement learning algorithms, in order to reduce the action fluctuation. A low level of action fluctuation will protect mechanical components from the wear and tear, and reduce safety hazards.

The overall structure is shown below:

Requirements

The version of PyTorch should be higher than 1.11 and lower than 2.3, as we incorporate functorch.jacrev and functorch.vmap methods.

How to use

We package LipsNet as a PyTorch module.

Practitioners can easily use it just like using MLP.

from lipsnet import LipsNet

# declare
net = LipsNet(...)

# training
net.train()
out = net(input)
...
loss.backward()
optimizer.step()
optimizer.zero_grad()
net.eval()

# evaluation
net.eval()
out = net(input)

More details can be found in lipsnet.py.

Reference

@InProceedings{pmlr-v202-song23b,
  title = {LipsNet: A Smooth and Robust Neural Network with Adaptive Lipschitz Constant for High Accuracy Optimal Control},
  author = {Song, Xujie and Duan, Jingliang and Wang, Wenxuan and Li, Shengbo Eben and Chen, Chen and Cheng, Bo and Zhang, Bo and Wei, Junqing and Wang, Xiaoming Simon},
  booktitle = {Proceedings of the 40th International Conference on Machine Learning},
  pages = {32253--32272},
  year = {2023},
  volume = {202},
  series = {Proceedings of Machine Learning Research},
  month = {23--29 Jul},
  publisher = {PMLR}
}

lipsnet's People

Contributors

xjsong99 avatar

Stargazers

Dragonzz avatar tlt18 avatar ZhijunZhuang avatar chaojie-fu avatar Jan Tkacik avatar Chuanjian Li avatar Callum Tilbury avatar  avatar Dongjie Yu avatar KID_22 avatar

Watchers

Kostas Georgiou avatar  avatar

lipsnet's Issues

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.