Manuscript Offprint
arXiv:2610.34583The German Tank Problem & Navigating by Scent
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
How an old defense strategy informed a critical problem in robotic navigation
Kordel K. France
Scentience, Inc.
Abstract. A robot searching for the source of an odor must eventually answer a deceptively hard question: have I arrived? Near the source, concentration gradients flatten, turbulence makes the signal intermittent, and a small robot often lacks the positional accuracy to map the plume. Here, we describe a lightweight remedy inspired by a World War II statistics conundrum: the German tank problem. To approximate enemy armament production, Allied analysts developed an estimator based on serial numbers from captured tanks. Analogously, we use the same procedure over sampled chemical sensor readings from a robot to create estimates for the peak concentration of an odor plume, and therefore the odor's source. Treating each sensor reading as an observation, our unbiased estimator needs only a running maximum and a sample counter. An exact confidence bound turns both numbers into a principled rule that the robot or UAV can use to determine whether to keep searching for the plume source or land. We derive the estimator and its bound, demonstrate its sample efficiency, and examine its robustness even when its assumptions fail. Finally, we summarize the estimator's role as the termination criterion for olfactory navigation.
Date: 23 October 2026
Version: v2.0
Companion paper: Chasing Ghosts
Correspondence: kordel@scentience.ai
Access: Scentience API
SCENTIENCE
1 Introduction
In any navigation task, a robot must have termination criteria for knowing it has arrived at its destination. One of the most difficult problems for a robot navigating by scent is having it estimate when it is “done”. In other words, how does the robot know when it has reached the global source of the odor, and not just a local maximum concentration of the plume? In the
German tank problem
How many tanks were built? Estimate from serial numbers captured.
The fleet: 48 tanks in true production, 5 of them captured.

captured tank / sampled packet
largest observation
unbiased estimate
Navigating by scent
Has the UAV found the source? Estimate from packets observed.
The plume: the source is 400 ppm, the UAV samples 20 packets as it navigates.

upper confidence bound
true value (unknown)
Figure 1: The German tank problem uses the same estimator as a robot determining when it has reached the source of an odor plume.
The German Tank Problem & Navigating by Scent - Preprint. © Scentience, Inc. 2026 most simplistic perspective, this is analogous to one trying to climb a mountain in the fog without the ability to ever see the top - how would one know if they have reached it? If a robot is indeed near the source but does not yet know, it may circle around trying to maximize the gradient, in turn distorting the plume and creating more turbulence in the process.
Declaring “done” is hard for compounding reasons. A typical undisturbed plume becomes simultaneously more concentrated and more homogeneous toward its source. Before we formalized the algorithm in this paper, our olfaction-only UAV would spend several seconds circling the source, chasing ever-smaller gradients [9]. Many times, this distorted the plume so much that it created currents that pulled the UAV away from the source it was already near, and drained more of the battery. Coupled with the known drift of chemical sensors [5], this mandates a sense of urgency for the robot to find the odor source as fast and with as little movement as possible.
Turbulent plumes arrive as whiffs separated by blanks [2, 4, 18], so no single reading can be decisive by itself. In addition, small platforms often cannot precisely indicate where a sample was taken: on our UAV, payload-induced bias in the inertial measurement unit made long-horizon position estimates unusable [9, 10], ruling out methods that fuse concentrations with sample locations. Concentration-based maps hold little utility in environments with wind or HVAC systems due to the constant change in chemistry, and a robot may also not know what concentration to expect at the source. Termination criteria are therefore warranted to help the robot know whether it has arrived at the plume source or should keep searching.
There is a classic estimation procedure developed in World War II that models this well: the German tank problem.
The estimator follows from a simple argument. Suppose tanks are numbered and distinct tanks are captured at random, with representing the largest serial number among them. We can divide the serial numbers by to create gaps (counting the stretch below the smallest), which together hold the unseen serial numbers, or per gap on average. Nothing distinguishes the unseen stretch above from the others, so we add one additional gap for the average:
Formally, the probability that the observed serial number is indeed the largest serial number can be calculated by for . We can then calculate the expected value, , where is unbiased. is a complete and sufficient statistic, which effectively means it is the best estimator that captures all knowledge needed to estimate the desired value. Due to this, can be considered as the minimum-variance unbiased estimator [12, 16], with .
In consequence, there is a characteristic of Equation (1) that really matters for robots navigating by scent. Everything the sample says about the estimated number of tanks can be characterized by two numbers: the maximum observed serial number and the number of captured tanks . As we will show in the next section, the requirement to maintain only two
Modern frequentist and Bayesian translations can be found in [3, 20].
Table 1: The German tank problem and olfactory navigation share a common thesis: estimate the upper end of a range from the largest value sampled so far.
| Variable | German tank problem | Odor source declaration |
|---|---|---|
| Population | tanks produced | chemical sensor readings |
| Label on each unit | serial number | chemical concentration |
| Unknown upper end | total number of produced tanks, | max concentration at the plume source, |
| Observations | captured tanks | sensor readings |
| Sampling | without replacement | with replacement (readings of a given strength recur) |
| Sufficient summary | and the largest serial number, | and the running max concentration, |
The German Tank Problem & Navigating by Scent - Preprint. © Scentience, Inc. 2026 numbers to estimate “done” creates a very computationally efficient algorithm that can run on virtually any platform - a highly desirable feature for robotics.
3 From Tanks to Odor Packets
Odor source localization is commonly split into three sub-problems: detecting a plume, staying in contact with it while moving upwind, and declaring that the source has been reached [13, 15] (we call this, the “termination criteria”). The first two have drawn most of the attention within literature, from bio-inspired surge-and-cast controllers and bout detection [18, 19] to information-seeking search [22], probabilistic source-term estimation [14], and learned policies [21], with aerial implementations in [1, 6] (see [11] for a recent thorough review). The termination criteria receive far less research attention, yet it decides whether a search ends in success or in a robot spending additional time and energy circling a few meters from its goal. Surprisingly, this outcome has a large reciprocal influence on the complexity of the algorithms required to perceive and navigate leading up to the termination criteria. This can result in either success or failure for the robot, which makes the problem worth solving.
An odor plume is a stream of filaments, or packets, carrying a compound (or series of compounds) downwind from its emitter. At each sampling instant, a chemical sensor reports the concentration of the air packet currently passing over it. We treat each reading as one observed packet, and its concentration as that packet's "serial number" analog (see Table 1). This idea is an extension of the paper from [9] and we reference their demonstration of the success of this estimator throughout. Our analogy rests on a few assumptions, the first being about the physical environment (see section 6 for limitations on these assumptions).
Assumption 3.1. A passive, non-reacting compound obeys an advection-diffusion equation, , with concentration and a molecular diffusivity , assuming no source terminal apart from the emitter; under such an equation, the largest value of will be observed at the emitter, or in minimally concentrated air at the initial condition of navigation [7].
Every packet the robot samples therefore carries at most , the concentration at the source, while packets sampled near the source come arbitrarily close to it, just as no serial number exceeds N while late-production tanks come close. Because a chemical sensor responds monotonically to concentration over its working range, the same holds in sensor units.
Assumption 3.2. After subtracting the clean-air baseline, the readings are (A1) bounded above by the unknown source value ; (A2) independent and identically distributed, so a packet of a given strength may be seen again, as in sampling with replacement [9]; and (A3) uniformly distributed on .
A1 denotes how the readings are bounded given the environment defined by A0. A2 reflects that, unlike a captured tank, an odor packet of a given strength can recur. A3 establishes that no concentration level lies below that at the plume source. Section 6 shows what happens when Assumptions 3.1 and 3.2 fail. The model is built to be scale- and unit-free such that a gain on every reading scales the estimate and its bounds identically, enabling the method to work among any chemical sensing modality at any measurement frequency without the need for calibration as shown in [9].
4 The Estimator
See the appendix for formal proofs of key equations.
4.1 Two numbers are enough
Under Assumption 3.2, the likelihood of the maximum concentration given the observed sensor readings is
The sensor readings enter only through and , so by the factorization theorem is sufficient for [16]. Effectively, a robot that keeps only a counter and a running maximum has discarded nothing the readings could tell it about the source. The likelihood peaks at , but this maximum-likelihood estimate is biased low, since the strongest packet seen can never exceed the source and is almost never equivalent to it.
4.2 Sampling distribution and the unbiased estimator
Because the sensor readings are independent, we can compute their probability such that
The German Tank Problem & Navigating by Scent - Preprint. © Scentience, Inc. 2026 so has density on the range and . On average, the running maximum falls short of the source by , which is the continuous counterpart of the missing gap from Equation 1 in Section 2.
Proposition 4.1. Under Assumption 3.2,
is the unique minimum-variance unbiased estimator of , and .
Equation (4) is the continuous form of Equation (1). Under a requirement to estimate the true highest concentration with at least measurements, this leaves us with , meaning that our estimator is likely to underestimate the true highest concentration of the odor source by as we show in [9].
4.3 An exact confidence bound
Point estimates are fragile when the number of sensor readings is small, and a robot deciding whether to land needs to know how far above the true odor concentration could plausibly lie. Equation (3) addresses this because the pivot is uniform on .
Proposition 4.2. Under Assumption 3.2, for any ,
In particular, at confidence , the one-sided interval with
contains with probability exactly , and is the shortest interval at that confidence.
In [9] we used the two-sided 95% interval . With readings, and Equation (5) gives : with 95% confidence, the source is at most about 20% stronger than the strongest packet seen. For declaration only the upper end matters, and the upper end of a two-sided 95% interval is a one-sided 97.5% bound. Figure S1 of the appendix shows a graphical representation of these bounds as they relate to the demonstration in [9].
5 From Estimate to Decision
It is prudent to show how this estimate is used by the robot to actually make a decision. Let be the robot's current baseline-corrected reading. The bound established by Equation (6) effectively becomes a gate on the navigation policy's decision to stop. When the policy proposes to land (for a gradient follower, when it finds no direction of increasing concentration), the robot lands only if
that is, only if the air it is in now is within a factor of the strongest air the plume plausibly contains (which allegedly lies at the plume’s source). Otherwise the robot keeps searching. In [9] we used and , which establishes that the robot must be within 25% of the plume’s plausible maximum. In the worked example of Section 4, , so a UAV whose current reading was its running maximum would land.
Minimum evidence required. A robot may falsely apply this rule at the beginning of navigation if it does not have enough time to properly explore. Consequently, we establish a minimum value of that is used by the robot to gather initial evidence. Because our concentration estimate must be less than the true maximum concentration after samples, condition (7) above can hold only once . We can succinctly re-arrange this relationship as
For and , . The rule thus does two jobs. Firstly, is a minimum-evidence requirement fixed before deployment, independent of the data such that no decisions can be made by the robot on fewer than 17 measurements. This stops the robot from landing prematurely on a local maximum eddy current. Secondly, the rule asks the robot to be near the strongest concentration it has encountered at the 17th measurement; otherwise, it must keep exploring. One can observe the effects of tuning and as hyperparameters: raises to 39, and lowers it to 14.
The German Tank Problem & Navigating by Scent - Preprint. © Scentience, Inc. 2026
Computational cost. Algorithm S1 within the appendix lists the complete procedure. Each reading costs one comparison, one increment, and one multiplication by , taken from a precomputed table or evaluated as . This enables the entire state to be determined by only two numbers. The rule needs no dispersion model, deep neural network, wind estimate, map, or position fix, which is what made it usable on a UAV whose odometry could not be trusted beyond the short term [9, 8]. By contrast, particle-filter source-term estimation propagates a dispersion model for every particle at every update [14], and infotaxis evaluates the expected entropy of a posterior over source locations for every robot move [22]. Those methods arguably answer a different question (e.g. where the source is) and our estimator does not attempt to replace them. It simply seeks to answer whether the robot should stop exploring, and does so at a cost that fits on any microcontroller. We note that the estimator can be run once per sensor reading, or on a cadence over a moving average of sensor readings.
6 Limitations
The estimator is only as good as Assumption 3.1 and 3.2. There are a few failure modes in which our estimator may lack performance, and they are worth considering for anyone trying to implement the same termination criteria for their robot.
Simplified plume model (A0, A1). Our estimator assumes certain properties about molecular diffusion and filament transport within a plume. For extremely dynamic environments with prolific compound mixing, wind changes, or heterogeneous temperatures/pressures/humidities, we suspect our estimator to exhibit poorer performance. A truly accurate plume model that the robot could use to help reason at the edge would be desired, but as seen in most olfactory robotics work, this is not the common practice due to the computational constraints.
Non-stationarity (A2) and non-uniformity (A3) of packet strengths. Far from the plume source most readings are weak or blank, while close to it they cluster nearer the source value [2, 4]. This creates non-uniformity throughout the samples used by our estimator. We do not debate this, but find that our estimator held well in our experiments in [9] even while violating this principle. During an approach to the plume source, the readings trend upward and the plume meanders, so they are not identically distributed over a whole flight. Accumulating k and over a sliding window, or resetting them when the bout detector reports plume loss, can help counter this.
Correlated readings (A2). A slow sensor can report the same filament over several samples, which is analogous to sampling many tanks with replacement. Consequently, k is likely to overstate the number of independent packets which may result in the confidence bound coming out too tight. We found that spacing readings beyond the sensor's response time, as in the 1–2 s cadence policy of [9], or counting bouts rather than raw samples as defined by [18], keeps k more grounded. Section C of the supplementary material elaborates on how we distinguish sensor saturation from correlated readings.
Vision helps (A2, A3). This method was developed specifically for a robot navigating by scent, using only two stereo chemical sensors, a single depth sensor, and two leveling sensors [9]. Our intent was to show that a minimal sensing stack could enable successful olfactory localization. However, as we also showed, vision helps to disambiguate at the last mile. When leveraging a camera equipped with a sufficiently trained computer vision model for spotting plausible odor source emitters, the termination criteria become an augmentation to the final arrival decision versus the explicit rule alone. We found that vision helps reduce the minimum value of sensor readings k required for the estimator to be useful, and consequently shaved several seconds off each navigation task in comparisons to the olfaction-only experiments.
7 Conclusion
A robot navigating by scent has to know when to stop, and it rarely has a map, a trustworthy position estimate, or prior knowledge of the source strength to tell it. The German tank problem offers a principled answer template built from only two numbers: how many observations have been made, and the strongest observation among them. The resultant is a minimum-variance unbiased estimator with an exact confidence bound and costs constant time and memory. While scent-based navigation is the primary interest with which we compose our solution, our estimator can be used in any robotic navigation task where dynamic environments and sparse sensing come with the territory. The methodology established here and its assumptions were proven over several stereo sensing experiments in [9], where every navigation trial resulted in the robot finding the source of the odor (see Section D of the appendix for a summary of the results). We acknowledge the estimator's surprising robustness given its simplicity, even when some of its assumptions are violated. Natural next steps are integrating more accurate plume models with per-sensor estimators, and enabling additional parameters that can help counter hysteresis and aleatoric uncertainty. We are thrilled that a nearly century-old intelligence problem solved a key problem in our work, and hope that researchers working in olfactory robotics also find it a useful default for the last meter of a search.
Full code, models, and replication of the above method can be found in the repository associated with [9].
Acknowledgments. This method originated as part of the author's prior work in [9], and has since been improved on and integrated into the methods and models of Scentience, Inc. The author thanks its co-authors, Ovidiu Daescu, Latifur Khan, and Rohith Peddi for contribution to and peer review of the method.
The German Tank Problem & Navigating by Scent - Preprint. © Scentience, Inc. 2026
References
[1] Javier Burgués, Victor Hernández, Achim J. Lilienthal, and Santiago Marco. Smelling nano aerial vehicle for gas source localization and mapping. Sensors, 19(3):478, 2019.
[2] Antonio Celani, Emmanuel Villermaux, and Massimo Vergassola. Odor landscapes in turbulent environments. Physical Review X, 4(4):041015, 2014.
[3] George Clark, Alex Gonye, and Steven J. Miller. Lessons from the German tank problem. arXiv:2101.08162, 2021.
[4] John Criminaldi, Hong Lei, Andreas Schaefer, Michael Schmuker, Brian H. Smith, Aaron C. True, Justus V. Verhagen, and Jonathan D. Victor. Active sensing in a dynamic olfactory world. Journal of Computational Neuroscience, 50(1):1–6, 2022.
[5] Nik Dennler, Shavika Rastogi, Jordi Fonollosa, André van Schaik, and Michael Schmuker. Drift in a popular metal oxide sensor dataset reveals limitations for gas classification benchmarks. Sensors and Actuators B: Chemical, 361:131668, 2022.
[6] Bardienus P. Duisterhof, Shushuai Li, Javier Burgués, Vijay Janapa Reddi, and Guido C. H. E. de Croon. Sniffy bug: A fully autonomous swarm of gas-seeking nano quadcopters in cluttered environments. In 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 9099–9106, 2021.
[7] Lawrence C. Evans. Partial Differential Equations, volume 19 of Graduate Studies in Mathematics. American Mathematical Society, Providence, RI, second edition, 2010.
[8] Kordel K. France and Ovidiu Daescu. Olfactory inertial odometry: Methodology for effective robot navigation by scent. In 2025 22nd International Conference on Ubiquitous Robots (UR), pages 51–58, 2025.
[9] Kordel K. France, Ovidiu Daescu, Latifur Khan, and Rohith Peddi. Chasing ghosts: A simulation-to-real olfactory navigation stack with optional vision augmentation. Sensors, 26(9), 2026.
[10] Kordel K. France, Ovidiu Daescu, Anirban Paul, and Shalini Prasad. Olfactory inertial odometry: Sensor calibration and drift compensation. In 2025 IEEE International Symposium on Inertial Sensors and Systems (INERTIAL), pages 1–4, 2025.
[11] Adam Francis, Shuai Li, Christian Griffiths, and Johann Sienz. Gas source localization and mapping with mobile robots: A review. Journal of Field Robotics, 39(8):1341–1373, 2022.
[12] Leo A. Goodman. Serial number analysis. Journal of the American Statistical Association, 47(260):622–634, 1952.
[13] Adam T. Hayes, Alcherio Martinoli, and Rodney M. Goodman. Distributed odor source localization. IEEE Sensors Journal, 2(3):260–271, 2002.
[14] Michael Hutchinson, Hyondong Oh, and Wen-Hua Chen. A review of source term estimation methods for atmospheric dispersion events using static or mobile sensors. Information Fusion, 36:130–148, 2017.
[15] Gideon Kowadlo and R. Andrew Russell. Robot odor localization: A taxonomy and survey. The International Journal of Robotics Research, 27(8):869–894, 2008.
[16] Erich L. Lehmann and George Casella. Theory of Point Estimation. Springer, New York, second edition, 1998.
[17] Richard Ruggles and Henry Brodie. An empirical approach to economic intelligence in World War II. Journal of the American Statistical Association, 42(237):72–91, 1947.
[18] Michael Schmuker, Viktor Bahr, and Ramón Huerta. Exploiting plume structure to decode gas source distance using metal-oxide gas sensors. Sensors and Actuators B: Chemical, 235:636–646, 2016.
[19] Shunsuke Shigaki, Muhammad Rizqi Fikri, and Daisuke Kurabayashi. Design and experimental evaluation of an odor sensing method for a pocket-sized quadcopter. Sensors, 18(11):3720, 2018.
[20] Cory M. Simon. A Bayesian treatment of the German tank problem. The Mathematical Intelligencer, 46(2):117–127, 2024.
[21] Satpreet H. Singh, Floris van Breugel, Rajesh P. N. Rao, and Bingni W. Brunton. Emergent behaviour and neural dynamics in artificial agents tracking odour plumes. Nature Machine Intelligence, 5(1):58–70, 2023.
[22] Massimo Vergassola, Emmanuel Villermaux, and Boris I. Shraiman. ‘infotaxis’ as a strategy for searching without gradients. Nature, 445(7126):406–409, 2007.
The German Tank Problem & Navigating by Scent - Preprint. © Scentience, Inc. 2026
Supplementary Material
The artifacts of the supplementary material are organized in the order by which the main text refers it.
A Assumption Decomposition
A.1 Proof of Proposition 4.1
Proof. Unbiasedness follows from . The family (3) is complete, so is complete and sufficient, and by the Lehmann–Scheffé theorem an unbiased function of it is the unique minimum-variance unbiased estimator [16]. For the variance, gives ; multiply by .
Equation (4) is the continuous form of Eq. (1): the there accounts for the discreteness of serial numbers, amounts to one quantization step for integer ADC counts, and vanishes for continuous concentrations. The variance explains the method's sample efficiency. The relative standard deviation of is . The obvious alternative, twice the sample mean, is also unbiased but has relative standard deviation . At the two quotients are and , and the mean would need roughly 150 readings to match. Effectively, is the edge of the distribution, and the extreme sample pins an edge far more tightly than an average pins a center.
A.2 Proof of Proposition 4.2
Proof. By Eq. (3), for , and the event is the event in Eq. (5). Setting , gives Eq. (6). With fixed, the length decreases in because is convex, so it is smallest at .
B Algorithm
The implementation of the estimator from the German tank problem contextualized against the stereo sensing olfactory mechanism of the UAV from [9] is shown in Algorithm S1 below. The algorithm is integrated into the Scentience APIs for rapid utility among users.
Algorithm S1 Source declaration with the German-tank bound (runs once per sensor reading)
Require: confidence level , tolerance , clean-air baseline
1: ; 2: while searching do 3: 4: ; 5: ; 6: if policy proposes and then 7: land; report and 8: else 9: continue searching: surge, cast, or pause 10: end if 11: end while
C Estimate Bounds
The rule resulting from the bounded estimator certifies the strongest concentration this search has encountered, not the strongest that exists. A robot trapped in a recirculation zone with a flat local maximum will satisfy Equation (7), a weakness shared by every gradient-following method; exploration, or a second modality such as vision, addresses this. Likewise, a sensor that saturates below the source pins at its ceiling, so the rule is satisfied once the sensor saturates. This is usually acceptable, since saturation is itself strong evidence of proximity. Remark C.1 adds refinement to bound this more explicitly.
The termination criterion as printed in [9] typesets the factor as ; the worked example there ( at ) uses the intended factor .
The German Tank Problem & Navigating by Scent - Preprint. © Scentience, Inc. 2026
Remark C.1. With the scale-invariant prior , the likelihood (2) yields a posteriori proportional to on , so and the posterior upper bound is exactly . The Bayesian form also makes it easy to fold in prior knowledge, such as a sensor's saturation level as a hard cap [20].

| 5 | 1.200 | 1.821 | 2.091 | 0.169 |
| 10 | 1.100 | 1.349 | 1.446 | 0.091 |
| 17 | 1.059 | 1.193 | 1.242 | 0.056 |
| 20 | 1.050 | 1.162 | 1.203 | 0.048 |
| 30 | 1.033 | 1.105 | 1.131 | 0.032 |
| 50 | 1.020 | 1.062 | 1.077 | 0.020 |
| 100 | 1.010 | 1.030 | 1.038 | 0.010 |
Figure S1: How fast the evidence accumulates. Left: the bound as a multiple of the running maximum, , and the point-estimate factor . At , as in [9], the bound falls below at . Right: the same factors as a firmware lookup table and are at and 0.025), with the relative standard deviation of .
D Examples from real experiments
Table S1: Navigation times for a UAV navigating a course to localize the source of a chemical compound using olfaction only and olfaction-vision hybrid sensing, as reported in [9]. Each trial used the unbiased estimator presented in this paper, and was critical to achieving fast and reliable navigation times. Every trial ended with the UAV landing within 1 m of the source. OIO: olfactory inertial odometry; E. SARSA(): Expected SARSA().
| Modality | Sensor | Policy | Mean (s) | Std. dev. (s) | Best (s) |
|---|---|---|---|---|---|
| Olfaction | MOX | OIO | 98.38 | 14.84 | 71.59 |
| Olfaction | EC | OIO | 112.22 | 16.70 | 97.65 |
| Olfaction | MOX | E. SARSA() | 103.99 | 14.89 | 82.73 |
| Olfaction | EC | E. SARSA() | 121.85 | 16.77 | 97.10 |
| Olfaction + Vision | MOX | OIO | 94.03 | 14.68 | 66.12 |
| Olfaction + Vision | EC | OIO | 107.71 | 17.07 | 80.50 |
The German Tank Problem & Navigating by Scent - Preprint. © Scentience, Inc. 2026