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.
The walker follows the true street. The coloured trail is where the system thinks the walker went.
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
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.
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:
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.
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 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.
Chapter 1
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.
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.
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.
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.
Chapter 2
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.
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.
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.
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.
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.
Chapter 3
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 terms | Training 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.
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.
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.
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.
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.
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.
Chapter 4
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.
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.
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.
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.
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.
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.
Chapter 5
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.
Not every part of the calibration gets a bead. Here is the split the paper uses.
From those pieces the solver builds each camera's pose on the body for each chunk:
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.
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).
Now the random walk itself, Eq. (3) of the paper. It adds one penalty for every pair of neighbouring chunks.
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.
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.
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.
Chapter 6
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.
They fit every set of points with the same simple shape:
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.
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.
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.
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.
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.
Chapter 7
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.
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.
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.
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.
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:
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:
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.
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.
Chapter 8
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).
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.
| G = 0 | G fitted | G adds | |
|---|---|---|---|
| Constant calibration | 69.14 CP / 1.018 m | 71.47 CP / 0.883 m | +2.3 CP |
| Time-varying calibration | 77.13 CP / 0.663 m | 82.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:
(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.
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.
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.
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 system | CP lost | ATE with it removed ÷ ATE with it on |
|---|---|---|
| Camera path (time-varying calibration) | 11.0 | 1.98× |
| G (gyroscope scale and misalignment) | 5.3 | 1.49× |
| Accelerometer intrinsics | 3.3 | 1.12× |
| Clock offsets | 2.3 | 1.38× |
| Thermal gyroscope terms | 0.5 | 1.02× |
| Accelerometer, clock and thermal together | 5.6 | 1.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.
Chapter 9
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.
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.
| Category | SLAM Dunk | Aria's SLAM | Difference |
|---|---|---|---|
| Short | 89.6 | 90.7 | −1.1 |
| Medium | 78.9 | 78.5 | +0.4 |
| Long | 71.1 | 70.9 | +0.2 |
| Low light | 85.4 | 84.2 | +1.2 |
| Moving | 52.3 | 55.0 | −2.7 |
| Mean over categories | 75.46 | 75.86 | −0.40 |
| Mean over recordings | 76.68 | 77.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.
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 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 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 = 0 | G fitted |
|---|---|---|
| Constant calibration | 0.494 | 0.452 |
| Time-varying calibration | 0.491 | 0.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.
Chapter 10
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.
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:
Pull of a 10 px residual (the slope of ρ): squared 10 Huber (δ = 1) 1 Cauchy (c = 1) 10 ÷ (1 + 100) ≈ 0.1
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.
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.
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.
Every free variable gets a prior: a statement of how far it may move. These numbers are the recipe. They come from Table 5.
| What | Prior | What it says |
|---|---|---|
| Camera rotation walk | σR = 1 mrad per 5 s chunk | The stereo pair may twist a little between chunks |
| Camera translation walk | σt = 0.5 mm per chunk | The baseline between the cameras may flex slightly |
| Focal length walk | σf = 0.035 px per chunk | Focal length may creep, as it does with temperature |
| Focal absolute | 0.5√K px (K chunks) | Over the whole walk, focal may wander about as far as a random walk would |
| fx − fy | 0.05 px | The two focal lengths of a camera stay nearly equal |
| Stereo baseline length | 0.5 mm | The glasses do not stretch |
| G | σG = 0.002 per entry | Gyroscope errors are a fraction of a percent |
| Gyroscope bias | walk σb = 2×10−5 rad/s per chunk | Bias drifts slowly around its temperature trend |
| Accelerometer bias | 0.4 m/s2 absolute, 0.005 m/s2 walk | Accelerometer bias is loose overall, slow per chunk |
| Clock offsets | 1 ms | IMU, camera and accelerometer clocks nearly agree |
| Gravity | norm 9.806 m/s2, σ 0.01 | Gravity's size is known; its direction is fitted |
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.
Chapter 11
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.
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.
| Quantity | Value | Why it matters |
|---|---|---|
| The gap | published ≤ 19.5 CP; Aria's SLAM 75.9 | Academic SLAM was far behind on long egocentric walks |
| CP score | 100 to 5 cm, 90 at 20 cm, 60 at 1 m, 0 at 10 m | Horizontal error at surveyed points; untriangulated = 0 |
| Baseline | 69.1 CP, 1.02 m ATE (training) | A careful conventional pipeline stalls here |
| Chunk length | 5 s for biases, stereo pose and focal pairs | The calibration gets one value per chunk |
| Walk priors | 1 mrad, 0.5 mm, 0.035 px per chunk | How fast the calibration may drift |
| Temperature | 7 to 21 °C; focal +0.028 / +0.036 px per °C | The fitted drift follows physics (22 of 23, 23 of 23) |
| Floor | 0.77 m/km constant; 0.09 time-varying | A constant calibration leaves error that never averages away |
| Head speed | median 45 °/s; over 100 °/s 10.5% of the time | Gyroscope scale errors scale with rotation speed |
| G error | 0.26% median; 0.07° vs 0.022° noise per 0.6 s | Three times the noise, every keyframe |
| Factorial | 69.1, 71.5, 77.1, 82.4 CP | Interaction +3.0 (0.6 to 5.7); 11 of 13 improve |
| Test | 75.46 vs Aria 75.86 (category mean) | Above Aria on Medium, Long, Low light |
| UZH-FPV | 0.457% translation error, first place | The recipe transfers to a fast drone |
| Cost | 2.0 min median, 5.5 max, 1.4 GiB | Cheap, but offline and non-causal |
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.
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.