NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Olfactory search with finite-state controllers

Kyrell Vann B. Verano, Emanuele Panizon, Antonio CelaniProceedings of the National Academy of Sciences 2023

Abstract

Long-range olfactory search is an extremely difficult task in view of the sparsity of odor signals that are available to the searcher and the complex encoding of the information about the source location. Current algorithmic approaches typically require a continuous memory space, sometimes of large dimensionality, which may hamper their optimization and often obscure their interpretation. Here, we show how finite-state controllers with a small set of discrete memory states are expressive enough to display rich, time-extended behavioral modules that resemble the ones observed in living organisms. Finite-state controllers optimized for olfactory search have an immediate interpretation in terms of approximate clocks and coarse-grained spatial maps, suggesting connections with neural models of search behavior.

Introduction

Finding the source of an odor in a turbulent environment is a classic "needle-in-a-haystack" problem. Unlike gradient-based searches (e.g., following a light source), odor molecules arrive in sparse, intermittent "whiffs" carried by turbulent airflow. A searcher often experiences long periods of "blank" silence between detections. To navigate effectively, an agent must possess memory to bridge these gaps and integrate information over time.

Traditional approaches, such as Bayesian search (Infotaxis) or Recurrent Neural Networks (RNNs), rely on continuous, high-dimensional memory spaces. While powerful, these "black box" models are computationally intensive and difficult to map onto the relatively simple neural architectures of insects. This research explores the minimum memory requirements for effective olfactory search and the interpretability of those memory states.

Methods: Finite-State Controllers in POMDPs

The researchers framed olfactory search as a Partially Observable Markov Decision Process (POMDP). In this framework, the agent does not have direct access to the environment's full state (the source location) but must infer it from intermittent observations (odor detections).

To manage this uncertainty, the authors introduced Finite-State Controllers (FSCs) as the agent's decision-making core. Unlike an RNN with a continuous internal state, an FSC utilizes a small, fixed number of discrete memory states. The agent's strategy is defined by a transition matrix that dictates how memory states change based on observations and which actions (upwind, downwind, left, right) are taken in each state. These controllers were optimized using Natural Gradient ascent, a policy gradient method that allows the agent to learn efficient transitions and actions.

Datasets and Environment

The study utilized a Virtual Odor Landscape derived from high-resolution experimental measurements of a smoke plume, originally used in studies of walking fruit flies (Drosophila). The environment consisted of a $100 \times 100$ grid where the probability of odor detection at any point was determined by the time-averaged concentration of the smoke. Models were rigorously tested across both "weak" and "strong" odor regimes to ensure robustness against varying signal-to-noise ratios.

Key Insights: Emergent Biological Strategies

The most striking finding was that FSCs with as few as 3 or 4 memory states spontaneously discovered the cast-and-surge strategy observed in moths and flies.

Figure 1: The classic cast-and-surge behavior observed in biological organisms searching for an odor source.

In this strategy, the agent "surges" upwind immediately upon detecting an odor. When the signal is lost, it transitions into "casting"—performing widening crosswind sweeps to re-acquire the plume.

Memory as a Clock and Map

The discrete memory states in the optimized FSCs serve two primary functions:

  1. Approximate Clocks: States represent the time elapsed since the last detection. For example, one state might trigger an immediate upwind surge, while subsequent states trigger progressively wider search patterns as the "silence" continues.
  2. Coarse-Grained Maps: States effectively map the agent's position relative to the plume. Certain states correspond to being "inside" the plume, while others represent being "at the edge" or "lost."
Figure 3: An agent's trajectory and the corresponding transitions between discrete memory states, illustrating the 'memory as a clock' concept.

Furthermore, the optimization process often resulted in symmetry breaking. Despite a statistically symmetric environment, agents often learned to cast in a specific direction first (e.g., always right), which can improve efficiency in re-acquiring a lost signal.

Key Results

  • Performance: While a reactive agent (1 memory state) fails, a 4-memory state FSC (4M-FSC) achieved a 100% success rate in both odor regimes.
  • Efficiency: Although the 4M-FSC is roughly three times slower than the computationally heavy Bayesian "Infotaxis" algorithm, it achieves this with a tiny fraction of the memory and processing power.
  • Information Compression: The FSC successfully compressed a massive "belief space" (10,000 potential source locations) into just 4 discrete states without sacrificing task performance.

Limitations and Future Directions

The current study is limited to 2D environments, whereas real-world search occurs in 3D space with more complex plume dynamics. Future work will explore "model-free" reinforcement learning in continuous space, which is critical for robotics. Additionally, researchers aim to map these discrete FSC transitions directly onto biological neural circuits, such as "time-coding neurons" found in insect brains.

Summary updated

BibTeX
@inproceedings{verano2023olfactory,
  author = {Kyrell Vann B. Verano and Emanuele Panizon and Antonio Celani},
  title = {{Olfactory search with finite-state controllers}},
  booktitle = {Proceedings of the National Academy of Sciences},
  year = {2023},
  doi = {10.1073/pnas.2304230120},
}

Loading related content...

Figure