Surflo

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.

Rebuild the scene

Ready
16

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

Many Photos, One Scene

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.

The job: turn photos into a surface

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.

How earlier feed-forward models answer

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.

Count the repeat sightings

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.

8

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 paper's answer, in three parts

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.

The idea in one line: the photos repeat, the shape does not, so store the shape once. Everything else in this paper is the work of making that single state small, queryable at any detail, and self-consistent.

The road

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.

  1. Flow matching from zero: how noise becomes data by following a velocity, in a toy you can run.
  2. Where in space am I?: the frozen VGGT encoder and the 3D position code.
  3. One global state: how a Perceiver squeezes any number of views into 129 tokens.
  4. One point at a time: the decoder, the source distribution and the training loss.
  5. Training on real scenes: the meshed DL3DV data and the shapes in a training step.
  6. Any resolution: Euler steps, the two-phase time grid and 8K to 1M points.
  7. Communication by guidance: how a rendering gradient makes independent points agree.
  8. Scores and tables: Chamfer distance, F1 and the main results.
  9. Views and ablations: what changes when you vary the views and the design.
  10. Limits and open questions: where Surflo fails and what comes next.
  11. Field guide: numbers, code, links onward and the source.
Why does Surflo compress all the views into a state whose size does not depend on the number of views?

Chapter 1

Flow Matching from Zero

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.

Easy points in, hard points out

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.

How the network learns the arrows

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:

xt
Where the point is at time t. At t = 0 it is the noise point. At t = 1 it is the data point.
t
Time, from 0 to 1. It also acts as a blend weight: the larger t is, the more of the data point you keep.
x0
A random point from the source (noise).
t
The same time, now weighting the data point.
x1
A real point from the target (a point on a surface).
u
The velocity of a point that rides this straight line: how far it must travel in total, x1 − x0, in one unit of time.

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.

L
The loss: one number that is small when the network guesses well. Training lowers it.
𝔼
Average over many random draws of t, x0 and x1.
vθ(xt, t)
The network's guess of the velocity. θ stands for all its weights.
x1 − x0
The right answer for this one straight line.

Why the guess is an average

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.

  1. For y = +1, the bell is centered at 0.5, so the gap to x is 0. The weight is e0 = 1.
  2. For y = −1, the bell is centered at −0.5, so the gap is 1. The weight is e−1/(2·0.25) = e−2 = 0.1353.
  3. Normalize: +1 gets 1 / 1.1353 = 0.8808. −1 gets 0.1192.
  4. The expected landing spot is x̂1 = 0.8808 × 1 + 0.1192 × (−1) = 0.7616.
  5. The velocity is the remaining distance divided by the remaining time: (0.7616 − 0.5) / (1 − 0.5) = 0.5232.

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.

Steer noise onto a ring

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.

8

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.

Flow matching in one line: learn the average arrow, then follow it in small steps. The network never sees the finished shape. It only learns which way is “toward the data” from each place and time.

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.

In the toy above, one Euler step sends every point to the center of the ring. Why?

Chapter 2

Where in Space Am I?

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.

From photos to tokens, with real shapes

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.

The problem: tokens do not know where they are

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.

Fourier features: a code that makes nearness visible

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.

γ(p)
The code of position p: 2F numbers (a cosine and a sine for each of F frequencies).
bf
One random frequency vector. Large entries make the code change fast as p moves. Small entries make it change slowly.
γ(p)·γ(q) / F
How similar the codes of two positions are, on a scale from −1 to 1.
(1/F) Σ cos(…)
What the similarity equals. It depends only on the offset p − q. That follows from cos A cos B + sin A sin B = cos(A − B).

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.

Measure nearness with a code

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.

3.2

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.

What the code buys

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]
Why does Surflo add the same Fourier code of 3D position to the patch tokens and to the decoder's query points?

Chapter 3

One Global State

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 in three plain paragraphs

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.

  1. Divide by 2: the scores become 2, 0, 1, −1.
  2. Take e to each power: 7.389, 1.000, 2.718, 0.368. Their sum is 11.475.
  3. Divide each by the sum. The weights are 0.644, 0.087, 0.237, 0.032.
  4. Let the four values be 10, 20, 30 and 40. The answer is 0.644×10 + 0.087×20 + 0.237×30 + 0.032×40 = 16.57.

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.

The Perceiver: fixed queries, any number of keys

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.

zp(l)
The K latent tokens after round l. At round 0 they are the learned queries.
CrossAttn
The cards (queries) read from all the scene tokens (keys and values).
Tn + γ(pn)
The patch tokens of every view n, each with its 3D code added (Chapter 2). The union over all views is one long list.
SelfAttnLs
Ls = 4 self-attention blocks in a row: the cards read from one another.
K × D
The shape of the answer: K = 128 tokens of D = 512 numbers, whatever the input length.

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).

Squeeze the views into a state

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.

16

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.

Heads, norms and the camera path

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.

How small is too small?

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
What makes the Perceiver's output size independent of the number of input views?

Chapter 4

One Point at a Time

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.

What a query point is

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:

  1. Take m = (0.30, −0.10, 0.80) and n = (0, 0, 1), on a scene of size 1.
  2. Then x0 = (0.30, −0.10, 0.80, 0.30, −0.10, 0.801).
  3. To decode: the last three minus the first three give (0, 0, 0.001).
  4. Scale that to length 1 and you get (0, 0, 1), the normal.

The trick keeps direction as a position-like quantity, so one ordinary velocity field handles both.

The starting cloud

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:

Choose where the points start

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.

0.12

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.

Inside the decoder

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 training objective and the time schedule

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.

LFM(θ, φ)
The loss. θ are the decoder weights and φ the encoder weights. Both are trained.
𝔼
The average over a random time t, a random start x0, a random surface point x1, and a random set of views {In}.
vθ(xt, t | z)
The velocity guess. The bar means “given”: z is built from the views by the encoder.
x1 − x0
The straight-line answer, as in Chapter 1.

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.

See which times get trained

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()
Why can Surflo decode 10,000 points or a million from the same latent?

Chapter 5

Training on Real Scenes

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.

Making the answers: a mesh for every scene

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.

Matching two coordinate frames

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:

pvggt
A point as VGGT would place it.
pcolmap
The same point in the dataset's frame.
L
A 3 × 3 matrix that rotates, scales and may shear.
t
A shift of the origin.

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.

One training step, with every shape

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.

Step through the data flow

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.

StageShape
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
8

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.

What the teacher cannot teach

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.

Why must the answer points be aligned before the loss is computed?

Chapter 6

Any Resolution from One Latent

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.

Encode once, decode many times

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:

xt+dt
The point after one small step in time.
xt
The point now: six numbers, position plus a normal offset.
vθ(xt, t | z)
The decoder's velocity, read from the latent z.
dt
The step size: how far the clock moves.

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 time grid: coarse first, fine at the end

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).

Ask for more points

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.

100,000

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.

What the different sizes are for

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
After the first request for 8,000 points, you ask for 128,000. What must run again?

Chapter 7

Communication by Guidance

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.

Use the photos as the referee

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.

The guided step, exactly

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.

  1. Ask the decoder for the velocity vθ as usual.
  2. Compute the guess of the landing spot, x̂1 = xt + (1 − t) vθ (Chapter 1).
  3. Treat the whole batch of guesses as small oriented Gaussians, render them through the VGGT cameras, and compute the rendering loss against the input photos.
  4. Take M = 32 gradient-descent steps on the guesses to lower that loss. This yields adjusted guesses x̂1g.
  5. Turn the adjusted guess back into a velocity, vg = (x̂1g − xt) / (1 − t), and take the Euler step with vg.
Lrender({x̂1})
The communication loss. Its input is the whole set of guesses at once, which is why it couples them.
(1/N) Σn
Average over the N input views.
λ ‖În − In‖1
The sum of absolute pixel differences between the rendered image În and the photo In, weighted by λ.
(1 − λ) DSSIM
A structure-similarity penalty: it compares local patterns of light and dark, not single pixels.

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).

Why this couples the points: a hand example

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.

  1. The mean is 1.0533. The error e is 0.0533.
  2. The gradient on each guess is (2/3) e. It is the same for all three: each point is told about the group.
  3. With step size 0.3, every gradient step shrinks e by the factor 1 − 0.3 × 2/3 = 0.8.
  4. After M = 8 steps, e = 0.0533 × 0.88 = 0.0089. Each guess has moved down by 0.0444.
  5. The guided velocity differs from the raw one by −0.0444 / 0.05 = −0.89 per unit time.

Take a guided step

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.

8

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 price

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
What makes the guidance term couple points that the decoder treats independently?

Chapter 8

Scores and the Main Tables

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.

Chamfer distance and F1

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.

F1
One score from 0 to 100 that is high only if both parts below are high.
Precision
The share of predicted points that lie within τ of the true surface. It punishes stray points.
Recall
The share of true surface points that have a predicted point within τ. It punishes missing parts.

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.

  1. Gaps from each predicted point to the nearest true one: 0.1, 0.2, 0.5, 1.0. Mean 0.45.
  2. Gaps from each true point to the nearest predicted one: 0.1, 0.2, 0.5, 0.5. Mean 0.325.
  3. Chamfer distance, as the average of the two means: 0.3875.
  4. Precision: two of four predicted points are within 0.3. That is 0.5.
  5. Recall: two of four true points are within 0.3. That is 0.5. F1 = 0.5.

Grade a point cloud

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.

0.015
0
0°

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.

How the paper grades Surflo

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.

Read the paper's tables

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.

A prediction has a perfect, complete surface but also 1,000 stray points far from the scene. Which score drops most?

Chapter 9

Views, Ablations and Speed

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.

Changing the number of views

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:

Add photos, watch 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.

16

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.

Removing one piece at a time

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.

Remove one design choice

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 speed claim, read carefully

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.

Which ablation in Table 5 costs the most F1 on Tanks & Temples?

Chapter 10

Where It Breaks and What Is Open

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.

Does guidance help?

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.

Switch guidance on, dataset by dataset

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.

A fair way to read it: use the unguided flow when you want speed and the best average number. Use guidance when stray points and floaters would hurt, such as before meshing, and expect to pay 30 seconds to 3 minutes.

The limits the authors name

The conclusion lists four. They are worth taking one by one.

  1. Surflo inherits VGGT's failures. If VGGT gives poor pointmaps, which happens with very few views or extreme baselines, the starting cloud and the patch tokens are both unreliable. The 2-view results show it: F1 on Tanks & Temples is only 9.28, even for the best method.
  2. Guidance is not free. Rendering the Gaussians costs time, though the paper calls it small on one GPU at standard sizes.
  3. The teacher is imperfect. Gaussian Wrapping surfaces are themselves wrong on transparent and textureless things (Chapter 5). Surflo learns those errors. The authors expect it to improve with denser and cleaner ground truth.
  4. Geometry only. The decoder predicts position and normal, not colour. Extending it to predict view-dependent appearance is the authors' named next step.

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.

Questions the paper leaves open

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"
Which statement about guidance do the paper's tables support?

Chapter 11

Field Guide

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.

The numbers

WhatValueWhere
Input2 to 16 unposed views in training; 2 to 32 tested in Tables 3 and 4, up to 65 shown in Figure 6Sec. 2.4, Tables 3 and 4
BackboneVGGT-1B, frozen; blocks 4, 11, 17, 23; 740 patches per view; 2,048 numbers per tokenSec. 2.1, App. B
Working widthD = 512App. B
Global stateK = 128 patch latents + 1 camera latent = 129 tokens, 66,048 numbersSec. 2.1, 3.1
PerceiverLe = 4 rounds, Ls = 4 self-attention blocks, 16 headsApp. B
3D codeGaussian Fourier, F = 512, 16 bands, σ from 100 to 0.154App. B
Decoder12 layers, cross-attention in the first 6, no attention across points, 6-number outputSec. 3.1, App. B
Queryx = (m, m + εn), ε = 10−3 times scene scaleApp. B
SourceMixture of Gaussians on noisy VGGT pointmap samples, width 0.1 (normalized units)Sec. 2.2, App. C
Time lawt = 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 iterationsSec. 2.4, 3.1
InferenceEuler, 150 steps (50 to t = 0.95, then 100); default 105 points; 103 to 106 possibleSec. 2.2, App. D
Guidancet ≥ 0.95, M = 32 gradient steps per ODE step; adds 30 s to 3 minSec. 2.3, 3.2, App. D
DL3DV, 16 viewsSurflo F1 81.92, CD 0.0072; Gaussian Wrapping 60.67, 0.0168Table 1
Tanks & Temples, 4 viewsSurflo F1 75.07; best ranked baseline 53.62Table 3
Largest ablation dropPlain Gaussian source: F1 −10.9 on Tanks & TemplesTable 5

The terms

TermIn one line
Global stateOne fixed-size latent that holds a whole scene, however many photos made it.
PointmapA 3D point for every pixel of one photo. Per-view models make one per photo.
Oriented pointA position in space plus a normal that points out of the surface.
PerceiverLearned queries that cross-attend to any number of tokens and return a fixed number.
Flow matchingLearn a velocity that carries noise to data, trained on straight lines between the two.
Source distributionWhere the points start. Here a mixture around VGGT's pointmap.
Fourier featuresA cosine and sine code of position that turns nearness into similarity.
Ada-LNA layer norm whose shift, scale and gate come from the time and the camera latent.
Rendering guidanceNudge the landing guesses with the gradient of a photo-matching loss, near the end.
Chamfer, F1Average gap to the truth; and a hit rate at 1% of the diagonal combined from both sides.
TSDF fusionA classical way to merge many depth maps into one mesh.

The core as code

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)

Where it sits in the field

FamilyExamples (from the paper)What Surflo changes
Per-view feed-forwardDUSt3R, VGGT, Depth Anything 3One shared state instead of one pointmap per photo.
Global latentCUT3R, NOVA3RAny number of points, many views, whole scenes.
Per-scene optimization3D Gaussian Splatting, 2DGS, RaDe-GS, Gaussian WrappingOne pass from a few photos; the slow method becomes the teacher.
Object-level generators3DShape2VecSet, CLAY, SAM 3DWhole scenes from unposed views, with a queryable state.
Flow and diffusion priorsPointFlow, TRELLIS, MAR, GeNVS, CAT3DTransport single points in 3D, like MAR does for image tokens.

Keep going

The photos repeat, the shape does not, so store the shape once. Squeeze the views into a fixed global state, then let every point find the surface on its own. Add one shared signal from the photos when the points need to agree.

Credit and source

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.

Put the order of Surflo's inference path in sequence.
Go back to the hero and run all three systems again. Notice now which counter stays fixed as the views grow, why the Surflo points stay on one outline, and which of its two numbers you would trust for a scene your robot has to navigate. Then open Teach mode and draw the guided step from memory.
Surflo
Read the paper · Back to Veanors