### 83 Energy trade-off in sensory adaptation-I 感覺適應的能量代價-I

After 2 weeks of introduction, we finally move on to the energy trade-off in sensory adaptation. Sensory systems require adaptation processes to keep their sensory organs sensitive in different environments. This relies on negative feedback mechanisms and consumes energy especially in a noisy microscopic world. Does this set any limitations on our accuracy of adaptation? In this series, we will introduce the theoretical derivation of such limitation on a simple model system and do some computer simulations with the same model system.

Please make sure you have either read or understood the concepts of our previous episodes:
80 Fundamentals--Linear Stability Analysis
81 Entropy production described by Fokker-Planck equation
82 Computer simulation of entropy production

The materials of this series come from:
Lan G, Sartori P, Neumann S, Sourjik V, Tu Y (2012) The energy-speed-accuracy tradeoff in sensory adaptation. Nat Phys 8:422–428.
The derivation of detailed balance comes from:
https://physics.stackexchange.com/questions/153715/detailed-balance-condition-for-coupled-langevin-equation
/*-------------Divider-------------*/
So now let's consider a simple sensory adaptation system composed of an input s, output a, and a negative feedback controller m.
Figure source: Nat Phys 8:422–428. Fig. 1a. A schematic model of sensory adaptation system
The dynamics of this system could be modeled by a coupled Langevin equations:
in which η represents our old friend -- white noise, which means

Before even discussing the functionality of Fa & Fm, we will have to introduce the concept of detailed balance in this stochastic system. It really takes time to fully understand it so we will devote this episode fully to it.

What is detailed balance? For a system in equilibrium, there are many possible states: state a, state b, state c,... you name it. The system could change from state a to state b, or any other possibilities. However, for detailed balance to be true, the following must hold:
The π means the probability density/mass function of each state, and P means the probability of the process that makes system change from state a to state b (this could be a collision, a chemical reaction, or whatever).

What is the detailed balance condition of our coupled Langevin equation? In our system, the state is defined by at least 2 variables -- a & m. The white noise terms are crazy and prevent us from writing down a simple equation. However, we could ask Fokker-Planck equation for some help since they are totally equivalent, and the Fokker-Planck equation is the governing equation of probability density of each state.

The Fokker-Planck equation of our system could be written as:
However, from the fundamental meaning of probability flow, the Fokker-Planck equation could also be written as:
This is called the master equation.

This form is easy to interpret but looks a little bit ugly. We hope to express the master equation in this form:
This requires the new operator to be:

What is the detailed balance expressed in this form? The answer is obvious since detailed balance means the time evolution of probability density function vanishes:

We discuss these detailed balance because we would like to know how these stuffs pose a limit, so we try to multiply these detailed balance condition with some arbitrary function f and them integrate it:
To preserve the symmetry of the equation, we multiply it with g(a',m') and integrate again.
After some complex rearrangement this will become
If we define inner product:
Then the above relation could be summarize as

Now back to our Fokker-Planck equation. By direct comparison, we would find what W means. So we could substitute it back to above relation: (with the help of integration by parts)
Do the same thing for (f, Wg), and we will get
Expand the above equation and do some math we will get
And finally we will get

Since both f & g are arbitrary functions, this requires

And that is the condition demanded by detailed balance. In our next episode, we will proceed to the discussion of the dynamic of the system. Stay tuned!