fractal composition of meaning: toward a collage theorem for language simon d. levy department of...

55
Fractal Composition of Fractal Composition of Meaning: Meaning: Toward a Collage Theorem Toward a Collage Theorem for Language for Language Simon D. Levy Simon D. Levy Department of Computer Department of Computer Science Science Washington and Lee Washington and Lee University University Lexington, VA 24450 Lexington, VA 24450 http://www.cs.wlu.edu/~levy http://www.cs.wlu.edu/~levy

Upload: ilene-briggs

Post on 30-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Fractal Composition of Meaning:Fractal Composition of Meaning:Toward a Collage Theorem for Toward a Collage Theorem for LanguageLanguage

Simon D. Levy Simon D. Levy

Department of Computer ScienceDepartment of Computer Science

Washington and Lee UniversityWashington and Lee University

Lexington, VA 24450Lexington, VA 24450

http://www.cs.wlu.edu/~levyhttp://www.cs.wlu.edu/~levy

Page 2: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Part I: Self-SimilarityPart I: Self-Similarity

Page 3: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,
Page 4: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,
Page 5: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,
Page 6: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,
Page 7: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,
Page 8: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,
Page 9: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,
Page 10: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

... But I know, too,

Page 11: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

That

Page 12: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

the blackbird is involved

in

Page 13: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

what what

Page 14: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

... But I know, too,

That the blackbird is involved

In what

– Wallace Stevens

I know.

Page 15: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Part II: A Little MathPart II: A Little Math

Page 16: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Iterated Function SystemsIterated Function Systems

• IFS: Another way to make a fractal

• Start with an arbitrary initial image

• Apply a set of contractive affine transforms

• Repeat until image no longer changes

• E.g., Sierpinski Triangle...

A02

T i ,i 1,2,. .. ,n

Page 17: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski TriangleSierpinski Triangle

T 1xy

.5 00 .5

xy

00

T 2xy

.5 00 .5

xy

0.5

T 3xy

.5 00 .5

xy

.5

.5

I.e., three half-size copies, one in each of three corners of [0,1] 2

Page 18: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: 0 IterationsSierpinski Triangle: 0 Iterations

Page 19: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: 1 IterationSierpinski Triangle: 1 Iteration

Page 20: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: 2 IterationsSierpinski Triangle: 2 Iterations

Page 21: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: 3 IterationsSierpinski Triangle: 3 Iterations

Page 22: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: 4 IterationsSierpinski Triangle: 4 Iterations

Page 23: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: 5 IterationsSierpinski Triangle: 5 Iterations

Page 24: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: 6 IterationsSierpinski Triangle: 6 Iterations

Page 25: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: 7 IterationsSierpinski Triangle: 7 Iterations

Page 26: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski Triangle: New Initial Sierpinski Triangle: New Initial ImageImage

Page 27: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski TriangleSierpinski Triangle

Page 28: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski TriangleSierpinski Triangle

Page 29: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski TriangleSierpinski Triangle

Page 30: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski TriangleSierpinski Triangle

Page 31: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski TriangleSierpinski Triangle

Page 32: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski TriangleSierpinski Triangle

Page 33: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Sierpinski TriangleSierpinski Triangle

Page 34: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

IFS Fractals in NatureIFS Fractals in Nature

Page 35: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Fractal Image CompressionFractal Image Compression

• Doesn't matter what image we start with

• All information needed to represent final “target”

image is contained in transforms

• Instead of storing millions of pixels, determine

transforms for target image, and store them

• How to determine transforms?

T i

A0

Page 36: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

The Collage TheoremThe Collage Theorem

• Let

• is the attractor or “fixed point” of

• Collage Theorem (Barnsley 1988): Given

arbitrary target image , transforms encoding

are s.t.

• Use various practical methods to find

f A0iT i A0

limn

f n A0 f

A A

T i f AiT i A A

T i

Page 37: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Practical Fractal Image Practical Fractal Image CompressionCompression

• Most real-world images are only partially self-similar

• Arbitrary images can be partitioned into “tiles”,

each associated with a transform.

• Compression algorithm computes and stores

locations and transforms of tiles

Page 38: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Practical Fractal Image Practical Fractal Image CompressionCompression

Page 39: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Practical Fractal Image Practical Fractal Image CompressionCompression

Page 40: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Part III: UnificationPart III: Unification

Page 41: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

The “Two Cultures”The “Two Cultures”

Discrete Symbols

Semantic Relations

Grammar Rules

Graph StructuresContinuous

Vectors

Metric Spaces

Continuous TransformsImages

Linguistics AI

Logic

Dynamical Systems

ChaosElectrical Engineering

Page 42: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Meanings as VectorsMeanings as Vectors“You shall know a word by the company it keeps”

– J. R. Firth

• Vector representation of a word encodes co-occurrence with other words

• Latent Semantic Analysis (Indexing) –

Singular Value Decomposition of co-

occurrence matrix on text; 300-dimensional

vectors [Landauer, Dumais, Kintsch]

Page 43: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Meanings as VectorsMeanings as Vectors

• Self-Organizing Maps – Collapse high-dimensional descriptions (binary features or real-val vectors) into 2-D [Kohonen]

• Simple Recurrent Networks – Hidden-

variable temporal model predicting next word

based on current; 150-D vectors [Elman]

Page 44: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Meanings as VectorsMeanings as Vectors

Fred says the woman arrived.The woman says fred arrived.Fred loves the woman.The woman loves fred.The woman arrived.Fred arrived.

Page 45: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Composing Meaningful Vectors Composing Meaningful Vectors

the woman.

Page 46: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Composing Meaningful Vectors Composing Meaningful Vectors

loves the woman.

Page 47: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Composing Meaningful Vectors Composing Meaningful Vectors

Fred loves the woman.

Page 48: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Part IV: ConclusionsPart IV: Conclusions

Page 49: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

Advantages of Vector RepresentationsAdvantages of Vector Representations

• Meaning as a gradient phenomenon (semantic spaces = vector spaces)

• Can represent all transforms with a single

hidden-variable non-linear equation (“grammar”)

• Gradient-descent methods as learning model

• Principled, biologically plausible alternative to

“Words and Rules” approach [Chomsky, Pinker,

Fodor]

Page 50: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

A Collage Theorem for LanguageA Collage Theorem for Language

Page 51: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

A Collage Conjecture for LanguageA Collage Conjecture for Language

Page 52: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

A Collage Conjecture for LanguageA Collage Conjecture for Language

Page 53: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

A Collage Hypothesis for LanguageA Collage Hypothesis for Language

Page 54: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

A Collage Hypothesis for LanguageA Collage Hypothesis for Language

Page 55: Fractal Composition of Meaning: Toward a Collage Theorem for Language Simon D. Levy Department of Computer Science Washington and Lee University Lexington,

A Collage S.W.A.G. for LanguageA Collage S.W.A.G. for Language

• Words/meanings are co-occurrence vectors.

• Compositions of meanings are transients to

words.

• “Correct” set of transients is one for which

word vectors form a subset of the attractor.