Walk around a statue and take 16 photos. Surflo turns them into one small summary of the scene, 129 tokens, then draws 8,000 to a million points on the surface from it. It scores F1 81.9 on DL3DV, where fitting a fresh model to each scene scores 60.7.
Pick a system, then drag the number of photos. Watch the per-photo maps pile up, the fixed-size summary stay coarse, and the global state stay clean. Then we build, piece by piece, how Surflo does it.
You need what a photo is and the idea of a neural network. We build the rest from zero.
The three F1 scores are the paper's, Table 1, DL3DV test split, 16 views (Surflo without guidance). The scene, the point clouds and their noise are an illustrative 2D toy, drawn to show the shape of each failure, not the models' real outputs. Token counts follow the paper's appendix (740 patch tokens per view per layer; K = 128 plus one camera latent). Paper: Guédon, Nakamura, Dufour, Lei, Nishino and Kanazawa, arXiv:2606.13644.
Chapter 0
See why sixteen photos of a statue hold one shape, and why that suggests a single global state instead of sixteen separate answers
You walk around a stone statue with your phone and take sixteen photos. Each photo shows the statue from a new side. Together they hold sixteen times as many pixels as one photo does. But the statue did not grow. It is still one statue, with one shape.
That simple fact is the whole idea behind this paper. The authors, Antoine Guédon, Shu Nakamura, Nicolas Dufour, Jiahui Lei, Ko Nishino and Angjoo Kanazawa, write that geometry (the shape of things in space) is what stays the same when the camera moves. A pile of photos is the same shape, seen again and again from different places. The photos are the instruments. The shape is what you want.
3D reconstruction means recovering the shape of a scene from photos. The result here is a surface: the skin of every solid thing in the scene, such as the statue, the ground and the wall behind it. A computer stores a surface as a cloud of oriented points. Each point has a position in space and a normal, a short arrow that points straight out of the surface. From enough oriented points you can build a mesh, a skin made of small triangles that a game engine or a robot simulator can use.
The photos are unposed: you do not know where the camera stood for each one. The model must work that out too. And the method is feed-forward: one pass through a trained neural network, with no per-scene training. The older route is per-scene optimization. It fits a fresh model to one scene for minutes or hours and wants hundreds of well-posed photos. Feed-forward is fast, but it must lean on what the network learned from thousands of earlier scenes.
The best known family is per-view. VGGT, and DUSt3R before it, reads all photos and then predicts a pointmap for each one. A pointmap gives every pixel of a photo one 3D point. It is a good answer for that photo.
But think about what you now hold. Sixteen photos give sixteen pointmaps. Each shows part of the same statue, so the maps overlap a lot. They never line up exactly, because each is a separate estimate with its own small error. Stack them and the surface turns into a thick, doubled shell. The paper also points out that the number of tokens, the units the network works with, grows in a straight line with the number of photos. Thirty-two photos cost twice what sixteen cost, although the statue is no bigger.
A second family squeezes the photos into one latent: a short list of numbers the network invents to hold what it needs. That sounds right. But the paper names the price. NOVA3R, the closest earlier work, reads this latent out as a small fixed set of 10,000 points and trains on only two photos. CUT3R keeps a running state, but decodes it back into per-view maps. Neither gives you a whole scene at the detail you choose.
The ring is a toy scene seen from above. Each camera sees the arc that faces it. Brighter means more cameras see that stretch. Drag the number of views and watch the coverage fill.
Illustrative toy: each camera sees an arc of 154 degrees (about 43% of the ring), and the cameras are spaced evenly. The counts are computed exactly for that toy. The photos-add-no-new-shape point is the paper's; the numbers are not.
With 3 views the whole ring is already seen at least once. After that, extra views mostly re-see what is known. At 16 views each stretch of the ring is seen about 7 times on average. A model that stores one answer per view stores that sevenfold repeat. A model that stores one global state keeps the shape once.
The authors say that a good system needs three things at once. First, it must compress any number of photos into a state of fixed size, without losing the detail of this scene. Second, it must decode that state into any number of surface points, so you choose the detail. Third, those points must be consistent: they must lie on one surface, not on many near-misses.
Surflo does each in turn. A frozen VGGT reads the photos. A Perceiver (Chapter 3) squeezes the result into 128 tokens plus one camera token, 129 in all. A flow-matching decoder (Chapters 1 and 4) then moves random starting points onto the surface, one point at a time. A small rendering trick at the end (Chapter 7) nudges the points to agree with the photos. Compare with the hero: the Surflo row keeps 129 tokens whatever the number of views.
Each chapter builds one part of the hero. Chapters 1 and 2 teach the two tools Surflo borrows. Chapters 3 to 7 build the model. Chapters 8 to 10 look at the evidence and its limits. Chapter 11 is a field guide you can keep. If you want a gentler start in 3D, try our 3D vision lesson first.
Chapter 1
Learn how a crowd of random points can be steered onto a shape by following a velocity, and why too few steps blur the result
Picture a hundred dancers scattered at random across a hall. A choreographer wants them to end up standing on a circle. She cannot just shout positions, because each dancer must walk there. So she gives every dancer a rule: “at this moment, at this spot, walk in this direction at this speed.” If the rules are right, the crowd flows onto the circle by the end of the song.
That is flow matching. The dancers are points. The circle is the shape you want. The rule book is a velocity field: for every position and every moment in time, an arrow that says which way to move and how fast. Surflo's decoder is exactly such a rule book. The “dancers” are points in 3D space, and the “circle” is the surface of a scene.
A generative model makes new samples of something hard to write down, such as faces or surfaces. The trick used here is to start from something easy. The source distribution, called p0, is a cheap random cloud, usually a bell curve (a Gaussian) of noise. The target distribution, p1, is the real data, here points that lie on surfaces. A sample from p0 is easy to draw. We want a machine that turns it into a sample from p1.
Time runs from t = 0 (pure noise) to t = 1 (finished data). A point at position x and time t gets moved by the velocity v(x, t). Moving a point by following a velocity is solving an ordinary differential equation, an ODE: dx/dt = v(x, t). You solve it by small steps. The simplest solver is Euler. It says: new position = old position + velocity × step size. Surflo uses plain Euler.
We do not know the right velocity field. A neural network, vθ, must learn it from examples. The clever part is how the paper (following Lipman et al.) makes the examples. Take one noise point x0 and one real data point x1. Draw a straight line between them. A point at time t on that line sits at:
The training rule is now simple. Show the network the position xt and the time t. Ask it to guess u. Punish the squared error.
There is a catch. The network sees only xt, not the pair (x0, x1) that made it. Many different lines pass through the same spot. So the best guess is the average of x1 − x0 over all lines through that spot. Let us compute that average by hand in one dimension.
Say the real data has two values, −1 and +1, equally likely, and the noise is a standard bell curve with width 1. A point sits at x = 0.5 at time t = 0.5. Which target did it come from? If it came from y, then xt was a bell curve centered at t × y, with width (1 − t) = 0.5. So the weight of each target is the height of its own bell curve at x.
Step 4 matters later. The guess x̂1 = xt + (1 − t) × v is “where the point would land if it kept this velocity to the end.” Surflo's guidance (Chapter 7) works on this guess. In our toy we can compute the exact average. A real network learns it from examples.
The dashed ring is the target surface, made of 48 points. The cloud starts as noise. Press Play to run Euler with the exact velocity field, then change the number of steps and play again.
Toy in 2D, illustrative. The velocity is the exact average from the worked example, taken over 48 equally spaced ring points with unit-width Gaussian noise. No network is trained. 150 points are drawn with a fixed seed.
With one step, every point jumps to the middle of the ring. That is the average over all targets, and it is useless. With four steps the ring appears but is blurry. With eight, nearly all points sit on it. Steps matter because the arrow changes as the point moves. A big step follows the arrow from the wrong place.
Python makes the whole method short. The loss is the training half. The loop is the sampling half. Surflo uses the same two halves, with 3D points and a latent z added as an input.
pythonimport torch def fm_loss(v_net, x1, sample_x0): x0 = sample_x0(x1.shape) # noise, same shape as the data t = torch.rand(x1.shape[0], 1) # one time per point xt = (1 - t) * x0 + t * x1 # point on the straight line return ((v_net(xt, t) - (x1 - x0)) ** 2).mean() @torch.no_grad() def sample(v_net, x0, steps=150): x = x0 for k in range(steps): t = torch.full((x.shape[0], 1), k / steps) x = x + v_net(x, t) / steps # one Euler step return x
You can meet flow matching in more depth in our flow matching Gleam, the MIT 6.S184 lecture on it, and the flow matching paper walkthrough.
Chapter 2
Read the photos with a frozen VGGT, then stamp every token with its 3D position so that a point in space can find the tokens near it
Imagine you hand sixteen photos to a friend who has studied thousands of scenes. She does not give you a 3D model back. She hands you a stack of notes. For each small tile of each photo, one note says what is there and how it fits with the other photos. Surflo needs those notes, and it does not want to relearn how to write them.
That friend is VGGT, a large pretrained network that reads many photos together. In Surflo it is frozen: its weights never change during training. The benefit is cost. The notes for each training scene can be computed once and cached, so training never runs the big network again. The paper says it chose VGGT for its strong geometric features.
VGGT cuts each photo into square tiles called patches, 14 by 14 pixels each. A photo of 518 × 280 pixels gives 37 × 20 = 740 patches. Each patch becomes a token: a list of numbers, here 2,048 long, that stands for that tile. VGGT also makes one extra camera token per photo, which carries what it learned about where the camera stood.
VGGT has 24 transformer blocks stacked in a row, and each block yields a fresh set of 740 tokens. Surflo does not take only the last set. It follows the recipe of the VGGT authors and reads four depths: blocks 4, 11, 17 and 23. A single linear layer projects each token from 2,048 numbers down to a working size of D = 512. So the notes for one photo have this shape:
Tn ∈ R(4 × 740) × 512 = 2,960 tokens of 512 numbers Cn ∈ R4 × 512 (four camera tokens)
For 16 photos that is 47,360 patch tokens. This is what the next chapter must squeeze. Notice one more thing VGGT provides: its own pointmaps, which give a 3D position for the center of each patch. Surflo reads those positions off. They are the key to the next idea.
Later, the decoder will ask questions like “what is the surface near this point in space?” It will ask them with raw numbers, such as (0.31, −0.12, 0.77). But the notes live in VGGT's own private coordinate frame, which changes from scene to scene. If we do nothing, the decoder must learn, on its own, how its raw numbers relate to every scene's private frame. That is hard and fragile.
The paper's fix is to give both sides the same address book. Each patch token gets a code for the 3D position of its patch. Each query point gets a code for its own position, made the same way. Now “near in space” shows up as “similar code.” The decoder can find the right notes by looking for similar addresses, with no need to learn a mapping.
A neural network fed raw coordinates is poor at telling very close points from slightly less close ones. The standard cure is Fourier features. Pick F random directions b1 to bF in 3D. For a position p, compute cos and sin of 2π bf·p for every f, and stack the results.
The right-hand side is the surprise. Two codes are similar exactly when their positions are close, and the similarity depends only on the offset. It is a smooth bump around zero offset. The width of the bump is set by how big the frequencies are. The paper draws its frequencies from a bell curve with width σ. It uses 16 bands with σ from 100 down to 0.154 (each band 0.65 times the one before), 32 frequencies per band, F = 512 in all. That gives bumps of many widths at once. Positions are first rescaled so that a typical scene has size about 1.
The curve shows how similar the codes of two points are, as the points move apart along one axis. Drag σ. Then switch on the mix to use all 16 bands, as the paper does.
Computed live from the appendix recipe: frequencies drawn from a Gaussian with width σ, 32 per band, 16 bands with σ = 100 × 0.65i. We measure the offset along one axis only, with a fixed random seed, so the curves are one draw, not the trained model's.
A single band is either too sharp or too blurry. With a large σ the bump is a needle: only points almost touching look alike. With a small σ the bump is wide: points far apart still look alike. The mix gives a sharp peak with a long gentle tail. The decoder can then use close neighbours for fine detail and farther ones for context.
The paper adds γ(pn) to each patch token, where pn holds the 3D positions of the patch centers in VGGT's pointmap. It uses the same γ on the decoder's query points. The authors write that this shared code is the only way the decoder learns where a query lies relative to the scene. With it, cross-attention can pick out the relevant notes “by spatial proximity rather than learned association.”
The ablation in Table 5 backs this up. On the DL3DV test split with 16 views, the raw VGGT tokens give Chamfer distance 0.0083 and F1 76.05. With the 3D code they give 0.0073 and 81.21. On Tanks & Temples, F1 goes from 80.78 to 88.02. (Lower Chamfer and higher F1 are better. Chapter 8 defines both.)
Here is the code for this front end, as a sketch:
pythondef encode_views(vggt, images): # images: [N, 3, 280, 518] feats, cams, pointmap = vggt(images) # frozen, run once and cached toks = torch.cat([proj(feats[l]) for l in (4, 11, 17, 23)], dim=1) # [N, 2960, 512] centers = pointmap_at_patch_centers(pointmap) # [N, 740, 3] toks = toks + fourier(centers).repeat(1, 4, 1) # same 3D code on all four layers return toks.flatten(0, 1), cam_proj(cams) # [N*2960, 512], [N, 4, 512]
Chapter 3
Squeeze 47,360 tokens into 129 with a Perceiver, and see why the size of the result stays fixed however many views you give it
Imagine a librarian who must summarize a 47,000-line report onto 128 index cards. She cannot keep every line. So she decides, before reading, what each card is for: one for the overall layout, one for the north wall, one for small details near the window, and so on. Then she reads the report once and files the right lines onto the right cards.
This is how Surflo builds its global state. The index cards are called latent tokens. The method that fills them is a Perceiver. To see how it works, we first need attention.
Attention is a way for one token to collect information from a list of other tokens. Each token that asks is turned into a query, a vector that says “I am looking for this.” Each token that can answer gets a key, which says “I hold this,” and a value, which is the content it hands over. The score between a query and a key is their dot product: large when they match.
The scores for one query are turned into weights that sum to 1, by a function called softmax. The answer is the weighted mix of the values. Here is one query with four keys, at a key size of 4, so we divide by √4 = 2. The raw scores are 4, 0, 2 and −2.
In self-attention the queries, keys and values all come from the same list. In cross-attention the queries come from one list and the keys and values from another. The cost is the number of query-key pairs. Self-attention over M tokens costs M × M pairs. Cross-attention from K queries costs only K × M.
A Perceiver starts with K learned queries. They are ordinary parameters, set at random and then trained, so each card learns its own job. They cross-attend to all the scene tokens. Then a few self-attention blocks let the cards talk to each other. Surflo repeats this whole round Le times.
The paper repeats the round Le = 4 times, uses 16 attention heads, and also applies the normalizing tricks of qk-norm and a small LayerScale start of 0.01. The output is zp. A second, lighter Perceiver does the same for the camera tokens: one learned query cross-attends to the camera tokens four times, with no self-attention. It yields zc, one token. The two are joined:
z = [ zp , zc ] ∈ R129 × 512 = 66,048 numbers, for 2 views or 32
The two stay on separate paths for a reason. The patch latent zp is what the decoder looks things up in. The camera latent zc says something about the whole scene's world space, so the decoder feeds it in everywhere through a conditioning layer (Chapter 4).
Bars use a log scale, so each gridline is ten times more. Drag the views. Pick how many latent tokens the Perceiver keeps. Compare the cost of letting every token attend to every token with the Perceiver's way.
Exact arithmetic from the appendix: 740 patches per view, four layers, so M = 2,960 × views patch tokens; the latent is K patch tokens plus one camera token. Pairs counted for one attention layer. The paper trains only K = 128 as its main model; K = 32 appears as an ablation (Table 5).
At 16 views the Perceiver's reading step looks at 128 × 47,360 = 6.1 million pairs. Full self-attention over the same tokens would need 47,3602 = 2.2 billion. That is 370 times more. And when you double the views, the Perceiver's cost doubles but the latent stays put. That is how one trained model can take 2 views at one moment and 32 at the next.
One attention read can only look for one kind of match at a time. So the model splits its 512 numbers into heads, here 16 heads of 32 numbers each. Every head runs its own attention, and the results are joined. One head may look for nearby patches. Another may look for patches with the same texture. The model decides during training.
qk-norm rescales every query and key to a fixed length before the dot product. Without it, a few huge scores can make softmax pick one key and ignore the rest, and training becomes unstable. LayerScale starts each block's output at 0.01 of its size, so the stack begins close to doing nothing and grows from there. Both are standard tricks the paper lists in its appendix. Neither changes the idea; both keep a deep stack trainable.
A smaller state is cheaper, but it must still hold the scene. Table 5 tests this. With K = 32 tokens, the DL3DV test split gives Chamfer distance 0.0089 and F1 72.76. With K = 128 it gives 0.0073 and 81.21. On Tanks & Temples, F1 climbs from 79.51 to 88.02. The cards are a real bottleneck. The authors say compression must happen “without loss of scene-specific detail,” and the ablation shows what losing some looks like.
pythonclass Perceiver(nn.Module): def __init__(self, K=128, D=512, Le=4, Ls=4): self.q = nn.Parameter(torch.randn(K, D) * 0.02) # learned queries self.cross = nn.ModuleList([CrossAttn(D, heads=16) for _ in range(Le)]) self.self_ = nn.ModuleList([SelfBlocks(D, n=Ls) for _ in range(Le)]) def forward(self, tokens): # tokens: [N*2960, 512] z = self.q # [128, 512] for ca, sa in zip(self.cross, self.self_): z = sa(ca(z, tokens)) # read all views, then mix cards return z # [128, 512], independent of N
Chapter 4
Build the decoder that moves a single query point onto the surface, and see why the choice of starting cloud and of training times matters
Suppose you have a very good surveyor on the phone. You say: “I am standing at this spot in the scene. Where is the nearest wall, and which way does it face?” She answers for that spot alone. She does not need to know what you ask about any other spot. You can call a thousand surveyors at once, each with one question. Surflo's decoder works like this crowd of surveyors, and the latent z is the shared map they all read.
Each question is a query point. It starts as a random point, and the decoder moves it, using flow matching (Chapter 1), until it sits on the surface. Because every point travels on its own, the decoder never sees how many other points there are. That single choice gives Surflo its freedom of resolution, and, as Chapter 7 shows, also its main weakness.
A surface point has a place and a direction. The place is a point in 3D space, R3. The direction is the normal, a unit arrow that sticks out of the surface. All unit arrows in 3D form a sphere, called S2. So the paper moves points of R3 × S2: three numbers for the place, plus a direction on a sphere.
For stability, the appendix stores the normal as a small offset instead. Given a position m and a normal n, the query is x0 = (m, m + εn), a list of six numbers, where ε is 10−3 times the scene size. The network predicts a velocity in all six numbers. To read the normal back, subtract the first three numbers from the last three and shrink the result to length 1. A worked example:
The trick keeps direction as a position-like quantity, so one ordinary velocity field handles both.
Where should the random starting points come from? The classical answer is a plain Gaussian cloud around the origin. The paper says this wastes model capacity on empty space, because most of that cloud sits far from any surface, and it slows learning. Instead it samples the start from a mixture of Gaussians: a bell-shaped blob placed on each of many points taken from VGGT's own pointmap, with a noise width σs (0.1 in scene-normalized units in the appendix). The normals start uniform on the sphere.
The width has two jobs that pull against each other. It must be small enough that the cloud hugs the visible geometry. It must be large enough to cover stretches the photos could not see, such as the back of a chair. Try it:
Blue dots are the visible pointmap. Grey dots are source points. The dashed stretches of the outline are hidden from the cameras. Switch the source, then drag the width.
Illustrative 2D toy with 600 source points. "Near" means within 0.1 of the true outline. "Gap" is the average distance from a point on the dashed hidden stretches to the closest source point. The idea (mixture around noisy VGGT pointmap samples, wide enough for occluded surfaces) is the paper's; the numbers are this toy's.
Small widths put nearly every point near the surface, but leave the hidden stretches far from any starting point. Large widths cover the hidden stretches, but spill the cloud back into empty space. The paper's choice sits in between.
The decoder vθ is a transformer with 12 layers, width 512 and 16 heads. It takes the Fourier code of the query (Chapter 2) and ends with a small head that outputs 6 numbers, the velocity. The first six layers each alternate cross-attention to the patch latent zp and an MLP. The last six layers use only the MLP. There is no self-attention between points. Every point's block runs alone, and everything points share comes from z.
Two more inputs steer the decoder: the time t and the camera latent zc. They enter through Ada-LN (adaptive layer norm, from the DiT image model). Before each cross-attention and MLP, a small network turns [τ(t), zc] into a shift, a scale and a gate. They adjust the block's input and gate its output. The projection starts at zero, so each block starts as an identity: the whole deep stack begins by doing nothing and learns upward from there. τ(t) is a sinusoidal time code using 512 frequencies between 0.1 and 1000.
The loss is the flow-matching loss from Chapter 1, now conditioned on the latent. Encoder weights φ and decoder weights θ are learned together, end to end.
Because each point has its own term, the loss splits over points. The paper trains on thousands of points per scene while keeping one latent in memory. The time t is drawn from a logit-normal law: take a Gaussian number z with mean 1 and spread 1.6, then squash it with t = 1/(1 + e−z). That pushes more training toward t near 1, where the point is nearly on the surface and details are decided.
20,000 times drawn live with a fixed seed. The logit-normal parameters (mean 1, spread 1.6) are the paper's.
pythondef surflo_step(enc, dec, views, pointmap, gt): # gt: [B, 8192, 6] surface points + normal offsets z_p, z_c = enc(views) # [B,128,512], [B,1,512] x1 = gt x0 = pointmap_mixture(pointmap, sigma_s=0.1) # [B, 8192, 6], not pure noise t = torch.sigmoid(1.0 + 1.6 * torch.randn(x1.shape[:2] + (1,))) xt = (1 - t) * x0 + t * x1 v = dec(xt, t, z_p, z_c) # [B, 8192, 6], no point sees another return ((v - (x1 - x0)) ** 2).mean()
Chapter 5
Follow one training step from photos to loss, and see how the authors made the surface data that no public set provided
To teach a student to draw maps, you need maps. To teach Surflo to find surfaces, you need real scenes with real surfaces next to their photos. This is where the authors hit a wall. The public sets that have true surfaces, such as Tanks & Temples and BlendedMVS, hold only a few dozen scenes. DL3DV holds about 10,500 real scenes, each with many photos and camera poses, but no surface at all.
So the authors made the surfaces themselves. This became a contribution of its own: a meshed version of DL3DV that they say they will release.
For each of the 10.5K scenes they ran Gaussian Wrapping (GW), a per-scene optimization method, on all the photos of that scene. GW fits a cloud of small 3D blobs (Gaussians) to the photos and turns them into a watertight mesh, a closed skin with no holes. The authors then sampled about 107 points and their normals from each mesh. They dropped points that no input view could actually see, using a visibility check.
Notice the idea. The slow method is run offline, on hundreds of photos, once per scene. The result becomes the teacher. Surflo then learns to approach that quality from only a handful of photos, in one pass. It is a way to move the cost of the slow method into training.
There is a catch. The answer mesh lives in the coordinate frame of the dataset's own camera poses (called COLMAP, the classic tool that works out where each camera stood). Surflo's predictions live in VGGT's frame. The two differ in position, rotation and scale. A loss that compares them directly would be nonsense. So at every training step the paper aligns the answer into VGGT's frame by an affine map:
The fit has two steps, and it uses depth maps of the answer mesh that were rendered once and stored. First it keeps only the top 25% of pixels by VGGT's own confidence. Then it makes a coarse start from the reference camera alone. It rescales by the ratio of the camera spreads: if the camera centers lie 2.0 from their centroid in the dataset's frame and 0.5 in VGGT's, every distance is multiplied by 0.25. Because it uses camera geometry and not depth values, this start is robust to depth noise. Second, a weighted least-squares fit over all cameras refines it to a full affine map, dropping correspondences whose weight falls below the median.
Now put all the parts together. Each step draws 12 scenes. For each scene it picks a random number of views N between 2 and 16, and about 8,000 points drawn uniformly from the answer surface. Then it runs the model and the loss from Chapter 4. Step through it below, and change N to see the shapes change.
Press Next to light each stage in turn. The shapes use the batch of 12 scenes and 8,192 points. Drag the views per scene, which training varies from 2 to 16.
| Stage | Shape |
|---|---|
| 1 photos | |
| 2 VGGT, frozen, cached | |
| 3 tokens + 3D code | |
| 4 Perceiver latent | |
| 5 answer points | |
| 6 start x0, time t | |
| 7 velocity v | |
| 8 loss |
Shapes follow the paper's appendix: 518 × 280 photos, 740 patch tokens per layer, four layers, D = 512, K = 128 plus one camera latent, and a 6-number query. Training uses a batch of 12 scenes and about 8K points per scene (we write 8,192). The paper does not publish this exact table.
Two details change what the network learns. First, with probability 0.1, the VGGT features are set to zero during training, which, the appendix says, enables classifier-free guidance at inference. Second, the number of views is random, so the model learns to work from 2 views or 16. Later, Tables 3 and 4 test up to 32 views, more than it ever saw in training, and the results still hold.
Training uses AdamW, 400,000 iterations, on 4 H100 GPUs. Rendering guidance is not used in training at all. It appears only at inference (Chapter 7). And VGGT stays frozen throughout, so its tokens can be cached once per scene and view set.
pythonfor it in range(400_000): scenes = sample_scenes(12) # from meshed DL3DV views = [random_views(s, n=randint(2, 16)) for s in scenes] toks, cams, pm = load_cached_vggt(views) # frozen, cached once per scene gt = sample_surface(scenes, 8192) # oriented points on the GW mesh gt = align_to_vggt(gt, scenes) # affine fit, Section C drop = rand() < 0.1 # mask VGGT features for CFG loss = surflo_step(enc, dec, toks * (not drop), pm, gt) loss.backward(); opt.step(); opt.zero_grad() # AdamW; only enc + dec learn
Put the scale in numbers. Each step visits 12 scenes. Over 400,000 steps that is 4.8 million scene visits. The data holds about 10,500 scenes, so the model passes over each scene roughly 457 times, usually with a different set of views each time. Each visit draws 8,192 points, so the model sees about 39 billion query points in all. Because every point is a separate training example with its own time t, a scene never wears out. The same latent is asked a new question every pass.
The random view count is worth a second look. If the model always saw 16 views, it could learn to rely on all of them. Drawing N from 2 to 16 forces it to use whatever it is given. The Perceiver sees short lists and long lists, and the decoder sees latents built from thin and thick evidence. This is cheap to do and fits the idea of the chapter: the state is the same size every time, so a batch can mix scenes with different view counts.
The student can be no better than its teacher. The authors admit that GW surfaces are imperfect on transparent and textureless things. A glass table or a blank white wall will be wrong in the answer set, and Surflo will learn the same mistakes. They hope denser, cleaner ground truth will help later.
Chapter 6
Run the trained model forward: encode once, then ask for as many surface points as you want, with finer steps near the end
A robot needs a quick, rough idea of the room to avoid the table. An artist wants the same room in fine detail. With most reconstruction models these are two jobs, with two settings, and often two models. With Surflo they are the same job with a different number typed in a box. The room has been read once. After that, the only question is how many points to ask for.
This chapter walks the inference path from photos to a point cloud, and shows why the size of the answer is a free choice.
At inference there are two stages. The encode stage runs VGGT on the unposed photos and runs the Perceiver. It happens once. Its output is the latent z, 129 tokens of 512 numbers each, 66,048 numbers in all. The decode stage takes z and a number P and returns P oriented surface points. You can run it again with a different P, and you do not touch the photos.
The decode stage has three parts. First, draw P starting points from the source distribution of Chapter 4, built around VGGT's pointmap. Second, move every point along the learned velocity from t = 0 to t = 1 with Euler steps. Third, read off each point's position and normal. In symbols, each step is:
Because the points never talk to one another, P is just the batch size. The paper reports that it decodes between 103 and 106 points in a batched pass on one GPU, with 105 as the default. Figure 5 in the paper shows the same latent decoded at 8K, 32K and 128K points, with a mesh built from each. The coarse set suits quick collision checks or previews. The dense set gives sharper detail and background geometry.
The solver uses 150 Euler steps, but not evenly. The appendix describes a bi-phase time grid: 50 steps spread over t from 0 to 0.95, then 100 steps over the last 0.05. Why spend 100 steps on 5% of the clock? Look at the velocity. In Chapter 1 we found that the network's velocity equals the remaining distance to the guess x̂1, divided by the time that remains:
v = ( x̂1 − xt ) / ( 1 − t ) ⇒ share of the remaining distance covered per step = dt / ( 1 − t )
Take the numbers. In the first phase dt = 0.95 / 50 = 0.019.
Just before t = 0.95, one step covers 0.019 / 0.069 = 27% of the distance still to go. In the second phase dt = 0.05 / 100 = 0.0005. The first step there covers 0.0005 / 0.05 = 1%. The last step covers 100%, which is exactly the landing. So the grid is fine where the fraction would otherwise grow large, and where the points settle onto the fine detail. (The paper gives the grid but not this reason. The share-of-distance argument is our reading.) The same stretch t ≥ 0.95 is where guidance acts (Chapter 7).
Drag the number of points. The outline fills in; the latent does not change. The strip below shows the 150 Euler steps. The green part is the fine phase.
Toy: each dot on the outline stands for 250 real points, so 8K shows 32 dots and 1M shows 4,000. The 150 steps, the 50 + 100 split at t = 0.95, the 66,048-number latent and the 103 to 106 range are the paper's. The count of Euler evaluations (150 × P) is plain arithmetic.
Count the work. At the default of 100,000 points, 150 steps mean 15 million evaluations of the decoder, in big batches. The paper reports that decoding 105 points from the cached latent takes a few seconds, dominated by the solver. If a few seconds means 3, that is about 20 ms per Euler step for the whole batch. The authors call this about two orders of magnitude faster than per-scene optimization such as 2DGS or Gaussian Wrapping. Guidance is extra and costs 30 seconds to 3 minutes (Chapter 7).
Memory is the other cost. Each point is six numbers. At 32-bit precision, a million points take 6 × 4 bytes × 1,000,000 = 24 MB for the points themselves. The decoder's activations take more, but nothing here grows with the number of photos. Since no point depends on another, a very large request can also be cut into chunks that fit the GPU and run one after the other. That second point is our reading of the independence, not a claim in the paper.
The paper names two uses. The coarse output suits fast collision queries and previews. The dense output gives sharper detail and background geometry. The introduction points to real2sim for robotics and agent navigation as the reason a global surface matters: those jobs want the scene's shape, not a pile of photos. A robot planner can ask for 8,000 points to check whether a path is clear. A designer can then ask for 128,000 points of the same scene without waiting for a new reconstruction.
For a mesh, the points are turned into small oriented Gaussians, and a Delaunay triangulation (a standard rule for joining nearby points into triangles) joins them, as in Gaussian Wrapping. Figure 5 shows a mesh from each of the three point sets. The mesh gets cleaner as P grows, because the triangles have more points to join. It cannot get cleaner than the latent allows.
python@torch.no_grad() def reconstruct(vggt, enc, dec, images, P=100_000): toks, cams, pointmap = vggt_tokens(vggt, images) # once per scene z_p, z_c = enc(toks, cams) # [128,512], [1,512]: cache this x = pointmap_mixture(pointmap, P) # [P, 6] starting cloud grid = torch.cat([torch.linspace(0, 0.95, 51)[:-1], torch.linspace(0.95, 1, 101)]) # 50 + 100 steps for t0, t1 in zip(grid[:-1], grid[1:]): x = x + (t1 - t0) * dec(x, t0, z_p, z_c) # Euler step, all P points at once pos, nrm = x[:, :3], normalize(x[:, 3:] - x[:, :3]) return pos, nrm
Chapter 7
Make independent points agree by letting the error of one rendered image nudge all of them at once, near the end of the flow
Back to the crowd of surveyors from Chapter 4. Two of them stand near the same wall. One reports the wall at 1.00 metres. The other says 1.03. A third reports a wall in mid-air. Each answer is sensible on its own, and none can check the others, because nobody ever told them to talk. This is the cost of per-point decoding.
The paper states it plainly: the loss of Chapter 4 “models each query in isolation, never the joint distribution over surface points.” Nothing forces independent points onto the same surface. The result is scattered points between surfaces and drift from the input views. The fix must add coordination without giving up independence during training.
The photos are the one thing that every point answers to. If the points really form the scene, then drawing them as small 3D blobs, seen from the camera positions, should reproduce the photos. If they do not, the difference between the drawing and the photo is a signal. And the signal depends on all the points together, because each pixel of a drawing is a blend of the blobs that cover it.
A gradient is the direction in which a loss grows fastest. Moving against it lowers the loss. Take the gradient of the drawing error with respect to every point, and each point gets a nudge that carries information about its neighbours. This is the idea of guidance: steer a generative flow with the gradient of a loss that is not part of the model. The paper cites universal guidance and loss-guided diffusion, and notes that their gradient comes from a differentiable rendering of the partly solved point cloud, not from an external classifier.
Guidance runs only in the last stretch of the flow, for t ≥ 0.95, and only at inference. At each Euler step in that stretch, five things happen.
The paper adds regularization terms on the rendered depth maps, following Gaussian Wrapping. The appendix gives the details. Each guess becomes one 3D Gaussian with its own scale, rotation, opacity and view-dependent colour. The rendering uses the RaDe-GS rasterizer. The gradient also flows back to the camera poses, to absorb small pose errors in VGGT. An optional extra loss uses a monocular depth model and compares only the order of depths, because such models are not consistent across views. Figure 3 of the paper shows the effect: no guidance (c), photometric guidance (d), photometric plus monocular depth (e).
The real renderer is too big to trace by hand. So the device below uses a stand-in with the same structure. Three points cover one pixel, and the photo says the surface height there is 1.00. Say their guesses are x̂1 = 1.00, 1.02 and 1.14 at t = 0.95, so 1 − t = 0.05. Take the stand-in loss L = (mean of the three − 1.00)2.
Hollow circles are where the points are at t = 0.95. Warm dots are the raw guesses of where they will land. Green dots are the guesses after guidance. The dashed line is the height the photo shows. Drag the number of gradient steps M.
A stand-in, not the paper's loss. The real Lrender renders oriented Gaussians (Equation 3). Here three points share one pixel and the loss is the squared error of their mean height, which makes the coupling visible and the arithmetic exact. M = 32 and t ≥ 0.95 are the paper's.
Look at what the device shows and what it hides. The guided guesses all move down together, though they started at different errors. That shared movement is the communication. But the third point still sits about 0.10 above the photo (1.14 minus 0.0444). A group-average loss cannot fix a single stray. In the real system the rendering loss can: a point that no input view needs ends up with almost no opacity, and the paper prunes such points on the fly, using the standard 3D Gaussian Splatting threshold. So guidance does two jobs: it aligns groups of points to the photos, and it flags floaters for removal.
The rendering is cheap and does not depend on the number of views N. Even so, the paper puts the added time at about 30 seconds to 3 minutes, depending on the number of guidance steps. After the flow finishes, the oriented Gaussians are meshed with Delaunay triangulation, following Gaussian Wrapping. Whether the price buys better numbers is the question for Chapters 8 and 9. The short answer is: sometimes.
pythondef guided_step(dec, x, t, dt, z, views, M=32, lr=1e-2): v = dec(x, t, z) # raw velocity x1 = x + (1 - t) * v # guess of the landing spot if t >= 0.95: g = x1.clone().requires_grad_() for _ in range(M): loss = render_loss(splat(g), views) # one number from ALL points g = g - lr * torch.autograd.grad(loss, g)[0] x1 = g.detach() v = (x1 - x) / (1 - t) # guided velocity return x + dt * v
Chapter 8
Learn how Chamfer distance and F1 grade a point cloud, then read the paper's two big tables without being fooled by either
A teacher marks a student's map of a town in two ways. First: how far off is each street the student drew? Second: did the student leave out any streets? A student who draws three perfect streets and skips the rest should not get full marks. A student who draws every street plus fifty imaginary ones should not either. A good score checks both.
That is the logic of the two scores the paper uses. Both compare a predicted point cloud with a ground-truth cloud.
For each predicted point, find the nearest ground-truth point and note the gap. The average gap tells you how accurate the prediction is. Do the same the other way round, from each ground-truth point to the nearest predicted point. That average tells you how complete the prediction is. The Chamfer distance (CD) combines both directions. Lower is better. The paper divides it by the scene's diagonal so that scenes of different sizes are comparable.
The F1 score uses a threshold instead. Pick a distance τ, here 1% of the scene diagonal. Precision is the share of predicted points within τ of the truth. Recall is the share of true points within τ of the prediction. F1 is their harmonic mean, which is low unless both are high. Higher is better.
A hand example on a line. Predicted points: 0.0, 1.0, 2.5, 4.0. True points: 0.1, 1.2, 2.0, 3.0. Take τ = 0.3.
Grey points are the truth. Green points are predicted points within τ of it. Red points are strays. Hollow warm rings are true points the prediction missed. Make the prediction noisy, add strays, or cut out a stretch.
Illustrative 2D toy: 400 true points, about 300 predicted. τ is 1% of the toy's bounding-box diagonal, as in the paper. Chamfer here is the average of the two directional means, divided by the diagonal. The paper's exact averaging convention is not spelled out.
Slide the missing stretch and watch recall fall while precision stays high. Add strays and the opposite happens. Add noise and both drop together, because points slip past τ.
Why the harmonic mean and not the plain average? Take a prediction with precision 1.0 and recall 0.1: it draws a few correct points and misses almost everything. The plain average is 0.55, which sounds fair. The harmonic mean is 2 × 1.0 × 0.1 / 1.1 = 0.18, which sounds like what it is. A harmonic mean is always pulled toward the smaller of the two numbers. That makes F1 hard to game: a method cannot hide a gap in recall behind a high precision, or the reverse.
Every method gets the same 16 unposed views. Before scoring, each prediction is lined up with the truth: a closed-form similarity fit (Umeyama) on camera centers, then up to 30 rounds of a trimmed, scale-locked ICP. Points outside the truth's bounding box are clipped. Both clouds are thinned to a common density. This protocol is in the appendix, and it matters: a method cannot win by luck of its coordinate frame.
The alignment step deserves a closer look, because every score depends on it. First a closed-form fit, the Umeyama algorithm, finds the scale, rotation and shift that best match the predicted camera centers to the true ones. That fixes the global scale. Then a robust ICP (iterative closest point) refines rotation and shift only, with the scale held fixed. Early rounds accept matches up to 5% of the diagonal away, and later rounds only 1%. Each round keeps only the closest 70% of matches and weights them with a Huber loss, so a few far outliers cannot drag the fit. Both clouds are then thinned to the same density so that a method with more points is not rewarded for it.
The baselines come in three families. Per-view feed-forward: the raw pointmaps of VGGT and Depth Anything 3, and the same fused into one mesh with TSDF fusion (a classical way to merge depth maps). The paper reports the raw pointmaps for reference only and excludes them from the ranking, because they are not a single surface. Latent feed-forward: NOVA3R. Per-scene optimization: 2DGS, RaDe-GS and Gaussian Wrapping, started from VGGT's cameras and points.
One more detail explains the TSDF rows. A TSDF (truncated signed distance function) is a grid in which each cell stores how far it lies from the nearest surface. To fuse many pointmaps, the paper builds three nested grids of 100 × 100 × 100 cells, with sides of 1, 3 and 10 times the scene diagonal, and a truncation of 1.25% of the diagonal. The nested grids keep detail in the foreground and still catch the background. This is a careful baseline, not a straw one.
The eight datasets split in two. Table 2 uses four with native surface truth: ML-Hypersim, BlendedMVS, DTU and SCRREAM. Table 1 uses four whose truth is made by running Gaussian Wrapping on the dense photos: the DL3DV test split (the only one Surflo trained on), Tanks & Temples, Mip-NeRF 360 and DeepBlending. Keep that split in mind when you read a win.
Pick a dataset and a score. Bars are the paper's numbers at 16 views. Faded bars are the raw pointmaps, which the paper does not rank. A star marks the best ranked method.
Numbers copied from the paper, Table 1 (DL3DV, Tanks & Temples, Mip-NeRF 360, DeepBlending) and Table 2 (ML-Hypersim, BlendedMVS, DTU, SCRREAM). Chamfer is normalized by the scene diagonal.
Try DL3DV, F1. Surflo without guidance scores 81.92. The best ranked baseline, Depth Anything 3 with TSDF fusion, scores 72.30. Gaussian Wrapping on the same 16 views scores 60.67. That is the headline gap. Now try DTU. Every score is low. Surflo with guidance (42.05) still leads the best ranked baseline, NOVA3R (31.41), but the raw VGGT pointmap (47.80) sits above both and is unranked. Read the whole table, not only the headline.
Chapter 9
See what happens as the number of photos changes, which design choice matters most when removed, and what the speed claim really means
A photographer asks the obvious question: how many photos do I need? It is also the fairest test of Surflo's central claim. If one fixed-size state really holds a scene, the model should work from 2 photos, from 16, and from 32 with no retraining. The paper tests exactly this on two outdoor sets.
Tables 3 and 4 vary the views per scene over 2, 4, 8 and 32, on Tanks & Temples and Mip-NeRF 360. We add the 16-view column from Table 1. Everything else is the same model. The encoder does not change, and the latent stays at 129 tokens. Only the amount of evidence changes. Explore the curves:
Each line is a method. The thick warm lines are Surflo. Faded lines are the unranked raw pointmaps. Pick a dataset and a score, then drag to a view count to read that column.
Numbers from the paper: Tables 3 and 4 for 2, 4, 8 and 32 views, and Table 1 for 16 views. Chamfer lines use a log axis. The x axis is evenly spaced, not to scale.
Three facts stand out. First, at 2 views everyone fails. On Tanks & Temples, F1 is 5 to 9 for all methods, and Surflo without guidance leads with 9.28. Two photos hold too little to fix a scene. Second, from 4 views up the gap opens. At 4 views Surflo scores 75.07 while the best ranked baseline scores 53.62. Third, at 32 views Surflo without guidance reaches 90.76, ahead even of the unranked VGGT pointmap at 87.44.
Look also at the guided and unguided lines. In every column of Tables 3 and 4, the unguided Surflo is equal or better. Guidance does not buy accuracy as photos change. Chapter 10 returns to this.
The 2-view column is worth a closer look. Surflo gets Chamfer 0.1345 against 0.1461 for the raw VGGT pointmap, and F1 9.28 against 5.27. These are small wins on large errors. The limitations section explains why: with very few views VGGT's pointmaps can be poor, and Surflo's start cloud and patch tokens both come from VGGT. A weak backbone sets a ceiling that no decoder can lift, however good the flow is.
An ablation removes one part of a system and measures the loss. If the score barely moves, the part was not needed. Table 5 removes three. Each row changes one thing against the full model (K = 128, a 3D code, a mixture source) on the DL3DV test split and on Tanks & Temples, with 16 views.
Pick a design choice. Each pair of bars is F1 on one dataset: the weaker variant against the full model.
Numbers from the paper's Table 5 (16 views). The full-model row (Chamfer 0.0073, F1 81.21 on DL3DV; 0.0055, 88.02 on Tanks & Temples) differs slightly from the "no guidance" row of Table 1 (0.0072, 81.92 on DL3DV). The paper does not say why.
Every removal hurts, and none is a small effect. Cutting the latent from 128 to 32 tokens costs about 8.5 F1 points on both sets. Dropping the 3D position code costs 5.2 points on DL3DV and 7.2 on Tanks & Temples. Swapping the mixture source for a plain Gaussian costs 7.6 and 10.9, the largest single drop in the table, and the authors note it is worst on large scenes. This matches the two ideas of Chapters 2 and 4: tell the decoder where things are, and start the points near where the surface is.
To judge the size of an effect, turn the Chamfer change into a percentage. Going from K = 32 to K = 128 lowers DL3DV Chamfer from 0.0089 to 0.0073. That is (0.0089 − 0.0073) / 0.0089 = 18% less error. The source cloud change, 0.0088 to 0.0073, is 17%. The 3D code, 0.0083 to 0.0073, is 12%. All three ablations are changes of more than ten percent, which is large for a single design choice.
One caution. The paper reports a single number per cell, with no error bars and no repeated runs. A difference of a point or two, such as the 0.78 F1 change from guidance on BlendedMVS, cannot be told apart from run-to-run noise on this evidence. The large gaps, tens of F1 points against per-scene optimization or 5 to 10 points in the ablations, are another matter. Those are well outside what noise would plausibly explain.
The abstract says Surflo runs “an order of magnitude faster than optimization-based methods that require hundreds of views.” The efficiency paragraph gives the pieces, on one H100. Encoding is a single pass through VGGT and the Perceiver. Decoding 105 points from the cached latent takes a few seconds, which the paper calls two orders of magnitude faster than per-scene baselines such as 2DGS or Gaussian Wrapping. Guidance adds roughly 30 seconds to 3 minutes. So the honest summary has two lines: the plain flow is very fast; the guided flow is slower. The abstract sums up both as an order of magnitude faster than optimization.
Notice what the paper does not publish: a full per-method timing table. The claims above are statements of the text, not a measured grid, so we have kept them as stated.
Chapter 10
Check whether guidance really helps, list the limits the authors name, and see which questions the paper leaves open
A bridge inspector does not only list what holds. She lists where a crack could start. A paper deserves the same treatment. Surflo has real strengths, and Chapters 8 and 9 showed them. This chapter looks at the places where the evidence is thinner than the abstract, starting with the one piece of the system that the tables do not clearly support.
The paper says that disabling guidance “can introduce visible noisy outliers, while still resulting in high accuracy,” and that full photometric guidance is “consistently best for visual quality.” That is a claim about how the result looks. The tables measure something else, point-to-surface distance. So compare the two Surflo rows in every table. For each dataset, take the guided score minus the unguided score.
Take Tanks & Temples as a worked case. F1 without guidance is 88.57. With guidance it is 86.40. The change is 86.40 − 88.57 = −2.17, so guidance hurt. On SCRREAM the numbers are 61.20 and 81.11. The change is +19.91, so guidance helped a great deal. Try all eight.
Each bar is the score with guidance minus the score without it. Bars to the right mean guidance helped. Bars to the left mean it hurt.
Computed from the paper's Tables 1 and 2 at 16 views. For Chamfer, the bar shows the unguided score minus the guided score in units of 0.0001, so that right still means better. Datasets marked "native" have ground truth that ships with the dataset; the others use pseudo-truth built by Gaussian Wrapping.
The pattern is not what you would guess from the paper's text. Guidance improves F1 on five of eight datasets and Chamfer on four. On the four datasets with native ground truth (ML-Hypersim, BlendedMVS, DTU, SCRREAM) F1 improves on all four. On DL3DV, Tanks & Temples and Mip-NeRF 360, whose pseudo-truth comes from Gaussian Wrapping, F1 falls. DeepBlending has the same kind of truth, and F1 rises there. And in Tables 3 and 4, where the number of views changes, the unguided model is equal or better in every column. The paper offers no explanation. Two readings are open, and they are ours, not the authors'. The guided loss may sharpen what a human sees without moving points closer to a reference. Or the reference itself may carry the same smoothness that guidance removes.
The conclusion lists four. They are worth taking one by one.
A word on what a fairer test would add. These are our suggestions, not the authors' plans. First, repeated runs with error bars, so small differences can be judged. Second, a timing table for every method on the same GPU, so the speed claim can be checked cell by cell. Third, a human rating of visual quality, since that is where the authors say guidance helps most and the metrics do not measure it. None of this lowers the headline gaps. It would make the middle of the tables easier to read.
Beyond the four limits, the evidence leaves some questions open. We list them as questions, not as findings.
python# a practical choice rule, drawn from the tables (our reading, not the paper's) def choose_mode(num_views, need_clean_mesh): if num_views < 3: return "expect weak results: VGGT is unreliable with 2 views" if need_clean_mesh: return "guidance on (about 30 s to 3 min), prune low-opacity points" return "plain flow: 150 Euler steps, a few seconds for 1e5 points"
Chapter 11
Keep the numbers, the terms and the core code in one place, and find your way to the neighbouring ideas
Surflo reads a variable number of unposed photos and squeezes them into one small global state of 129 tokens. A flow-matching decoder then moves independent random points onto the scene's surface, so the same state can give a few thousand points or a million. A rendering gradient in the last 5% of the flow can make the points agree with the photos. On the paper's tests it beats every ranked baseline on most columns, and its guidance step helps on five of eight datasets and hurts on three.
| What | Value | Where |
|---|---|---|
| Input | 2 to 16 unposed views in training; 2 to 32 tested in Tables 3 and 4, up to 65 shown in Figure 6 | Sec. 2.4, Tables 3 and 4 |
| Backbone | VGGT-1B, frozen; blocks 4, 11, 17, 23; 740 patches per view; 2,048 numbers per token | Sec. 2.1, App. B |
| Working width | D = 512 | App. B |
| Global state | K = 128 patch latents + 1 camera latent = 129 tokens, 66,048 numbers | Sec. 2.1, 3.1 |
| Perceiver | Le = 4 rounds, Ls = 4 self-attention blocks, 16 heads | App. B |
| 3D code | Gaussian Fourier, F = 512, 16 bands, σ from 100 to 0.154 | App. B |
| Decoder | 12 layers, cross-attention in the first 6, no attention across points, 6-number output | Sec. 3.1, App. B |
| Query | x = (m, m + εn), ε = 10−3 times scene scale | App. B |
| Source | Mixture of Gaussians on noisy VGGT pointmap samples, width 0.1 (normalized units) | Sec. 2.2, App. C |
| Time law | t = sigmoid(z), z from N(1, 1.62) | Sec. 2.2, App. C |
| Training | ~10.5K DL3DV scenes, 12 scenes and ~8K points per step, AdamW, 4 H100 GPUs, 400K iterations | Sec. 2.4, 3.1 |
| Inference | Euler, 150 steps (50 to t = 0.95, then 100); default 105 points; 103 to 106 possible | Sec. 2.2, App. D |
| Guidance | t ≥ 0.95, M = 32 gradient steps per ODE step; adds 30 s to 3 min | Sec. 2.3, 3.2, App. D |
| DL3DV, 16 views | Surflo F1 81.92, CD 0.0072; Gaussian Wrapping 60.67, 0.0168 | Table 1 |
| Tanks & Temples, 4 views | Surflo F1 75.07; best ranked baseline 53.62 | Table 3 |
| Largest ablation drop | Plain Gaussian source: F1 −10.9 on Tanks & Temples | Table 5 |
| Term | In one line |
|---|---|
| Global state | One fixed-size latent that holds a whole scene, however many photos made it. |
| Pointmap | A 3D point for every pixel of one photo. Per-view models make one per photo. |
| Oriented point | A position in space plus a normal that points out of the surface. |
| Perceiver | Learned queries that cross-attend to any number of tokens and return a fixed number. |
| Flow matching | Learn a velocity that carries noise to data, trained on straight lines between the two. |
| Source distribution | Where the points start. Here a mixture around VGGT's pointmap. |
| Fourier features | A cosine and sine code of position that turns nearness into similarity. |
| Ada-LN | A layer norm whose shift, scale and gate come from the time and the camera latent. |
| Rendering guidance | Nudge the landing guesses with the gradient of a photo-matching loss, near the end. |
| Chamfer, F1 | Average gap to the truth; and a hit rate at 1% of the diagonal combined from both sides. |
| TSDF fusion | A classical way to merge many depth maps into one mesh. |
python# Surflo in one place: encoder, decoder loss, and the guided sampler (a sketch of the paper's recipe) def encode(vggt, enc, images): # images: [N, 3, 280, 518] feats, cams, pointmap = vggt(images) # frozen toks = cat([proj(feats[l]) for l in (4, 11, 17, 23)]) + fourier(pointmap_centers) return enc(toks, cams), pointmap # z: [129, 512] def train_loss(z, pointmap, gt): # gt: [8192, 6], aligned to the VGGT frame x0 = mixture_on(pointmap, sigma=0.1) # [8192, 6] t = sigmoid(1.0 + 1.6 * randn(8192, 1)) xt = (1 - t) * x0 + t * gt return ((dec(xt, t, z) - (gt - x0)) ** 2).mean() def sample(z, pointmap, P=100_000, guided=False, M=32): x = mixture_on(pointmap, P=P) for t, dt in bi_phase_grid(50, 100, switch=0.95): # 150 Euler steps v = dec(x, t, z) if guided and t >= 0.95: x1 = x + (1 - t) * v # landing guess x1 = descend(render_loss, x1, views, steps=M) # couples all points v = (x1 - x) / (1 - t) x = x + dt * v return prune_low_opacity(x)
| Family | Examples (from the paper) | What Surflo changes |
|---|---|---|
| Per-view feed-forward | DUSt3R, VGGT, Depth Anything 3 | One shared state instead of one pointmap per photo. |
| Global latent | CUT3R, NOVA3R | Any number of points, many views, whole scenes. |
| Per-scene optimization | 3D Gaussian Splatting, 2DGS, RaDe-GS, Gaussian Wrapping | One pass from a few photos; the slow method becomes the teacher. |
| Object-level generators | 3DShape2VecSet, CLAY, SAM 3D | Whole scenes from unposed views, with a queryable state. |
| Flow and diffusion priors | PointFlow, TRELLIS, MAR, GeNVS, CAT3D | Transport single points in 3D, like MAR does for image tokens. |
Surflo: Consistent 3D Surface Flow Model with Global State was written by Antoine Guédon (LIX, École polytechnique), Shu Nakamura (Kyoto University), Nicolas Dufour (Kyutai), Jiahui Lei (UC Berkeley), Ko Nishino (Kyoto University) and Angjoo Kanazawa (UC Berkeley), published as arXiv:2606.13644 on 11 June 2026. The first three authors contributed equally. The project page is anttwo.github.io/surflo. All numbers in this lesson come from the paper unless a device says it is a toy. The authors say they will release code and the meshed DL3DV data upon publication.