Giter Club home page Giter Club logo

admm's Introduction

ADMM

Implemented ADMM for solving convex optimization problems such as Lasso, Ridge regression

Introduction

Alternating Direction Method of Multiplier is framework for solving objecting function with divide-and-conquer approach.

ADMM works in two steps

  1. Divide
    a. Break down original problem into small problems
    b. Distribute these small problem to processors / computing resources
    c. Every processor solves the smaller problem
  2. Conquer
    a. Combine solution from <N> processors into one

Our work

We implemented ADMM in PyTorch framework Click here to view for Lasso and Ridge regression.

Results

Lasso Solver

Lasso Loss Lasso Prediction
ADMM Lasso Loss ADMM vs Scikit Lasso Solver

Ridge regression

Ridge regression Loss Ridge regression Prediction
ADMM Ridge regression Loss ADMM vs Scikit ridge regression Solver

ADMM vs Newton vs Gradient Descent

Contour Plot of ADMM vs GD vs Newtons method for Lasso Problem

Contour plot does shows that ADMM reaches to the optimal solution fast and then takes smaller steps as it reaches to near to the solution. Hence, it confirms that ADMM is middle solution to many problems which can solve problems nearly as fast as newton and is not just restricted to quadratic problems.

Issues

  1. ADMM needs distributed infrastructure to scale to general problems
  2. Gradient of individual small problems needs to be known in order to divide the problem
  3. How to divide the problem into smaller problems? a. This is reason behind we need to manually devise the smaller problem and then scale for parallalization

Slides

Click here to view Presentation

Report

Click here to view Report

Other resources

  1. My Convex Optimization assignments - https://github.com/bhushan23/Convex-Optimization
  2. Reading material - By Professor Steven Boyd - http://web.stanford.edu/~boyd/admm.html
  3. Implementation - By Niru Maheswaranathan - https://github.com/nirum/ADMM
  4. General Convex optimization problems implementation - By Stanford Convex Optimization group - https://github.com/cvxgrp/cvxpy

admm's People

Contributors

bhushan23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

admm's Issues

Missing Optimizer

Error occurs whenever ADMM optimizer is called.

module 'torch.optim' has no attribute 'ADMM'

ADAM

Dear author
you have done this job by using ADMM or ADAM?

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.