Manuscript Offprint

arXiv:2610.02675

One Photon, Many Worlds: Posteriors and Predictions with Single-Photon Cameras

Haejoon Lee, Mohit Gupta, Vijayakumar Bhagavatula, Aswin C. Sankaranarayanan

HAEJOON LEE, Carnegie Mellon University, USA

MOHIT GUPTA, University of Wisconsin-Madison, USA

VIJAYAKUMAR BHAGAVATULA, Carnegie Mellon University, USA

ASWIN C. SANKARANARAYANAN, Carnegie Mellon University, USA

Many worlds --- conditional samples from posterior

Digits

Edges

QR

Figure

Faces

Increasing frame count

Fig. 1. SPAD cameras operated in binary-frame mode record at most one detection per pixel per exposure. The top four rows shows samples from the conditional posterior given a single (simulated) binary SPAD frame, shown in the first column where each pixel has measured, at most, one photon. In such photon starved regimes, the inverse problem of image reconstruction is one-to-many, leading to many worlds of possibilities in the output. This uncertainty reduces as we increase the number of binary SPAD frames, as seen in subsequent rows. The conditional samples were produced by training diffusion models for each of the four applications (digits, edges, QR codes, and faces), and empirically characterizes how uncertainty in photon arrivals map to uncertainty in reconstruction and inference. In the case of the faces data, notice how different features like sunglasses, gender, facial expression, and identity take different number of frames to resolve correctly.

Single-photon avalanche diode (SPAD) cameras operate fundamentally differently from conventional cameras due to their photon-counting nature. Each frame produces a binary image: pixels report zero if no photons arrived during exposure, and one if one or more photons arrived. Reconstructing a scene or inferring its properties from a single binary frame is difficult because many different images could produce the same measurement; thus, the inverse problem is fundamentally one-to-many. As we gather more binary measurements, the inherent uncertainty associated with the inverse problem and any associated inference diminishes. With sufficient photon counts, photon noise becomes negligible relative to the signal mean, enabling near-deterministic scene recovery and inference. This work characterizes the transition from stochastic to near-deterministic scene understanding as photon budget increases, analyzing how the stochasticity in photon arrival affects downstream inference tasks. Technically, we develop a conditional generative framework based on a Hypergeometric frame-thinning process for accumulated binary SPAD measurements. Generative models capture the one-to-many nature of photon-starved inverse problems, enabling empirical characterization of how this ambiguity diminishes with increasing measurements and its impact on downstream tasks like character recognition, QR code decoding, and facial analysis.

CCS Concepts: • Computing methodologies → Computational photography.

Additional Key Words and Phrases: Computational Imaging, SPAD Sensors, Generative models

1 Introduction

Imagine a photon counting sensor, capable of resolving light at the granularity of individual photons. Prior to exposure, this camera has no knowledge of the scene in front of it, and so there are multitude of possibilities on the image it could acquire. Once the first measurements are made, some pixels register photon arrivals, we have a binary sketch of the scene. This narrows the space of images that we could be imaging, albeit not by much. As the sensor gathers more measurements, the uncertainty in the image being observed decreases progressively. At some point, we enter the realm of well exposed photographs, where uncertainty is reduced so significantly that the acquired measurements convey a sense of determinism (although the uncertainty never quite goes to zero). This work examines this arc of how uncertainty in scene reconstruction and downstream inference changes as the photon budget increases; effectively, we seek to characterize how randomness in photon arrivals, through the photon-counting nature of single-photon cameras, manifests itself in reconstruction and inference tasks.

The central thesis of this work is how the photon budget determines the ability to interpret a scene and its properties, in the context of a single-photon avalanche diodes (SPADs), a specific kind of single-photon image sensor. Consider the scenario where a SPAD sensor is observing a (static) scene, making a sequence of measurements, where each measurement is a binary frame indicating whether photons arrived at each pixel during the exposure time. The stochasticity of such binary measurements is well understood. The measurement at a pixel in each binary frame is a Bernoulli random variable; at low flux, the mean of this random variable is equal to the incident light level. When the SPAD acquires multiple such binary measurements, their sum at each pixel is a binomial distribution which, at large measurement counts, is well approximated by a Poisson distribution. Both the mean and the variance of this Poisson distribution increase linearly with the number of measurements made by the sensor. This is the regime of a well-exposed photograph; although photon noise dominates, the signal-to-noise ratio of intensity at each pixel monotonically increases with accumulating SPAD measurements. Hence, the output of any deterministic operator on the image—say, a classifier or a regressor—becomes largely independent of the photon noise.

At low photon budgets, we encounter an entirely different problem. As an illustrative example, consider the extreme scenario of a single binary measurement from the SPAD sensor. As before, we have a precise characterization of the stochasticity of the measurement in terms of its probability mass function and its dependence on the incident flux at each sensor pixel. However, if we take an arbitrary natural image as the candidate for the scene being observed, then the posterior probability of this image given the measurement is likely similar to that of any other image. This reveals that the mapping from a single binary measurement to the space of images is fundamentally one-to-many. The problem persists as we gradually increase the number of measurements, with the one-to-many nature of the problem gradually collapsing to one-to-one in the limit when the signal-to-noise ratio goes to zero.

We are interested in characterizing the one-to-many nature of the image reconstruction problem underlying SPAD measurements at low photon budgets. Our primary insight is that generative models are uniquely suited for studying this problem as they can learn functional mappings between two random variables. This naturally aligns with our setting since we want to characterize how randomness in SPAD measurements maps to uncertainty in image space. By leveraging the generative aspects of these models, we can empirically sample the space of images that are tied to a single or multiple SPAD measurements. This allows us to characterize the nature of the one-to-many mapping problem, and how uncertainty in the image space evolves with the number of measurements. Consequently, we can also characterize the performance of classifiers and regressors acting on the measurements as uncertainty in the measurements and reconstructions are both reduced.

Contributions. This paper provides modeling tools and a range of empirical results that characterize uncertainty in reconstruction and inference with increasing photon budget.

  • A model for frame thinning in SPAD measurements. We show that frame thinning—the process of discarding binary measurements—can be modeled as a Markov chain with hypergeometric transitions. This allows us to convert large frame count measurements, progressively, into those made with small frame counts, in a gradual process that lends itself well to stable inversion.

  • Inverse Markov models for SPAD restoration. We design a reverse Markov process that inverts frame thinning while preserving Binomial marginals, implemented as a variational autoencoder-style conditional sampler.

• Empirical validation across multiple applications. We evaluate the approach on edge regression, optical character recognition,

Authors' Contact Information: Haejoon Lee, Carnegie Mellon University, Pittsburgh, PA, USA, haejoonl@andrew.cmu.edu; Mohit Gupta, University of Wisconsin-Madison, Madison, WI, USA, mohitg@cs.wisc.edu; Vijayakumar Bhagavatula, Carnegie Mellon University, Pittsburgh, PA, USA, vk16@andrew.cmu.edu; Aswin C. Sankaranarayanan, Carnegie Mellon University, Pittsburgh, PA, USA, saswin@andrew.cmu.edu.

QR code decoding, and facial reconstruction. For each task, we characterize how the one-to-many ambiguity resolves and how reconstruction and inference accuracy improve with increasing photon budget.

Figure 1 shows example reconstructions for the four applications we consider, and how the one-to-many nature of the inverse problem manifests itself in each instance.

Impact. These contributions provide tools to answer fundamental questions about single-photon imaging. While acquiring more photons intuitively improves results, the minimal photon budget required for reliable reconstruction or inference has remained uncharacterized. Our diffusion-based approach provides quantitative answers to these questions. We further characterize the one-to-many ambiguity by providing tools to quantify reconstruction uncertainty across photon budgets.

References (12)