Memory and Entropy

I study the physical nature of traces. Surprisingly, (i) systems separation with (ii) temperature differences and (iii) long thermalization times are sufficient conditions to produce macroscopic traces. Traces of the past are ubiquitous because these conditions are largely satisfied in our universe. I quantify these thermodynamical conditions for memory and derive an expression for the maximum amount of information stored in such memories as a function of the relevant thermodynamical parameters. This mechanism transforms low entropy into available information. I suggest that all macroscopic information has this origin in past low entropy.

I study the physical nature of traces (or memories).Surprisingly, (i) systems separation with (ii) temperature differences and (iii) long thermalization times, are sufficient conditions to produce macroscopic traces.Traces of the past are ubiquitous because these conditions are largely satisfied in our universe.I quantify these thermodynamical conditions for memory and derive an expression for the maximum amount of information stored in such memories, as a function of the relevant thermodynamical parameters.This mechanism transforms low entropy into available information.

I. THE PROBLEM
The present abounds with traces of the past (footsteps in the sand, craters on the moon, geological strata, photos of us younger,...) and no similar traces of the future.We remember the past, not the future, and this might even be the very source of the psychological arrow of time [1,2].What is the physical mechanism giving rise to this time asymmetry and, especially, to the great abundance of traces of the past in nature?
The second law of thermodynamics is the only 'fundamental' law (including in quantum physics [3,4]) that breaks time-reversal invariance, hence traces are likely to be macroscopic phenomena related to an entropy gradient and ultimately to the past hypothesis [5] of primordial low entropy.Why does past low-entropy yield the ubiquity of traces of the past, and how?
Building on [5,6], I show here that the combined presence of (i) systems separation, (ii) past low entropy, in the form of a temperature difference between systems, and (iii) long thermalization times, is a sufficient condition to produce traces of the past.
Using this result, I derive an expression for the maximum amount of information stored in memory in this way, as a function of the relevant thermodynamical parameters.
The problem discussed here is not how to characterise the physical meaning of 'memory' in general.It is to understand why there are so many traces of the past around us, assuming nobody planted them on purpose.More precisely: what is the general thermodynamical mechanism, which appears to be in place in the universe, that generates the abundance of traces we see?
The relationship between memory and the second law, is studied form a different perspective also in [1].

II. A CONCRETE MODEL FOR MEMORY
I use the expressions 'memory' or 'trace' as synonyms, to indicate a feature of the present configuration of the world that we promptly identify as witnessing a specific particular past event.Examples are photos, writ-ten texts, footsteps, impact craters, memories in brains and computers, fossils, gravitational waves emitted from a black hole merger, this very article you are reading, and so on.There are no analogous traces of future events, in our experience.To pinpoint the nature of these memories, I describe a simple paradigmatic model.
Consider two physical systems that interact occasionally.The first, say, is formed by balls moving freely in a closed room, bouncing elastically on the walls and on each other.Assume that the balls are sufficiently heavy and elastic to make any dissipation negligible and that have been bouncing long enough to average out their energy.The second is formed by several pendulums hanging on ropes from the ceiling.For these, assume that friction in the rope and with air is non-negligible.Hence oscillations of the pendulums are damped.The two systems interact when one of the balls happens to hit elastically one of the pendulums.Assume that conditions are such that collisions between the balls and the pendulums happen but are rare, during the time span considered.
Call 'event' a collision between a ball and a pendulum.Consider histories where the pendulums are initially near rest, undergoing small thermal fluctuations, while the balls move fast.Anytime a ball hits a pendulum, it sets it in motion, the pendulum oscillates for a while.Its oscillations are slowly damped by friction.
Consider the state of this system at some time t.See Figure 1.Say we see most pendulums near rest, except for a few that oscillate widely.From these oscillations, we  infer that those pendulums were hit by a ball in the past.This is an example of 'trace', or 'memory'.The memory, namely the oscillation, lasts for a while.Long after the hit, the excited pendulums are back to near rest, as they were initially.The state of the pendulums at time t has information about events (interactions between balls and pendulums) in the past, but not in the future.Something has broken time reversal invariance.What, and how?
The first point to observe is that the description above is macroscopic.By this I mean that the only relevant information given is that 'the balls move fast', 'the pendulums are near rest'.This is averaged information.The point is that it is sufficient to detect a trace.
A trace is an irreversible phenomenon.This can be seen here by running the history backward in time: one of the few wildly oscillating pendulums collides with ball that happens to absorb its energy nearly entirely.This looks very implausible, namely highly improbable.If the phenomenon is irreversible, it needs an initial low entropy, to break time reversal invariance.Where is the initial low entropy?
The answer is that the initial low entropy is in the temperature difference between the two systems (balls and pendulums) at the past end of the time interval considered.This in fact decreases slowly at each event.Indeed, let E e ('e' for environment) be the average energy per degree of freedom of the balls.This defines a temperature T e via E e = 1  2 kT e .Here k is the Boltzmann constant.Let E m ('m' for memory) be the average energy per degree of freedom of the pendulums.This defines a temperature T m via E m = 1 2 kT m .If the two systems had the same temperature, namely if T e = T m , all degrees of freedom would have the same average kinetic energy, the transfer of energy at each ball-pendulum collision would be equally probable from the balls to the pendulums or viceversa, and there would be no memory.
To have memory, we need the balls to have more average energy than the pendulums.That is, we need T e > T m .The initial difference of temperature is needed here to have memory.This difference of temperature is a past low entropy condition, because maximal entropy requires T e = T m .
At each collision the entropy grows because part of the energy is passed from the balls to the pendulums and the temperature difference decreases.If a small amount of energy ∆E is transmitted to a pendulum in a collision, this gives rise (in due time after the energy of the pendulum is dissipated) to an entropy increase because in thermodynamical terms the transferred energy here behaves like heat transferred.In a time reversed history, a pendulum decreasing its energy by transmitting it to a ball is precisely like heat going from a cold to a hot body, violating the second law because improbable, although mechanically possible.
To have memory, we also need T e > T m to persist.
Namely, we need the interactions between balls and pendulums to be sparse.Thus, we need the coupling between the two systems to be sufficiently weak to hold them from converging too rapidly to equilibrium.That is, the thermalization time τ em of the coupled system must be long, on the scale of the observation time t tot .We also need the damping of the oscillations of the pendulums to be sufficiently slow to hold the memory.That is, the thermalisation time τ m for the pendulum systems must be sufficiently long on the scale of the time t m we want the memory to last.In other words, we need the pendulums themselves to be sufficiently weakly coupled to hold them from converging rapidly to equilibrium.The memory, or trace, is then neatly identified as a configuration (of a pendulum) which is out of equilibrium (with rope, air and other pendulums), and remains so for a while thanks to the long thermalization time τ m .
Notice that the initial temperature difference breaks time reversal invariance.The set of dynamical histories compatible with it is much smaller than the set of histories compatible with the smaller temperature difference at a later time.

III. THE NATURE OF MEMORY
The model discussed above points to a set of simple ingredients sufficient to lead to traces: (a) System separation.In the example: the balls and the pendulums.Similarly: the meteorites population and the moon's surface, men walking and the sand, people and the film of the camera.The separation must be sufficient to permit that thermalization is avoided for a time lapse long with respect to the memory time.That is, the thermalization time τ em of the composite system must be much longer than the time lapse considered t tot .
(b) Past thermodynamical imbalance, for eaxample a temperature difference.For instance, there should be higher average energy (hence temperature, T e ) in one the two systems (balls, meteorites, walking people, colliding black holes) than in the other T m .Denote 'environment' the systems with higher temperature and 'memory' the system with lower temperature.
(c) Long thermalization time in the memory system.The pendulums should not thermalise too fast for memory to hold.The sand should not be equalised by the wind too fast, the photo should not fade too fast, the gravitational waves should not sink in the background radiation,...That is, the thermalization time of the memory system τ m must be longer than the expected duration t m of the memory.
These ingredients are sufficient to give raise to the phenomena that we recognise as traces, or memories, without any need of anything else.Traces are the temporary (but long lasting, because of τ m ) out of equilibrium configurations of the 'memory' system, that follow the occasional interactions between environment and memory.They are in the future of the interaction because of the time orientation sourced by the initial low entropy.
That is: let's have two systems, that we call environment and memory, at temperature T e and T m respectively.Let's τ em be the thermalization time for the coupled system environment+memory and τ m the thermalization time in the memory system alone.For a total time lapse t tot we have memories lasting a time of order It is remarkable that such simple conditions are sufficient to generate traces.
These conditions are obviously largely realized in our universe, where many subsystems interact weakly, and thermalization is often very slow, giving rise to very common metastable states.
The scheme described here can probably be generalised, for instance to cover chemical potential, or pressure disequilibria, but it seems to me to capture the core of the reason for the abundance of traces in the universe, and their time orientation.

IV. INFORMATION IN MEMORY
Let the heat capacity of the memory system be C m , and let us take the heat capacity of the environment to be infinite for simplicity (namely let us assume that the environment is large).Then as time passes the temperature of the memory raises.This can be simply modelled over long enough time scales as Individual memories are lost after a time ∼ τ m .The total energy transmitted during a time lapse τ m is of the order of This is therefore the average energy dropped into the memory system and not yet thermalised, at any given time.With (2), this gives Using (1), this energy gives rise to an entropy change This is the entropy increase from which the information stored in the memory is sourced, under the conditions given.
Memory contains information.This information must come from somewhere.The only possible source is the entropy increase, since entropy increase is information loss.Therefore (5) determines the maximal amount of information I that can be stored in memory in this way: Notice that this is a mechanism that transforms initial low entropy (free energy) into available information.
Perhaps this transformation of past low entropy into available information plays a role in phenomena such as the biosphere, where available information plays a huge role.
In our universe, system separation and very long thermalization times (τ em ) are very common.By far the dominant one is the lack or thermodynamical equilibrium between helium and hydrogen.Helium and hydrogen ceased to be in thermal equilibrium since nucleosynthesis, because the rapid cosmological expansion (matter was out of equilibrium with the scale factor [7]) lowered the temperature to a point where the thermalization time became much longer than cosmological times.Helium and hydrogen have remained out of equilibrium since and this disequilibrium is currently the main source of free energy in the universe [7].Occasionally, energy is dumped from hydrogen to helium: this happens when a star form and burns.These events are those fuelling all the free energy that nurtures the biosphere.They are a perfect realisation of the mechanism described here and they, indeed, leave very abundant traces of themselves and of their products.
I have long being puzzled by how a disorganised universe, where in the far past matter was in thermal equilibrium, could have spontaneously evolved into the abundance of informative traces of the past that we see around us.It seems to me that the mechanism described here provides the answer.*** Sincere thanks to Jenann Ismael, David Albert and Andrea di Biagio for reactions, very good criticisms to the first draft of this note, and comments.This work was made possible through the support of the FQXi Grant FQXi-RFP-1818 and by the QISS grant ID# 60609 of the John Templeton Foundation.

Figure 1 :
Figure1: The model for memory.The cold damped pendulums are in grey, the hot balls in black.Here the wide oscillation of a single oscillating pendulum is a trace of a past interaction between a ball and a pendulum.