Lock in Feedback in Sequential Experiment

Maurits Kaptein, Davide IanuzziarXiv 2015 · arXiv

Abstract

This paper introduces "Lock-in Feedback" (LiF), a novel algorithmic framework for sequential experimental design inspired by the lock-in amplifier used in physics. LiF addresses the challenges of extreme noise and concept drift by oscillating input variables and analyzing the phase of the resulting output to find and track function maxima.

Introduction

In many experimental and optimization contexts—ranging from hardware tuning to e-commerce pricing—the goal is to find the value of a controllable variable $x$ that maximizes a noisy outcome $y$. Traditional methods like Multi-Armed Bandits (MAB) or Bayesian Optimization often struggle when the signal-to-noise ratio is exceptionally low or when the underlying function changes over time, a phenomenon known as concept drift.

The Lock-in Principle

The authors, Maurits Kaptein and Davide Iannuzzi, propose adapting the lock-in principle from signal processing. Instead of sampling static points, the experimenter introduces a small sinusoidal oscillation (a "wiggle") to the input $x$ around a central value $x_0$.

The Lock-in Principle: (a) In-phase response when below the maximum, (b) Out-of-phase response when above the maximum, and (c) Frequency doubling at the peak.

By multiplying the observed output $y$ by the reference oscillation and integrating over time, the algorithm extracts the local derivative. As illustrated in the figure above:

  • In Phase: If the output is in phase with the input, $x_0$ is below the maximum (a).
  • Out of Phase: If the output is out of phase, $x_0$ is above the maximum (b).
  • At Peak: At the maximum, the fundamental frequency oscillation disappears, often replaced by a frequency-doubled signal (c).

This phase detection allows the algorithm to nudge $x_0$ toward the peak in a continuous feedback loop. The paper details two implementations: LiF-I (batch updates per period) and LiF-II (continuous streaming updates using a sliding buffer).

Experimental Evaluation and Results

The effectiveness of LiF was tested through several synthetic simulations:

  • Noise Robustness: LiF-II maintained performance even when noise variance was 10,000 times the signal strength. The integration step acts as a natural band-pass filter, ignoring noise outside the specific oscillation frequency.
  • Concept Drift: In scenarios where the maximum moves linearly over time, LiF-II successfully "locked on" and tracked the moving target. This is a significant advantage over traditional algorithms that converge and stop exploring.
  • Efficiency vs. Regret: Compared to Bootstrap Thompson Sampling (BTS), LiF identified the general area of the peak significantly faster. However, because LiF maintains a constant oscillation for tracking, it incurs linear regret, whereas BTS eventually achieves lower total regret by narrowing its search once the peak is found.
  • Business Application: A dichotomous pricing model (Bernoulli feedback) demonstrated that LiF could optimize revenue in under 6,000 iterations, proving its utility in real-world binary-outcome scenarios like e-commerce.

Discussion and Future Work

LiF functions as a derivative-free gradient descent method. Its "always-on" exploration ensures it can follow dynamic changes, though this comes at the cost of "linear regret"—a constant search cost due to the persistent oscillation. While decaying the oscillation amplitude could reduce regret, it would also reduce the ability to track sudden drifts.

Future research directions include managing local maxima through multiple starting points and extending the method to high-dimensional spaces by using distinct oscillation frequencies for different variables (e.g., $x_1$ at $\omega_1$, $x_2$ at $\omega_2$).

Conclusion

Lock-in Feedback provides a computationally simple yet remarkably robust alternative for optimization in noisy, dynamic environments. By bridging physics-based signal processing with experimental design, it offers a powerful tool for researchers and practitioners facing "messy" real-world data.

Summary updated

BibTeX
@misc{kaptein2015lock,
  author = {Maurits Kaptein and Davide Ianuzzi},
  title = {{Lock in Feedback in Sequential Experiment}},
  year = {2015},
  eprint = {1502.00598},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1502.00598},
}
Figure