Or How I learned to stop worrying and love the analytic gradient

Slides:



Advertisements
Similar presentations
Design of Experiments Lecture I
Advertisements

3- 1 Chapter 3 Introduction to Numerical Methods Second-order polynomial equation: analytical solution (closed-form solution): For many types of problems,
Design Rule Generation for Interconnect Matching Andrew B. Kahng and Rasit Onur Topaloglu {abk | rtopalog University of California, San Diego.
July 31, 2013 Jason Su. Background and Tools Cramér-Rao Lower Bound (CRLB) Automatic Differentiation (AD) Applications in Parameter Mapping Evaluating.
A Discrete Adjoint-Based Approach for Optimization Problems on 3D Unstructured Meshes Dimitri J. Mavriplis Department of Mechanical Engineering University.
Robust statistical method for background extraction in image segmentation Doug Keen March 29, 2001.
Aspects of Conditional Simulation and estimation of hydraulic conductivity in coastal aquifers" Luit Jan Slooten.
Date:2011/06/08 吳昕澧 BOA: The Bayesian Optimization Algorithm.
HMM-BASED PATTERN DETECTION. Outline  Markov Process  Hidden Markov Models Elements Basic Problems Evaluation Optimization Training Implementation 2-D.
Motion Analysis Slides are from RPI Registration Class.
Motion Analysis (contd.) Slides are from RPI Registration Class.
Optical Flow Methods 2007/8/9.
Modeling and Estimation of Dependent Subspaces J. A. Palmer 1, K. Kreutz-Delgado 2, B. D. Rao 2, Scott Makeig 1 1 Swartz Center for Computational Neuroscience.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Software Verification and Validation (V&V) By Roger U. Fujii Presented by Donovan Faustino.
Software faults & reliability Presented by: Presented by: Pooja Jain Pooja Jain.
Introduction and Analysis of Error Pertemuan 1
Chapter 2 Data Handling.
Volumetric 3-Component Velocimetry (V3V)
Process Flowsheet Generation & Design Through a Group Contribution Approach Lo ï c d ’ Anterroches CAPEC Friday Morning Seminar, Spring 2005.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
CISE301_Topic11 CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4:
Application of Differential Applied Optimization Problems.
Derivatives In modern structural analysis we calculate response using fairly complex equations. We often need to solve many thousands of simultaneous equations.
1/30 Challenge the future Auto-alignment of the SPARC mirror W.S. Krul.
Improved Tilt Sensing in an LGS-based Tomographic AO System Based on Instantaneous PSF Estimation Jean-Pierre Véran AO4ELT3, May 2013.
Introduction 1. Similarity 1.1. Mechanism and mathematical description 1.2. Generalized variables 1.3. Qualitative analysis 1.4. Generalized individual.
An Efficient Search Strategy for Block Motion Estimation Using Image Features Digital Video Processing 1 Term Project Feng Li Michael Su Xiaofeng Fan.
A Passive Approach to Sensor Network Localization Rahul Biswas and Sebastian Thrun International Conference on Intelligent Robots and Systems 2004 Presented.
SITE PARAMETERS RELEVANT FOR HIGH RESOLUTION IMAGING Marc Sarazin European Southern Observatory.
March 31, 2000SPIE CONFERENCE 4007, MUNICH1 Principles, Performance and Limitations of Multi-conjugate Adaptive Optics F.Rigaut 1, B.Ellerbroek 1 and R.Flicker.
M Machine Learning F# and Accord.net.
Improved Imaging of Near Earth Objects Using Better Telescope Specifications Hazel Butler CfAO Akamai Internship Institute for Astronomy Advisors: Stuart.
Part 2: Phase structure function, spatial coherence and r 0.
Comète axe 2 - TC1 : RSA n°2 - SPART/S t Cloud Workshop Leiden 2005 Performance of wave-front measurement concepts for GLAO M. NICOLLE 1, T. FUSCO.
Simulation and Experimental Verification of Model Based Opto-Electronic Automation Drexel University Department of Electrical and Computer Engineering.
Motion / Optical Flow II Estimation of Motion Field Avneesh Sud.
1 Unclassified Integrity  Service  Excellence Estimation of Cn2 (Refractive Index Structure Constant) in Non-Kolmogorov Deep Turbulence using Unwrapped.
Date of download: 5/29/2016 Copyright © 2016 SPIE. All rights reserved. DMD functionality. The light steering action of a single micromirror is illustrated.
MOTION Model. Road Map Motion Model Non Parametric Motion Field : Algorithms 1.Optical flow field estimation. 2.Block based motion estimation. 3.Pel –recursive.
CSCI 631 – Foundations of Computer Vision March 15, 2016 Ashwini Imran Image Stitching Link: singhashwini.mesinghashwini.me.
CIVE1620- Engineering Mathematics 1.1 Lecturer: Dr D Borman Differentiation of a function From 1 st principles General techniques (trigonometric, logarithmic,
Agent-Based Modeling ANB 218a Jeff Schank.
ECE3340 Numerical Fitting, Interpolation and Approximation
Flow field representations for a grid DEM
Multiplicative updates for L1-regularized regression
ASEN 5070: Statistical Orbit Determination I Fall 2014
Introduction to Wireless Sensor Networks
IMAGE PROCESSING IMAGE RESTORATION AND NOISE REDUCTION
Interpolation Estimation of intermediate values between precise data points. The most common method is: Although there is one and only one nth-order.
Chapter 18.
Bones Skeletal Unity-2D How & When
ASEN 5070: Statistical Orbit Determination I Fall 2015
Bayesian Metric Multidimensional Scaling
Master’s Thesis Defense
Intelligent Information System Lab
Random walk initialization for training very deep feedforward networks
Software Reliability Models.
Graduate School of Information Sciences, Tohoku University
Chapter 18.
Aloha, my name is Ronald Magarin and I’ve been working with the institute for astronomy working under the guidance of Dr’s Doug Hope and Stuart Jefferies.
a kind of filtering that leads to useful features
of the Artificial Neural Networks.
Camera Calibration Using Neural Network for Image-Based Soil Deformation Measurement Systems Zhao, Honghua Ge, Louis Civil, Architectural, and Environmental.
a kind of filtering that leads to useful features
Mont-Carlo simulation of OCT structural images of subcutaneous
Choosing Mesh Spacings and Mesh Dimensions for Wave Optics Simulation
Sampling: How to Select a Few to Represent the Many
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Derivatives and Gradients
Presentation transcript:

Or How I learned to stop worrying and love the analytic gradient Word on the street is that at some point Application of Algorithmic Differentiation to Turbulence Mitigation in Digital Holography Or How I learned to stop worrying and love the analytic gradient Wesley E. Farriss and James R. Fienup Clrc 2018 Okinawa, Japan

Agenda Sharpness-based turbulence mitigation in digital holography Introduction to sharpness maximization correction Sharpness metric model Motivation for algorithmic differentiation Algorithmic differentiation Concept Application to sharpness-based turbulence mitigation Advantages of algorithmic differentiation Example sharpening problem Future work So one of the

Introduction to sharpness maximization correction It has been shown that volumetric Kolmogorov turbulence can be well represented by 2D phase planes Maximizing sharpness metric with respect phase planes shown to improve images Also generates an estimate of phase screens Cite Dainty Phase Screen paper. With respect 'to' phase in multiple planes [1] Lane, R. G., A. Glindemann, and J. C. Dainty. "Simulation of a Kolmogorov phase screen." Waves in random media 2.3 (1992): 209-224. ©LEIDOS. ALL RIGHTS RESERVED.   Target Volumetric Turbulence Detector

Introduction to sharpness maximization correction Atmospheric turbulence causes serious deleterious effect on remote imaging systems Volumetric turbulence also causes anisoplanatic effects i.e. aberration that is non-uniform across the image Cite turbulence in imaging book Roggeman [1] Roggemann, Michael C., Byron M. Welsh, and Bobby R. Hunt. Imaging through turbulence. CRC press, 2018. ©LEIDOS. ALL RIGHTS RESERVED.  

Sharpness metric model 𝛹 q ( 𝑥 𝑞 , 𝑦 𝑞 )= 𝑒𝑥𝑝 2𝜋 𝜆 𝑚 𝑐 q,𝑚 ∘ 𝑍 𝑚 ( 𝑥 𝑞 , 𝑦 𝑞 ) + 2𝜋 𝜆 𝛩 i,𝑝𝑏𝑝 ( 𝑥 𝑞 , 𝑦 𝑞 ) 𝑭 𝒌, 𝒅𝒆𝒕 ⋄ 𝚿 𝟏 ⋄ 𝚿 𝟐 ⋄ 𝚿 𝑸−𝟏 𝑭 𝒌, 𝒕𝒈𝒕 ⋄ 𝚿 𝑸 𝒫 0→1 𝒫 2→3 … 𝒫 Q−2→𝑄−1 𝒫 1→2 𝒫 Q−1→𝑄 𝒫 Q→𝑡𝑔𝑡 𝑰 𝒙 𝒕𝒈𝒕 , 𝒚 𝒕𝒈𝒕 = 𝟏 𝑲 𝒌 𝑭 𝒌,𝒕𝒈𝒕 ( 𝒙 𝒕𝒈𝒕 , 𝒚 𝒕𝒈𝒕 ) 𝟐 Fix alpha and I breve 𝜳 𝒒 𝒙 𝒒 , 𝒚 𝒒 = 𝒆𝒙𝒑 𝒊 𝟐𝝅 𝝀 𝒎 𝒄 𝒒,𝒎 𝒁 𝒎 + 𝟐𝝅 𝝀 𝜣 𝒒 𝒔= 𝒙 𝒕𝒈𝒕 , 𝒚 𝒕𝒈𝒕 𝑰 𝜶 𝒙 𝒕𝒈𝒕 , 𝒚 𝒕𝒈𝒕 [1] Abbie E. Tippie and James R. Fienup, "Phase-error correction for multiple planes using a sharpness metric," Opt. Lett.34, 701-703 (2009) ©LEIDOS. ALL RIGHTS RESERVED.   Target Detector …

Motivation for algorithmic differentiation Sharpness maximization accomplished by gradient-based optimization algorithm Must use expression for analytic gradient Finite differences is the enemy Number of metric evaluations in the gradient scales as number of parameters Constantly re-writing functions that involve similar mathematics in order to make small exploratory model changes Openly available auto-differentiators are not reliable for precision needs of optics Former graduate student who used only finite differences in optimization ©LEIDOS. ALL RIGHTS RESERVED.  

Motivation for algorithmic differentiation animate [1]Tippie, Abbie E. Aberration correction in digital holography. University of Rochester, 2012. ©LEIDOS. ALL RIGHTS RESERVED.  

©LEIDOS. ALL RIGHTS RESERVED. Algorithmic differentiation gains Never have to calculate entire gradient at one time Less error prone; even with respect to math engines derivations Eliminates need for redundant calculations in gradient step Modularity in function construction of function library ©LEIDOS. ALL RIGHTS RESERVED.  

Algorithmic differentiation concept 𝑥 𝑛 = 𝜕𝑠 𝜕 𝑥 𝑛 , 𝑠≡some metric, 𝑥 𝑛 ≡independent parameter of 𝑠 we wish to optimize for Rules of differentiation necessitate derivative of 𝑠 be taken with respect to all constituent sub-functions (chain rule) 𝑥 𝑛 = 𝜕𝑠 𝜕 𝑥 𝑛 = 𝜕𝑠 𝜕𝑎 𝜕𝑎 𝜕 𝑥 𝑛 = 𝑎 𝜕𝑎 𝜕 𝑥 𝑛 𝜕𝑠 𝜕 𝑥 𝑛 = 𝜕𝑠 𝜕𝑏 𝜕𝑏 𝜕𝑎 𝜕𝑎 𝜕 𝑥 𝑛 = 𝑏 𝜕𝑏 𝜕𝑎 𝑎 𝜕𝑎 𝜕 𝑥 𝑛 𝜕𝑠 𝜕 𝑥 𝑛 = 𝜕𝑠 𝜕𝑐 𝜕𝑐 𝜕𝑏 𝜕𝑏 𝜕𝑎 𝜕𝑎 𝜕 𝑥 𝑛 = 𝑐 𝜕𝑐 𝜕𝑏 𝑏 𝜕𝑏 𝜕𝑎 𝜕𝑎 𝜕 𝑥 𝑛 Cite Alden Paper ©LEIDOS. ALL RIGHTS RESERVED.  

Algorithmic differentiation concept Practical Example: Forward Model: s= 𝑥,𝑦 𝐵(𝑥,𝑦) 𝐵 𝑥,𝑦 = 𝐼 𝛼 𝑥,𝑦 𝐼 𝑥,𝑦 = 𝑘 𝐼 𝑘 (𝑥,𝑦) 𝐼 𝑘 = 𝐹 𝑘 𝑥,𝑦 2 Gradient Model: B = 𝑠 ∀ 𝑥,𝑦 𝐼 = 𝛼 𝐼 𝛼−1 𝑥,𝑦 ∘ 𝐵 𝐼 𝑘 𝑥,𝑦 = 𝐼 (𝑥,𝑦) F 𝑥,𝑦 =2 𝐹(𝑥,𝑦)∘ 𝐼 (𝑥,𝑦) Jurling, Alden S., and James R. Fienup. "Applications of algorithmic differentiation to phase retrieval algorithms." JOSA A 31.7 (2014): 1348-1359. ©LEIDOS. ALL RIGHTS RESERVED.  

Application to sharpness-based turbulence mitigation Forward Model Gradient Model Metric Block Propagation Block Phase Component Block Phase Object Block 𝑠= 𝑥,𝑦 𝐼 𝛼 F k,q =𝒫 F k,q−1 ′ Φ q = Φ 𝑍,𝑞 + Φ 𝑝𝑏𝑝,𝑞 𝐼 =α I α−1 F k,q−1 ′ = 𝒫 −1 F k,q Φ q =Im Ψ q ⋄ Ψ q ∗ Intensity Block F k,q−1 ′ = F k,q−1 ⋄ Ψ q−1 Φ 𝑝𝑏𝑝,𝑞 = 2π λ Θ 𝑝𝑏𝑝,𝑞 Ψ q−1 = k 𝐾 F k,q−1 ′ ⋄ F 𝑘,q−1 ∗ 𝐼= 1 𝐾 𝑘 𝐾 𝐼 𝑘 Φ Z,q = 2π λ m c q,m Z m 𝐼 𝑘 = 1 K 𝐼 F k,q−1 = F k,q−1 ′ ⋄ Ψ q−1 ∗ Θ q,pbp = 2π λ Φ q I k = F k,tgt 2 Ψ q = exp 𝑖 Φ q   F 𝑘,𝑡𝑔𝑡 =2 F k,tgt ⋄ I k 𝑐 𝑞,𝑚 = 2𝜋 𝜆 𝑥 𝑞 , 𝑦 𝑞 Φ 𝑞 ⋄ 𝑍 𝑚 Jurling, Alden S., and James R. Fienup. "Applications of algorithmic differentiation to phase retrieval algorithms." JOSA A 31.7 (2014): 1348-1359. ©LEIDOS. ALL RIGHTS RESERVED.  

Example sharpening problem Phase planes use Chebyshev type I polynomials Each plane fit with 250 polynomials, 25 at a time Point-by-point phase optimized after polynomial fit locked in 12 Speckle Realizations Quadratic terms removed in center phase plane to avoid afocal telescoping/ oversharpnening errors ©LEIDOS. ALL RIGHTS RESERVED.   Turb Screen 2 𝐷 𝑟 0 =5 @ z = 75m Turb Screen 1 𝐷 𝑟 0 =5 @ z = 0m 0.1m 0.2m Phase planes 1 (Smooth phase) and 2 (PBP) @ z=0 m Phase planes 3 (Smooth phase) and 4 (PBP) @ z=75m Target @ z=150m

©LEIDOS. ALL RIGHTS RESERVED. Example sharpening problem (a) (b) (c) Aberrated Image Corrected Image Ideal image ©LEIDOS. ALL RIGHTS RESERVED.  

Future Work Use algorithmic differentiation metric library to simulate variety of metrics and system configurations using 2D digital holography Determine ideal means to experimentally conduct turbulence mitigation using sharpness maximization Optimize algorithmic differentiation library for fast computation Use software library to clean up images take from lab data Use modular components developed for 2D digital holography in effort to mitigate effects of turbulence in 3D holographic aperture ladar images (Shameless plug for my SPIE Optics and Photonics talk, August 2018, San Diego, CA, USA)

Questions