Skip to content
Writing

A tuned classical baseline nearly matched deep segmentation

On one eucalyptus stand, a properly swept local-maximum detector beat one deep segmenter and came close to the other.

, LiDAR, forest inventory, evaluation

I run a research pipeline that segments individual eucalyptus trees out of drone LiDAR and estimates timber volume from them. Partway through, I ran a comparison I expected to be routine and got a result that changed how I write up the whole project.

The measurement

Same ruler on every method: 211 censused stems, a 26 metre square, Hungarian matching at a 2 metre threshold, aggregated across tiles, with no averaging between them.

Condition Local max, 1.75 m ForestFormer3D Local max, 0.75 m SegmentAnyTree
One pass, no adaptation 0.691 0.681 0.792 0.811
Nine views plus AdaBN, own fusion radius 0.864 0.921

Read the top row again. A classical local-maximum detector on a canopy height model, with its smoothing window properly swept, scores 0.792. ForestFormer3D scores 0.681. The deep model loses to the thing it was supposed to replace.

Why the first version of this comparison was wrong

My original baseline scored 47.7% on tree count and made the deep models look excellent. That number came from a single local-maximum configuration I had picked once and never revisited, with a raster at 0.5 m, a window of 3 pixels and sigma 0.6.

When I swept resolution and window size properly and selected by matched F1, the same classical algorithm reached 97.8% of the census count. Nothing about the algorithm changed. Only the effort I had put into tuning it.

That is the whole lesson. An untuned baseline is not a baseline, it is a strawman, and any reviewer can rebuild the sweep in an afternoon and find out.

What actually moved the needle

Swapping a classical detector for a deep network barely moves the result on this stand. What produces the real gain is aggregating nine flight views and adapting batch-norm statistics to this forest. That takes SegmentAnyTree from 0.811 to 0.921 and ForestFormer3D from 0.681 to 0.864.

So the honest description of the contribution is not “we used the best available model”. It is “we aggregated multiple views and adapted the model to the target stand, and that is where the improvement came from”.

One more detail matters if you try to reproduce this. Each model has its own optimal fusion radius, 1.1 m for one and 1.5 m for the other, and forcing both to the same radius penalises one of them. Measured with a single shared radius, the gap between the two models looks like 9.3 points. Measured with each at its own radius, it is 5.7.

Where the advantage really shows

Not in the headline count, which the tuned classical baseline nearly matches. It shows in per-plot error, 5.5 trees against 10.0 across 13 plots checked against 717 censused stems, and in tree-by-tree matching. That second metric decides whether you can attach a volume to a specific tree instead of to a plot average.

If your pipeline only ever needs a stand total, a well-tuned classical method may be enough. If you need to know which tree, it is not.