Also at ]University of Minnesota Also at ]University of Minnesota
Energetics of Feedback: Application to Memory Erasure
Abstract
Landauer’s erasure principle states that any irreversible erasure protocol of a single bit memory needs work of at least Recent proof of concept experiments has demonstrated that the erasure protocols with work close to the Landauer limit can be devised. Under feedback, where the state of the bit can be measured, the work needed for a bit erasure can be lower than . In this article, we analyze the energetics of feedback enabled erasure, while incorporating the imperfections of experimentally realized memory and bit erasure protocols that admit failure probabilities. We delineate the role of uncertainty in measurements and its effects on the work and entropy changes for a feedback-based erasure. We quantitatively demonstrate that the deficit between the Landauer limit and the minimum average work needed in a feedback-based erasure is accounted for by the mutual information between the measurement and the state of a memory, while incorporating the imperfections inherent in any realization. We experimentally demonstrate analysis results on a memory and erasure protocol realized using optical fields.
- Keywords
-
Feedback Erasure, Mutual Information, Measurement Noise
I Introduction
The connections between feedback, measurement and entropy are studied by numerous works; originally, the connection was expounded by Maxwell with a thought experiment of a demon separating fast and slow moving molecules in a fixed container, based on their speed, creating a paradox where the demon was able to create a temperature difference without an external work [1, 2]. Works by Bennett [3] indicated that the demon is playing a role of a controller, which uses a measurement of the molecule’s velocity in a feedback action of opening or closing a partition separating the two chambers. An insight reached is that the energetics of a measurement needed for feedback cannot be ignored.
Recent analytical works addressing thermodynamics and feedback include [4, 5, 6], with a focus on non-equilibrium processes with extensive simulation studies [6, 7, 8]. With new capabilities of exploring and controlling systems with energetics at the scale of where is the Boltzmann constant and is the temperature, the interdependencies of feedback and thermodynamic quantities can be explored experimentally with the associated limitations imposed by non-ideal conditions not considered in the analysis. Recent advances in probing and controlling of microscopic systems have enabled researchers to verify the fundamental limits, such as the Landauer limit, experimentally [9, 10]. An experimental demonstration of information to energy conversion assuming feedback with perfect measurements was reported in [11].
In this article, the thermodynamic limits associated with measurement and feedback are analyzed while addressing non-ideal conditions, instantiated for the erasure process. We address the limits on the energy savings possible with feedback while employing imperfect measurements. We illustrate our results experimentally with precise accounting of the link between information and thermodynamics of the erasure process.
Erasure is a process of resetting the state of a memory bit, with its states or to (reset state) irrespective of its initial state. Erasure is a fundamental operation in information processing and associated with heat release. Erasure efficiency is at the heart of our ubiquitous dependence on cloud computing, where heat released from the erasure is significant. There is an increased effort to design energy-efficient erasure protocols and operate a datacenter with renewable energy; for example, Microsoft Project Natick [12]. Landauer () claimed that the average work needed for a successful erasure of a binary memory bit is at least termed as Landauer limit. Landauer assumed a particle in a bistable potential, separated by an infinite barrier height, to be an ideal memory model. We deal with a practical memory model with finite barrier height (see FIG. 1(a)), where, given sufficient time a particle can jump from one well to another with a finite non-zero probability.
A particle assumes state or depending on whether it is located in a left or right well. An erasure can be achieved by modifying the potential to affect the transfer of the state to a desired reset state, before returning to the nominal potential. An open-loop erasure protocol is agnostic to the current state of a particle, whereas, in a closed-loop/feedback erasure protocol, the information on the current state of the memory is utilized to affect the transfer. Performance of an erasure protocol is assessed based on the probability of erasure; we term the erasure protocol to be admissible only if the probability of erasure is greater than 95.
Recent experimental verification of the Landauer limit include [9, 10], that employ open-loop erasure protocols. [10] demonstrates a proof of concept experiment to attain the Landauer limit. In [10], the erasure protocol entails lifting the right well and lowering the left well simultaneously, so that the particle ends up in the left well (reset state) with high probability. In [10], no measurement and feedback are employed. As open-loop erasure protocols disregard the state of a memory, the protocol does work even if the state is currently in the reset state. With feedback, there is a possibility of spending less work needed for erasure; here, if the state is measured to be in the reset state, then there is no need to execute the protocol for erasure. However, a faulty measurement with a decision that the state is in the reset state may leave the state unchanged, leading to no erasure and decreasing the probability of erasure; thus, the energetics of the sensor state (used for measurement) and the feedback protocol need a careful analysis.
A feedback erasure protocol involves measurement of the particle position followed by a feedback action. We denote by, and to be the work done in a feedback action and open-loop erasure protocol, respectively. We quantify the lowest possible expected value of work using feedback protocol, and address the limits on the difference between and . Regardless of the physical design of a memory bit, such as in optical or colloidal or biological systems, the following analysis and the conclusions hold true because they are based on the fundamental laws of thermodynamics. We introduce the thermodynamic description of the measurement and feedback system in the following section.
II Thermodynamic description of a Feedback system
We utilize Optical Tweezers to create level energy landscape needed for creating a bit memory. The potential wells are manipulated using time multiplexing of lasers [13]. System consists of a brownian particle in a thermal environment of temperature . System consists of a photodiode and a digital sampler, termed as measurement device. Systems and together constitute the thermodynamic system of interest and the rest is considered as surrounding. FIG. 1(b) shows the thermodynamic system. Let and denote the true and measured position of a particle at time , respectively.
We model the probability density of via , where represents strength of thermal noise, is the probability of a particle being in the left well, and is a normal distribution. The joint probability distribution of the system is given by The entropy of the system is determined by evaluating Shanon/information entropy of . The mutual information between and is Let denote the non-equilibrium/information free energy of the system. The difference between the information free energy and the Helmholtz free energy, is directly proportional to the Kullback–Leibler divergence between and the canonical distribution of the system, ; that is, . See [14] for more details. The non-equilibrium free energy of the system is given by . We now proceed with the feedback erasure and its thermodynamics.
III Feedback Erasure
We propose a feedback erasure protocol for erasing a memory bit in time . The protocol involves three steps:
(a) Measurement: At the measurement device is assumed to be at nominal state At , a measurement of the particle position is obtained, with the state of the measurement device changing to . The state of the system of interest before and after the measurement are and respectively. The random variables and are dependent, whereas and are independent.
(b) Feedback: If is strictly positive, then the right well is raised and the left well is lowered simultaneously, facilitating the particle transport to the left well (reset state) with high probability. The system is left with the asymmetric potential until time sec, after which the potential wells are restored to initial symmetric configuration. On the other hand, if is negative, then there is no action taken because the memory is already in the reset state; then, the external work done is zero as the potential wells are unaltered. The system is further relaxed until The value of needed for successful erasure depends on the extent of the asymmetry of the potential wells, if manipulated [10]. The feedback action is assumed to not affect the state of the measurement device and hence is same as for
(c) Reset: At time , the value stored in the measurement device is now reset to zero without affecting the distribution of
We now describe an experimental setup to create a memory model and perform the feedback erasure protocol.

III.1 Feedback Erasure Experimental Setup
A sample of polystyrene particles suspended in an aqueous solution (heat bath) is placed in an Optical Tweezer. A particle is trapped by a laser (see [13]) near the focus of the objective lens with high numerical aperture; thus creating a single harmonic potential around the trap center, where is the particle position. The model for the single well potential is,
(1) |
where is a constant reference potential energy, is the stiffness and is the width. The particle position is measured using a photodiode of accuracy at a bandwidth of The position data is collected for sufficient time for accurate estimation of probability distribution . With a particle in thermal equilibrium with the heat bath, the particle position is given by Boltzmann distribution; solving for gives . Experimentally computed values of and for a single potential well are and respectively. Refer to [13, 10] for more details on experimental setup.
For our memory model, we require a double well potential with two stable equilibrium locations at and . This is achieved by alternately focusing a trapping laser at two trap locations using time multiplexing enabled by an Acousto Optical Deflector. The time spent by the laser at a trap location () is much smaller than the time constant of the particle (), which helps in creating a bistable potential well. Duty ratio () is defined as the fraction of the total time spent by the laser at left location. Duty ratio provides a control on the asymmetry of the bistable potential. For , the two wells are symmetric; for a duty ratio of the wells are asymmetric, as shown in FIG. 1(c).
For creating a stable memory bit (where the time of exit from one state to another is considerably longer than the experiment time), is chosen to be . A particle is initialized either in the left or right well with equal probability and allowed to thermalize with the surrounding heat bath. The mathematical model of the bistable potential is characterized by the model of the single well potential in Eq. (1) as follows:
(2) |
where, when the laser is present at right trap, otherwise ; are the parameters that we computed for the single potential well earlier. The particle dynamics under the influence of time multiplexed potential is modeled by overdamped Langevin equation,
(3) |
Here, is a zero-mean uncorrelated Gaussian noise with where is the diffusion constant and is the coefficient of viscosity. See [13] for more details. Monte Carlo simulations are performed using Eq. (3) in conjunction with Eq. (2) for a duty ratio of . From the ensembles of simulated, the potential wells are reconstructed using the canonical distribution. The bistable potential reconstructed using simulated data matched closely with the potential wells constructed from the position data collected from photodiode. The measurement device consists of sensor and a time sampler as shown in FIG. 1(b). The sensor is composed of a photodiode signal corrupted with a measurement noise The measurement signal is modeled as , with is the measurement noise.
Using the memory model and the measurement device, the feedback erasure protocol is implemented. Experimentally it was ascertained that the protocol achieves erasure with a probability . As alluded earlier in the Feedback step of the protocol, the potential wells are made asymmetric for successful transfer of particle to the left well. Duty ratio controls the asymmetric nature of the wells during the feedback step. For each in we instantiated independent runs of erasure based on feedback. For the probability of the successful erasure under open-loop protocol is less than ; the results for where the open-loop protocol results in erasure with a probability higher than are reported.
III.2 Probability of Successful Erasure
The photodiode measurement is a continuous random variable, modeled as where, is measurement noise. The conditional density where is the density function of a zero-mean Gaussian with variance . In an open-loop protocol [10], the probability of successful erasure depends on the duty ratio. A duty ratio greater than results in However, in a feedback erasure protocol the value of depends on both and Because, the measurement may wrongly indicate that the particle is in the well corresponding to the reset state. Such a measurement will lead to no action or reset which will lead to an unsuccessful erasure. Moreover, the success of erasure has considerable impact on the minimal amount to work needed for an erasure.

An estimate on the work needed to erase a single bit memory with a success probability is provided by the Generalized Landauer bound (GLB), [15]. Here, the erasure probability ensures that GLB is within of the Landauer limit. As discussed earlier in the feedback erasure protocol, the erasure probability depends on the specifics of how the wells are altered to execute transfer of the state as well as the quality of the sensor that impacts whether the state transfer protocol is executed or not. We now relate the open-loop erasure probability to the closed-loop erasure probability. Let denote the probability of successful erasure when the open-loop protocol is performed at a duty ratio . Let be the probability of successful erasure under feedback erasure protocol. Then,
(4) |
where, and represents the probability of error when a particle is initialized in the right well and with an incorrect decision that the particle is in the left well corresponding to the reset state. To ensure to be larger than for for the values of and (as determined in [10]), it is determined that . FIG. 1(d) confirms that should not be more than . In this article, is taken to be Such a choice allows for the assumption that the Landauer lower bound is a good approximation to the GLB. The mutual information between and is given by
III.3 Work Calculations
Stochastic framework for Langevin systems [13] is utilized to compute the external work by the laser in the feedback process. This quantity depends on the value of , as wrong inference about the particle location is a possibility. For an erasure process, the work done on the particle is,
(5) |
where, are the time instants when the duty ratio is switched from to and when switched back from to respectively. The duration of erasure is The choice of is dependent on the value of for successful erasure (see [10]). For example, for
For each memory sample, we computed FIG. 3 shows the average work done by the laser computed for . We fit the data to the model [10] using Weighted Least Squares. represents the minimal average external work required. The value of is and is is less than the Landauer limit by a difference of termed as energy deficit, and is approximately equal to the mutual information (). would make the feedback action to approach quasistatic limit. However, there is a practical limitation. Lower () would yield in low erasure performance in practice, as evident from FIG. 1(d). Moreover, , which is the time chosen for successful erasure is proportional to [10] and thus, grows unbounded as . Hence, we extrapolate with the help of the model () to find the thermodynamic limit ().
FIG. 2 shows the distribution of where the y-axis represents the probability The spike at origin () is almost common for both and Because, in the feedback step (second step), the potential wells are not tilted when a particle is initialized in the left well and thus the external work done is zero. The lobe present on the right side of the spike contributes significantly to The right lobe represents the work done in tilting the potentials when a particle is initialized in the right well. By comparing the FIG. from [10] with FIG. 2, the difference is a spike present at the origin in FIG. 2.
III.4 Deficit in the Energy Expenditure
We present the thermodynamics of feedback erasure protocol, which would explain the energy deficit observed in the experiments. An average external work required in a process is bounded by the information free energy difference (see [14]). We now apply second law of thermodynamics to each phase of the protocol.
(a) Measurement: Initial free energy of the system before measurement is while the final free energy is . The measurement does not perturb the particle position and thus, . From second law,
(b) Feedback: After the measurement, the free energy of the system is . The feedback action starts at and ends at and then the system relaxes until . The final free energy of the system is as the measurement device is unaffected by the feedback action. From second law,
(c) Reset: The initial free energy of the system is and the final free energy of the system is Reset operation of the measurement device doesn’t affect the particle position and hence . Note that since the state is reset to its initial value. Replacing with with and using second law, we get
The average feedback work consumed by the system is at least and the free energy change associated with system alone is . Thus, the average feedback work is at least . The difference between the minimal average feedback work and the Landauer limit is (mutual information). Experimentally we computed and observed to be quasistatically approaching (See FIG. 3). The energy deficit is given by the mutual information, which was experimentally verified in Section II.C as . The reduction in energy expenditure is not a violation of second law, as we spend an additional amount of in the Measurement.

IV Conclusions
A feedback erasure protocol is designed to experimentally realize the lowest average feedback work of smaller than the Landauer limit, for the successful erasure of a memory bit. The feedback action is performed under the influence of noisy measurements of the brownian particle position. To ensure a high erasure probability under the feedback erasure protocol, the measurement noise must be smaller than The average feedback work for various duty ratio’s are computed. We verified that in quasistatic limit, the mutual information () quantitatively explains the deficit in energy expenditure.
References
- Leff and Rex [2014] Harvey S Leff and Andrew F Rex. Maxwell’s demon: entropy, information, computing. Princeton University Press, 2014.
- Rupprecht and Vural [2019] Nathaniel Rupprecht and Dervis Can Vural. Physical review letters, 123(8):080603, 2019.
- Bennett and Landauer [1985] Charles H Bennett and Rolf Landauer. The fundamental physical limits of computation. Scientific American, 253(1):48–57, 1985.
- Sagawa and Ueda [2012] Takahiro Sagawa and Masahito Ueda. Nonequilibrium thermodynamics of feedback control. Physical Review E, 85(2):021104, 2012.
- Cao and Feito [2009] Francisco J Cao and M Feito. Thermodynamics of feedback controlled systems. Physical Review E, 79(4):041118, 2009.
- Sørdal et al. [2017] Vegard Sørdal, Joakim Bergli, and YM Galperin. Influence of measurement error on maxwell’s demon. Physical Review E, 95(6):062129, 2017.
- Dinis and Parrondo [2021] Luis Dinis and Juan Manuel Rodríguez Parrondo. Extracting work optimally with imprecise measurements. Entropy, 23(1):8, 2021.
- Abreu and Seifert [2011] David Abreu and Udo Seifert. Extracting work from a single heat bath through feedback. EPL (Europhysics Letters), 94(1):10001, 2011.
- Bérut et al. [2012] Antoine Bérut, Artak Arakelyan, Artyom Petrosyan, Sergio Ciliberto, Raoul Dillenschneider, and Eric Lutz. Nature, 483(7388):187–189, 2012.
- Talukdar et al. [2017a] Saurav Talukdar, Shreyas Bhaban, and Murti V Salapaka. Physical Review E, 95(6):062121, 2017a.
- Toyabe et al. [2010] Shoichi Toyabe, Takahiro Sagawa, Masahito Ueda, Eiro Muneyuki, and Masaki Sano. Experimental demonstration of information-to-energy conversion and validation of the generalized jarzynski equality. Nature physics, 6(12):988–992, 2010.
- Cutler et al. [2017] Ben Cutler, Spencer Fowers, Jeffrey Kramer, and Eric Peterson. Dunking the data center. IEEE Spectrum, 54(3):26–31, 2017.
- Bhaban et al. [2016] Shreyas Bhaban, Saurav Talukdar, and Murti Salapaka. In 2016 American Control Conference (ACC), pages 5823–5829. IEEE, 2016.
- Deffner and Lutz [2012] Sebastian Deffner and Eric Lutz. Information free energy for nonequilibrium states. arXiv preprint arXiv:1201.3888, 2012.
- Talukdar et al. [2017b] Saurav Talukdar, Shreyas Bhaban, and Murti Salapaka. Beating landauer’s bound by memory erasure using time multiplexed potentials. IFAC-PapersOnLine, 50(1):7645–7650, 2017b.