Fitting Shape Models to Sparse Detector Events with an Extended Unbinned Likelihood

Many 3D sensors do not return a clean surface. They return a scattered set of individual detections, such as photon returns from a single-photon lidar, counts from a photon-counting scanner, or sparse samples from a fast or low-dose acquisition. Each detection has a continuous position, the total number of detections fluctuates randomly, and some fraction of them are background noise. Statistical shape models are compact descriptions of how an anatomy or object family varies, typically a mean shape plus a few principal "modes" such as overall size or arch height. They are almost always fit to dense, pre-cleaned meshes. This proposal fits the shape model's few coefficients directly to the raw events, using the likelihood that particle physicists use for rare-signal searches. That likelihood evaluates every event at its exact coordinates, does not bin them, and treats the total event count itself as Poisson-distributed data.

The core claim is that two kinds of information are routinely thrown away, and that recovering them matters most when detections are few. The first is the event count. If the emission or return rate per unit area is known or shared across a scene, then the number of events tells you the surface area, and therefore the dominant size mode. In a healthy aortic cohort, size accounts for 68% of population shape variation (A Comprehensive Pipeline for Aortic Segmentation and Shape Analysis). The second is the correct coupling between an event and the surface. Each event should be explained by a mesh face, a relation among three vertices whose area also sets the expected count. It should not be explained by a pairwise point-to-centroid assignment. We expect the combination to give lower shape-coefficient error, an estimated background yield rather than a hand-set one, and calibrated uncertainty on shape modes in the low-count regime. We also expect the advantage to shrink as counts grow. Measuring where it disappears is part of the contribution.

Core Claim and Mechanism

Let $\alpha$ be the coefficients of a mesh-based statistical shape model with shared topology, so that $S(\alpha)$ is the surface they produce and $A(\alpha)$ is its area, summed over triangles. Detections $x_1,\dots,x_N$ in a field of view of volume $V$ are modeled as a Poisson point process. Its intensity is a surface emission density $\rho$, blurred by a Gaussian sensor kernel $K_\sigma$, plus a uniform background rate $b$. The extended unbinned log-likelihood is

$$\log \mathcal{L}(\alpha,\rho,b) = -\big(\rho A(\alpha) + bV\big) + \sum_{i=1}^{N} \log\Big(\rho \int_{S(\alpha)} K_\sigma(x_i - y)\,dy + b\Big).$$

The first term is the Poisson count term that a fixed-$N$ likelihood drops. The surface integral is computed face by face with a few quadrature points per triangle, and spatial hashing restricts each event to nearby faces. Each event's density therefore depends jointly on the three vertices of every nearby triangle, and the expected yield depends on triangle areas. Shape coefficients are fit by gradient-based maximization with a Gaussian prior on $\alpha$ taken from the model's eigenvalues. Uncertainty comes from the profile likelihood or a Laplace approximation, both standard in unbinned physics fits (J. Lee; Yan et al.).

The cited work plays three roles. Coherent Point Drift is the closest existing method and supplies the probabilistic registration template. It treats template points as centroids of a Gaussian mixture, fits observed points by expectation-maximization, and absorbs outliers with a uniform component whose weight is set by hand. We differ from it in three ways. We use a surface measure instead of a vertex mixture. We model the count with a Poisson term. We estimate background yield instead of fixing it. We also fit in the low-dimensional shape space rather than a free velocity field.

Two papers motivate the event-level, count-aware treatment. BASiL showed in gamma-ray astronomy that keeping event-by-event continuous variables, instead of hard cuts, improves signal precision by 15–20% at 10% signal-to-noise. Free-running vs Synchronous: Single-Photon Lidar showed that unbinned estimation of depth, signal flux and background flux from photon timestamps beats naive estimators, and that a learned point-cloud prior cuts depth error up to 3x. That prior is evaluated locally per line of sight and contains no population shape model, which is exactly what we add.

The binary-relations literature acts as a lens rather than the main mechanism. Percha documents how splitting a joint relation into pairs creates spurious independent facts. SGM-net enriches edges with curves but still matches by pairwise assignment. We test the analogous question for shape fitting: does replacing point-to-centroid pairs with face-level relations change estimates? We do not claim general hypergraph machinery.

Research Program

We will build a differentiable implementation of the likelihood above for triangle-mesh shape models. We will then derive the Fisher information on the size mode, split into the part from event positions and the part from the count. With known $\rho$, the count contributes relative area precision of roughly $1/\sqrt{\rho A}$, because the variance of a Poisson count equals its mean. This predicts the event budget below which the count term should dominate. With $\rho$ unknown, the count only informs $\rho$ and the extended term should give no shape benefit. That is a falsifiable prediction we will check rather than hide. The intermediate case is a single scene with several structures sharing one $\rho$. There, relative counts inform relative areas, and we treat it as a third regime.

Shape models come from data with shared mesh topology. These are the FreiHAND hand meshes (FreiHAND), and the aortic meshes if the pipeline's 1,000-vertex corresponded outputs can be obtained (A Comprehensive Pipeline for Aortic Segmentation and Shape Analysis). From held-out shapes we simulate Poisson surface events with Gaussian blur, at total counts from about 30 to 5,000 and background fractions from 0% to 50%. Ground truth is known exactly. A second, more realistic setting renders held-out hand shapes through a single-photon lidar simulation following the free-running model of the lidar paper, as that paper did with the Greyc 3D meshes. The point cloud then inherits realistic depth noise and pile-up before our fit.

Baselines

The naive reference is the shape model's mean shape with no fitting, and, separately, mean shape plus a scale fit to the point cloud's spread. Any method that does not beat these at low counts is learning nothing from the events.

The strongest existing method for this exact input is Coherent Point Drift with its uniform outlier weight, followed by projecting the registered template onto the shape model's modes. We also run a shape-constrained variant that optimizes $\alpha$ directly under a vertex-centroid mixture. Both receive the same events and the same shape model, and their outlier weight and kernel width are tuned on a validation grid of the same size as ours. The second strong competitor is robust point-to-surface fitting of $\alpha$. This minimizes a truncated or Huber point-to-triangle distance with the same eigenvalue prior and an equal tuning budget.

The key ablations isolate each ingredient. The first is our likelihood with the count term removed, conditioning on $N$. The second replaces the face-level surface integral with an area-weighted vertex mixture, which isolates the ternary face coupling from mere density reweighting. The third is a binned Poisson likelihood on voxel grids at several resolutions, which isolates the unbinned ingredient. Beating the baselines means lower held-out per-vertex surface error in millimetres and lower shape-coefficient error at matched counts, with non-overlapping bootstrap intervals. It also requires 95% intervals on the size mode that achieve near-nominal coverage where the baselines provide none.

For context on reported numbers in the file, dense-mesh aortic registration reaches 0.73 mm average distance against 1.00 mm for Deformetrica (A Comprehensive Pipeline for Aortic Segmentation and Shape Analysis), and FreiHAND's image-based CNN baseline has 1.07 cm mean mesh error. Neither is a sparse-event task. For shape-model fitting to sparse Poisson events, no reported result was found on Lacuna, so all baseline numbers will be produced here.

Why not just…?

Why not just run Coherent Point Drift and project onto the shape model? It is principled and already has an outlier term. Its density is a mixture over vertices, however, so non-uniform vertex spacing biases the fit, and its outlier weight is a tuning knob rather than an estimated background yield. Its two-stage projection also discards the shape prior during registration. The vertex-mixture ablation will show how much of any gain comes from the face integral and how much from simply fitting in shape space. If the area-weighted vertex mixture matches our method, we will report that the higher-order coupling is unnecessary at practical mesh densities.

Why not just minimize a robust point-to-surface distance? This is the most serious threat. With dense, mostly clean points it should do about as well as any likelihood, because the maximum-likelihood estimate under Gaussian blur approaches a point-to-surface least-squares fit. Its weaknesses should show up only where we predict gains: at low counts, where it cannot use $N$, and at high background, where truncation thresholds must be guessed. It also produces no calibrated uncertainty. The count-sweep experiment is designed to locate the crossover. If robust fitting ties us everywhere with $\rho$ known, the central claim fails.

Why not just voxelize and fit a binned model, or segment with a CNN? Binning discards intra-voxel position and creates mostly empty bins when events are sparse. Dense segmentation networks need voxel-level labels that sparse detectors do not provide, and the aortic pipeline needed substantial mesh repair after segmentation even with dense data (A Comprehensive Pipeline for Aortic Segmentation and Shape Analysis). The binned-Poisson ablation at several resolutions measures directly how much binning costs at each count level.

Proposed Experiments and Decisive Checks

The main experiment sweeps total count and background fraction on held-out FreiHAND shapes, plus aortic shapes if available. It reports surface error, size-mode error, background-yield bias and interval coverage for every method above. The first decisive check runs this sweep three times: with $\rho$ known, with $\rho$ shared across two structures in one scene, and with $\rho$ unknown. The extended term should help in the first two regimes and not in the third. The measured size-mode precision should track the Fisher-information prediction. If gains appear when $\rho$ is unknown, something other than the count is responsible, and we must find it.

The second check compares the face-level likelihood with the area-weighted vertex mixture as the template is decimated. Our prediction is that the gap grows as meshes become coarse and irregular and vanishes when they are dense and uniform. The third check repeats the comparison on simulated single-photon lidar returns, to see whether gains survive realistic noise and pile-up. If gains appear only in the idealized simulation, the method is a statistical curiosity rather than a tool for sparse sensors.