Giter Site home page Giter Site logo

cubic-subproblem's Introduction

Subproblem Solutions in Cubic Regularisation Methods

This repository provides some code I used in my master's dissertation at Oxford, which, in short, can be described as follows:

"This dissertation is set in the field of smooth, unconstrained and nonconvex optimisation. Motivated by the needs and requirements of applications such as neural network training, we explore cubic regularisation as a means of incorporating curvature information into first-order methods in an efficient, Hessian-free manner, with the ultimate goal of accelerating convergence of these algorithms to approximate local minima of an objective function. Our focus lies on the Adaptive Regularisation Algorithm using Cubics (ARC), and in particular on its subroutine GLRT, which is an iterative, Lanczos-type algorithm. GLRT solves the cubic subproblem, which consists of minimising a quadratic approximation to the objective function, regularised by a cubic power of the step length. The cubic subproblem appears in every cubic regularisation-type algorithm and accounts for the largest part of the computational effort of such algorithms. In this dissertation, we refine the current complexity bound for GLRT, we introduce an accelerated version of GLRT, and we compare both methods numerically to another recent proposal for solving the cubic subproblem fast and efficiently, which employs a perturbed version of gradient descent. We show that GLRT exhibits superior performance to perturbed gradient descent on the cubic subproblem in terms of both iterations and computational time, and that our accelerated version further improves upon this performance."

If you are interested in the full document then please do not hesitate to contact me via E-Mail: [email protected]

The MATLAB implementation provided here considers the subproblem which is typicially encountered in a Cubic Regularisation-type algortihm. It contains MATLAB functions to create, solve and visualise the cubic subproblem (CSP). The main functions are:

Create_Problem.m

Creates a CSP of given dimension and condition number. More options are possible, such as positive definiteness, hard-case, etc.

SubproblemPlot.m

Plots the contours of a given two-dimensional CSP. Optionally, the exact solution can be plotted, as well as the iterates produced by some method and the eigenvectors of the Hessian B.

Solve_Exactly.m

Calls the function Check_Hard.m to check whether the given CSP is a hard-case. If the latter doesn not hold, then the same function solves the CSP. Otherwise, the function Solve_Hard is evoked.

norm_s_plot.m and phi1_plot.m

Plot the norm of the solution s as a function of the multiplier lambda as well as the function phi1(lambda), respectively.

cubic-subproblem's People

Contributors

marius1311 avatar

Watchers

 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.