When several robots or vehicles look at the same object, they can combine their estimates of where it is by averaging them, and the error shrinks roughly as one over the number of agents. Orientation does not behave this way. An angle wraps around, so 359° and 1° are neighbors, yet their arithmetic mean is 180°. A rectangular box looks the same after a half turn, so a detector often knows the object's axis but not which end is the front. Two agents viewing a car from opposite sides can confidently report headings that differ by 180°. The standard fix of averaging unit vectors $(\cos\theta,\sin\theta)$ handles the wrap-around. It still forces each agent to commit to one direction first, which discards exactly the "front or back?" ambiguity that the other agents could resolve.
We propose that each agent share a few Fourier coefficients of its log-likelihood over the angle, and not a single angle estimate. Summing log-likelihoods is how independent evidence is combined, and summing Fourier coefficients is ordinary vector addition. So exact fusion of circular evidence becomes plain Euclidean consensus, the kind that existing distributed learning theory already covers. Each agent then reads off the fused angle locally by maximizing a short trigonometric polynomial. The first harmonic carries heading, and the second carries the box axis, the same doubled-angle encoding that boundary-free detectors use. An agent that sees only the axis contributes a strong second harmonic and almost no first harmonic. It helps without voting for a wrong heading.
Core Claim
Let $\ell_i(\theta)$ be agent $i$'s log-likelihood for the orientation $\theta$ of a shared object, written as a truncated Fourier series
$$\ell_i(\theta) = \sum_{k=1}^{K} a_{i,k}\cos k\theta + b_{i,k}\sin k\theta ,$$
where $K$ is a small number of harmonics (we expect $K\le 4$) and the coefficients $a_{i,k}, b_{i,k}$ come out of a detection head. Under conditionally independent observations, the network log-posterior is $\sum_{i=1}^N \ell_i(\theta)$. Its coefficients are the sum of the agents' coefficients, which a consensus protocol can compute through neighbor-to-neighbor averaging: diffusion averaging gives the mean, and a parallel consensus on agent counts gives the factor $N$.
Three things follow. First, wrap-around never enters the communication step at all; it appears only in local decoding, where it is harmless. Second, Fisher information adds across agents. The fused angular variance should therefore fall as $1/(N\bar\kappa)$, where $\bar\kappa$ is the mean local concentration, the circular analog of inverse variance. Third, the method reduces exactly to concentration-weighted unit-vector averaging when $K=1$, because a product of von Mises densities is again von Mises with summed first-harmonic vectors. It can only improve on that baseline where evidence is multimodal.
The falsifiable prediction concerns when it helps. The method should gain over the best vector-averaging baseline in proportion to the fraction of agents whose evidence is axis-only or bimodal, especially when heading flips are correlated with viewpoint. It should tie that baseline when every agent's evidence is unimodal.
Relation to Prior Work
The distributed side supplies the convergence machinery. Excess-Risk of Distributed Stochastic Learners shows that Adapt-then-Combine diffusion attains an $N$-fold speedup over isolated learners and reports a 14 dB gain on a 25-node network. Networked Signal and Information Processing frames network size as equivalent to dataset size, and CIRFE gives $1/N$ asymptotic variance for distributed field estimation. All three assume a Euclidean parameter. We do not extend their theory to the circle. We change what is shared so that their Euclidean results apply unchanged.
Multi-Robot Object SLAM using Distributed Variational Inference is the closest system. It runs peer-to-peer KL-regularized mirror descent over object landmarks, but only over 3D centroids, leaving orientation out of the consensus. It motivates our setting and supplies our SLAM testbed. STAMP fuses heterogeneous vehicles' bird's-eye-view features with flat $L_2$ alignment and documents a "bottleneck effect" from weak agents. Our method works at the level of object evidence rather than features. Its weighting by concentration is a direct, testable remedy for weak agents dragging down orientation.
On the angular side, three works supply the encoding and the training loss. Circular Smooth Label discretizes angles into bins with a wrapped smoothing window and adds a separate heading classifier. Rethinking Boundary Discontinuity encodes angles as $e^{j\omega\theta}$ with $\omega=2$ for rectangles; our second harmonic is that encoding. Deep Directional Statistics trains networks to output von Mises parameters and mixtures. Our head generalizes theirs to a multi-harmonic exponential-family density, chosen because its log is linear in the outputs and therefore additive across agents.
Gaussian Wasserstein Distance represents boxes as Gaussians whose covariance is blind to angle conventions. The same property removes heading entirely, which is why we do not build on it.
Two further papers constrain the design. Rethinking Boundary Discontinuity reports that IoU-style loss smoothing still produces boundary mutations, so local loss choice alone cannot be trusted to deliver clean inputs to consensus. Collaborative Compressors shows that correlated Euclidean vectors can be compressed collaboratively. Because our messages are Euclidean coefficient vectors, its compressors become applicable to orientation for the first time.
Research Program
The work has four parts.
First, we build the multi-harmonic orientation head. The detector outputs $(a_{k}, b_{k})_{k\le K}$ per box and is trained by negative log-likelihood of the normalized density $p(\theta)\propto\exp\ell(\theta)$, with the normalizer computed by quadrature on a 360-point grid. We add the head to rotated detectors from the ACM codebase (Pandora-CV/cvpr24acm) and to the 3D detectors in taco-group/STAMP. We check calibration, meaning that predicted concentration matches observed error. Calibration matters because overconfident agents break log-domain fusion.
Second, we run the fusion protocol. Agents run diffusion averaging on coefficient vectors for each associated object and decode by grid argmax. Association is taken from the testbeds' ground truth at first, following Cao et al., and replaced by geometric gating in a robustness study.
Third, we analyze the regime map. For an observation model mixing von Mises noise, axis-only agents, and viewpoint-correlated flips, we derive the error of the fused estimate for scalar averaging, unit-vector averaging, concentration-weighted vector averaging, and harmonic fusion. The aim is to state when each one keeps $1/N$ scaling and when it plateaus. We also bound the truncation error from finite $K$.
Fourth, we study communication. We measure bytes per object per round and apply the Collaborative Compressors schemes to the coefficient vectors.
Baselines
The naive reference is no cooperation: each agent reports its own decoded angle. Just above it is scalar angle averaging through diffusion, which exhibits the 180° seam failure. Both run on the identical detections, communication graph and number of consensus rounds as our method.
The strongest simple competitor is concentration-weighted unit-vector averaging. Each agent sends $\kappa_i e^{j\omega\theta_i}$ from a von Mises head in the style of Deep Directional Statistics. We run it with $\omega=1$ for heading, with $\omega=2$ for the axis, and with a two-stage variant that first fuses the axis and then the heading sign. This is the strongest baseline because it is the exact optimum when all evidence is unimodal von Mises, and it already gives $1/N$ scaling in that case. It uses the same backbone and training budget as our head, which differs only in output dimension. Beating it means lower heading error and lower flip rate at matched bytes, with the gap growing in the axis-only and correlated-flip regimes. If it ties everywhere, our claim fails.
At the system level we compare against STAMP's own collaborative pipeline on V2V4Real, which reports AP@30 of 0.633 among heterogeneous fusion methods (STAMP). We also compare against the distributed variational SLAM of Cao et al., which reports object-position disagreement on KITTI sequence 05 falling from 11.06 m to 5.61 m (Multi-Robot Object SLAM). Neither paper reports an orientation metric. We found no reported result on Lacuna for multi-agent orientation or heading error on any benchmark, so we will recompute those baselines' orientation numbers ourselves. For local detection quality, the reference is ACM on KFIoU at 87.77 AP$_{75}$ on HRSC2016 (Rethinking Boundary Discontinuity). Our head must stay within noise of that figure, or the fusion gain is bought with worse single-agent boxes.
Three ablations isolate the key ingredients. Truncating to $K=1$ removes higher harmonics. Fusing probabilities instead of log-likelihoods breaks additivity. Sharing full CSL-style binned log-likelihoods with 180 bins tests whether the harmonic basis matters or only the log domain does. An oracle centralized product of all agents' full posteriors gives the upper bound.
Why not just…?
Why not just unwrap angles relative to a reference before averaging? In a peer-to-peer network there is no agreed reference. When neighbors straddle the seam, local unwrapping picks different branches, and diffusion mixes them into intermediate wrong angles; this is the failure noted around Excess-Risk of Distributed Stochastic Learners-style local combination. Unwrapping also does nothing for front/back ambiguity. We include it as a baseline in the synthetic seam-crossing experiment, where we expect it to match vector averaging in the absence of flips and fail with them.
Why not just average $(\cos\theta,\sin\theta)$ vectors, weighted by confidence? This is the real threat, and it is our main baseline. With independent, unimodal noise it is optimal, and our method provably reduces to it. Its weakness is that each agent must collapse a bimodal belief to one vector before sending. An axis-only agent then either adds a full-length vector that is wrong half the time or is down-weighted to nothing, losing its axis information. The regime-sweep experiment settles this. If the weighted vector average matches harmonic fusion even at high axis-only fractions, we will report that the simple method suffices.
Why not just use a boundary-free loss such as GWD or ACM locally and keep standard consensus? Local losses make each agent's prediction continuous but do not make the network average correct. GWD's covariance discards heading entirely (Gaussian Wasserstein Distance). ACM's $\omega=2$ embedding is likewise heading-free, and Rethinking Boundary Discontinuity shows that IoU-style smoothing still leaves boundary mutations. We run both as local heads feeding vector consensus.
Why not centralize all detections at one server? That is our oracle upper bound, not a competitor on equal terms. Multi-Robot Object SLAM argues that peer-to-peer consensus survives 90% packet loss at 0.02 to 0.03 s per frame, which a central server does not. Because summed coefficients equal the centralized log-posterior exactly, we expect to close nearly all of the gap to the oracle. That gap is reported directly.
Why not share binned CSL log-likelihoods? It is equally exact in the log domain, so it is an ablation rather than a strawman. The question is bandwidth. We compare error against bytes; if 180 bins buy nothing over $K\le4$ harmonics, the harmonic representation is justified.
Proposed Experiments
The first test is a controlled synthetic study. On ring, grid and random geometric graphs with $N$ from 2 to 64, agents observe a shared angle under a mixture of von Mises noise, axis-only evidence, and flips that are either independent or correlated with viewpoint. We plot circular mean absolute deviation and flip rate (error above 90°) against $N$ for every method. The decisive check is that harmonic fusion follows $1/N$ variance in all regimes, while vector averaging plateaus under correlated flips. Both methods should coincide when the axis-only fraction is zero.
The second test uses the V2V and V2X datasets OPV2V and V2V4Real with the STAMP codebase. We replace each vehicle's late-fused box orientations with harmonic fusion and report heading error on co-observed vehicles, heading-aware AP, and STAMP's AP@30. We stratify the results by the number of observing agents, to test the scaling law on real detectors, and by inclusion of a deliberately weak agent, to test whether concentration weighting removes STAMP's bottleneck effect for orientation.
The third test extends multi-robot SLAM on KITTI odometry sequences 00, 05, 06 and 08. We add orientation to the object landmark consensus of Cao et al. and report cross-robot orientation disagreement alongside their position disagreement and trajectory RMSE, with packet loss swept up to 90%.
The fourth test is a single-agent sanity check on HRSC2016, DOTA-v1.0 and OHD-SJTU. It confirms that the multi-harmonic head preserves AP${75}$ relative to ACM and recovers heading as well as CSL's separate heading classifier, which improved AP${75}$ by nearly 4% over regression baselines on OHD-SJTU.
The proposal stands or falls on two results. First, harmonic fusion must beat concentration-weighted vector averaging by a margin that grows with axis-only evidence, on synthetic data and on V2V4Real. Second, it must match the centralized oracle within a small, communication-dependent gap.
References
- Excess-Risk of Distributed Stochastic Learners
- Networked Signal and Information Processing: Learning by multiagent systems
- $\mathcal {CIRFE}$: A Distributed Random Fields Estimator
- Multi-Robot Object SLAM Using Distributed Variational Inference
- STAMP: Scalable Task- And Model-agnostic Collaborative Perception
- Arbitrary-Oriented Object Detection with Circular Smooth Label
- Rethinking Boundary Discontinuity Problem for Oriented Object Detection
- Deep Directional Statistics: Pose Estimation with Uncertainty Quantification
- Rethinking Rotated Object Detection with Gaussian Wasserstein Distance Loss
- Collaborative Compressors in Distributed Mean Estimation with Limited Communication Budget