Models for Robust Estimation and Identification

Slides:



Advertisements
Similar presentations
Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
Advertisements

Robot Vision SS 2005 Matthias Rüther 1 ROBOT VISION Lesson 3: Projective Geometry Matthias Rüther Slides courtesy of Marc Pollefeys Department of Computer.
Least Squares example There are 3 mountains u,y,z that from one site have been measured as 2474 ft., 3882 ft., and 4834 ft.. But from u, y looks 1422 ft.
Perfect Square Trinomials. Form for Perfect Square Trinomials: a 2 + 2ab + b 2 OR a 2 – 2ab + b 2.
Solving Quadratic Equations by Factoring Algebra I.
1cs542g-term High Dimensional Data  So far we’ve considered scalar data values f i (or interpolated/approximated each component of vector values.
LU method 1) factor (decompose) A into L and U 2) given b, determine d 3) using Ux=d and backsubstitution, solve for x Advantage: Once you have L and U,
Some useful linear algebra. Linearly independent vectors span(V): span of vector space V is all linear combinations of vectors v i, i.e.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
Math for CSTutorial 41 Contents: 1.Least squares solution for overcomplete linear systems. 2.… via normal equations 3.… via A = QR factorization 4.… via.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
Linear Least Squares QR Factorization. Systems of linear equations Problem to solve: M x = b Given M x = b : Is there a solution? Is the solution unique?
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems
If b2 = a, then b is a square root of a.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Solving Quadratic Equations by Completing the Square
Section 10.5 – Page 506 Objectives Use the quadratic formula to find solutions to quadratic equations. Use the quadratic formula to find the zeros of a.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Chapter 15 Modeling of Data. Statistics of Data Mean (or average): Variance: Median: a value x j such that half of the data are bigger than it, and half.
Ch X 2 Matrices, Determinants, and Inverses.
SVD: Singular Value Decomposition
The Quadratic Formula. What does the Quadratic Formula Do ? The Quadratic formula allows you to find the roots of a quadratic equation (if they exist)
Factor: Factor: 1. s 2 r 2 – 4s 4 1. s 2 r 2 – 4s b b 3 c + 18b 2 c b b 3 c + 18b 2 c 2 3. xy + 3x – 2y xy + 3x – 2y -
Solving Quadratic Equations. Solving by Factoring.
Math 409/409G History of Mathematics Cardano’s Formula.
Lecture 10 - Nonlinear gradient techniques and LU Decomposition CVEN 302 June 24, 2002.
2x2 Matrices, Determinants and Inverses
4.6 Completing the Square Completing a perfect square trinomial allows you to factor the completed trinomial as the square of a binomial. You can solve.
CHAPTER 4.
EIGENSYSTEMS, SVD, PCA Big Data Seminar, Dedi Gadot, December 14 th, 2014.
Backward Thinking Confessions of a Numerical Analyst Keith Evan Schubert.
How do I know the answer if I’m not sure of the question? Putting robustness into estimation K. E. Schubert 11/7/00.
Solving Quadratic Equations by Factoring Lesson 5.2.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Factoring Polynomials.
10.3 Solving Quadratic Equations – Solving Quadratic Eq. Goals / “I can…”  Solve quadratic equations by graphing  Solve quadratic equations using.
Quadratic Equations. Solving ax 2 + bx + c = 0 Taking Square Roots of Both Sides Graphing Factoring Completing the Square Quadratic Formula.
Copyright © Cengage Learning. All rights reserved. 8 Matrices and Determinants.
CSE 554 Lecture 8: Alignment
3.1 - Solving Systems by Graphing
EEE 244-3: MATRICES AND EQUATION SOLVING
ASEN 5070: Statistical Orbit Determination I Fall 2014
Eigen & Singular Value Decomposition
Newton’s Method for Systems of Non Linear Equations
Warm Up Solve by factoring. x2 + 10x + 25 x2 – 16x + 64 x2 + 18x + 81.
Lecture 8:Eigenfaces and Shared Features
Singular Value Decomposition
Models for Robust Estimation and Identification
The Quadratic Formula.
Some useful linear algebra
Multiple Column Partitioned Min Max
How do I know the answer if I’m not sure of the question?
SVD: Physical Interpretation and Applications
Section 11.1 Quadratic Equations.
Confessions of a Numerical Analyst Keith Evan Schubert
Backward Error Estimation
Objectives Solve quadratic equations by graphing or factoring.
Matrix Operations and Their Applications
~ Least Squares example
Objective Solve quadratic equations by using square roots.
Vertex Form.
Linear Systems Numerical Methods.
~ Least Squares example
7.7 Write and Apply Exponential & Power Functions
EEE 244-3: MATRICES AND EQUATION SOLVING
Backward Error Estimation
Least Squares Now, we go back to consider a simple problem: Ax=b
Copyright © Cengage Learning. All rights reserved.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
Presentation transcript:

Models for Robust Estimation and Identification Shivkumar Chandrasekaran (UCSB) Keith Evan Schubert (CSUSB)

Simple Problem Consider the problem Ax=b The resulting x value is

Simple Problem 2 Consider the problem Ax=b The resulting x value is

What’s Up? The condition number (sensitivity to perturbations) is about 400. Perturbation is 0.01, so 0.01*400=4. Components of x can vary by this much!

What Can We Do? Rather than solve it the standard way x=A\b x=(ATA)-1ATb Consider the following: x=(ATA+I)-1ATb  =.01 Then:

Lucky Guess? -1 -0.5 0.5 1 1.5 2 y x

Does It Always Work? No Consider  x0 Consider -si2 (si is singular value of A) x± Picking the wrong value can get junk

Methods with the Same Form Name Cost Function  = Least Squares ||Ax-b|| Total Least Squares ||[A b]-[C d]||F s.t.: ||Cx-d||=0 sn+1 Tikhonov ||Ax-b||2 + ||Lx||2 LTL Min Max ||Ax-b|| + h||x|| h||Ax-b||/||x|| Min Min ||Ax-b|| - h||x|| -h||Ax-b||/||x|| Backward Error 1 (||Ax-b||+h||x||)/||A|| ||x|| -||Ax-b||2/||x||2

Singular Value Decomposition For any matrix A: A=USVT UUT=UTU=I VVT=VTV=I S diagonal with s1≥s2≥... ≥sn≥

Using the SVD For rectangular Matrices Define Then b1=U1Tb b2=U2Tb z=vTx Then ||Ax-b||2 = ||Sz-b1||2 + ||b2||2 ATA+I = V(S2+I)VT

Obtaining a Secular Equation Clear Denominator Substitute x SVD of A Combine Top Block Evaluate Norms Combine Terms

Solution by Secular Equation Calculate SVD of A O(mn2+n3), usually m>>n Precalculate key quantities (b1,b2,S2) O(n2) Solve by any root finder to find  Bisection Newton’s Method O(np), p is number of iterations to solution Substitute into x=V(S2+I)-1Sb1 Overall O(mn2+n3+np) Can be sped up by “economy version” of SVD no U2 calculated, get b22 by b2=b12+b22

Why Backward? Forward errors Backward errors Explicitly account for each error source (x+d1)(y+d2)=xy+(yd1+xd2+d1d2) Backward errors Check that algorithm acting on data will give a solution that is “near” to the actual system acting on a nearby set of data I.E. Algorithm with good data should do about as well as a perfect calculation on ok data

Picture Please! Inherent Condition in A b Perfect Calculations b* Nearby Data (x*) Inherent Condition in A b* Actual Data (x) Perfect Calculations b Algorithm Errors due to algorithm best

Backward Error Criterion: minimize ||Ax-b||/(||A|| ||x||+||b||) Normal Equations Solution:

Non Convex

Finding The Root

Sketch of Proof If b1,n=0 then Else 2n2 Not in (n2, n-12) by perturbation analysis Not n-12 by Hessian condition

b1,n=0 Normal Equation Hessian Condition requires

(n2, n-12)

n-12 The determinant of the Hessian must be positive After lots of algebra the determinant of the Hessian is

Informal Algorithm Get (A,b) svd(A)  [u1 u2],,v U1b  b1 Use rootfinder (bisection, Newton, etc.) to get  in [-sn2,0] vT(2- I)-1  b1  x

What You Get

Least Squares

Total Least Squares

Tikhonov

Backward Error

Original

Comparison

Final Thoughts BE is always optimistic in that it presumes that the real system is “better” Even with this it is “robust” There is a perturbed version of this algorithm which can be either optimistic or pessimistic