A robot's map has 10 true loop closures and sits 0.33 m from the truth on average. One false closure from a look-alike place pulls least squares to 5.96 m. Huber bends more slowly, to 12.6 m at 20 false closures. Graduated non-convexity keeps the map at 0.33 m with 20 of 30 closures false, and labels every one right.
Pick a back end. Then drag the number of false closures from 0 to 20 and watch the map. Then we build it piece by piece: the pull of one residual, four robust costs, reweighting, the trap, graduated non-convexity, consistency, switches and certificates.
You need Lecture 9 (least squares and Gauss-Newton), Lecture 12 (loop closures) and Lecture 13 (factor graphs). We build the rest from zero.
Lecture 14 of 14, the last, in our follow-along of MIT 16.485, Visual Navigation for Autonomous Vehicles (VNAV, taught by Luca Carlone). Every idea is re-taught here in our own words and devices. Previous: Lecture 13, SLAM and factor graphs. The field guide maps the whole series.
Illustrative toy: the drive of Lecture 12, 60 poses on a 100 m loop, odometry with a heading bias of 0.4° per step. 10 true closures; false ones come in look-alike groups of 5 frames, each claiming that two frames about 10 m or more apart stand at the same pose. Your browser solves every map by Gauss-Newton on poses with position and heading.
Chapter 0
Add true loop closures, then one false one, and watch least squares obey it
Lecture 12 gave the robot loop closures: measurements that say "frame t stands where frame j stood", give or take a few centimetres. Lecture 13 put each one into the factor graph as one more factor and solved for every pose at once. The solver trusts every factor in proportion to its stated noise.
Our toy robot drives the Lecture 12 loop: a 100 m rectangle, one lap and half of another, 60 poses. Odometry alone leaves the map 3.50 m from the truth on average. Ten true closures pull it to 0.33 m.
The pink dashed rectangle is the true route. The purple path is the map least squares solves. Choose what the map is told.
Illustrative toy, the hero's drive. Odometry factors claim 5 cm and 0.5° of noise per step; closures claim 10 cm and 1°. The error is the root mean square distance from each mapped pose to its true pose.
Now one false closure arrives. A look-alike place makes the recogniser claim that frame 32 stands where frame 1 stood. The two places are about 20 m apart. Least squares obeys: the average error jumps from 0.33 m to 5.96 m, and the worst pose moves 14.9 m.
Why does one factor out of 70 win? Least squares adds up squared residuals, each measured in its own sigmas. On the good map, the false closure misses by about 220 sigmas, so it costs 48,358. The other 69 factors together cost 41.3. The solver bends every pose to shrink that single term, and stops at a map where the lie costs 3,863 and the truth costs 10,153.
RANSAC, from Lecture 8, cleaned one model at a time in the front end. Here the lie sits inside a joint problem over 177 unknowns, among closures that each look fine alone. The back end itself must learn to ignore it.
Symptom: after a loop closure, a straight corridor bends or two streets overlap in the map.
Measure: each closure's residual in sigmas after the solve. A false one stays far outside the noise and strains the odometry around it.
Fix: a back end whose cost stops growing for residuals far outside the noise (Chapters 1 to 5), or that keeps only closures that agree (Chapter 6).
Chapter 1
Drag one lie far away and watch least squares follow it forever
Take one unknown. Five loop closures each measure the same offset x, in metres. Four say 0.1, −0.2, 0.15 and −0.1. The fifth comes from a look-alike place and says 5.0. Each has a noise of 0.3 m.
Measure each residual in its own sigmas: subtract the estimate from the reading and divide by the noise. Call that the whitened residual u. A cost function ρ turns each u into a price, and the solver picks the x with the lowest total.
x-hat equals the x that makes the sum over i of rho of u-i smallest, where u-i is z-i minus x, over sigma-i.
For a trial offset x, find how many sigmas each reading z-i misses by. Price each miss with rho and add the prices. Keep the x with the smallest total.
Least squares at x = 0: the four good readings miss by 0.33, −0.67, 0.5 and −0.33 sigmas and cost 0.92 together. The lie misses by 16.7 sigmas and costs 277.8 alone: 99.7% of the total.
How hard does one measurement pull on x? The slope of its cost tells you. Halve the slope of ρ and call it the influence ψ.
psi of u equals rho-prime of u, over two.
Take the slope of the cost at the miss u and halve it. That is the pull psi. At the best x, the pulls of all measurements add to zero.
Least squares settles at x = 0.99 m. There the four good readings pull with −2.97, −3.97, −2.80 and −3.63, total −13.37. The lie, 13.37 sigmas away, pulls +13.37 alone. The tug of war is even, and the lie decides where.
Blue dots are the four good readings; the red ring is the lie. Warm arrows show each pull at the estimate. Move the lie and choose the cost.
Illustrative: the five readings above, noise 0.3 m. Cauchy reweights from the least-squares answer until it converges (Chapter 3), with c = 1 sigma.
Under squares, ψ(u) = u: the pull grows with the miss, without limit. Move the lie from 5 m to 10 m and the estimate moves from 0.99 m to 1.99 m. Statisticians call the share of bad data an estimator survives its breakdown point; Lecture 8 showed it is zero for least squares.
The cure is a cost whose pull stops growing far outside the noise: an M-estimator, after Huber (1964). With Cauchy, the lie at 5 m pulls only 0.074 at the least-squares answer, and the estimate settles at 0.00 m.
Symptom: one far measurement moves the estimate in proportion to how far it is.
Measure: each measurement's share of the total cost.
Fix: a cost with a bounded influence: the pull of any one measurement has a ceiling.
Chapter 2
Slide the kernel width and watch each cost's pull stop, fade or vanish
Four costs appear across the SLAM literature. Each keeps u² near zero, where the noise lives, and bends away beyond a width c, measured in sigmas. They differ in what happens far out: the price keeps growing in a straight line, grows like a logarithm, levels off, or stops dead.
Top: the cost ρ(u). Bottom: the pull ψ(u). Grey is least squares. The yellow line marks the width c. Choose a cost, then move c and the probe u.
Exact formulas from the table below, with ρ(u) = u² for least squares. The curves run from u = 0 to 10 sigmas.
Every cost also has a weight: the pull divided by the miss. It says how much a measurement still counts, compared with least squares.
w of u equals psi of u, over u.
Divide the pull psi by the miss u. Least squares gives 1 everywhere. A robust cost gives less than 1 to big misses.
Cauchy with c = 1 at u = 10: the pull is 10 / (1 + 100) = 0.099, so the weight is 0.099 / 10 = 0.0099. That measurement counts about 1% as much as under least squares.
| Cost | ρ(u) | w(u) | ρ at u = 3, 10 | w at u = 10 | Far out |
|---|---|---|---|---|---|
| Least squares | u² | 1 | 9, 100 | 1 | pull grows forever |
| Huber | u² if u ≤ c, else 2cu − c² | 1, else c/u | 5, 19 | 0.1 | pull capped at c |
| Cauchy | c² ln(1 + u²/c²) | 1 / (1 + u²/c²) | 2.30, 4.62 | 0.0099 | pull fades like c²/u |
| Geman-McClure | c²u² / (c² + u²) | c⁴ / (c² + u²)² | 0.90, 0.99 | 0.0001 | price levels at c² |
| Truncated (TLS) | u² if u ≤ c, else c² | 1, else 0 | 1, 1 | 0 | ignored past c |
The numbers use c = 1. Huber is convex: one bowl, but every outlier keeps pulling with force c. Cauchy's pull peaks at u = c and fades. Geman-McClure peaks earlier, at u = c/√3, and fades faster. Truncated least squares drops a measurement the moment it passes c.
Symptom: the robust map is clean but slightly off, by an amount that grows with the number of false closures.
Measure: the weight of each false closure after the solve. Huber leaves the hero's single false closure a weight of 0.016, yet it still pulls with force c.
Fix: a cost whose pull fades to zero (Cauchy, Geman-McClure, truncated), at the price of Chapter 4's trap.
Chapter 3
Step the reweighting and watch the lie's weight shrink to almost nothing
A robust cost looks like a new kind of problem. It is not. At the best x the pulls add to zero, and each pull is a weight times a miss. So if you knew the weights, the problem would be a weighted least squares, the kind Lecture 9 and Lecture 13 already solve.
You do not know the weights, because they depend on x. So guess, and repeat. This loop is called iteratively reweighted least squares (IRLS):
x-k-plus-one equals the sum over i of w-i times z-i, over the sum over i of w-i.
Weigh each reading z-i by its weight w-i from the last round. Take the weighted average. That is the next estimate. In a pose graph the same step is one weighted Gauss-Newton solve.
Cauchy, c = 1, from the least-squares 0.99 m. The good readings miss by −2.97, −3.97, −2.80, −3.63 sigmas and get weights 0.102, 0.060, 0.113, 0.070. The lie misses by 13.37 and gets 0.0056. The weighted average is 0.103 m.
Each reading's size shows its weight. The purple marker is the estimate; warm ticks are earlier rounds. Choose a cost and step.
Illustrative: the five readings of Chapter 1, noise 0.3 m, width c = 1 sigma. Round 0 is the least-squares answer, 0.99 m. The run stops when the estimate moves less than 10−10 m.
Round 2 gives 0.031 m and round 3 gives 0.010 m. After 20 rounds Cauchy rests at 0.000 m, and the lie's weight stays at 0.0036. IRLS never labels the lie an outlier. It only makes it count for almost nothing.
Huber stops at 0.0625 m after 8 rounds. Its lie keeps a weight of 0.061, because 0.061 times its 16.5-sigma miss is the full Huber pull, c = 1. Four good readings cannot fully cancel that pull without moving. SLAM libraries such as g2o and GTSAM offer these kernels on any factor and apply them by reweighting.
Symptom: the reweighting never settles, or settles somewhere odd.
Measure: the largest change in any weight between rounds.
Fix: start from a better guess, or use the graduated schedule of Chapter 5. IRLS only goes downhill from where it starts.
Chapter 4
Move the start across the valley and watch reweighting fall into the wrong one
A pull that fades has a price. The total cost gets more than one valley. Least squares has one bowl, so any start reaches the bottom. A fading cost can have a valley for the truth and another for a group of lies that agree with each other.
Take nine closures that measure one offset, each with 1 m of noise. Six true ones read near 0 m. Three come from one look-alike place and read near 10 m. They agree with each other, so together they form their own valley.
The purple curve is the total cost over all nine readings. Blue ticks are the six true readings; red ticks are the three look-alikes. Choose a cost and drag the start.
Illustrative: readings −0.6, 0.3, −0.2, 0.5, 0.1, −0.4 (true) and 9.6, 10.1, 10.4 (look-alikes), noise 1 m, width c = 3 sigmas. Reweighting as in Chapter 3, run to convergence.
Squares land at 3.31 m from any start: one bowl, in the wrong place. Geman-McClure from 0 to 5.8 m finds the truth at −0.01 m, with a total cost of 25.7. From 5.9 m on, it lands at 9.88 m, among the look-alikes, with a cost of 49.9. It stops there because every step from that point goes uphill.
Truncated least squares is worse. Started between 3.6 and 6.5 m, every reading is more than 3 sigmas away. Every weight is zero, so nothing pulls and the estimate never moves. Cauchy, the mildest of the three, has a single valley here: it lands at 0.41 m from every start, a little biased by the look-alikes.
The same trap appears in the pose graph. At the odometry start, the hero's 10 true closures miss by 31 to 53 sigmas, because the odometry has drifted. Geman-McClure gives them weights near 0.0001 and throws them away with the lies. The map stays near the odometry, 3.42 m against 3.50 m, even with no false closure at all. Cauchy, from the same start, finds 0.34 m.
Symptom: a robust back end returns the odometry, as if no loop had ever closed.
Measure: the weights of closures you know are true. Near zero means the start was too far off.
Fix: a milder cost first, then a stronger one: exactly what graduated non-convexity does (Chapter 5).
Chapter 5
Start with one bowl, tighten it step by step, and watch the estimate stay with the truth
The trap comes from the start. So do not start with the strong cost. Graduated non-convexity (GNC) starts with a mild version that has one valley, solves it, then makes the cost a little stronger and solves again from the last answer. A control number μ sets the strength.
Yang, Antonante, Tzoumas and Carlone (2020) built GNC for truncated least squares. At small μ their cost is a convex bowl; as μ grows it becomes the truncated cost. Each round solves a weighted least squares, then sets every weight in closed form. Call the inlier bound c̄: the largest miss, in sigmas, a true measurement can have.
w-i equals one if u-i squared is at most mu over mu-plus-one times c-bar squared; zero if u-i squared is at least mu-plus-one over mu times c-bar squared; otherwise c-bar over u-i, times the square root of mu times mu-plus-one, minus mu.
A small miss u-i keeps weight 1; a big one gets 0; in between the weight slides down. The band between the two limits is wide when mu is small. As mu grows, the band narrows onto c-bar, and every weight becomes 0 or 1.
The nine readings of Chapter 4, c̄ = 3. Least squares lands at 3.31 m. The farthest reading misses by 7.09 sigmas, so the first μ is 9 / (2 × 50.25 − 9) = 0.098. Then the band runs from u² = 0.81 to 100.5: a true reading 3.3 sigmas off gets weight 0.20, a look-alike 6.6 sigmas off gets 0.05.
The purple curve is GNC's total cost at the current μ. Bars below show each reading's weight. Step through the rounds.
Illustrative: Chapter 4's readings, c̄ = 3. The schedule follows Yang et al. (2020): μ starts at c̄² / (2u²max − c̄²) and grows by 1.4 each round.
Round 1 moves the estimate from 3.31 to 1.10 m. Round 2 reaches 0.03 m with the look-alikes at weight 0.001. Round 3 sets the six true readings to 1 and the look-alikes to 0: −0.05 m, the mean of the six. The look-alike valley forms later, but the estimate is already in the other one.
In the hero's pose graph, GNC-TLS runs about 20 rounds, each a few Gauss-Newton steps, and ends with every closure labelled right. Yang et al. tested pose graphs with random false closures. GNC-TLS stayed accurate up to 70 to 80% outliers on the INTEL dataset, and up to 90% on CSAIL.
Symptom: GNC rejects true closures too.
Measure: the final residuals of known-true closures against c̄. Odometry that claims too little noise leaves true closures no room to fit.
Fix: state honest noise for every factor, and set c̄ to the largest miss a true measurement can have.
Chapter 6
Build the graph of closures that agree, and watch the largest group win
A different idea: check closures against each other before any solve. Two true closures describe the same world, so they agree. A false closure tells a story the true ones contradict. Pairwise consistency maximization (PCM), from Mangelson, Dominic, Eustice and Vasudevan (2018), uses this.
Take two closures, A from frame iA to jA and B from iB to jB. Walk a loop: closure A, odometry from jA to jB, closure B backwards, odometry from iB back to iA. If both closures are true, you return to the start, within the noise of the four pieces. Call the pose you return to, written in the start frame, e, and its covariance from the four pieces Σ.
e-transpose, times Sigma-inverse, times e, is at most gamma.
Walk the loop through both closures and the odometry between them. Measure how far from the start you end, in sigmas squared. If it is at most gamma, the two closures agree.
In the hero's graph, the first two true closures score 0.69, and every pair of true closures scores at most 3.12: all agree. A true closure against a look-alike scores at least 1,061. Five look-alikes from one group agree with each other, at 1.05 or less.
Draw one node per closure and an edge between every pair that agrees. Then find the largest group in which every pair agrees, the maximum clique, and keep only those closures.
Each node is a closure; purple lines join pairs that agree. Kept closures are green if true, red if false. Choose the kind of lie and how many.
Illustrative: the hero's pose graph, γ = 11.34, odometry noise 5 cm and 0.5° per step propagated to first order. The corridor claims frames 22, 23, ... stand where frames 2, 3, ... stood. The clique search is exact.
Look-alike groups of 5 never beat the 10 true closures, so PCM keeps exactly the true ones at every count, and the map ends at 0.33 m. A long corridor is different. Its false closures agree with each other at every length. At 11 they outnumber the true ones, PCM keeps the corridor and drops the truth, and the map ends 21.4 m off.
Symptom: PCM keeps a tidy, self-consistent set of closures, and the map is wrong.
Measure: the size of the second-largest clique. A rival group close in size means the vote was close.
Fix: let the odometry vote too. GNC-TLS weighs every closure against all 59 odometry factors, and keeps the 10 true closures even against the 20-frame corridor.
Chapter 7
Give each closure a switch, solve for it, and find a robust cost hiding inside
Sünderhauf and Protzel (2012) gave each loop closure its own switch s, a number from 0 to 1. The solver multiplies the closure's cost by s², so s = 0 turns it off. A prior charges for turning it off: Φ(1 − s)², where Φ is how much the solver trusts that closures are true. The solver finds every pose and every switch together.
Hold the poses fixed, so the closure's squared miss χ² (read "chi squared") is a number. Its cost is then s²χ² + Φ(1 − s)². Set the slope in s to zero and solve.
s equals Phi, over Phi plus chi-squared.
Compare the closure's miss chi-squared with the price Phi. A miss far below the price keeps the switch near 1. A miss far above it turns the switch near 0.
With Φ = 10: a closure that misses by χ² = 1 gets s = 10/11 = 0.91. One that misses by χ² = 100 gets s = 10/110 = 0.091, so its cost counts at s² = 0.0083 of full weight.
Put this s back into the cost and simplify: what remains is Φχ² / (Φ + χ²). That is the Geman-McClure cost of Chapter 2, with c² = Φ, and s² is its weight. The switch was a robust cost all along. Black and Rangarajan (1996) proved the general rule. A wide family of robust costs equals a weighted least squares plus a penalty on each weight, called an outlier process.
Each curve is the weight s² a closure gets as its squared miss grows. Purple: the exact switch, which is Geman-McClure. Warm: dynamic covariance scaling. Move Φ and the probe.
Exact formulas. The Cauchy curve uses c² = Φ so the three share a scale.
Dynamic covariance scaling (DCS), from Agarwal, Tipaldi, Spinello, Stachniss and Burgard (2013), drops the extra unknowns. It sets each closure's scale in closed form, s = min(1, 2Φ / (Φ + χ²)), and scales its information by s². That is twice the exact switch, capped at 1: a closure counts fully until χ² reaches Φ. At Φ = 10 and χ² = 100, DCS gives s = 0.18 and a weight of 0.033. The authors note its resemblance to Geman-McClure.
Symptom: switchable constraints switch off true closures, or leave false ones on.
Measure: the final switches against what you know. Being Geman-McClure, the switch inherits Chapter 4's trap.
Fix: tune Φ with care (Yang et al. tried Φ = 1, 10 and 100 for DCS), or run GNC on the same costs.
Chapter 8
Compare a local answer with a lower bound, and read the gap as a certificate
GNC works well in practice, but its answer could still sit in a local valley. Can a solver prove that no better answer exists? That is the aim of certifiable perception.
The trick is a lower bound: a number that no answer can beat. Call the cost of your answer f(x̂), the best possible cost f*, and a lower bound d*. Then the gap between your cost and the bound limits how far you can be from the best.
f of x-hat minus f-star is at most f of x-hat minus d-star.
You cannot see the best cost f-star. But you can compute a floor d-star under it. If your cost f of x-hat sits on the floor, the gap is zero, and your answer is the best: that is the certificate.
The nine readings with truncated least squares, c = 3. Reweighting from 8 m stops at 10.03 m with cost 54.3. The exact scan below gives d* = f* = 27.9. The gap is 26.4: no certificate. From 0 m the cost is 27.9, the gap is 0: certified.
For one unknown, the floor is easy. Each reading is an inlier on an interval of width 2c sigmas. Between consecutive interval ends the set of inliers is fixed, so the best x there is their mean. Scan all the pieces and you have the exact best. Yang, Shi and Carlone's TEASER (2020) solves its scale and translation this way, by adaptive voting. It also finds the maximum clique of agreeing point matches, as PCM does, and certifies its rotation with a semidefinite relaxation that was tight in the authors' tests.
The purple curve is the truncated cost. The dots mark the best cost of each piece of the scan. The warm marker is where reweighting stops from your start. Yellow is the gap.
Illustrative: Chapter 4's readings, c = 3 sigmas. The scan visits all 16 non-empty pieces between the 18 interval ends, so its best cost is exact. Real certifiers bound many unknowns at once with a semidefinite relaxation.
For a whole pose graph, the floor comes from a semidefinite relaxation: a convex problem whose best cost is never above the true best. SE-Sync (Rosen, Carlone, Bandeira and Leonard, 2019) uses one for pose graphs without outliers. Below a critical noise level the relaxation is exact. Its answer then has rank d, the dimension (3 in 3D), and gives the rotations with a proof. Above that level the check can fail, and the solver says so.
Symptom: the certifier reports a gap.
Measure: the size of the gap and the rank of the relaxed answer.
Fix: a gap does not mean the map is wrong, only unproven. Re-solve with GNC, or remove outliers first, then certify again.
Chapter 9
Pick a back end and a kind of lie, raise the count, and watch where each one breaks
Here are six back ends on the hero's pose graph. Choose a kind of lie and a count. The map shows the result. The chart below fills in the error at every count from 0 to 20, so you can read where each back end breaks.
Try least squares, then Huber, then Geman-McClure from the odometry start. Then switch to the long corridor and compare PCM with GNC-TLS past 10.
Illustrative toy, solved in your browser. Huber, Cauchy and Geman-McClure reweight from the odometry start with c = 3.37 sigmas; GNC-TLS uses c̄² = 11.34; PCM keeps the maximum clique at γ = 11.34, then solves least squares. "Breaks" on the chart means a map error over 1 m.
Three things to see. Least squares breaks at the first lie. Huber bends a little with each one: 0.51 m at 1, 4.37 m at 10, 12.6 m at 20 look-alike closures. Geman-McClure stays near the odometry, at 3.42 m, because its start is too far off.
Then the corridor. Cauchy and GNC-TLS hold at every count, because the odometry outvotes the corridor. PCM holds to 10, where the two groups tie, and fails at 11, the first length that outnumbers the truth. In this toy, Cauchy from the odometry start holds too. GNC-TLS adds two things: it needs no good start, and it ends with a clean yes or no for every closure.
Chapter 10
Keep the formulas and numbers, see where the field is going, and walk the whole series back
Least squares lets one far measurement pull without limit, so one false loop closure folds the map. A robust cost caps or fades that pull, and reweighting turns it into weighted least squares. Costs that fade the pull have more than one valley, so graduated non-convexity starts convex and tightens. Consistency checks remove lies before the solve, switches turn out to be robust costs, and certificates prove when an answer is the best.
| Piece | Formula | Number on this page | Watch out |
|---|---|---|---|
| One false closure | least squares, ρ = u² | 0.33 m to 5.96 m | breakdown point 0 |
| Robust objective | argmin Σ ρ(ui) | lie holds 99.7% of the squares | measure u in sigmas |
| Influence | ψ = ρ′/2 | lie pulls 13.37 against 13.37 | bounded is not fading |
| Weight | w = ψ/u | Cauchy at u = 10: 0.0099 | Huber never reaches 0 |
| IRLS | x = Σ w z / Σ w | 0.99 to 0.000 m in 20 rounds | only goes downhill |
| The trap | more than one valley | GM from odometry: 3.42 m | strong cost, bad start |
| GNC-TLS | closed-form w, μ × 1.4 | 20 of 30 false: 0.33 m | honest noise, honest c̄ |
| PCM | eTΣ−1e ≤ γ, max clique | corridor of 11: 21.4 m | big lies win votes |
| Switch | s = Φ / (Φ + χ²) | χ² = 100: s = 0.091 | it is Geman-McClure |
| Certificate | f(x̂) − f* ≤ f(x̂) − d* | gap 26.4, or 0 | a gap means unproven |
python import numpy as np def gnc_tls_weights(r2, mu, cbar2): # Yang et al. 2020, Eq. 14 lo, hi = mu / (mu + 1) * cbar2, (mu + 1) / mu * cbar2 w = np.sqrt(cbar2 / np.maximum(r2, 1e-12)) * np.sqrt(mu * (mu + 1)) - mu return np.where(r2 <= lo, 1.0, np.where(r2 >= hi, 0.0, w)) def gnc_tls(solve, residuals2, n, cbar2=11.34, grow=1.4): """solve(w) -> x: a weighted least squares (your pose-graph solver). residuals2(x) -> u^2 of every robust factor (the loop closures).""" w = np.ones(n) x = solve(w) # all weights 1: least squares r2 = residuals2(x) mu = cbar2 / (2 * r2.max() - cbar2) # convex start prev = None for _ in range(200): w = gnc_tls_weights(r2, mu, cbar2) x = solve(w) r2 = residuals2(x) cost = (w * r2).sum() if prev is not None and abs(cost - prev) < 1e-6 * max(1, prev) \ and np.all((w == 0) | (w == 1)): break prev, mu = cost, mu * grow return x, w # w: 1 = inlier, 0 = outlier
We ran this loop, with a dense Gauss-Newton as solve, on the hero's pose graph in NumPy. It matches the page's own engine on every map in the showcase, to the centimetre.
Cadena and co-authors' survey (2016) called this the robust-perception age of SLAM, and named its open problems. Three lines have moved since, each with one landmark paper.
Dense neural maps (NeRF and Gaussian splatting) and multi-robot, lifelong mapping are the other active fronts. Robust back ends sit under all of them, because every new front end still makes some false matches.
Fourteen lectures build one machine. Each row is the lecture's question and the number its page made you see.
| Lecture | The question | The number you saw | Used here |
|---|---|---|---|
| 1. 3D geometry | where is a point, in which frame? | 4.31 m, or 4.58 m with the frames swapped | poses x, y, heading |
| 2. Lie groups | how do turns add up? | 0.00° off with the exponential map | composing poses |
| 3. Control | how does the drone hold its place? | 4.5 m adrift to 0.00 m with PID | the robot that drives |
| 4. Trajectories | which path can it fly? | minimum snap, 0.035 N·m peak torque | the route |
| 5. Image formation | where does a point land in the image? | column 440 at 2 m and at 6 m | the camera |
| 6. Features | which pixels can be followed? | (2.00, 1.00) px on a corner | matches |
| 7. Two views | how did the camera move? | 9.7° for a 10° turn | relative poses |
| 8. RANSAC | how to fit with wrong matches? | 25.0° with half the pixels wrong | front-end outliers |
| 9. Least squares | which estimate fits all the data? | within 1 cm by Levenberg-Marquardt | every solve |
| 10. Manifolds | how to step on rotations? | 0.001° after five steps | heading updates |
| 11. VIO | how far did it travel? | within 25 cm over 98 m | the odometry factors |
| 12. Place recognition | have I been here before? | 0.30 m with the check, 12.4 m without | the closures |
| 13. Factor graphs | how to solve every pose at once? | a sparse system, solved fast | the back end |
| 14. Robust SLAM | what if some closures lie? | 0.33 m with 20 of 30 false | this page |
Read top to bottom, it is one pipeline. The camera (5) gives pixels, features (6) give matches, two views (7) and RANSAC (8) give clean relative poses, and VIO (11) chains them into odometry. Place recognition (12) proposes closures. The factor graph (13) solves every pose with least squares (9) on the manifold (10). This lecture keeps that back end standing when a closure lies.
Now press Present or Teach. Explain why one false closure folds a least-squares map, what bounded influence means, and how IRLS turns a robust cost into weighted least squares. Draw the two valleys and say how GNC avoids the wrong one. Then go back to the hero, set 20 false closures, and say why Huber bends while GNC-TLS holds.