Posts Tagged ‘spin glass’

Evolving Trends

January 13, 2007

Self-Aware Text

(this post was updated at 12:10am, Jan 15, 2007)

Enabling self-organizing text

—Summary of an interesting model for realizing self-organizing text (excerpted from this cognitively deranged, subvertly racially biased but otherwise technically sound source)—

Spin glasses are materials with chaotically oriented atomic spins which can reach neither a ferromagnetic equilibrium (spins aligned) nor a paramagnetic one (spins canceling in pairs), because of long-range spin interactions between magnetic trace atoms (Fe) and the conduction electrons of the host material (Cu). Because these effects reverse repeatedly with distance, no simple state fully resolves the dynamics, and spin glasses thus adopt a large variety of [globally] disordered states [with short range order.] Modelling the transition to a spin glass [i.e. simulated annealing] has close parallels in neural nets, particularly the Hopfield nets consisting of symmetrically unstable circuits. Optimization of a task is then modelled in terms of constrained minimization of a potential energy function. However the problem of determining the global minimum among all the local minima in a system with a large number of degrees of freedom is intrinsically difficult. Spin glasses are also chaotic and display sensitive dependence. Similar dynamics occurs in simulations of continuous fields of neurons.

Annealing is a thermodynamic simulation of a spin glass in which the temperature of random fluctuations is slowly lowered, allowing individual dynamic trajectories to have a good probability of finding quasi-optimal states. Suppose we start out at an arbitrary initial state of a system and follow the topography into the nearest valley, reaching a local minimum. If a random fluctuation now provides sufficient energy to carry the state past an adjacent saddle, the trajectory can explore further potential minima. Modelling such processes requires the inclusion of a controlled level of randomness in local dynamical states, something which in classical computing would be regarded as a leaky, entropic process. The open environment is notorious as a source of such [controlled level of randomness], which may have encouraged the use of chaotic systems in the evolutionary development of the vertebrate brain.

—End of Summary—

Imagine the interaction between random words in the English language having two properties: aligned and none-aligned. If you throw the whole set of words into a heated spin-glass alloy (e.g. Cu-Fe), where the words replace the atoms and where word-word interactions replace spin-spin interactions, and then let it cool slowly (i.e. anneal it) then the system (of word-word interactions) should theoretically self-organize into the lowest potential energy state it could find.

The spin glass model (from the above quoted summary) implements an optimization process that is also a self organizational process that finds the local energy minima associated with a meta-stable state for the system which in turn organizes the local interactions between atomic spins (or words) to minimize discordant interactions (or disorder) in the short range, thus (in the case of word-word interactions) generating text that goes from garbarge in the long range (as a result of globally disordered interactions in the long range) to well-formed in the short range (as a result of mostly aligned/ordered interactions in the short range.)

This idea is pretty raw, incomplete, and may not be the most proper use (or abuse) of the spin glass model (see References.)

However, in line with evolution’s preference for such a model for the brain, I find it useful to inject a controlled level of noise (randomness) into the thinking process.

Well, after having some apple crumble, I realize now (randomness works) that the reason this model will work well is because it will generate many well-formed sentences in each state of the system so there is bound to be a percentage of sentences that will actually make sense!

Having said that, this adpatation of the [SK] spin-glass model is pretty rough and needs more thinking to nail down, but the basic idea is good!

From Self-Organizing to Self Aware

What if instead of simply setting the rules and letting order emerge out of chaos (at least in the short range), as implied above, what if each word was an intelligent entity? What if each word knew how to fit itself with other words and within a sentence such that the words work collaboratively and competitively with each other to generate well-formed sentences and even whole articles?

The words would have to learn to read. 🙂

[insert your Web X.0 fantasy]


  1. Spin Glass Theory and Beyond


Short range ordered regions in 2D state space of a spin glass.

Posted by Marc Fawzi

Share and Prosper digg.png


web 3.0, web 3.0, web 3.0, semantic web, semantic web, artificial intelligence, AI, statistical mechanics, stochastic, optimization, simulated-annealing, self-organization, spin glass


  1. […] A good example of such structural/sensory duality is the article ”Self Aware Text“     […]

    Pingback by Thinking About Music is Like Dancing About Architcture « Evolving Trends — January 14, 2007 @ 6:27 am

  2. […] Self Aware Text […]

    Pingback by Patterns of Survival « Evolving Trends — January 14, 2007 @ 7:06 am

  3. what?

    just kidding, i get it – not sure i could ever have the guts to implement any of it.

    Comment by Phill — January 15, 2007 @ 6:33 am

  4. I’ve seen the phrase enough times but I never knew what a spin glass actually was before. Thanks!

    Comment by scalefree — January 17, 2007 @ 12:03 pm

  5. The spin glass model, as a high level concept, has captivated me since I was 16. I got into it after reading an exciting article about a sping-glass based neural network using simulated annealing.

    Comment by evolvingtrends — January 18, 2007 @ 5:27 am

  6. […] Self-Aware Text (took two nights to get right) […]

    Pingback by Sensoria 3.0: The End of Your Mind? « Evolving Trends — September 24, 2007 @ 11:34 pm

RSS feed for comments on this post. TrackBack URI

Read Full Post »

%d bloggers like this: