MODELING CREATIVITY How can we simulate creativity ? Tom De Smedt - - PowerPoint PPT Presentation

modeling creativity
SMART_READER_LITE
LIVE PREVIEW

MODELING CREATIVITY How can we simulate creativity ? Tom De Smedt - - PowerPoint PPT Presentation

MODELING CREATIVITY How can we simulate creativity ? Tom De Smedt PROMOTOR Prof. dr. Walter Daelemans CLiPS Computational Linguistics Research Group CO-PROMOTOR Lucas Nijs EMRG Experimental Media Research Group MODELING CREATIVITY How can we


slide-1
SLIDE 1
slide-2
SLIDE 2

MODELING CREATIVITY

Tom De Smedt

PROMOTOR

  • Prof. dr. Walter Daelemans

CLiPS Computational Linguistics Research Group CO-PROMOTOR Lucas Nijs EMRG Experimental Media Research Group

How can we simulate creativity ?

slide-3
SLIDE 3

MODELING CREATIVITY

Tom De Smedt

EDUCATION BA degree in sofware engineering MA degree in audiovisual arts PhD in arts AFFILIATION Co-founder of EMRG Post-doctoral researcher at CLiPS

How can we simulate creativity ?

slide-4
SLIDE 4

MODELING CREATIVITY

  • generative art + selected artworks
  • creativity in nature
  • creativity in humans
  • computer models of creativity
  • creativity & language : PATTERN
  • sentiment analysis
slide-5
SLIDE 5

rule-based systems inspired by nature & complexity using AI & Artificial Life techniques

GENERATIVE ART

selection of works

slide-6
SLIDE 6

rule 1 WINGS rotate to form SPIROS rule 2 WINGS advance to form CHAINS rule 3 SPIROS spawn smaller SPIROS rule 4 CHAINS curl near SPIROS Self-replication – De Smedt & Lechat ( 2010 )

slide-7
SLIDE 7

Processing, Casey Reas & Ben Fry (2001)

slide-8
SLIDE 8

NodeBox generates visual output based on Python programming code De Bleser, De Smedt & Nijs ( 2003 )

slide-9
SLIDE 9

Nebula – De Smedt, Creativity World Biennale, USA ( 2010 )

slide-10
SLIDE 10

Creature – De Smedt & Lechat, Creativity World Biennale, USA ( 2010 )

slide-11
SLIDE 11

Nanophysical – Lechat & De Smedt, IMEC, permanent exhibition ( 2010 )

slide-12
SLIDE 12
slide-13
SLIDE 13
slide-14
SLIDE 14
slide-15
SLIDE 15
slide-16
SLIDE 16
slide-17
SLIDE 17
slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20

Valence – De Smedt, Menschaert, Lechat, Grundlehner, Augustynen ( 2012 )

relaxation ↔ arousal in the brain

slide-21
SLIDE 21

GENERATIVE ART

COMPUTATIONAL

  • rules described in programming code
  • randomness → unexpectedness & variation

CREATIVE

authors are:

  • not confined to buttons, menus, sliders
  • free to combine all sorts of functionality
slide-22
SLIDE 22

PROGRAMS THAT ARE AUTHORS ?

slide-23
SLIDE 23
  • find news ( nytimes.com )
  • find synonyms
  • find images ( Google )
  • random pixel effects

PROGRAMS THAT ARE AUTHORS ?

slide-24
SLIDE 24
  • find news ( nytimes.com )
  • find synonyms
  • find images ( Google )
  • random pixel effects

PROGRAMS THAT ARE AUTHORS ?

“ Europe's big bet: while electric vehicle

charging stations are clearly the most ambitious part of the plan, the eight billion-euro package includes standards for developing hydrogen, biofuel and

  • ther natural gas networks. ”
  • bet → jackpot
  • vehicle → car ...
slide-25
SLIDE 25

PROGRAMS THAT ARE AUTHORS ?

INTERPRETATION BIAS

  • “seems” creative ...
  • but unintentional ( random )
  • mind creates narrative

car + green gas + profit

slide-26
SLIDE 26

how can we make it really creative?

what is creativity?

slide-27
SLIDE 27

CREATIVITY IN NATURE

slide-28
SLIDE 28

AGENT-BASED MODELING

Craig Reynolds (1987) Flocks, herds and schools: A distributed behavioral model Proceedings of SIGGRAPH ’87

SEPARATION

steer to avoid others

ALIGNMENT

steer to mean heading

COHESION

steer to flock centroid

slide-29
SLIDE 29

AGENT-BASED MODELING

SEPARATION

steer to avoid others

ALIGNMENT

steer to mean heading

COHESION

steer to flock centroid

class Agent: def __init__(self, flock): self.flock = flock self.x = 0 self.y = 0 self.z = 0 self.v = (0, 0, 0) def align(self): vx = vy = vz = 0 for a in self.flock: # not very optimal! vx += a.v[0] vy += a.v[1] ...

  • ne class, many instances
slide-30
SLIDE 30

AGENT-BASED MODELING

SIMULATION

  • multiple agents interact (e.g., ants)
  • result is often unexpected, emergent

AGENT

define behavior of one agent (e.g., ant) :

  • 1. roam
  • 2. track scent trails to food
  • 3. harvest nearby food
  • 4. hoard food at nest, leaving a scent trail
slide-31
SLIDE 31

ANT COLONY SIMULATION

slide-32
SLIDE 32

COOPERATION

ANTS FOLLOW SCENT TRAILS

SOLITARY

ANTS FORAGE INDIVIDUALLY ANT COLONY SIMULATION

slide-33
SLIDE 33

COOPERATION

ANTS FOLLOW SCENT TRAILS

SOLITARY

ANTS FORAGE INDIVIDUALLY ANT COLONY SIMULATION

slide-34
SLIDE 34

EVOLUTION

NATURAL SELECTION

ants that cooperate have :

  • more food
  • better defenses
  • better chances of producing offspring

EVOLUTION

  • offspring inherit the behavior (genes)
  • cooperative behavior proliferates

VARIATION

  • offspring will have genetic variation →

new, slightly different “tricks”

slide-35
SLIDE 35

COMPLEXITY

EMERGENCE

colony exhibits complex behavior :

  • collaborative foraging
  • caterpillar herding ...
  • while the parts (ants) are simple

COMPETITION

colony interacts :

  • with other colonies
  • with other species (humans), seeds ...
  • these must now adapt too

ECOSYSTEM

colony is a system inside a bigger, dynamic system

slide-36
SLIDE 36

COLONY 3

ABUNDANT RESOURCES

COLONY 1 ↔ 2

COMPETITION FOR RESOURCES

“PLUNDERING”

COMPETING ANT COLONIES

slide-37
SLIDE 37

GENETIC ALGORITHM

POPULATION

candidate solutions ( agents, algorithms ) :

  • candidate = array or string
  • data can be split & spliced

FITNESS FUNCTION

  • select top candidates
  • recombine into a new population
slide-38
SLIDE 38

GENETIC ALGORITHM

Karl Sims (1994) Evolving virtual creatures Proceedings of SIGGRAPH ’94

slide-39
SLIDE 39

GENETIC ALGORITHM

Jian Jun Hu & Erik Goodman (2002) The hierarchical fair competition (HFC) model Proceedings of CEC ’02

slide-40
SLIDE 40

CREATIVITY IN NATURE IS “BLIND”

the result of evolution and complexity with no predefined goal

ARGUMENT

slide-41
SLIDE 41

NOTHING COMES FROM NOTHING

complex systems have interacting parts

DNA → cell → ant → ant colony → ecosystem ...

creativity is a complex of underlying factors ( not a magical gift )

ARGUMENT

slide-42
SLIDE 42

CREATIVITY IN HUMANS

HISTORICALLY

  • nly god(s) can create stuff :
  • man can be divinely inspired

PRESENT

irrationality persists :

  • belief systems, thinking hats, luck charms ...
  • obsessive-compulsive behavior
  • substance abuse

“ A poet is a light and winged thing, and holy, and never able to compose until he has become inspired, and is beside himself and reason is no longer in him.” – Plato

humans = intentional

slide-43
SLIDE 43

CREATIVITY IN HUMANS

Robert Sternberg (1998) Handbook of Creativity Cambridge University Press Margaret Boden (2003) The creative mind: Myths and mechanisms Routledge Gilles Fauconnier & Mark Turner (2003) The way we think: Conceptual blending and the mind’s complexities Basic Books

slide-44
SLIDE 44

CREATIVITY IN HUMANS

HISTORY

  • nly god(s) create stuff :
  • man can be divinely inspired

PRESENT

irrationality persists :

  • belief systems, thinking hats, luck charms ...
  • obsessive-compulsive behavior
  • substance abuse

“ A poet is a light and winged thing, and holy, and never able to compose until he has become inspired, and is beside himself and reason is no longer in him.” – Plato

slide-45
SLIDE 45

CREATIVITY IN HUMANS

PRESENT

creativity ≠ art or the divine :

  • everyone solves problems creatively ≈ learning
  • everyday creativity ( LITTLE-C )
  • historical creativity ( BIG-C )

LITTLE-C LITTLE-C LITTLE-C BIG-C

slide-46
SLIDE 46

TALENT

HEREDITY ENVIRONMENT PERSONALITY INTELLIGENCE EXPERIENCE KNOWLEDGE MOTIVATION

  • creativity does not run in families ( intelligence does )
  • creativity = challenging childhood & peer group
  • creativity = non-conformism, ambition, broad interests, introversion
  • creativity = IQ >= 120 + hard work
  • creativity = 10,000 hrs of deliberate practice
  • creativity = knowledge → the building blocks for new ideas
  • creativity = curiosity, interest & enjoyment in a task

a complex of factors :

( ≠ money or rewards )

slide-47
SLIDE 47

KNOWLEDGE

building blocks for new ideas

NOVELTY

new idea = combination of known ideas

  • spoon + fork = spork

APPROPRIATENESS

new idea = useful or useless

  • knork? knoon?

THINKING STYLES

different ways to think

  • combine ideas
  • explore an idea
  • transform the knowledge space → add new ideas & relations
  • flexibility = creativity

SPORK KNOON / SPIFE

slide-48
SLIDE 48
slide-49
SLIDE 49

CAT

slide-50
SLIDE 50

CAT DOG

slide-51
SLIDE 51

CAT DOG TAIL

slide-52
SLIDE 52

CAT DOG TAIL WOOF

slide-53
SLIDE 53

CAT DOG TAIL WOOF MEOW CRY

slide-54
SLIDE 54

CAT DOG TAIL WOOF MEOW CRY HUNGRY

slide-55
SLIDE 55

CAT DOG TAIL WOOF MEOW CRY HUNGRY GET UP FEED CAT

slide-56
SLIDE 56

CAT DOG TAIL WOOF MEOW CRY HUNGRY GET UP FEED CAT CEREAL

slide-57
SLIDE 57

CAT DOG TAIL WOOF MEOW CRY HUNGRY GET UP FEED CAT CEREAL ALARM CLOCK

slide-58
SLIDE 58

CAT DOG TAIL WOOF MEOW CRY HUNGRY GET UP FEED CAT CEREAL ALARM CLOCK

“ a cat that says woof ”

NOT SO ORIGINAL & USEFUL

slide-59
SLIDE 59

CAT DOG TAIL WOOF MEOW CRY HUNGRY GET UP FEED CAT CEREAL ALARM CLOCK

“ a cat that says woof ”

NOT SO ORIGINAL & USEFUL

“ a cat is a walking alarm clock ”

QUITE CREATIVE = FUNNY & IMAGINATIVE

slide-60
SLIDE 60

CAT DOG TAIL WOOF MEOW CRY HUNGRY GET UP FEED CAT CEREAL ALARM CLOCK

“ a cat that says woof ”

NOT SO ORIGINAL & USEFUL

“ a cat is a walking alarm clock ”

QUITE CREATIVE = FUNNY & IMAGINATIVE

remote combinations are more creative but come slower

slide-61
SLIDE 61

IMAGINATION

mental representation of reality

  • “ blend space ”
  • unconscious : fast, intuitive, biased

evaluation

  • conscious : slow, analytical, lazy
slide-62
SLIDE 62

PROUD BRUSSELS SLOW TOAD STUBBORN SLIMY STICKY CALM CONFIDENT EXPENSIVE RESEARCH CLASSY GRAND EXCITING MYSTERIOUS CREEPY POSH GREAT PLEASANT LAZY NASTY

A COMPUTER MODEL OF CREATIVITY : CONCEPT SEARCH SPACE

slide-63
SLIDE 63

Brussels ?

slide-64
SLIDE 64

Brussels ? Brussels is-a city Brussels is-part-of Belgium

PROUD is-property-of Brussels GREAT is-property-of Brussels GREEN is-property-of Brussels

PROUD BRUSSELS RESEA GREAT

slide-65
SLIDE 65

Brussels ? What animal is similar to Brussels ? PROPERTIES / ADJECTIVES Brussels is-a city Brussels is-part-of Belgium

PROUD is-property-of Brussels GREAT is-property-of Brussels GREEN is-property-of Brussels

PROUD BRUSSELS RESEA GREAT

slide-66
SLIDE 66

Brussels ?

  • 1. a bunny ?

What animal is similar to Brussels ? PROPERTIES / ADJECTIVES Brussels is-a city Brussels is-part-of Belgium

PROUD is-property-of Brussels GREAT is-property-of Brussels GREEN is-property-of Brussels

PROUD BRUSSELS RESEA GREAT

slide-67
SLIDE 67

Brussels ? bunny → CUTE → PRETTY → BEAUTIFUL → princess → PROUD → Brussels bunny → SOFT → ROMANTIC → PASSIONATE → RED → color → GREEN → Brussels

  • 1. a bunny ?

What animal is similar to Brussels ? PROPERTIES / ADJECTIVES Brussels is-a city Brussels is-part-of Belgium

PROUD is-property-of Brussels GREAT is-property-of Brussels GREEN is-property-of Brussels

PROUD BRUSSELS RESEA GREAT

slide-68
SLIDE 68

Brussels ? bunny → CUTE → PRETTY → BEAUTIFUL → princess → PROUD → Brussels bunny → SOFT → ROMANTIC → PASSIONATE → RED → color → GREEN → Brussels

  • 1. a bunny ?

TOO REMOTE

What animal is similar to Brussels ? PROPERTIES / ADJECTIVES Brussels is-a city Brussels is-part-of Belgium

PROUD is-property-of Brussels GREAT is-property-of Brussels GREEN is-property-of Brussels

PROUD BRUSSELS RESEA GREAT

slide-69
SLIDE 69

Brussels ? bunny → CUTE → PRETTY → BEAUTIFUL → princess → PROUD → Brussels bunny → SOFT → ROMANTIC → PASSIONATE → RED → color → GREEN → Brussels

  • 1. a bunny ?
  • 2. a toad ?

TOO REMOTE

What animal is similar to Brussels ? PROPERTIES / ADJECTIVES Brussels is-a city Brussels is-part-of Belgium

PROUD is-property-of Brussels GREAT is-property-of Brussels GREEN is-property-of Brussels

PROUD BRUSSELS RESEA GREAT

slide-70
SLIDE 70

Brussels ? bunny → CUTE → PRETTY → BEAUTIFUL → princess → PROUD → Brussels bunny → SOFT → ROMANTIC → PASSIONATE → RED → color → GREEN → Brussels

  • 1. a bunny ?
  • 2. a toad ?

TOO REMOTE

What animal is similar to Brussels ? PROPERTIES / ADJECTIVES Brussels is-a city Brussels is-part-of Belgium

PROUD is-property-of Brussels GREAT is-property-of Brussels GREEN is-property-of Brussels

PROUD BRUSSELS RESEA GREAT

toad → GREEN → Brussels toad → PROUD → Brussels toad → PROUD → GREAT → Brussels toad → UGLY → CREEPY → Mona Lisa → PROUD → Brussels

SLOW TOAD STICKY GREAT

slide-71
SLIDE 71

Brussels ? bunny → CUTE → PRETTY → BEAUTIFUL → princess → PROUD → Brussels bunny → SOFT → ROMANTIC → PASSIONATE → RED → color → GREEN → Brussels

  • 1. a bunny ?
  • 2. a toad ?

TOO REMOTE MULTIPLE SHORT CONNECTIONS

What animal is similar to Brussels ? PROPERTIES / ADJECTIVES Brussels is-a city Brussels is-part-of Belgium

PROUD is-property-of Brussels GREAT is-property-of Brussels GREEN is-property-of Brussels

PROUD BRUSSELS RESEA GREAT

toad → GREEN → Brussels toad → PROUD → Brussels toad → PROUD → GREAT → Brussels toad → UGLY → CREEPY → Mona Lisa → PROUD → Brussels

SLOW TOAD STICKY GREAT

slide-72
SLIDE 72

VISIT BRUSSELS

slide-73
SLIDE 73

is Brussels-toad a useful creative solution, or a stupid idea ? how can the program evaluate “ usefulness ” ? ... conscious machines ? feedback by peers ?

slide-74
SLIDE 74

SEMANTIC NETWORK OF COMMON SENSE

chocolate is-related-to Brussels ( CULTURE ) tasty is-property-of chocolate ( PROPERTIES ) Easter Bunny is-related-to chocolate ( PERSON )

rabbit is-part-of hole ( NATURE )

10,000 related concepts ( manual annotation )

slide-75
SLIDE 75

SEMANTIC NETWORK OF COMMON SENSE

chocolate is-related-to Brussels ( CULTURE ) tasty is-property-of chocolate ( PROPERTIES ) Easter Bunny is-related-to chocolate ( PERSON )

rabbit is-part-of hole ( NATURE )

10,000 related concepts ( manual annotation )

automatic? “ * feels * ” web queries

slide-76
SLIDE 76

SEMANTIC NETWORK OF COMMON SENSE

SPREADING ACTIVATION

find the conceptual halo

  • concepts related to root
  • concepts related to those concepts
  • chocolate = candy, kitchen, TASTY, HUNGRY, ...

CENTRALITY

find salient properties in halo

  • left-side concepts in is-property-of relations
  • high betweenness centrality (Brandes)
  • HUNGRY

SHORTEST PATHS

find strong paths to the blend candidate

  • shortest path length between properties (Dijkstra)
  • an ogre is also very HUNGRY
  • an ogre is hungrier than Abraham Lincoln
slide-77
SLIDE 77

SEMANTIC NETWORK OF COMMON SENSE

SPREADING ACTIVATION

find the conceptual halo

  • concepts related to root
  • concepts related to those concepts
  • chocolate = candy, kitchen, TASTY, HUNGRY, ...

CENTRALITY

find salient properties in halo

  • left-side concepts in is-property-of relations
  • high betweenness centrality (Brandes)
  • HUNGRY

SHORTEST PATHS

find strong paths to the blend candidate

  • shortest path length between properties (Dijkstra)
  • an ogre is also very HUNGRY
  • an ogre is hungrier than Abraham Lincoln
slide-78
SLIDE 78

SEMANTIC NETWORK OF COMMON SENSE

from pattern.graph import Graph from pattern.db import CSV g = Graph() data = 'pattern/graph/commonsense/commonsense.csv' data = CSV.load(data) for concept1, relation, concept2, ctx, weight in data: g.add_edge( concept1, concept2, type = relation, weight = min(int(weight) * 0.1, 1.0)) def halo(node, depth=2): return node.flatten(depth) def field(node, depth=3, fringe=2): def traversable(node, edge): return edge.node2 == node and edge.type == 'is-a' g = node.graph.copy(node.flatten(depth, traversable)) g = g.fringe(depth=fringe) g = [node.graph[n.id] for n in g if n != node] return g PROPERTIES = [e.node1.id for e in g.edges if e.type == 'is-property-of'] PROPERTIES = dict.fromkeys(PROPERTIES, True) cache = {} # Cache results for faster reuse. def properties(node): if node.id in cache: return cache[node.id] g = node.graph.copy(nodes=halo(node)) p = (n for n in g.nodes if n.id in PROPERTIES) p = reversed(sorted(p, key=lambda n: n.centrality)) p = [node.graph[n.id] for n in p] cache[node.id] = p return p def similarity(node1, node2, k=3): g = node1.graph h = lambda id1, id2: 1 - int(g.edge(id1, id2).type == 'is-property-of') w = 0.0 for p1 in properties(node1)[:k]: for p2 in properties(node2)[:k]: p = g.shortest_path(p1, p2, heuristic=h) w += 1.0 / (p is None and 1e10 or len(p)) return w / k def nearest_neighbors(node, candidates=[], k=3): w = lambda n: similarity(node, n, k) return sorted(candidates, key=w, reverse=True) print nearest_neighbors(g['creepy'], field(g['animal']))

slide-79
SLIDE 79

SEMANTIC NETWORK OF COMMON SENSE

Douglas Hofstadter (1996) Fluid concepts and creative analogies Basic Books Ulrik Brandes (2001) A faster algorithm for betweenness centrality Journal of Mathematical Sociology Edsger Dijkstra (1959) A note on two problems in connexion with graphs Numerische Mathematik

slide-80
SLIDE 80

is ogre-chocolate a useful creative solution, or a stupid idea ? how can the program evaluate “ usefulness ” ? ... conscious machines ? feedback by peers ?

slide-81
SLIDE 81

is ogre-chocolate a useful creative solution, or a stupid idea ? how can the program evaluate “ usefulness ” ? ... conscious machines ? feedback by peers ?

slide-82
SLIDE 82

PATTERN

Python web mining module a collection of combinable tools for a range of AI-related tasks

De Smedt & Daelemans ( 2011 )

slide-83
SLIDE 83

WEB MINING

retrieve text & images from WWW

PATTERN

slide-84
SLIDE 84

WEB MINING

retrieve text & images from WWW

PATTERN

from pattern.web import Wikipedia, plaintext w = Wikipedia(language='en') article = w.search('ogre') for section in article.sections: print section.title print plaintext(section.source) from pattern.web import Twitter t = Twitter(language='en') for tweet in t.search(“chocolate”): print tweet.text

slide-85
SLIDE 85

NATURAL LANGUAGE PROCESSING

parts of speech, grammar, uncertainty, subjectivity English, Spanish, German, Dutch, French

PATTERN

slide-86
SLIDE 86

NATURAL LANGUAGE PROCESSING

parts of speech, grammar, uncertainty, subjectivity English, Spanish, German, Dutch, French

PATTERN

slide-87
SLIDE 87

NATURAL LANGUAGE PROCESSING

parts of speech, grammar, uncertainty, subjectivity

WHO ? Rupert Murdoch WHEN ? December 15

English, Spanish, German, Dutch, French

PATTERN

slide-88
SLIDE 88

NATURAL LANGUAGE PROCESSING

parts of speech, grammar, uncertainty, subjectivity

WHO ? Rupert Murdoch WHEN ? December 15

politicians find courage to ban automatic weapons

WHO ? DOES WHAT ? WHY ? adjective noun

English, Spanish, German, Dutch, French

PATTERN

slide-89
SLIDE 89

NATURAL LANGUAGE PROCESSING

parts of speech, grammar, uncertainty, subjectivity

WHO ? Rupert Murdoch WHEN ? December 15

when + will

UNCERTAIN

politicians find courage to ban automatic weapons

WHO ? DOES WHAT ? WHY ? adjective noun

English, Spanish, German, Dutch, French

PATTERN

slide-90
SLIDE 90

NATURAL LANGUAGE PROCESSING

parts of speech, grammar, uncertainty, subjectivity

WHO ? Rupert Murdoch WHEN ? December 15

when + will

UNCERTAIN

terrible

NEGATIVE

politicians find courage to ban automatic weapons

WHO ? DOES WHAT ? WHY ? adjective noun

English, Spanish, German, Dutch, French

PATTERN

slide-91
SLIDE 91

NATURAL LANGUAGE PROCESSING

parts of speech, grammar, uncertainty, subjectivity

PATTERN

from pattern.en import parsetree s = 'The black cat sat on the mat.' s = parsetree(s, tags=True, chunks=True, lemmata=True) for sentence in s: for word in sentence.words: print word.lemma print word.tag

word tag chunk lemma

The DT NP the black JJ NP black cat NN NP cat sat VB VP sit

  • n

IN PP

  • n

the DT NP the mat NN NP mat . .

  • .
slide-92
SLIDE 92

MACHINE LEARNING

PATTERN

slide-93
SLIDE 93

MACHINE LEARNING

PATTERN

slide-94
SLIDE 94

MACHINE LEARNING

PATTERN

“ How do you open a locked door? ” ( you have no key ) knock on door knock knock ! knock on door and yell loudly look under doormat ? spare key is under doormat get the bull from the nearby field wave a red flag in front of door

slide-95
SLIDE 95

MACHINE LEARNING

PATTERN

“ How do you open a locked door? ” ( you have no key ) knock on door knock knock ! knock on door and yell loudly look under doormat ? spare key is under doormat get the bull from the nearby field wave a red flag in front of door

KNOCK DOORMAT ?

slide-96
SLIDE 96

MACHINE LEARNING

PATTERN

“ How do you open a locked door? ” ( you have no key ) knock on door knock knock ! knock on door and yell loudly look under doormat ? spare key is under doormat get the bull from the nearby field wave a red flag in front of door

KNOCK DOORMAT ?

no similar answers → unique → more creative

slide-97
SLIDE 97

MACHINE LEARNING

PATTERN

If the program recognizes creative answers , can it generate more creative ones ?

slide-98
SLIDE 98

MACHINE LEARNING

PATTERN

If the program recognizes creative answers , can it generate more creative ones ?

“ Stubbornly club the door

with a graceful albatross from a pungent swamp. ”

slide-99
SLIDE 99

MACHINE LEARNING

PATTERN

If the program recognizes creative answers , can it generate more creative ones ?

“ Rawly storm the door

with a dry business lunch

  • f primitive crustaceans. ”

( nonsensical, flawed )

“ Stubbornly club the door

with a graceful albatross from a pungent swamp. ”

slide-100
SLIDE 100

MACHINE LEARNING

PATTERN

If the program recognizes creative answers , can it generate more creative ones ?

“ Rawly storm the door

with a dry business lunch

  • f primitive crustaceans. ”

( nonsensical, flawed ) no significant correlation between being an artist and creativity

TEST RESULTS FOR 187 PERSONS

“ Stubbornly club the door

with a graceful albatross from a pungent swamp. ”

slide-101
SLIDE 101

MACHINE LEARNING

PATTERN

Guilford’s creative thinking test (1956)

ask participants to come up with as many answers as possible to open-ended questions

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail

slide-102
SLIDE 102

MACHINE LEARNING

PATTERN

Guilford’s creative thinking test (1956)

ask participants to come up with as many answers as possible to open-ended questions

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial

slide-103
SLIDE 103

MACHINE LEARNING

PATTERN

Guilford’s creative thinking test (1956)

ask participants to come up with as many answers as possible to open-ended questions

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

slide-104
SLIDE 104

MACHINE LEARNING

PATTERN

Guilford’s creative thinking test (1956)

ask participants to come up with as many answers as possible to open-ended questions

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering

slide-105
SLIDE 105

MACHINE LEARNING

PATTERN

Guilford’s creative thinking test (1956)

ask participants to come up with as many answers as possible to open-ended questions

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering cluster outliers

slide-106
SLIDE 106

MACHINE LEARNING

PATTERN

Guilford’s creative thinking test (1956)

ask participants to come up with as many answers as possible to open-ended questions

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering cluster outliers

slide-107
SLIDE 107

MACHINE LEARNING

PATTERN

Guilford’s creative thinking test (1956)

ask participants to come up with as many answers as possible to open-ended questions

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering cluster outliers

slide-108
SLIDE 108

MACHINE LEARNING

PATTERN

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering cluster outliers

cosine distance = text similarity metric Ai and Bi are word counts

slide-109
SLIDE 109

MACHINE LEARNING

PATTERN

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering cluster outliers

cosine distance = text similarity metric Ai and Bi are word counts knock knock ! knock on door look under doormat ? A B C

slide-110
SLIDE 110

MACHINE LEARNING

PATTERN

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering cluster outliers

cosine distance = text similarity metric Ai and Bi are word counts feature A B C

door 1 doormat 1 knock 1 2 look 1

  • n

1 under 1

knock knock ! knock on door look under doormat ? A B C

slide-111
SLIDE 111

MACHINE LEARNING

PATTERN

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering cluster outliers

cosine distance = text similarity metric Ai and Bi are word counts feature A B C

door 1 doormat 1 knock 1 2 look 1

  • n

1 under 1

knock knock ! knock on door look under doormat ? A B C

slide-112
SLIDE 112

MACHINE LEARNING

PATTERN

  • riginality

unusual answers +1, unique answers +2 fluency +1 for each answer flexibility +1 for each category of answer elaboration +1 for each detail trivial “break down door with a crowbar”

PP

clustering cluster outliers

cosine distance = text similarity metric Ai and Bi are word counts feature A B C

door 1 doormat 1 knock 1 2 look 1

  • n

1 under 1

knock knock ! knock on door look under doormat ? A B C

predicting unusual answers hierarchical clustering cosine distance P 0.72 R 0.83 77%

slide-113
SLIDE 113

SENTIMENT ANALYSIS

PATTERN

“ That book was horrible. ”

adverbs & adjectives bad horrible annoying good fantastic interesting – 0.5 – 1.0 – 0.4 + 0.5 + 1.0 + 0.3

NEGATIVE

“ Her new artwork is interesting. ”

POSITIVE

predict subjective opinion in text

slide-114
SLIDE 114
slide-115
SLIDE 115

right-wing → more negative press coverage

NEWSPAPER SENTIMENT Junqué de Fortuny, De Smedt, Martens & Daelemans ( 2012 )

slide-116
SLIDE 116

small party → more subjective coverage

NEWSPAPER SENTIMENT Junqué de Fortuny, De Smedt, Martens & Daelemans ( 2012 )

slide-117
SLIDE 117

regional newspaper → more subjective

NEWSPAPER SENTIMENT Junqué de Fortuny, De Smedt, Martens & Daelemans ( 2012 )

slide-118
SLIDE 118

Junqué de Fortuny, De Smedt, Martens & Daelemans ( 2012 )

slide-119
SLIDE 119

Junqué de Fortuny, De Smedt, Martens & Daelemans ( 2012 )

slide-120
SLIDE 120

Junqué de Fortuny, De Smedt, Martens & Daelemans ( 2012 )

... where did Patrick Janssens go ?

slide-121
SLIDE 121

De Smedt, T., De Bleser, F ., Van Asch, V., Nijs, L., Daelemans, W. (2013). Gravital: natural language processing for computer graphics. In Creativity and the Agile Mind. Mouton. De Smedt, T., Daelemans, W. (2012). Pattern for Python. Journal of Machine Learning Research, 13: 2031–2035. IF 2.974 De Smedt, T., Menschaert, L. (2012). Valence: affective visualization using EEG. Digital Creativity, 23: 272–277. Junqué de Fortuny, E., De Smedt, T., Martens, D., Daelemans, W. (2012). Media coverage in times of political crisis: a text mining approach. Expert Systems with Applications, 39: 11616–11622. IF 1.926 De Smedt, T., Daelemans, W. (2012). A Subjectivity Lexicon for Dutch Adjectives. In Language Resources & Evaluation 2012 conference proceedings, 3568–3572. De Smedt T., Lechat L., Daelemans W. (2011). Generative art inspired by nature, in NodeBox. In Applications of Evolutionary Computation, 2, LNCS 6625: 264–272. Springer. De Smedt T., Van Asch V., Daelemans W. (2010). Memory-based shallow parser for Python. CLiPS Technical Report Series.

PDF http://bit.ly/modeling-creativity

slide-122
SLIDE 122