SLAM Dunk

A pair of smart glasses walks a city for 30 minutes and has to know where it was at every moment. Ordinary academic SLAM drifts far behind Meta's own system on this task. SLAM Dunk keeps an ordinary pipeline and models two sensor effects that standard academic models leave out: the camera calibration slowly changes, and the gyroscope reads turns a little wrong. Training score goes from 69.1 to 82.4, and on the held-out test it beats Aria's SLAM on 3 of 5 categories.

Flip the two switches and walk the route. Watch the estimated trail peel away from the true street, and watch the score at each surveyed pin. Then we build the whole recipe from zero: how a walk is scored, bundle adjustment, why it stalls, and the two fixes.

You need what a camera sees (a 3D point lands on one pixel) and what a gyroscope measures (how fast the device turns). We build the rest.

Fix the sensors

Ready
Camera calibration
Gyroscope G

The walker follows the true street. The coloured trail is where the system thinks the walker went.

Held-out test setAria's SLAM 75.86SLAM Dunk 75.46above Aria on 3 of 5 categories

Scores from the four-way training experiment (Table 1, Fig. 4): mean CP over 13 recordings, ATE over 21. The drift is drawn 40 times larger than the real ATE so you can see it; its shape is a toy, its size follows the table. Each pin's ring uses the CP rule on its drawn error, so the rings are illustrative. Test means by category from the leaderboard snapshot of 3 November 2026 (Table 2).

Chapter 0

The gap nobody closed

See how far published SLAM systems fall behind an industry system on long walks with smart glasses, and meet the bet this paper makes about why

Put on a pair of glasses with cameras and motion sensors. Walk through a city for half an hour: along streets, through a park, into a dim underpass, onto a tram. At the end, ask the glasses where you were at every second. Not roughly. To the nearest few centimetres.

That is the job of SLAM, simultaneous localization and mapping. The device builds a map of what it sees and, at the same time, works out where it is in that map. When the device also has an IMU (an inertial measurement unit: an accelerometer and a gyroscope), the camera half and the motion half are fused. That fusion is called visual-inertial odometry, or VIO.

On the classic test sets, VIO looks like a solved problem. EuRoC flies a drone around a room. KITTI drives a car around a town. Good systems score very well on both. But those recordings last a few minutes, and the sensors sit on a rigid frame.

LaMAria is different. It is a benchmark recorded with Meta's Project Aria glasses, worn on a head, in a real city. Recordings run up to 30 minutes. Heads turn fast. The glasses warm up and flex. And on LaMAria, the published academic systems fall far behind Meta's own system, which the paper calls Aria's SLAM.

The LaMAria test leaderboard

Pick a category. Each bar is a system's CP score, from 0 to 100; higher is better. Below the line are the published systems that the benchmark authors ran themselves.

Table 2: LaMAria test leaderboard snapshot of 3 November 2026, 28 complete entries, top six shown above the line. Mean is the mean over the five categories. Published systems below the line are stereo-inertial, except ORB-SLAM3, which is mono-inertial.

Start with Mean. Aria's SLAM averages 75.9 over the five categories. The best published system that the benchmark authors evaluated, OpenVINS with the Maplab mapping back end, averages 19.5. That is not a small gap. It is a different league.

Since then, other teams have sent entries to the leaderboard, and the gap has narrowed. By 3 November 2026 there were 28 complete entries. The best of them before this paper, GroundedSLAM, reached 72.4. Still below Aria's SLAM.

Where does the gap come from? The common answer is the front end: the part that finds features in images and matches them across frames. Many recent papers swap in learned features, learned matchers or learned optical flow. The idea is that better matches give a better trajectory.

This paper bets the other way. The authors keep a plain, decades-old front end: SIFT features, matched the classic way. They change only the model, the set of equations that says how the sensors relate to the motion. Their claim is that standard models leave out two physical effects:

The camera calibration drifts

camera

A camera calibration is the set of numbers that turns a 3D point into a pixel: the focal length, and where the two cameras sit relative to each other. Standard pipelines fix these numbers for the whole walk. But glasses warm up and bend, so the numbers move.

The gyroscope misreads fast turns

gyroscope

A gyroscope reports how fast the device turns. A cheap one reports each axis a fraction of a percent too big or too small, and leaks a little of one axis into another. Heads turn fast and often, so these small errors pile up.

Add a model for each effect, and nothing else. The result, called SLAM Dunk, scores 75.46 on the test mean against Aria's 75.86. It is above Aria's SLAM on three of the five categories, and the first system to do that. It also took first place on a drone racing benchmark it was never tuned for.

The idea in one line: the missing piece was physics, not features. Let the camera calibration change slowly over the walk, fit the gyroscope's scale and axis errors, and an ordinary pipeline catches up with an industry system.

The price is time. SLAM Dunk runs offline, after the walk, and it looks at the whole recording at once. It is not a live system. Here is the road.

  1. How a walk is scored: surveyed control points and the CP rule.
  2. Bundle adjustment from zero: the factor graph every chapter builds on.
  3. Why the baseline stalls: noise averages out, a wrong model does not.
  4. Glasses warm up and bend: the camera calibration as it really behaves.
  5. A calibration that walks: a new calibration every 5 seconds, tied by a random walk.
  6. The gap grows with length: why long walks need the fix most.
  7. Heads turn fast: the gyroscope matrix G.
  8. Two fixes, a bigger win: the four-way experiment.
  9. The test set, and a drone: the leaderboard and UZH-FPV.
  10. The whole recipe, and its cost: the passes, the priors, the runtime.
  11. Connections: the cheat sheet and the code.
What does SLAM Dunk change, compared with a standard bundle adjustment pipeline?

Chapter 1

How a walk is scored

Drag an estimated point away from its surveyed pin and see how LaMAria turns centimetres into a score out of 100

Before we fix anything, we need a ruler. How do you grade a 30 minute walk through a city? You cannot put a motion-capture studio around a city block. LaMAria uses something older: surveying.

Before the recordings, surveyors measured the exact positions of many fixed points in the city, such as marks on the pavement. These are the control points. Their positions are known to a few centimetres. The walker passes them, and the glasses see them.

After a walk, the benchmark takes the system's trajectory and does three things:

The alignment matters. It forgives a trajectory that is right in shape but shifted, turned or scaled as a whole. What it cannot forgive is a trajectory that bends. A bend puts some points on one side and some on the other, and no single shift or turn fixes both.

The last step uses a fixed rule. Up to 5 cm of error scores a full 100. Beyond that the score falls in straight pieces: 90 at 20 cm, 75 at 50 cm, 60 at 1 m, 40 at 2 m, 20 at 5 m, and 0 at 10 m. A point the system never managed to triangulate scores 0. The CP score of a recording is the mean over all its points. Try the rule.

One control point

Drag the warm point in the top view. The green pin is the surveyed position. The graph shows the scoring rule; the warm dot shows where your point lands on it. The distance scale on the graph is logarithmic.

The rule from LaMAria as stated in the paper (footnote 1): horizontal error scores 100 up to 5 cm, then falls linearly between the breakpoints 20 cm → 90, 50 cm → 75, 1 m → 60, 2 m → 40, 5 m → 20, 10 m → 0.

Notice the shape. The first 5 cm are free. Between 5 cm and 1 m, every bit of error costs a lot: 40 points over that range. Past 1 m, the rule gets gentler. A system that keeps most points within half a metre scores in the 70s. To pass 90, most points need to be within 20 cm.

Now a whole recording. A real walk passes many control points. If the trajectory slowly bends, the alignment splits the error: the middle of the walk may fit well while the two ends drift apart. Every point that drifts past the next breakpoint pulls the mean down.

A whole recording

Slide the drift. It bends the estimated path, so each control point lands off its pin by a different amount. The mean of the ten scores is the recording's CP. Turn on the toggle to lose two points that the system never triangulated.

1.60 m

A toy recording. The bend grows with distance along the walk, and a best-fit shift is removed first, the way the benchmark's alignment removes what a single transform can explain. Scores use the LaMAria rule above.

A worked number. Suppose ten points have errors of 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.8, 1.0, 1.5 and 2.0 metres. Their scores, from the rule, are 96.7, 90, 85, 80, 75, 72, 66, 60, 50 and 40. The mean is 71.5. That is about the baseline we meet in Chapter 3. Shrink every error by a third and the mean climbs to about 79.

The paper reports two numbers on its training recordings. CP is the mean over the 13 training recordings that have control points. ATE is the mean over the 21 that have a dense reference path. That reference is itself accurate to about 20 cm, so errors below that are within its noise. Keep both in mind: CP rewards being close at the pins, and ATE rewards being close everywhere.

An estimated trajectory has the right shape but is shifted 3 metres east as a whole. How does that affect its CP score?

Chapter 2

Bundle adjustment from zero

Build the factor graph a conventional offline pipeline solves, then step the solver yourself and watch every residual pull the map into shape

Every SLAM system has to answer one question: which trajectory and which map best explain everything the sensors recorded? Bundle adjustment answers it directly. Write down every measurement, write down what each one predicts, and adjust all the unknowns at once until the predictions match the measurements as well as possible.

SLAM Dunk does not start from nothing. It takes a first guess from an existing VIO system, Basalt, which runs fast but drifts. Then it refines that guess offline, with the whole recording in view. Here is the baseline recipe, step by step.

The result is a factor graph. Its nodes are the unknowns: keyframe poses, velocities, landmark positions, and calibration numbers. Its factors are the measurements, each tying a few nodes together. Here is the cost the solver minimises.

E
The total cost: how badly the current guess explains the data. The solver changes every unknown to make it small.
ro
The reprojection residual of one observation o: where the landmark should appear in the image, minus where the feature actually was, in pixels.
ρ
A robust loss. It grows like the square for small residuals and more slowly for big ones, so a few bad matches cannot drag the solution.
ri,i+1
The inertial residual between consecutive keyframes: the motion the poses imply, minus the motion the IMU measured. W weights it by the IMU's noise.
Eprior
Soft limits on numbers we roughly know already, such as gravity's size and how far a bias can wander.

The reprojection residual is where the camera calibration enters. To predict a pixel, move the landmark Xl into the keyframe's frame, then into camera c's frame, then project it.

Xl
The 3D position of landmark l in the world.
Ri, pi
The rotation and position of keyframe i, the body of the glasses at that moment. The transpose undoes the rotation.
Rc, tc
Where camera c sits on the body: its rotation and offset. This is the extrinsic calibration.
πc
The camera's projection: the factory fisheye model that bends a direction into a pixel.
f(c)
Camera c's focal lengths, left free for the solver. With Rc and tc, the calibration the baseline holds constant for the whole walk.
uo
The pixel where the feature was actually found.

Read the chain from the inside out: world point, minus the body position, turned into the body frame, minus the camera offset, turned into the camera frame, projected to a pixel. If any number in that chain is wrong, every pixel prediction is a little wrong. Hold that thought until Chapter 4.

Now solve a small one yourself. The toy below is flat: a walker takes five keyframes along a street and sees six landmarks. Each camera measures only the direction to a landmark, the way a pixel does. The IMU measures the step between keyframes. The first guess, like Basalt's, has drifted.

Solve a bundle adjustment

Ready

Press Step for one Gauss-Newton update, or Solve to run until it settles. Dashed grey shows the true layout. Red marks are residuals: the gap between each measured direction and the current guess. Add a bad match, switch the loss, or switch off the inertial factors and solve again.

Loss
Cost E0
Mean pose error0
Iterations0

A flat toy with 22 unknowns (five keyframe positions, six landmarks), direction residuals with 0.01 rad noise, step residuals with 0.05 m noise, and a prior on the first keyframe. The robust loss is Cauchy with a 0.03 rad scale, solved by reweighting. The real problem is 3D, with rotations, velocities, biases and calibration, and has many thousands of unknowns.

Try three experiments. First, Solve as it starts: the poses and landmarks snap toward the true layout within about four steps, and the cost drops to the size of the noise. Gauss-Newton does this by turning the curved cost into a bowl at the current guess, jumping to the bowl's bottom, and repeating.

Second, add the bad match with the Squared loss. One wrong direction pulls the landmark and the poses near it out of place, because a squared cost hates one large residual more than many small ones. Switch to Robust: the bad match keeps a big residual, but its weight shrinks, and the rest of the map settles back.

Third, switch off the inertial factors and solve. The directions alone cannot tell a small world from a big one: shrink every distance by half and every direction stays the same. The solver has nothing to fix the scale, so it barely moves the size of the map. The IMU's steps are what give the map its metres. In 3D they also give gravity's direction.

The real baseline adds more: short optical-flow tracks between keyframes, loop-closure factors when the walker passes the same place more than 30 seconds apart, both of Aria's accelerometers fused, and a retry if Basalt fails to start. It also fits small extras: accelerometer scale and misalignment, two clock offsets, and terms for how the gyroscope changes with temperature. We meet their worth in Chapter 3.

One thing is held fixed through all of this: one camera calibration for the whole walk. The focal lengths are free, but they are the same number from minute 1 to minute 30. And the gyroscope is trusted to report rates in the right scale on the right axes. These two choices are what the rest of the paper takes apart.

In the toy, why does switching off the inertial factors leave the map at the wrong size?

Chapter 3

Why the baseline stalls

Measure the baseline against strong public pipelines, then see why random noise averages away over a long walk while a wrong model leaves a floor

The baseline from Chapter 2 is not a straw man. On the LaMAria training set it scores 69.1 CP with an ATE of 1.02 m. On the ten training walks, it scores 64.9 CP, against 63.4 reported for visloc-rs, the closest public pipeline. On the test leaderboard, visloc-rs sits sixth of 28. So the baseline is about as good as a strong public entry.

Then it stops improving. The authors tried the usual extras, and the table below shows the effect. The surprise is in the two columns.

Extras: accelerometer scale and misalignment, clock offsets, thermal gyro termsTraining CP
Added to the reduced baseline (Fig. 5)68.6 → 69.1, up 0.5
Removed from the full SLAM Dunk system (Fig. 6)down 5.6

The same extras are worth 0.5 points on the baseline and 5.6 points on the full system. Small refinements only pay off once a bigger error is gone. While a large modelling error dominates, polishing anything else barely shows. That is the first hint that the baseline is limited by its model.

The second hint is how the error grows with the length of the walk. Errors come in two kinds, and they grow differently.

Random noise

averages out

Each pixel and each IMU reading is a bit off, in a random direction. Over a long walk, many such errors partly cancel. The total error grows only like the square root of the length. Per kilometre walked, it shrinks.

A wrong model

does not

If the solver assumes a focal length that is wrong by a fixed amount, every frame is wrong the same way. Nothing cancels. The error grows in step with the length, so per kilometre it stays the same: a floor.

Write the error after walking a length L as a sum of the two kinds. Noise grows like √L and a model error grows like L. Divide by the length to get error per kilometre, and the two terms behave very differently.

e
The position error at the end of the walk, in metres.
L
The distance walked, in kilometres. So e / L is metres of error per kilometre.
T
The recording length in minutes. At a steady walking pace, L grows in step with T.
a
How strong the random noise is. Its share falls as 1 / √T: walk four times longer, and it halves.
c
The floor: error per kilometre that does not shrink, however long you walk. It comes from a wrong model.

This is exactly the curve the paper fits in its Figure 1, which we take apart in Chapter 6. First, build the intuition with a toy.

Noise averages, a wrong model does not

Slide the model error. The left plot is the error as the walk goes on: noise alone wanders, and the model error adds a steady climb. The right plot divides by the distance walked. Drag the walk length and watch which curve keeps falling.

0.60
20 min
Noise sample

Illustrative values: walking pace 5 km/h, noise strength a = 0.9 m/km·√min. The paper's own fits are in Chapter 6. The left plot draws one random noise path; the right plot draws the expected error per kilometre.

With the model error at zero, the error per kilometre keeps falling as the walk gets longer. A longer walk is more data, and more data means a better average. That is how a good estimator should behave.

Push the model error up, and the right curve flattens onto the floor. After about 10 minutes, extra walking no longer helps: every new kilometre adds the same error as the last. For a 30 minute walk, the floor is nearly all of the error.

A worked number from the paper. For four training walks re-solved at many lengths, a constant camera calibration levels off at 0.77 m per km. A 2 km walk with that floor carries about 1.5 m of error that no amount of data removes. On the CP rule from Chapter 1, 1.5 m scores 50.

So the authors asked: what in the model is wrong the same way every frame, and gets worse over a long walk? Their two answers are the next four chapters. A camera calibration that changes as the glasses warm, and a gyroscope that misreads every fast turn by the same fraction.

Error per kilometre levels off at a fixed value as the recording gets longer. What does that tell you?

Chapter 4

Glasses warm up and bend

Watch a camera's focal length creep up with temperature, and see why a solver that assumes it is fixed must bend the path

The last chapter ended with a floor: an error per kilometre that does not shrink, however long you walk. Noise cannot make a floor. Noise averages away. A floor means the model is wrong about something, and wrong in the same direction for a long time.

So what could stay wrong for half an hour? Think about what the glasses go through. They start cold from a bag. The processor, the radios and the sensors switch on, and the frame warms up. The wearer walks from shade into sun and back. The paper measured it: over each LaMAria training recording, the IMU temperature changes by 7 to 21 °C.

A camera is a lens and a sensor held a fixed distance apart by plastic and metal. Warm the parts and they expand, so that distance changes a little. A tiny change in that distance changes the focal length, the number that turns an angle into a pixel offset. The glasses also flex. The two cameras sit on a frame that is not perfectly rigid, so the angle between them can shift when the frame warms or the wearer pushes it up their nose.

The baseline from chapter 3 estimates one camera calibration for the whole walk. It has one focal length per camera, one rotation and one offset between the two cameras. If those numbers change during the walk, that model cannot follow them.

From a warm lens to a bent path

Follow one landmark, a street sign. The solver knows where the sign is in 3D, where the head is, and the calibration. From those it predicts the pixel where the sign should appear. It compares that with the pixel where the sign really appears. That gap is the reprojection residual from chapter 2.

Now warm the camera. The real focal length grows, so the real pixel moves a little away from the image centre. The solver still uses the old focal length. The prediction does not move. A residual appears that no noise model expects, and it points the same way frame after frame.

The solver must reduce that residual with the variables it has. It cannot change the focal length, because it holds one value for the whole walk. So it nudges what it can: the head poses, the landmark positions, the IMU biases. Each nudge is small. They all lean the same way, so they add up. The path bends.

Warm the glasses, watch the trail

Drag the temperature rise, or press Walk to play a 30 minute walk while the frame warms up. Pick a camera. Then switch the calibration from constant to time-varying and walk again. The left panel shows one landmark's pixel. The right panel shows the trail from above.

14 °C

The slopes are the paper's medians: 0.028 px per °C for camera 0 and 0.036 px per °C for camera 1, over a 7 to 21 °C range per recording (Sec. 4). The landmark sits half a focal length from the image centre, so its pixel moves by about half the focal change; the shift is drawn about 150 times larger. The focal length of 240 px, the landmark and the trail shape are illustrative. The ATE values in the read-out are the paper's training means (Table 1, G = 0).

A worked number. Take camera 1 on a recording that warms by 21 °C, the top of the paper's range. At the median slope, its focal length grows by

21 °C × 0.036 px/°C = 0.76 px

That looks too small to matter. A pixel is the smallest thing a camera sees. But remember what the score asks for: 5 cm to get full marks, over a walk of a kilometre or more. Suppose the focal length is about 240 px. That is our illustrative value for a wide fisheye camera, not a number from the paper. Then 0.76 px is a 0.3% error in the scale of every angle that camera reports.

0.76 / 240 ≈ 0.32%   over 1 km that is about 3 m if nothing else corrected it

The IMU and the other camera fight that error, so the real damage is smaller. But the effect is plainly large enough to cost points on a 5 cm score.

Does the fitted calibration track something real?

Here is the danger with any model that adds free numbers. A solver with more knobs always fits the data better. It may only be fitting noise. So the authors checked whether the focal lengths they fitted follow a real physical cause. They did.

Over a recording, the fitted focal lengths rise as the IMU temperature rises. The median slope is 0.028 px/°C for camera 0 and 0.036 px/°C for camera 1. The sign is the same on 22 of 23 recordings for camera 0 and on 23 of 23 for camera 1. Temperature explains a good part of the movement: the median R² is 0.54 and 0.71.

Focal length against temperature

Each line is one training recording: how far its fitted focal length moved as it warmed up. Pick a camera. Tap the plot to highlight a recording.

Illustrative lines. The counts are the paper's: 23 recordings, 22 rising for camera 0 and 23 for camera 1, median slopes 0.028 and 0.036 px/°C, temperature ranges 7 to 21 °C (Sec. 4). The spread of slopes and the scatter around each line are our drawing, not the paper's data.

The rotation between the two cameras behaves differently. It follows temperature less closely, with a median R² of only 0.16 for its best axis. It stays within 1 to 6 mrad of where it started. That is a few tenths of a degree, the kind of change a frame makes when it flexes, not only when it warms.

The bet in one line. The baseline's floor is not a weak front end. It is a calibration that is right at the start of the walk and wrong by the end. Let the calibration change, and the floor should drop.
A recording warms by 14 °C and the solver uses one constant focal length for camera 0. What does the solver do with the growing residual?

Chapter 5

A calibration that walks

Give each 5 second chunk its own calibration, tie neighbours together with springs, and choose how stiff the springs are

The fix sounds easy: let the calibration change over time. But one free calibration per frame would be a disaster. A single frame sees a few hundred features. That is not enough to pin down a focal length, two rotations and an offset on top of the head pose. The solver would explain every bit of noise as a calibration change, and the path would become worse, not better.

SLAM Dunk takes a middle road. It cuts the walk into chunks of 5 seconds. Each chunk gets its own calibration.

Then a random walk prior ties each chunk to the one before it. Think of a row of beads on a string, one bead per chunk. Each bead can move, but a spring pulls it toward its neighbour. A calibration can drift a long way over 30 minutes. It cannot jump between two chunks.

What changes, and what stays fixed

Not every part of the calibration gets a bead. Here is the split the paper uses.

  1. Camera 0 is the reference. The stereo pair's frame S sits on camera 0, with the same origin and axes.
  2. Camera 1 moves relative to camera 0. Each chunk k gets a rotation Qk and an offset dk for camera 1.
  3. Both focal lengths move. Each chunk gets fk(0) and fk(1), one for each camera.
  4. The rest stays at the factory value. The principal points and the lens distortion do not change.
  5. The stereo pair is fixed to the IMU. The transform from S to the body, TBS, is held constant for the whole walk.

From those pieces the solver builds each camera's pose on the body for each chunk:

TBS = (A, a)
Where the stereo pair sits on the body (the IMU): a rotation A and an offset a. Fixed for the whole walk.
T01,k = (Qk, dk)
Where camera 1 sits relative to camera 0 in chunk k: a rotation and an offset. A new pair every 5 seconds.
TBC0
Camera 0 on the body. Because camera 0 defines S, it is simply TBS.
TBC1,k
Camera 1 on the body in chunk k: first go to S, then from camera 0 to camera 1. Its rotation is A Qk and its offset is a + A dk. These feed the reprojection residual of Eq. (1).

Why hold TBS fixed? Because otherwise there are two explanations for the same pixels. Suppose both cameras appear to turn a little. Did the head turn, or did the whole stereo pair turn on the frame? The images alone cannot tell.

The IMU could tell, but the IMU has its own biases and calibration that the solver is also fitting. Let every one of those move and they trade off against each other. Fixing TBS removes one side of the trade. Only the deformation inside the stereo pair is left free, and the two cameras can measure that against each other.

Two explanations, one picture

The map shows the cost of explaining a shared camera turn with a head turn (across) or a turn of the stereo pair on the frame (up). Free the stereo-to-IMU transform and the cost has a long flat valley. Fix it and one answer is left.

A two-variable cartoon of an ambiguity, drawn by us. The real solver has thousands of variables. The paper states the reason for the fixed transform: to constrain ambiguities between shared camera motion, estimated body motion, and IMU calibration and biases (Sec. 4).

The springs

Now the random walk itself, Eq. (3) of the paper. It adds one penalty for every pair of neighbouring chunks.

Log(Qk−1⊤Qk)
The rotation that takes chunk k−1's camera 1 orientation to chunk k's, written as a small 3D vector. Its length is the angle turned. σR = 1 mrad.
dk − dk−1
How far camera 1's offset moved between chunks. σt = 0.5 mm.
fk(c) − fk−1(c)
How much camera c's focal length changed between chunks, in pixels. σf = 0.035 px.
Epath
The total spring energy. It is added to the cost E of Eq. (1), so the solver trades smooth calibrations against small reprojection residuals.

Each σ is the size of a step the prior finds normal between two chunks. Dividing by σ² makes a step of one σ cost 1. A step of three σ costs 9. So small drifts are cheap and sudden jumps are expensive. That is exactly the behaviour of a frame that warms slowly.

Why is it called a random walk? Read the prior as a story about how the calibration was made. Each chunk, nature adds a small random step with standard deviation σ. After K chunks the steps add up, and the spread grows like √K, the way a drunk walker's distance from the lamp post grows. Over a 30 minute walk there are 360 chunks, so the prior lets the focal length wander about √360 × 0.035 ≈ 0.66 px. That is about the same size as the temperature drift in chapter 4, up to 0.76 px.

A few more priors keep the walk honest. Each focal length has an absolute prior of 0.5√K px around its factory value. The two focal axes of one camera must agree within 0.05 px. The length of the stereo baseline has its own 0.5 mm prior.

Set the spring stiffness

The dashed line is a hidden true focal length over 4 minutes, 48 chunks. The dots are each chunk's noisy evidence from the images. The teal line is the best fit with the random walk prior. Slide σf: stiff springs give a constant, loose springs chase the noise. Switch the truth between a slow warm-up and a sudden knock.

0.035 px

Illustrative truth and evidence noise (0.08 px per chunk, our choice). The fit is the exact minimum of the evidence term plus the focal part of Eq. (3), solved as a tridiagonal system. The paper's value is σf = 0.035 px per chunk (Table 5). The warm-up drift is exaggerated about five times to fit a 4 minute window.

Play with the slider and three regimes appear. With very stiff springs every bead lines up, and you are back to the baseline's single calibration. With very loose springs each bead follows its own noisy evidence. In between, the fit follows the slow warm-up and ignores the jitter. That middle is where the paper's 0.035 px sits.

The sudden knock is the hard case. A random walk does not like jumps, so it smears the step over several chunks. Real glasses can be bumped. The paper does not model such jumps directly, and earlier work handles them by detecting a change and re-estimating.

How much does it buy? On the training set, the time-varying calibration adds 8.0 CP without G, helping on 9 of 13 recordings. With G fitted it adds 11.0 CP, helping on 11 of 13. Mean ATE falls from 1.02 to 0.66 m without G, and from 0.88 to 0.43 m with it.

Why does SLAM Dunk hold the stereo-to-IMU transform TBS fixed while letting camera 1 move relative to camera 0?

Chapter 6

The gap grows with length

Re-solve one walk as many shorter recordings and measure where each model's error per kilometre bottoms out

Chapter 3 made a prediction. If the baseline's trouble is a model error, then its error per kilometre should stop falling at some floor. A model without that error should keep falling. And the gap between the two should grow as walks get longer. The authors tested exactly that.

They took four training walks: 3_17, 3_18, 2_12 and 1_19. They cut them into 84 recordings of 2 to 20 minutes, plus the four full walks of 28 to 30 minutes. Each piece was solved on its own, twice: once with a constant calibration and once with the time-varying one. Then they plotted the error per kilometre walked against the length of the recording.

A curve with two parts

They fit every set of points with the same simple shape:

e / L
The error per distance walked, in metres per kilometre. Dividing by L makes a 2 minute walk and a 30 minute walk comparable.
T
The length of the recording, in minutes.
a / √T
The part that averages away. Random noise shrinks like one over the square root of the amount of data, as in chapter 3.
c
The floor: the error per kilometre that never goes away, however long the walk. A systematic model error lives here.

The fitted floors are the headline. With a constant calibration the floor is 0.77 m/km, with a 95% interval of 0.48 to 1.04. With the time-varying calibration it is 0.09 m/km, with an interval of 0.00 to 0.20. That second interval includes zero. At the accuracy of the reference, about 20 cm, the time-varying model has no floor that the data can detect.

Where the error bottoms out

Both axes are logarithmic. Drag the length to read both curves and their ratio. Switch between recordings solved on their own and windows taken from inside one whole-walk solve.

10 min

Floors and intervals are the paper's (Fig. 1). The paper gives the floors but not the a values. We reconstructed a ≈ 0.65 (constant) and a ≈ 1.21 (time-varying) m/km·√min from the floors and the paper's predicted ratios, so the solid curves are our reconstruction. In the second view the floors 0.99 and 0.10 are the paper's; the curve shapes are a sketch of Fig. 1b.

The second view answers a different question. Instead of solving short recordings, take one solve of the whole walk and measure the error inside windows of different lengths. Now the constant calibration stays near 1 m/km at every window size, a floor of 0.99. A longer window does not help it at all. The time-varying calibration falls as 1/√T toward a floor of 0.10, just like pure noise.

Look at the left end of the first view. At 2 minutes the two curves are close: the measured ratio is only 1.25. On a short walk the temperature barely moves, so a drifting calibration has little to follow. Most of the error there is noise, which both models share. The payoff comes with length.

The ratio, measured and predicted

Divide one model's error by the other's for each of the 84 recordings. If the floors are the whole story, that ratio should follow the curve the two fits predict. Nothing is fitted to the ratios themselves.

The gap grows

Black dots are the paper's median ratio at each length. The line is the ratio the two floor fits predict. Tap a dot to read it.

Medians and predictions from Fig. 2: measured 1.25, 1.51, 2.09, 2.49, 2.77 at 2, 5, 10, 15, 20 min and 2.46 for the full walks; predicted 1.30, 1.68, 2.06, 2.32, 2.53, 2.85. Spearman ρ = 0.51 over 84 chunks. Chunks from one walk overlap, so they are not independent. The full walks are placed at 29 min.

The medians climb with the prediction: 1.25× at 2 minutes, 2.09× at 10 and 2.77× at 20. The full walks are the exception. They come in at 2.46 against a predicted 2.85, so the gain at full length is a bit smaller than the floors alone suggest. The paper reports this plainly.

A third view comes from Fig. 3 of the paper. Slide a window along each surveyed walk and measure the local position error, with each window aligned on its own. Compared with the baseline, the time-varying calibration lowers the error to 0.93× over 10 m windows but to 0.66× over 500 m windows. A short stretch barely notices the fix. A long one does.

The constant calibration's fitted floor is 0.77 m/km and the time-varying one's is 0.09 m/km. What does a floor mean in e / L = a / √T + c?

Chapter 7

Heads turn fast

Measure how a tiny gyroscope scale error grows with rotation speed, and fit it as one 3 by 3 matrix

The camera is half the sensor story. The other half is the gyroscope, the part of the IMU that measures how fast the head turns. Between two keyframes the solver integrates the gyro's readings to predict the rotation. The cameras then check that prediction. If the gyro is off, the two disagree, and the solver must split the difference.

A gyroscope has two kinds of error that matter here. A scale-factor error means it reports 1.003 turns when the head turned once. An axis misalignment, or cross-axis error, means its three axes are not quite at right angles. Then a pure turn around one axis leaks a little into another. Both errors share one key property: they grow with rotation speed. Hold the head still and they vanish. Turn it fast and they grow.

How fast do heads turn?

Faster than drones and cars, for long stretches. Across the 21 LaMAria training recordings with dense references, the head turns at a median 45 °/s. It is faster than 100 °/s for 10.5% of the time. It makes about nine full turns per minute. And a recording can last 30 minutes. People look around when they walk through a city.

Error per keyframe against noise

Drag the head speed and the size of the scale and cross-axis error. The bar is the rotation error over one 0.6 s keyframe interval. The yellow band is the gyroscope's own white noise over the same interval. The curve behind shows how often the head turns at each speed.

45 °/s
0.26%

Paper numbers: median 45 °/s, above 100 °/s 10.5% of the time, error size median 0.26% (0.13 to 0.47%), keyframe interval 0.6 s, gyro noise density 5×10−4 rad s−1 Hz−1/2, giving 0.022° per interval (Sec. 5). The speed curve is a log-normal shape we matched to the two speed numbers; it is illustrative. The 10 °/s preset is our example of a slow turn, not a paper figure.

Here is the paper's arithmetic, step by step. At the median speed the head turns

45 °/s × 0.6 s = 27° per keyframe interval

The error the paper fits has a median size of 0.26%. Applied to 27° that is

27° × 0.0026 ≈ 0.07° per interval

Now the noise. The gyro's white noise density is 5×10−4 rad s−1 Hz−1/2. Over 0.6 s its standard deviation is that times √0.6:

5×10−4 × √0.6 ≈ 3.9×10−4 rad ≈ 0.022°

So the systematic error is about three times the noise, in every interval where the head turns at a normal speed. The inertial factor of Eq. (1) weighs its residual by the noise level. An error three times the noise looks like a bad measurement, over and over.

The model: one matrix for the whole walk

SLAM Dunk fits the gyro's error as a full 3 by 3 matrix G, one for the whole recording. Every rate reading is corrected like this:

ωt
The gyro's rate at time t, after the factory's own correction: three numbers in rad/s.
G
The 3 by 3 correction: scale errors on the diagonal, axis coupling off it. One G per recording, a global variable in the factor graph.
bg,k(t)
The gyro bias of the 5 s chunk that contains t. It follows a random walk, σb = 2×10−5 rad/s per chunk, around a temperature trend.
vec G ∼ N(0, σG² I9)
A weak prior on all nine entries, σG = 0.002 each, so G stays small unless the data demand otherwise.
ω̂t
The corrected rate that the solver integrates between keyframes.

A bias and a scale error look different over time. The bias is an offset that exists even when the head is still. It drifts slowly, so it gets one value per chunk. The scale error is a gain that is zero at rest and grows with speed. It is stable, so one matrix covers the whole walk.

The integration has a cost. Between two keyframes the solver multiplies hundreds of small rotations together, a step called preintegration. Redoing it every time G changes would be slow. So within one solver pass it uses a first-order correction:

ΔR̄ij
The rotation from keyframe i to j, integrated once at the current calibration.
JG, Jb
How that rotation changes when G or the bias changes a little. Small changes become a small extra rotation, applied with Exp.
ΔRij(G, bg)
The corrected rotation used in the inertial residual. Between passes the solver re-integrates from scratch at the new calibration, so the first-order error does not pile up.

A fingerprint of the device

Any 3 by 3 matrix splits into a symmetric part and an antisymmetric part. Under this parameterization the symmetric part holds the scale and cross-axis corrections. The antisymmetric part acts like a small rotation of the gyro's frame. The paper measures the error size with the symmetric part: a median Frobenius norm of 0.26%, from 0.13 to 0.47% over all 23 training recordings.

If G captures something physical about one gyroscope, then two recordings from the same pair of glasses should give similar G's. Two different pairs should not. The 23 training recordings came from four devices. The paper compares the symmetric parts with a cosine similarity: 0.85 median within a device, −0.21 between devices.

Same glasses, same G

Each grid is the symmetric part of G for one recording, nine cells, coloured by sign and size. Pick two recordings. The cosine similarity compares the two grids as 9-number vectors.

Illustrative matrices, built by us with a Frobenius size near the paper's 0.26% and similarities near its medians: 0.85 within a device and −0.21 between devices (Sec. 5). The real per-device matrices are not printed in the paper.

That is strong evidence that G is not just soaking up noise. A pure noise fit would give a different matrix every walk. Instead the same glasses give nearly the same correction on different days.

On its own G is a modest win: it adds 2.3 CP to the constant-calibration baseline. Next chapter shows the surprise. Added on top of the camera path, the same G adds more than twice as much.

Why is a 0.26% gyroscope scale error a bigger problem on head-worn glasses than on a slowly turning car?

Chapter 8

Two fixes, a bigger win

Switch each fix on and off, and measure how much more they give together

You now have two repairs. Chapters 4 to 6 let the camera calibration walk with time. Chapter 7 gave the gyroscope a full 3 × 3 correction matrix, G. Each one fixes a different sensor. So the obvious guess is that their gains simply add.

The paper tests that guess the clean way. It solves every training recording four times: camera calibration constant or time-varying, crossed with G held at zero or fitted. Everything else in the pipeline stays the same. A design like this is called a factorial: every combination of the factors is run, so you can read each effect with the other factor on and off.

Two numbers score each run. CP is the control-point score from Chapter 1, the mean over the 13 training recordings that have surveyed points (higher is better). ATE is the absolute trajectory error in metres, the mean over the 21 recordings with dense references (lower is better).

Run the factorial

Pick the camera model and the gyroscope model to choose one cell. Then pick a view. "Lines" draws the two calibration models across G; if the gains only added, the two lines would be parallel.

Cells: Table 1 (CP over 13 training recordings, ATE over 21). Confidence intervals: Sec. 6, 95% bootstrap over recordings. Per recording: Fig. 4c, which gives counts and the two named exceptions; we draw only those, not per-recording scores. 500 m windows: Fig. 3b, error relative to the baseline, median of 10 surveyed walks, values read from the figure labels. Removal: Fig. 6, each term removed from the full system.

Read the four cells

G = 0G fittedG adds
Constant calibration69.14 CP / 1.018 m71.47 CP / 0.883 m+2.3 CP
Time-varying calibration77.13 CP / 0.663 m82.42 CP / 0.430 m+5.3 CP
The camera path adds+8.0 CP+11.0 CP

Read along a row and G helps. Read down a column and the camera path helps. But look at the size of each gain. G adds 2.3 points when the calibration is constant and 5.3 points when it is time-varying. The camera path adds 8.0 points without G and 11.0 with it. Each fix is worth more when the other one is on.

That extra is the interaction. You compute it as a difference of differences:

CPtv,G
Time-varying camera calibration and G fitted: the full SLAM Dunk recipe. 82.42.
CPtv,0
Time-varying calibration, G held at zero. 77.13.
CPconst,G
One constant calibration for the whole walk, G fitted. 71.47.
CPconst,0
The baseline of Chapter 3. 69.14.
interaction
How much more G gives when the camera path is on. Zero means the gains add. Positive means they help each other.

(82.42 − 77.13) − (71.47 − 69.14) = 5.29 − 2.33 = +2.96 ≈ +3.0 CP

Check: 2.33 + 8.0 + 2.96 ≈ 13.3, the total gain from 69.1 to 82.4.

Is +3.0 real or luck? With only 13 recordings, the paper reports a 95% bootstrap interval of 0.6 to 5.7 points. The whole interval is above zero, and the interaction is positive on 11 of the 13 recordings. So the honest statement is: the two fixes help each other, and the size of that help is uncertain, somewhere from a little to a lot.

Why might they help each other?

The paper measures the interaction. It does not explain it. So what follows is our reading, not a finding.

A bundle adjustment solver explains every pixel error with whatever free variables it has. With one constant calibration, the slow drift from the warming glasses has nowhere honest to go. Some of it can leak into G, the biases and the poses. Then G is busy soaking up camera error, and its fit of the true gyroscope error is blurred. Give the camera its own path, and the camera error leaves G alone. G can then fit what it was built for. That would make each fix cleaner when the other is present.

The repeatable G fingerprint per device (cosine similarity 0.85 within a device, −0.21 between devices, Chapter 7) fits this story, because it was fitted with the camera path on. But the paper does not run that check with the camera path off, so this stays a plausible reading.

Not every recording wins

A mean can hide losers, so look at recordings one by one ("Per recording" in the device). With both fixes, 11 of the 13 recordings improve over the baseline. Recording 1_20 gets worse, by 4.8 points. Recording 5_12 is not solved by either configuration. On ATE, both fixes lower the error on 16 of 21 recordings, and the mean falls by 58%, from 1.02 m to 0.43 m.

The gain also grows with distance. Chapter 6 showed the floor: a constant calibration leaves an error that does not average away. Over windows of 500 m along the path, the time-varying calibration brings local error to 0.66 of the baseline's, and both fixes to 0.45, below the baseline on 10 of 10 walks. G alone stays near 0.98 there. Over short 10 m windows the camera path gives only 0.93. Long walks are where the missing physics shows.

Take a term out instead

Adding terms one at a time makes each gain depend on the order. The paper also does the reverse: start from the full system and remove one term, keeping everything else. That is the "Remove a term" view.

Removed from the full systemCP lostATE with it removed ÷ ATE with it on
Camera path (time-varying calibration)11.01.98×
G (gyroscope scale and misalignment)5.31.49×
Accelerometer intrinsics3.31.12×
Clock offsets2.31.38×
Thermal gyroscope terms0.51.02×
Accelerometer, clock and thermal together5.61.38×

The camera path is the largest single term by far. Removing it nearly doubles the trajectory error. The baseline's small extras matter too: as a group they cost 5.6 points when removed, even though adding them to the reduced baseline gained only 0.5 (68.6 to 69.1, Chapter 3). This is the same lesson as G, seen again. A term's worth depends on what else is in the model.

The design lesson. Test fixes together, not one by one against a weak baseline. A model that is wrong in two places can hide each error behind the other. Fix one, and the second error gets easier to see and to fit.
G adds 2.3 CP with a constant calibration and 5.3 CP with a time-varying one. What is the interaction, and what does a positive value mean?

Chapter 9

The test set, and a drone

Take the recipe to recordings it never saw, then to a drone it was never built for

Everything so far used the LaMAria training recordings. The authors tuned the recipe there, so those numbers can flatter it. The real test is the held-out test set, scored by the benchmark's own server. The authors cannot see its ground truth.

They run the full recipe, both fixes on, with the hyperparameters of Appendix A. The leaderboard splits the test recordings into five categories: Short, Medium and Long walks, Low light, and Moving. The categories come from the benchmark; the paper reports scores per category but does not analyse them one by one. The snapshot is from 3 November 2026, with 28 complete entries.

Read the leaderboards

Pick a board. On LaMAria, pick a category to rank the entries by it. The grey bar is Aria's SLAM, the industry system.

LaMAria: Table 2, CP, snapshot of 3 November 2026; 18, 10, 16, 9 and 10 recordings per category. "Mean" is the mean over the five categories. Entries below the dashed line are published systems run by the benchmark authors. UZH-FPV board: Table 3, translation error on six private test flights, 5 November 2026, top 6 of 17. UZH-FPV factorial: Table 4, pooled relative pose error on six public flights, 40 to 120 m windows.

Against Aria's SLAM

CategorySLAM DunkAria's SLAMDifference
Short89.690.7−1.1
Medium78.978.5+0.4
Long71.170.9+0.2
Low light85.484.2+1.2
Moving52.355.0−2.7
Mean over categories75.4675.86−0.40
Mean over recordings76.6877.13−0.45

SLAM Dunk scores above Aria's SLAM on three of the five categories: Medium, Long and Low light. The paper calls it the first entry to do so. It is below on Short and Moving, and the two means are within half a point. So the accurate summary is: comparable overall, ahead in three categories. Not "beats Aria's SLAM".

The margins in the three winning categories are small, 0.2 to 1.2 points. With 10 to 16 recordings per category, a margin that small could flip on another snapshot. What does not flip is the jump from where academic systems were. The best published system run by the benchmark authors averages 19.5. SLAM Dunk averages 75.5, with a front end of plain RootSIFT features.

Where it loses: Moving

The Moving category is the hardest for every strong entry. Aria's SLAM scores only 55.0 there and SLAM Dunk 52.3, its lowest category. The paper gives no analysis of why, and neither fix was designed for it. So treat it as the open problem the numbers point to, not a solved one.

A drone it was not built for

A recipe tuned on head-worn glasses could be overfitted to glasses. So the authors also run it on UZH-FPV, a drone-racing dataset. The drone flies fast and turns hard. They change only two things. The keyframe spacing drops to 0.3 s for the faster motion. And they use the dataset's own published calibration and noise densities in place of the Aria factory values.

It took first place on the original UZH-FPV leaderboard at submission: 0.457% translation error over six private test flights. The next entry, Lenovo_LR_ShangHai, scored 0.640%. OpenVINS, the classic open system, scored 0.811%.

The drone splits the two fixes apart

The drone is a useful second experiment. Its frame is probably more rigid than a pair of glasses, so the camera calibration should drift less. But it turns fast, so G should matter. The factorial on six public flights matches that prediction:

Relative pose error, % (lower is better)G = 0G fitted
Constant calibration0.4940.452
Time-varying calibration0.4910.433

G lowers the error on 5 of the 6 flights. The camera path alone barely moves it, 0.494 to 0.491, and helps on only 2 of 6. With G fitted, the camera path still lowers the error by 0.019 points. That is about half of G's own gain without the path (0.042). The two fixes respond to the two physical causes, rigidity and rotation speed, the way the theory says they should.

On the UZH-FPV drone, G lowers the error a lot while the camera path alone barely changes it. On LaMAria glasses, the camera path is the bigger fix. What best explains the difference?

Chapter 10

The whole recipe, and its cost

Step through the three solver passes, and count what one recording costs

The title says "recipe" on purpose. The two new models are the headline, but they only work inside a careful solver. A wrong feature match, one bad pixel pairing among millions, can pull a whole trajectory off. So the solver runs in three passes. Each pass trusts the data a little more than the one before.

Why a robust loss

Plain least squares squares every residual. A residual of 10 pixels costs 100, a hundred times a residual of 1 pixel. One wrong match can then outweigh a hundred good ones. A robust loss ρ grows more slowly for big residuals, so outliers lose their pull. The two the recipe uses:

ρHuber
Squared near zero, straight beyond δ. An outlier's pull stops growing: it is capped at δ.
δ
Where Huber turns from squared to linear. Pass 1 uses 1 pixel.
ρCauchy
Grows only like a logarithm. A far outlier's pull falls back toward zero, so it is almost ignored.
c
The Cauchy scale. Pass 2 adapts it to the data, kept between 0.45 and 1.5 pixels.

Pull of a 10 px residual (the slope of ρ): squared 10   Huber (δ = 1) 1   Cauchy (c = 1) 10 ÷ (1 + 100) ≈ 0.1

Step the three passes

Each dot is one observation's reprojection residual. Step through the passes and watch which observations the solver keeps, and how hard each one pulls. Drag the outlier slider to see one bad match against each loss.

6.0 px

Pass settings: Table 5 (Passes row). The residual cloud is an illustrative toy, not data from the paper; the loss curves are the exact Huber and Cauchy formulas with the paper's 1 px threshold and a Cauchy scale inside its 0.45 to 1.5 px range.

The three passes, in words

  1. Pass 1, Huber at 1 pixel. Solve everything with a loss that caps each observation's pull. Then remove every observation whose residual is still above 3 pixels. A landmark keeps at least 2 observations, so no point is deleted outright by this cut.
  2. Pass 2, adaptive Cauchy. Solve again on the cleaned data with a loss that almost ignores far outliers. Its scale adapts between 0.45 and 1.5 pixels.
  3. Pass 3, calibration frozen. Freeze the fitted camera path, G and the other calibration values. Recover tracks that now fit within 0.8 pixels, and weight each observation by the scale its SIFT feature was found at (a feature found at a coarse scale is located less precisely). Then refine the trajectory alone.

Why freeze the calibration at the end? Calibration and trajectory can trade error with each other. Once the calibration is settled on clean data, fixing it stops it from bending to fit the tracks recovered in pass 3. Between passes, the inertial factors are also re-integrated at the current calibration, so the first-order corrections of Eq. (5) never drift far from the truth.

The priors, in one table

Every free variable gets a prior: a statement of how far it may move. These numbers are the recipe. They come from Table 5.

WhatPriorWhat it says
Camera rotation walkσR = 1 mrad per 5 s chunkThe stereo pair may twist a little between chunks
Camera translation walkσt = 0.5 mm per chunkThe baseline between the cameras may flex slightly
Focal length walkσf = 0.035 px per chunkFocal length may creep, as it does with temperature
Focal absolute0.5√K px (K chunks)Over the whole walk, focal may wander about as far as a random walk would
fx − fy0.05 pxThe two focal lengths of a camera stay nearly equal
Stereo baseline length0.5 mmThe glasses do not stretch
GσG = 0.002 per entryGyroscope errors are a fraction of a percent
Gyroscope biaswalk σb = 2×10−5 rad/s per chunkBias drifts slowly around its temperature trend
Accelerometer bias0.4 m/s2 absolute, 0.005 m/s2 walkAccelerometer bias is loose overall, slow per chunk
Clock offsets1 msIMU, camera and accelerometer clocks nearly agree
Gravitynorm 9.806 m/s2, σ 0.01Gravity's size is known; its direction is fitted

What one recording costs

The whole bundle adjustment for one training recording, up to 30 minutes long, takes a median of 2.0 minutes and at most 5.5 minutes, on 6 threads of an AMD Ryzen 9 7950X3D desktop processor. Peak memory is at most 1.4 GiB. The seed VIO and the feature extraction are extra and not in that count. Each pass is capped at 250 solver iterations and 598 seconds.

So the recipe is not expensive. It is offline and non-causal: to place the walker at minute 5, it uses images from minute 25. A headset that must show a hologram in the right place right now cannot wait for the walk to end.

The honest limits

After pass 1, why does the recipe switch from Huber to Cauchy instead of keeping Huber?

Chapter 11

Connections

Lock in the cheat sheet, name the limits, and place SLAM Dunk in the field

You can now read the SLAM Dunk paper and defend each of its choices. How LaMAria scores a walk. Why a good bundle adjustment pipeline stalls near 69 CP. Why the glasses' calibration must be allowed to walk, and why it walks in 5 second chunks with camera 0 as the anchor. Why fast heads make gyroscope scale errors matter. And why the two fixes are worth more together. Let's lock it in.

The one-paragraph summary

On LaMAria, long walks recorded by head-worn Project Aria glasses, published academic SLAM systems scored at most 19.5 CP while Meta's proprietary Aria SLAM scored 75.9. A conventional offline bundle adjustment pipeline (Basalt seed, RootSIFT tracks, preintegrated IMU factors, Ceres) closes much of the gap but stalls at 69.1 CP on the training set.

SLAM Dunk bets the rest is missing physics. It gives the stereo calibration its own value in every 5 second chunk, tied by a random walk, because the glasses warm by 7 to 21 °C and their focal lengths rise with temperature. And it fits a full 3 × 3 gyroscope correction G, because heads turn at a median 45 °/s, where a 0.26% scale error is three times the gyroscope's noise.

Together the two raise training CP from 69.1 to 82.4 and cut ATE by 58%, with a positive interaction of 3.0 points. On the held-out test set it scores above Aria's SLAM on three of five categories and is within 0.4 points overall. It also took first place on the UZH-FPV drone leaderboard. The cost: it runs offline, about two minutes per recording.

The numbers that matter

QuantityValueWhy it matters
The gappublished ≤ 19.5 CP; Aria's SLAM 75.9Academic SLAM was far behind on long egocentric walks
CP score100 to 5 cm, 90 at 20 cm, 60 at 1 m, 0 at 10 mHorizontal error at surveyed points; untriangulated = 0
Baseline69.1 CP, 1.02 m ATE (training)A careful conventional pipeline stalls here
Chunk length5 s for biases, stereo pose and focal pairsThe calibration gets one value per chunk
Walk priors1 mrad, 0.5 mm, 0.035 px per chunkHow fast the calibration may drift
Temperature7 to 21 °C; focal +0.028 / +0.036 px per °CThe fitted drift follows physics (22 of 23, 23 of 23)
Floor0.77 m/km constant; 0.09 time-varyingA constant calibration leaves error that never averages away
Head speedmedian 45 °/s; over 100 °/s 10.5% of the timeGyroscope scale errors scale with rotation speed
G error0.26% median; 0.07° vs 0.022° noise per 0.6 sThree times the noise, every keyframe
Factorial69.1, 71.5, 77.1, 82.4 CPInteraction +3.0 (0.6 to 5.7); 11 of 13 improve
Test75.46 vs Aria 75.86 (category mean)Above Aria on Medium, Long, Low light
UZH-FPV0.457% translation error, first placeThe recipe transfers to a fast drone
Cost2.0 min median, 5.5 max, 1.4 GiBCheap, but offline and non-causal

The core, in code

Three small pieces carry the paper: the score it is judged by, the random-walk prior that lets the calibration drift, and the corrected gyroscope rate. Here they are in plain Python with NumPy.

pythonimport numpy as np

# 1. LaMAria's CP score: horizontal error (m) at each control point -> 0..100
CP_X = [0.0, 0.05, 0.20, 0.50, 1.0, 2.0, 5.0, 10.0]
CP_Y = [100, 100, 90, 75, 60, 40, 20, 0]
def cp_score(errors):                  # None = point could not be triangulated
    pts = [0.0 if e is None else np.interp(e, CP_X, CP_Y, right=0.0) for e in errors]
    return float(np.mean(pts))

# 2. Random-walk prior on per-chunk calibration (Eq. 3), as whitened residuals
SIG_R, SIG_T, SIG_F = 1e-3, 0.5e-3, 0.035   # rad, m, px per 5 s chunk
def so3_log(R):                         # rotation matrix -> rotation vector
    th = np.arccos(np.clip((np.trace(R) - 1) / 2, -1, 1))
    w = np.array([R[2,1]-R[1,2], R[0,2]-R[2,0], R[1,0]-R[0,1]]) / 2
    return w if th < 1e-9 else w * th / np.sin(th)
def path_residuals(Q, d, f):             # Q[k] 3x3, d[k] 3-vector, f[k] = (f0, f1)
    r = []
    for k in range(1, len(Q)):
        r += list(so3_log(Q[k-1].T @ Q[k]) / SIG_R)   # stereo twist between chunks
        r += list((d[k] - d[k-1]) / SIG_T)          # stereo baseline flex
        r += list((np.array(f[k]) - f[k-1]) / SIG_F)  # both focal lengths creep
    return np.array(r)                       # solver minimises the sum of squares

# 3. Corrected gyroscope rate (Eq. 4): full 3x3 scale and misalignment, plus chunk bias
def corrected_rate(omega, G, b_chunk):
    return (np.eye(3) + G) @ omega - b_chunk

# worked check: 0.26% scale error at 45 deg/s over a 0.6 s keyframe interval
err_deg = 0.0026 * 45 * 0.6                 # = 0.070 deg
noise_deg = np.degrees(5e-4 * np.sqrt(0.6))  # = 0.022 deg: about 3x smaller

The real system builds these residuals inside Ceres, adds the reprojection and preintegrated inertial factors of Eq. (1), and solves for thousands of keyframes at once with a sparse Schur solver. The pieces above are the parts that are new.

The limits, in short

Where it sits in the field

Keep going

The takeaway. When a careful system stalls, the next gain may not come from a better front end or a bigger network. It may come from a model that tells the truth about the hardware. Glasses warm up and flex, and gyroscopes misjudge fast turns. Write that physics into the cost function, give it a prior, and an ordinary bundle adjustment pipeline reaches the level of an industry system.

Now press Present or Teach and explain, out loud and from memory, why a constant calibration leaves an error floor that more walking never removes, and why letting the calibration walk takes it away. If you can, you own this paper. Then go back to the city walk and switch both fixes on.

Based on "SLAM Dunk: A Recipe for Long-Horizon Egocentric SLAM in the Wild" by Jacob Van Meter and Ayush Paul (2026)
Read the original paper · Code · LaMAria leaderboard · Back to Veanors