JOCA: Task-Driven Joint Optimisation of Camera Hardware and Adaptive Camera Control Algorithms

Chengyang Yan, Mitch Bryson, Donald G. Dansereau

TL;DR

This paper introduces JOCA, a novel framework that jointly optimizes camera hardware parameters and adaptive camera control (ACC) algorithms for specific downstream vision tasks. By using a hybrid optimization strategy called DF-Grad, JOCA effectively handles non-differentiable image formation processes, leading to significantly improved perception performance, especially in challenging conditions.

What Problem Does This Paper Address?

The quality of images captured by a camera is paramount for the success of downstream computer vision tasks like object detection or autonomous driving. While previous research has explored optimizing camera hardware or adaptive camera control algorithms (like auto-exposure) for specific tasks, these approaches have largely been decoupled. This means that either the camera hardware is fixed and only the control algorithms are adapted at runtime, or the hardware is optimized once at manufacturing without considering runtime adaptability. This is a significant limitation because many crucial image formation processes, such as motion blur, are inherently non-differentiable and depend on dynamic parameters that change during operation. Furthermore, optimizing these systems in isolation can lead to suboptimal performance, especially in dynamic and challenging environments with varying illumination and motion. JOCA aims to bridge this gap by creating a unified framework that optimizes both static hardware parameters and dynamic ACC algorithms simultaneously, directly driven by the performance of a perception task.

Methods

The core innovation of JOCA lies in its unified optimization framework and the DF-Grad hybrid training strategy.

  • Unified Framework: JOCA integrates three key components:
  • Camera Hardware: Optimized using a genetic algorithm (GA), which is well-suited for handling both continuous and discrete parameters and works with non-differentiable simulators. This allows for optimizing parameters like camera placement, optics, and sensor characteristics.
  • Adaptive Camera Control (ACC) Algorithms: Implemented as neural networks (specifically, an extension of the NeuralAE model). These networks dynamically adjust parameters like exposure time and gain at runtime.
  • Perception Tasks: These are the downstream tasks (e.g., object detection) that drive the optimization process. Their performance is used to generate fitness signals for hardware optimization and loss signals for ACC and perception model training.
  • DF-Grad (Derivative-Free Gradient): This is the key to handling non-differentiable image formation.
  • It combines a gradient-based loss (from the perception task) with a derivative-free (DF) supervision loss derived from the GA.
  • During training, the ACC network's predictions for exposure and gain are perturbed. These perturbed parameters are used to render images, and their performance is evaluated.
  • The GA then optimizes these perturbations to find settings that yield the best task performance, effectively providing a "gradient" signal to the ACC network for non-differentiable effects like motion blur.
  • This allows the ACC network to learn to compensate for challenging image effects even when the underlying rendering process is not differentiable.

Datasets

The paper uses the following datasets:

  • Synthetic Images: Generated using the CARLA simulator [13]. This dataset includes variations in illumination (day, night, transitions), motion blur, and object categories (vehicles, walkers, traffic signs).
  • Real-World Images: The Waymo Open Perception Dataset [43] (specifically the front-left camera) is used. For this dataset, the image formation process (intensities, noise, and motion blur) is emulated through post-processing, as the original images are captured under varying conditions.

Key Insights and Ideas

  • The Power of Joint Optimization: The most significant insight is that jointly optimizing camera hardware and runtime adaptive control algorithms leads to substantial performance gains over optimizing them separately. This is particularly true in challenging scenarios.
  • Bridging the Non-Differentiable Gap: DF-Grad is a clever solution to train ACC algorithms under non-differentiable image formation processes. By leveraging a derivative-free optimizer (GA) to guide the learning of a gradient-based network, it effectively "learns" from effects like motion blur.
  • Hardware-Aware Adaptive Control: The framework allows ACC algorithms to learn not just from the task but also from the specific hardware configuration they are operating with. This enables more nuanced and effective dynamic parameter adjustments.
  • Dynamic Adaptation to Challenges: The method demonstrates that by jointly optimizing, the system can learn to select hardware (e.g., larger pixels for low SNR) and adapt control parameters (e.g., shorter exposure for motion blur) in a coordinated manner to overcome specific environmental challenges.

Key Results

  • Significant Performance Gains: JOCA consistently outperforms baseline methods that optimize camera hardware and ACC algorithms separately, especially under challenging conditions like low light and strong motion blur.
  • Synthetic Data: In challenging scenarios (e.g., Motion Blur x2, Noise x20), JOCA achieves higher mAP (mean Average Precision) and True Positive Ratios compared to baselines. For instance, in the "Motion Blur x2" scenario, JOCA achieves a mAP of 0.289, outperforming baselines that achieve 0.234 and 0.297.
  • Real-World Data: Similar trends are observed on the Waymo dataset, with JOCA showing superior performance across various scenarios.
  • Qualitative Improvements: Visual results (Figure 3) show that JOCA produces sharper images with higher effective object resolution and reduced motion blur, leading to better detection of small and distant objects.

Limitations and Future Work

  • Optimization Time: While effective, the GA-based optimization for camera hardware can be computationally intensive, requiring many generations to evaluate designs.
  • Emulation Fidelity (Real-World Data): When using real-world datasets, the paper acknowledges that the emulation of noise and motion blur through post-processing is constrained by the fidelity of these methods.
  • Future Work:
    • Extending the framework to adverse weather conditions with more realistic image formation models.
  • Applying the approach to more complex camera design systems, including unconventional cameras and multi-camera setups.
  • Investigating further optimizations for computational efficiency.

Summary updated

BibTeX
@inproceedings{yan2026joca,
  author = {Chengyang Yan and Mitch Bryson and Donald G. Dansereau},
  title = {{JOCA: Task-Driven Joint Optimisation of Camera Hardware and Adaptive Camera Control Algorithms}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2026},
}
Figure