Skip to main content

Artificial Intelligence and Jumbo Shrimp

A.I. Artificial Intelligence (2001) Poster

A “long short-term memory neural network” is apparently an important and recent advance in artificial
intelligence research, even though it sounds a bit like "jumbo shrimp."


The term refers to a neural network devised with “forget gates” attached to cells of memory, originally
in order to model human short-term memory. But the “forget gate” can be set for any length of time,
so the researchers can make this “short-term memory” last as long as they want it to, hence the
oxymoronic name, "long short-term memory."


The Vanishing Gradient


Networks that have these LSTM units as their components have certain advantages over the “vanilla
version” of recurrent neural networks (RNNs). In particular, they can overcome what is known as the
“vanishing gradient” problem. That is, vanilla RNNs were built to learn from new data, but to give that
data a weight that depended on the amount of already -stored data on the same subject a network
already possess; in other words, to model the human process of inductive learning.

But ... once a network has already received a good deal of data, the marginal significance of the
new datum can be insignificant, “vanishing.” Thus, such machines could become incapable of
learning further at all. This meant that networks had to be allowed to forget, in order to preserve
the salience of new data, which is the problem resolved by the newer LSTM models.

Comments

Popular posts from this blog

A Story About Coleridge

This is a quote from a memoir by Dorothy Wordsworth, reflecting on a trip she took with two famous poets, her brother, William Wordsworth, and their similarly gifted companion, Samuel Taylor Coleridge.   We sat upon a bench, placed for the sake of one of these views, whence we looked down upon the waterfall, and over the open country ... A lady and gentleman, more expeditious tourists than ourselves, came to the spot; they left us at the seat, and we found them again at another station above the Falls. Coleridge, who is always good-natured enough to enter into conversation with anybody whom he meets in his way, began to talk with the gentleman, who observed that it was a majestic waterfall. Coleridge was delighted with the accuracy of the epithet, particularly as he had been settling in his own mind the precise meaning of the words grand, majestic, sublime, etc., and had discussed the subject with William at some length the day before. “Yes, sir,” says Coleridge, “it is a maj...

The Lyrics of "Live Like You Were Dying"

Back in 2004 Tim McGraw recorded the song "Live Like You were Dying." As a way of marking the one-decade anniversary of this song, I'd like to admit that a couple of the lines have confused me for years. I could use your help understanding them. In the first couple of verses, the song seems easy to follow. Two men are talking, and one tells the other about his diagnosis. The doctors have (recently? or a long time ago and mistakenly? that isn't clear) given him the news that he would die soon. "I spent most of the next days/Looking at the X-rays." Then we get a couple of lines about a man crossing items off of his bucket list. "I went sky diving, I went rocky mountain climbing, I went two point seven seconds on a bull named Fu Man Chu." Then the speaker -- presumably still the old man -- shifts to the more characterological consequences of the news. As he was doing those things, he found he was loving deeper and speaking sweeter, and givin...

Five Lessons from the Allegory of the Cave

  Please correct me if there are others. But it seems to be there are five lessons the reader is meant to draw from the story about the cave.   First, Plato  is working to devalue what we would call empiricism. He is saying that keeping track of the shadows on the cave wall, trying to make sense of what you see there, will NOT get you to wisdom. Second, Plato is contending that reality comes in levels. The shadows on the wall are illusions. The solid objects being passed around behind my back are more real than their shadows are. BUT … the world outside the the cave is more real than that — and the sun by which that world is illuminated is the top of the hierarchy. So there isn’t a binary choice of real/unreal. There are levels. Third, he equates realness with knowability.  I  only have opinions about the shadows. Could I turn around, I could have at least the glimmerings of knowledge. Could I get outside the cave, I would really Know. Fourth, the parable a...