Every Hallway Looks the Same: Floor-Plan Localization with SlugTrails

•
10 min read
SlugTrails registers 1.8 km of Project Aria walking video to the CAD floor plans of six university floors. This post covers how the authors built that ground truth, what it showed about today's floor-plan localizers, and how to explore all six sessions in Voxel51.
Overview of the SlugTrails dataset in Voxel51.
Overview of the SlugTrails dataset in Voxel51.
Hand a floor-plan localizer one photo from a small apartment, and it has an easy job. Kitchens, bedrooms, and bathrooms each have a shape. Only a few spots in the plan could have produced the view.
Now hand it a photo of a university corridor. Painted walls, doors on both sides, ceiling lights going off into the distance. The same floor has a dozen corridors like it, and the floors above and below have more. Many poses, some far apart, fit the same view.
Four frames from the SlugTrails RGB stream (Voxel51 thumbnails of the undistorted 1408x1408 video).
Most floor-plan localization research trains and tests on homes. SlugTrails tests the same methods in large campus buildings. With their released weights, every trainable method the authors tried placed at most 0.4% of single walking frames within 1 m and 30° of the truth.
The paper's answer is more indoor data. Building that data took laser surveys, hand-drawn maps, and a factor graph.

Key takeaways

  • SlugTrails has six 30 Hz Project Aria sessions, one per floor, across three UC Santa Cruz buildings: 22,089 m² of floor-plan outline and 1.80 km of trajectory. Each floor is about 35–50x the size of a typical Structured3D apartment.
  • Ground truth is Meta's MPS SLAM trajectory, pinned to the CAD floor plan with a factor graph and anchored on floor markers placed by laser measurement. A hold-out check shows a mean error of 0.15 m and a median of 0.09 m. The authors call it consistent with the plan but not centimeter-accurate.
  • Walls, doors, windows, and stairs come from CAD. The building outline and the walkable "circulation" mask were drawn by hand, and that mask is the pose search space.
  • Stock checkpoints score at most 0.004 R@1m30° on single walking frames. Fine-tuning on four SlugTrails sessions lifts F3Loc to 0.141 on single frames, 0.379 on sweeps and 0.66 on sequences.
  • The Voxel51 copy includes all six sessions as 69 MCAP clips of up to 60 seconds (about 1.11 hours), each with the RGB, fisheye, and SLAM cameras; IMUs; ground-truth and MPS poses; the floor plan; a point cloud; and the panoramic sweeps.

What is floor-plan localization?

Given a floor plan and one or more images, the task is to estimate the camera's position on the plan. The output is a planar pose, (x, y, θ), meaning a position on the plan plus a heading.
Architectural floor plans are widely available, so you don't need a pre-built image database, a 3D scan of the building, or wall beacons.
Four of the methods SlugTrails tests (F3Loc, UnLoc, DisCo-FLoc, SemRayLoc) work the same way. A network predicts how far the nearest wall is along a fan of horizontal rays, and those distances are scored against the plan to find poses where the walls would sit that way. The fifth, PALMS+, needs no training. It lifts the image to 3D with the MoGe-2 depth model and matches the layout.
SlugTrails scores each method three ways, all on the same ground truth:
  • Single frame: one image taken while walking.
  • Sweep: several images from one spot while the wearer turns in place.
  • Sequence: a stream of walking frames plus the relative motion between them.
The metric is R@1m30°, the share of test queries placed within 1 m and 30° of the true pose. Higher is better. R@1m and R@5m drop the heading test.
Good to know. Why not use LaMAR or Ego4D? LaMAR and InLoc cover large real buildings with accurate trajectories, but their floor plans are either not public or not ready for floor-plan methods. Ego4D and Aria Digital Twin have lots of wearable video, but no architectural floor plan aligned to it in meters. SlugTrails was built to have both.

How was SlugTrails recorded?

Three collectors wore Aria glasses through the public spaces of three campus buildings. Before each recording, temporary markers were placed on the floor.
Each collector walked to a marker, turned a full 360° around it, then walked to the next. Routes were designed to cover most of each floor. Recording happened during normal school operation, so other people walked through the frames.
The markers do two jobs. Each one is measured with a laser distance meter (a Leica DISTO X4) against the surrounding walls, giving it a known position on the floor plan and making it an anchor for the trajectory. The 360° spins on the markers also become the benchmark's sweep queries. Per session, the Voxel51 copy's session_num_anchors field counts between 15 (BE_0_0) and 33 (E2_3_0) surveyed markers.
Keep it honest. The paper says faces were blurred with EgoBlur and then checked by hand. The Hugging Face card says faces were detected with SAM3 and then checked by hand. The sources don't say which tool produced the released files. Both say the eye-tracking stream inside the VRS isn't blurred. Room numbers are left visible on purpose.

Where does the ground truth come from?

Aria glasses come with Meta's Machine Perception Services (MPS), which turns a recording into a SLAM trajectory. That trajectory is metric, but it sits in its own coordinate frame with no link to the floor plan.
The authors first place the trajectory on the plan by hand, roughly. A factor graph then pulls each spin's center toward its laser-measured marker, while the walking path between markers keeps the shape MPS measured. Only x, y, and heading are adjusted. Height, pitch, and roll stay as MPS reported them.
To check the result, the authors re-run the alignment with every other marker hidden and measure how close the trajectory passes to the hidden ones. Over six sessions and 77 held-out sweeps, the error is 0.15 m mean and 0.09 m median. Laser measurements across twelve hallways also agree with the CAD plans to a median of 1.4 cm.
Keep it honest. The 0.15 m figure measures error at markers the alignment didn't use. The shipped ground truth uses every marker, so the authors describe the check as interpolation error, not the released trajectory error. In their words, the poses are consistent with the floor plan, but not centimeter-accurate, and sub-meter comparisons need care.
Good to know. Which pose file should I score against? Use gt_aligned_camera/ for anything that consumes the RGB video, matched by nearest timestamp_ns. gt_aligned_device/ is the Aria device body (the left SLAM camera). The MPS poses under mps/ are not in the floor-plan frame.

What's in the map?

Each floor's map has layers from two sources:
  • From CAD: structural walls plus semantic classes such as doors, windows, columns, stairs, and elevators.
  • Drawn by hand: a building outline and a circulation mask (corridors, lobbies, stairwells, connecting passages).
By default, candidate poses are restricted to the circulation mask, so the hand-drawn layer sets the search area. The paper tests that choice on single frames. Searching the full outline instead barely changes results on the in-distribution floor, but F3Loc's fine-tuned score on the unseen building drops from 0.055 to 0.01. The paper doesn't say how the mask was drawn or who checked it.
One floor in the 3D view from above: CAD walls, circulation grid, anchor spheres, then the ground-truth pose walking the path.
One floor in the 3D view from above: CAD walls, circulation grid, anchor spheres, then the ground-truth pose walking the path.

How is it split?

Four sessions are for training: BE_0_0, BE_1_0, E2_2_0, and E2_3_0. Within each, the middle 80% of the walk is training data and the first and last 10% are validation, so validation frames don't sit next to training frames from the same 30 Hz stream. Validation only sets early stopping. It isn't a localization test.
Two whole sessions are held out for testing:
  • In-distribution (ID): BE_2_0, a new floor of a building seen in training.
  • Out-of-distribution (OOD): PS_2_0, a building never seen in training.
Test queries are filtered before scoring. Single frames are sampled at 1 Hz from walking video. Spins and frames pitched more than 45° up or down are dropped, and a frame is kept only if it's at least 1 m or 30° from the last kept one. That leaves 433 single frames, 1,008 sweeps, and 200 sequences.
Good to know. Why does the Hugging Face card list 1,296 single frames, not 433? The released manifests cover all six sessions, and the paper counts only the two test sessions. In manifests/manifest_stats.json, BE_2_0 and PS_2_0 add up to the paper's numbers: 234 + 199 = 433 single frames, 414 + 594 = 1,008 sweeps, 100 + 100 = 200 sequences. To match the paper, keep only those two sessions.

What did the data change?

Stock weights fail, and fine-tuning helps every method. With released weights trained on Gibson, Structured3D, or LaMAR, every trainable method scores at or below 0.004 R@1m30° on single walking frames. Fine-tuned beats stock in all twelve method–task pairs, and F3Loc goes from 0.0 to 0.141 on single frames.
More views multiply the gain, but only for adapted models. Every method gets the same histogram filter to fuse multiple views. Fine-tuned F3Loc goes from 0.141 → 0.379 → 0.66 from single frame to sweep to sequence. Stock F3Loc goes from 0.0 → 0.0 → 0.03 with the same filter. The authors' reading is that fusing more frames can only build on a per-frame model that already puts some probability near the true pose.
In-distribution test floor (BE_2_0). Values from the paper's §V-A text.
A new building lowers the scores without changing the pattern. On PS_2_0, fine-tuned F3Loc scores 0.055 → 0.221 → 0.49. That's lower across the board, but it still beats stock and still climbs with more views.
The gains carry over to LaMAR. The authors freeze the fine-tuned weights and test on LaMAR's CAB building without LaMAR training. Sequential R@1m rises from 0.048 to 0.143 for F3Loc, which never saw LaMAR, and from 0.063 to 0.127 for UnLoc, which was originally trained on it.
SlugTrails alone isn't enough. Trained from scratch on SlugTrails with the same schedule and losses, F3Loc scores 0.009 on single frames, compared with 0.141 when fine-tuned. Household data alone is near zero, SlugTrails alone is near zero, and together they score best in every setting. The authors read this as "data, not architecture": recall keeps rising with the total indoor data a model has seen.
Same architecture, schedule, and losses in all three. Only the training data differs (§V-D).
Keep it honest. This is a single unreviewed preprint by the dataset's authors. Each method runs in its official released configuration, so cross-method numbers are observations, not a controlled comparison. Only the within-method claims hold everything but the data fixed. The test set is two floors. The LaMAR gains are small in absolute terms, and the authors say they don't reproduce UnLoc's published LaMAR numbers. "No sign of saturation" rests on three data regimes for two methods.

Step 1: Open a clip and watch the pose move on the plan

The SlugTrails dataset in Voxel51 holds all six sessions, cut into 69 MCAP clips up to 60 seconds long. Open any clip. The 3D view draws the floor plan's CAD walls, doors, and stairs; the building outline; the circulation mask as a colored grid; the session's surveyed markers as spheres; and the clip's path. The ground-truth camera pose (/gt/camera_pose) moves along that path as the video plays.
One clip open: undistorted RGB beside the 3D view with walls, circulation grid, and anchor spheres.
One clip open: undistorted RGB beside the 3D view with walls, circulation grid, and anchor spheres.
Watch a corridor stretch in the RGB pane, then look at the plan. The corridor you're in looks like the ones you haven't walked yet.

Step 2: Compare ground truth with raw MPS

Each clip also carries the MPS closed-loop and open-loop poses (/mps/closed_loop/pose, /mps/open_loop/pose). Voxel51 moved each into the floor-plan frame with a yaw-plus-translation fit to the ground truth within 30 s of the clip. That removes the global offset, so the gap you see is MPS drift inside the clip, roughly the correction the factor graph had to make.
One clip with /gt/camera_pose and /mps/closed_loop/pose both on, showing the drift between them.
One clip with /gt/camera_pose and /mps/closed_loop/pose both on, showing the drift between them.
The per-pose /gt/quality_score topic ships with the ground truth. The sources don't document what it measures, so treat it as a lead to investigate rather than a confidence value.

Step 3: Find the test floors and the sweeps

Filter the sidebar on session_role: train_pool has 45 clips, id_test (BE_2_0) has 12, and ood_test (PS_2_0) has 12. Then sort by num_panoramas to find clips with the most spins. The panoramas field lists each sweep's start and end within the clip and its marker's floor-plan position in meters (x_m, y_m). One PS_2_0 sweep has no surveyed position.
The benchmark queries from the three manifests (single frames, sweeps, and sequences) are temporal tags on each clip.

Step 4: Look for the ambiguity in embedding space

Every clip has Qwen3-VL video embeddings in the auto_segment_embeddings set, computed by Voxel51 over 5-second windows of the RGB stream and projected to 3D with UMAP. Open the Embeddings panel and color the points by building or floor_stem. If corridors from different floors and buildings land next to each other, that's the ambiguity the benchmark measures.
Run a similarity search from a corridor clip in BE_2_0 and see how many of the nearest neighbors come from other floors.
Keep it honest. These embeddings come from Voxel51, not the paper. They measure how alike two stretches of video look. Two corridors can look alike and still have different wall layouts, so check the plan before you call a close neighbor a localization failure.
Embeddings panel colored by building, then a similarity search.
Embeddings panel colored by building, then a similarity search.

Keep it honest: what this copy is and isn't

  • The copy holds all six sessions (about 1.11 hours). Voxel51 converted them to MCAP and re-encoded the video as H.264, so the files differ from the release.
  • The eye-tracking camera is left out because the authors' face blur doesn't cover it. Semidense observations, the full-rate MPS trajectories, and the fine-tuned split file are also left out. The split survives as the session_role field.
  • The point cloud in each clip is the MPS semidense cloud, filtered, cropped to 5 m around the clip's path, and thinned to at most 150,000 points.
  • MPS poses in the copy are fitted into the floor-plan frame by Voxel51. In the original release, they sit in the MPS frame.
  • The license is CC BY 4.0. Credit Yunqian Cheng and Roberto Manduchi (UC Santa Cruz) and cite arXiv:2609.19876.

Try it yourself

Frequently asked questions

Headshot of Harpreet Sahota
Hacker-in-Residence
Harpreet is Hacker-in-Residence at Voxel51, where he turns cutting-edge AI ideas into open-source prototypes and demos that push the boundaries of deep learning. From building tools that inspire to creating content that educates, Harpreet helps the AI community level up—one wild idea at a time.
See all articles by Harpreet Sahota

Try Voxel51 for yourself