Skip to content
/ FLASH Public

Fast Local minimA finding with third-order SmootHness (FLASH)

License

Notifications You must be signed in to change notification settings

uclaml/FLASH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast Local minimA finding with third-order SmootHness (FLASH)

This repository contains pytorch code that produces the local minma finding algorithm in the paper: Third-order Smoothness Helps: Faster Stochastic Optimization Algorithms for Finding Local Minima.

We perform experiments of training a deep autoencoder on MNIST dataset, where the autoencoder is composed of a fully connected encoder with layers of size (28 x 28)-1024-512-256-32 and a symmetric decoder.

Prerequisites:

  • Python (3.6.4)
  • Pytorch (0.4.1)
  • NumPy
  • CUDA

Command Line Arguments:

  • --LR-SCSG: learning rate for scsg
  • --LR-NEG: learning rate for negative curvature descent
  • --EPOCH: total epoch for the algorithm
  • --BATCH-SIZE: mini batch size for scsg in training

Usage Examples:

  • Run experiments on MNIST:
  -  python train_flash.py  --EPOCH 500

Reference

About

Fast Local minimA finding with third-order SmootHness (FLASH)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages