{"id":965,"date":"2005-07-11T13:37:44","date_gmt":"2005-07-11T20:37:44","guid":{"rendered":"http:\/\/dabacon.org\/pontiff\/?p=965"},"modified":"2005-07-11T13:37:44","modified_gmt":"2005-07-11T20:37:44","slug":"965","status":"publish","type":"post","link":"https:\/\/dabacon.org\/pontiff\/2005\/07\/11\/965\/","title":{"rendered":"Toom&#039;s Rule, Thermodynamics, and Equilbrium of Histories"},"content":{"rendered":"<p>My recent <a href=\"https:\/\/dabacon.org\/pontiff\/?p=959\">post<\/a> on thermodynamics and computation reminded me of a very nice article by Geoffrey Grinstein that I read a while back.<br \/>\nSuppose we are trying to store digital information into some macroscopic degree of freedom of some large system.  Because we desire to store digital information, our system should have differing phases corresponding to the differing values of the information.  For example, consider the Ising model in two or greater dimensions.  In this case the macroscopic degree of freedom over which we wish to store our information is the total magentization.  In order to store information, we desire that the magnetization come in, say, two phases, one corresponding to the system with positive total magnetization and the other corresponding to negative total magnetization.<br \/>\nAssume, now that the system is in thermal equilbrium.  Suppose further that there are some other external variables for the system which you can adjust.  For the example of the Ising model, one of these variables could be the applied external magnetic field.  Since the system is in thermal equilbrium, each of the phases will have a free energy.  Now, since we want our information to be stored in some sort of robust manner, we don&#8217;t want either of the phases to have a lower free energy, since if it did, the system would always revert to the phase with the lowest free energy and this would destroy our stored information.  Since we require the free energy of all information storing phases to be equal, this means that we can always solve these equality equations for some of the external variables.  This means that if we plot out the phases as a function of the external variables, we will always end up with coexisting phases along surfaces of dimension less than the number of external variables.  For our example of the Ising model in an external magnetic field, what happens is that the two phases (positive and negative total magnetization) only coexist where the magnetic field equals zero.  If you have any magnetic field in the positive magnetic direction, then the thermodynamical phase which exists in equibrium is the phase with the postivie total magnetization.  So coexistence of phases, and in particular of information storing phases, in the external variable space, is always given by a surface of dimension less than the number of external variables<br \/>\nWhat is interesting, and why this gets connected with my previous post, is Toom&#8217;s rule.  Toom&#8217;s rule is two dimensional cellular automata rule which exhibits some very interesting properties.  Imgaine that you have a two dimensional square lattice of sites with classical spins (i.e. +1 and -1) on each of the lattice sites.  Toom&#8217;s rule says that the next state of one of these spins is specified by the state of the spin, its neighbor to the north, and its neighbor to the east.  The rule is that the new state is the majority vote of these three spins (i.e. if the site has spin +1, north has spin -1, and east has spin -1, the new state will be spin -1.)<br \/>\nToom&#8217;s rule is interesting because it exhibits robustness to noise.  Suppose that at each time step, the cellular automata instead of performing the correct update, with some probability the site gets randomized.  What Toom was able to show was that for the Toom update rule, if this probability of noise is small enough, then if we start our system with a positive magnetization (just like the Ising model, we define this as the sum of all the spin values) then our system will remain with a postive magnetization and if we start our system with a negative magnetization it will similarly retain its magnetization.  Thus Toom showed that the cellular automata can serve, like the two dimensional Ising model at zero applied field, as a robust memory.<br \/>\nBut what is nice about Toom&#8217;s rule is that it gives an even stronger form of robustness.  Remember I said that the noise model was to randomize a single site.  Here I meant that the site is restored to the +1 state with 50% probability and the -1 state with 50% probability.  But what if there is a bias in this restoration.  From the Ising model point of view, this actually corresponds to applying an external magnetic field.  And here is what is interesting: for Toom&#8217;s rule the region where the two phases which store information can coexist is not just at the (effectively) external magnetic field equal zero point, but instead is a region of external magnetic field between some positive and negative value (set by the probability of noise.)  So it seems that Toom&#8217;s rule violates the laws of thermodynamics!<br \/>\nThe solution to this problem is to realize that the probability distribution produced by Toom&#8217;s rule is not given by a thermodynamic Boltzman distribution!  Toom&#8217;s rule is an example of a probabilistic cellular automata whose steady state is not described by classical thermodynamics.  This is exactly one of the models I have in mind when arguing that I do not know whether the eventual state of the universe is going to be in Gibbs-Boltzman thermodynamic equibrium.<br \/>\nAlong these lines, Charlie Bennett and Geoffrey Grinstein, have, however, shown that while the steady state of Toom&#8217;s rule is  not given by a Gibbs-Boltzman thermodyanmic distribution, if one considers the histories of the state of the cellular automata, instead of the state itself, then Toom&#8217;s rule is given by a Boltzman distribution over the histories of the cellular automata.  It&#8217;s at this point that my brain just sort of explodes.  That a system&#8217;s histories are in equibrium is very strange: normally we think about equibria being generated in time, but here we&#8217;ve already used up our time variable!  I suspect that the answer to this puzzle can be achieved by refering to the Jaynes approach to entropy, but I&#8217;ve never seen this done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My recent post on thermodynamics and computation reminded me of a very nice article by Geoffrey Grinstein that I read a while back. Suppose we are trying to store digital information into some macroscopic degree of freedom of some large system. Because we desire to store digital information, our system should have differing phases corresponding &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/dabacon.org\/pontiff\/2005\/07\/11\/965\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Toom&#039;s Rule, Thermodynamics, and Equilbrium of Histories&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[20,53],"tags":[],"class_list":["post-965","post","type-post","status-publish","format-standard","hentry","category-computer-science","category-physics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/posts\/965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/comments?post=965"}],"version-history":[{"count":0,"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/posts\/965\/revisions"}],"wp:attachment":[{"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/media?parent=965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/categories?post=965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dabacon.org\/pontiff\/wp-json\/wp\/v2\/tags?post=965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}