Computational Biology BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.

Slides:



Advertisements
Similar presentations
Optimization.
Advertisements

Optimization : The min and max of a function
Optimization of thermal processes
Direction Set (Powell’s) Methods in Multidimensions
Steepest Decent and Conjugate Gradients (CG). Solving of the linear equation system.
Classification and Prediction: Regression Via Gradient Descent Optimization Bamshad Mobasher DePaul University.
Easy Optimization Problems, Relaxation, Local Processing for a single variable.
Molecular Simulation. Molecular Simluation Introduction: Introduction: Prerequisition: Prerequisition: A powerful computer, fast graphics card, A powerful.
Geometry Optimization Pertemuan VI. Geometry Optimization Backgrounds Real molecules vibrate thermally about their equilibrium structures. Finding minimum.
Numerical Optimization
Function Optimization Newton’s Method. Conjugate Gradients
Tutorial 12 Unconstrained optimization Conjugate gradients.
Optimization Methods One-Dimensional Unconstrained Optimization
Molecular Mechanics force fields minimization. Force Fields good review: MacKerell (2004) JCompChem, 25:1584 FF typically contains terms for: –bonds and.
Gradient Methods May Preview Background Steepest Descent Conjugate Gradient.
Frequency Calculation. *A nonlinear molecule with n atoms has 3n — 6 normal modes: the motion of each atom can be described by 3 vectors, along the x,
Function Optimization. Newton’s Method Conjugate Gradients Method
Advanced Topics in Optimization
Why Function Optimization ?
Optimization Methods One-Dimensional Unconstrained Optimization
LSM2104/CZ2251 Essential Bioinformatics and Biocomputing Essential Bioinformatics and Biocomputing Protein Structure and Visualization (3) Chen Yu Zong.
Molecular Modeling: Geometry Optimization C372 Introduction to Cheminformatics II Kelsey Forsythe.
9 1 Performance Optimization. 9 2 Basic Optimization Algorithm p k - Search Direction  k - Learning Rate or.
Computational Optimization
Molecular Modeling: Geometry Optimization C372 Introduction to Cheminformatics II Kelsey Forsythe.
UNCONSTRAINED MULTIVARIABLE
Objectives of this course
Geometry Optimisation Modelling OH + C 2 H 4 *CH 2 -CH 2 -OH CH 3 -CH 2 -O* 3D PES.
Molecular Modeling Part I. A Brief Introduction to Molecular Mechanics.
ENCI 303 Lecture PS-19 Optimization 2
Nonlinear programming Unconstrained optimization techniques.
CZ5225 Modeling and Simulation in Biology Modeling and Simulation in Biology Proteins Chen Yu Zong
Minimization v.s. Dyanmics A dynamics calculation alters the atomic positions in a step-wise fashion, analogous to energy minimization. However, the steps.
Outline Potential Energy Surface (PES)
1 Unconstrained Optimization Objective: Find minimum of F(X) where X is a vector of design variables We may know lower and upper bounds for optimum No.
1 Optimization Multi-Dimensional Unconstrained Optimization Part II: Gradient Methods.
Molecular Mechanics Part 2
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
Multivariate Unconstrained Optimisation First we consider algorithms for functions for which derivatives are not available. Could try to extend direct.
Molecular Mechanics Studies involving covalent interactions (enzyme reaction): quantum mechanics; extremely slow Studies involving noncovalent interactions.
Introduction to Molecular Modeling Techniques
Computational Biology BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.
Engineering Optimization Chapter 3 : Functions of Several Variables (Part 1) Presented by: Rajesh Roy Networks Research Lab, University of California,
MODELING MATTER AT NANOSCALES 3. Empirical classical PES and typical procedures of optimization Geometries from energy derivatives.
559 Fish 559; Lecture 5 Non-linear Minimization. 559 Introduction Non-linear minimization (or optimization) is the numerical technique that is used by.
Quasi-Newton Methods of Optimization Lecture 2. General Algorithm n A Baseline Scenario Algorithm U (Model algorithm for n- dimensional unconstrained.
Simplistic Molecular Mechanics Force Field Van der WaalsCharge - Charge Bond Angle Improper Dihedral  
Molecular Mechanics a. Force fields b. Energy minimization / Geometry optimization c. Molecular mechanics examples.
Basis functions Atomic orbital basis sets Geometry optimization on PES Parabolic interpolation Basic procedure for one dimension Procedure for N-dimensions.
Data Modeling Patrice Koehl Department of Biological Sciences National University of Singapore
Lecture 13. Geometry Optimization References Computational chemistry: Introduction to the theory and applications of molecular and quantum mechanics, E.
Chapter 10 Minimization or Maximization of Functions.
Review Session BS123A/MB223 UC-Irvine Ray Luo, MBB, BS.
Steepest Descent Method Contours are shown below.
Gradient Methods In Optimization
Survey of unconstrained optimization gradient based algorithms
Signal & Weight Vector Spaces
Performance Surfaces.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
Molecular dynamics (MD) simulations  A deterministic method based on the solution of Newton’s equation of motion F i = m i a i for the ith particle; the.
Lecture 7: Molecular Mechanics: Empirical Force Field Model Nanjie Deng Structural Bioinformatics II.
Geometry Optimizations Lecture CompChem 2 Chemistry 347 Hope College.
Structure Refinement BCHM 5984 September 7, 2009.
Chapter 2 Molecular Mechanics
Computational Optimization
Instructor: Dr. Tatiana Erukhimova
Computational Analysis
Performance Surfaces.
Performance Optimization
Section 3: Second Order Methods
Presentation transcript:

Computational Biology BS123A/MB223 UC-Irvine Ray Luo, MBB, BS

Reading Assignment Leach, Chapter 2 Sec , 5.8.1

Simplistic Molecular Mechanics Force Field Van der WaalsCharge - Charge Bond Angle Improper Dihedral  

Scaling of Nonbonded Terms Scaling of electrostatic energy: charge- charge 1/r; charge-dipole 1/r 2, dipole- dipole 1/r 3. Scaling of van der Waals energy: 1/r 6.

maximasaddle point Potential Energy Surface (PES) Force Field v.s. PES Why EPS is so important? Stable structures of a molecule, such as protein folding, protein- ligand binding Vibrational frequencies The molecular basis of thermodynamics and kinetics.

maximasaddle point Potential Energy Surface (PES)

minimum Potential Energy Surface saddle point maxima

Local minimum vs global minimum Many local minima; only ONE global minimum Energy Minimization

Stationary points: points on a PES with all first energy derivatives (gradients) zero. Minima (local and global): stationary points with all eigenvalues of the Hessian matrix (all second derivatives) positive. Saddle points: stationary points with exactly one negative eigenvalue in the Hessian matrix. Classification of Stationary Points on PES

Energy Minimization: Methods Non-gradient based methods: systematic numeration; simplex; direction set (Powell’s). Gradient based methods: the steepest descents; conjugate gradients Hessian based methods: Newton-Raphson; quasi-Newton

Non-gradient Based Minimization: Powell’s Method 1-d function minimization is easily done. Direction set methods: sequences of 1-d “line minimizations”. How to choose the “direction set”? The set of unit vectors works well in many cases. The best choice is a set of conjugate directions, aka, non-interfering directions.

Conjugate Directions Fact: if we do line min of a function along u, the gradient of it at the line min must be perpendicular to u; otherwise, it is not a line min. We can use Taylor expansion to understand the concept (mathematical derivation provided in class). The condition that motion along v does not spoil our min along u is simply that the gradient stays perpendicular to u, i.e. the change in v has to be perpendicular to u.

Non-gradient Based Minimization: Powell’s Method Initialize the directions, u i = e i, unit vectors; Save the starting point as P 0 ; For i = 1, …, N, move P i-1 to the minimum along direction u i and call this point P i ; Set u i = u i+1 for I = 1, …, N-1; Set u N = P N – P 0 ; Move P N to the minimum along direction u N and call this point P 0.

Non-gradient Based Minimization: Powell’s Method The directions are conjugate, and the method works great for quadratic functions This can be proved, as given by Brent. No need for gradient in the line minimization, just a 1-d function. Therefore the overall method does not rely on gradient.

Gradient Based Minimization: Steepest Descents To start, walk straight downhill along the gradient direction at the initial point. Perform line search along the gradient direction. The next direction to take is orthogonal to the previous direction, and so on. Use adaptive step sizes (small) in the line search. Step size will be reduced if the energy goes up, otherwise it will be increased.

Hessian Based Minimization Newton-Raphson: Idea For any 1-d quadratic function U(x), Taylor expansion at x k gives U(x) = U(x k ) + (x-x k )U’(x k ) + (x-x k ) 2 U”(x k )/2, U’(x k ) = U’(x k ) + (x-x k ) U”(x k ). At the minimum x*: U’(x*) = 0, so that x* = x k - U ’(x k )/U”(x k ) For an n-d quadratic function: x* = x k - U’(x k ) U”(x k ) -1

Hessian Based Minimization Newton-Raphson Note that U”(x k ) -1 is the inverse of a matrix (Hessian), very slow to compute if n is large. Also note that n is 3*no_of_atom for the Hessian matrix. However, the minimization can be performed in one-step for quadratic functions! For force field energy functions, it still takes less steps to minimize than other methods, but each step is much slower. The burden is shifted to the inversion of the Hessian Matrix.

Hessian Based Minimization Newton-Raphson: Pros and Cons Newton-Raphson works well for portion of the PES where the quadratic approximation is good, i.e. near a local minimum. It does not work well far away from a minimum. It does not work if the Hessian matrix has negative eigenvalues.

Which minimization should I use? If gradient is not possible, Powell’s method would be a reasonable choice. If gradient is possible to get, as in force field functions, steepest descents can be used to relax initial bad geometry. This is usually followed by a conjugate gradient method, then a quasi-Newton method. If a small system, less than a few hundred atoms, the Newton-Raphson method may be used if it is sufficiently close to a local minimum.