Philosophy of Artificial Intelligence (11118BLG003), week 13 of 14

Creativity and Machines

Prof. Dr. Utku Kose, Süleyman Demirel University

Overview

Can a machine originate anything, or can it only do what it is told? This week examines Lovelace's objection and Turing's reply, Boden's analysis of creativity, criteria for attributing creativity to programs and search methods that reward novelty [1, 2, 3].

Estimated study time: 6 to 8 hours.

Learning outcomes

By the end of the week, students are expected to state Lovelace's objection and Turing's reply. They should be able to distinguish combinational, exploratory and transformational creativity, and P-creativity from H-creativity. They should also be able to apply the criteria of novelty, quality and typicality. Finally, they should be able to explain how novelty search explores a conceptual space.

Study path

Step Activity Suggested time
1 Read the lecture below or the PDF version 90 minutes
2 Explore the interactive lab 45 minutes
3 Work through the Colab notebook and its exercises 2 to 3 hours
4 Take the self-assessment in the interactive lab (tab: Check yourself) 20 minutes
5 Answer the reflection prompts in the interactive lab, export the learning log and complete the weekly task 60 minutes

Week at a glance

flowchart LR
  LO["Lovelace: machines only do what they are told"] --> TU["Turing: surprise and learning"]
  BO["Boden: new, surprising, valuable"] --> CO["Combinational"]
  BO --> EX["Exploratory"]
  BO --> TR["Transformational"]
  RI["Ritchie: novelty, quality, typicality"] --> EV["Evaluation"]
  NS["Novelty search"] --> EX

Lecture

Lovelace's objection

In her notes on Babbage's Analytical Engine, Ada Lovelace wrote that the engine had no pretensions to originate anything and could do only whatever people knew how to order it to perform [1]. Turing called this Lady Lovelace's objection and replied in two ways [4]. Machines often take people by surprise, because the consequences of their programs are not obvious to those who wrote them. More fundamentally, learning machines acquire behaviour that their programmers did not specify. The question for this week is whether surprise and learning amount to creativity.

Check your understandingWhat did Lovelace say about the Analytical Engine?

Explore while reading. The interactive lab of this week can be opened inside this page or next to the text, so that ideas can be tried out as they are introduced.

Three kinds of creativity

Boden analysed creativity as the production of ideas that are new, surprising and valuable, and distinguished three ways in which such ideas arise [2, 5]. Combinational creativity produces unfamiliar combinations of familiar ideas, as in poetic imagery or analogy. Exploratory creativity explores a structured conceptual space, such as a musical style, and finds possibilities that had not been realised. Transformational creativity changes the space itself, by altering one of its defining rules, so that ideas that were previously impossible become possible. Boden also distinguished psychological creativity, an idea new to the person who has it, from historical creativity, an idea new to anyone. She argued that computers can exhibit all three kinds, with transformational creativity the hardest to achieve and to evaluate.

L-systems, grammars introduced by Lindenmayer to model the development of organisms, give a concrete conceptual space [6, 7]. A rule such as replacing every segment with a branching pattern generates plant-like forms, as Figure 13.1 shows. Varying the angle or the number of iterations explores the space, while changing the grammar transforms it.

Plant forms generated by L-systems. Changing parameters explores the space defined by a grammar, while changing the grammar transforms it.

Figure 13.1. Plant forms generated by L-systems. Changing parameters explores the space defined by a grammar, while changing the grammar transforms it [2, 6].

Check your understandingIn Boden's account, which kind of creativity changes the rules of a conceptual space?

Evaluating creative systems

Ritchie proposed empirical criteria for attributing creativity to a program [3]. The central notions are novelty, quality and typicality. Novelty is the extent to which an output differs from existing examples, and quality is the extent to which it is valued. Typicality is the extent to which it belongs to the intended genre. The criteria are relative to an inspiring set, the examples that guided the construction of the program. Wiggins formalised Boden's account in a creative systems framework that separates the conceptual space, the strategy for traversing it and the evaluation of results [8]. Colton and Wiggins described computational creativity as a field that studies systems that take on responsibilities in creative tasks [9]. They noted that the way a system's process is framed and perceived affects whether audiences regard it as creative.

Check your understandingWhat do Ritchie's criteria evaluate?

Searching for novelty

Lehman and Stanley showed that search guided only by the novelty of behaviour, with no objective, can outperform objective-driven search in deceptive problems [10]. In such problems, the path to a good solution leads away from it at first. Novelty search keeps an archive of past behaviours and rewards candidates that are far from them, which makes it a mechanism for exploratory creativity. The interactive lab lets students combine, explore and transform L-system plants and computes novelty against a growing gallery. The Colab notebook compares novelty search with a search that maximises one objective and measures how much of the space each covers.

Pause and reflect. In the interactive lab, which of your plants would you call creative, and was the judgement yours or the program's? Where does the creativity lie?

Check your understandingWhat does novelty search reward?

Interactive lab

Grow plants with an L-system. Explore by changing the angle and the number of iterations or by random variation, combine two gallery rules, or transform the grammar. Novelty is measured against the inspiring set and your gallery, and value is your own rating [2, 3].

Open the interactive lab

Screenshot of the Week 13 interactive lab

Colab notebook

The Colab notebook implements L-systems and a turtle interpreter, describes each plant by a few features, and compares novelty search with objective-driven search in the same space of rules [6, 10].

Open in Colab

Screenshots of the executed Colab notebook:

Output 1 of the Week 13 Colab notebook

Self-assessment and reflection

The interactive lab contains a self-assessment of six questions (tab: Check yourself). Students answer each question, state how sure they are and receive instant feedback. A confident but wrong answer marks the first topic to revisit. The reflection prompts below also appear in the interactive lab (tab: Reflect and submit). Answers written there are saved in the browser and can be exported as a learning log.

  1. Which of your lab plants would you call H-creative, P-creative or not creative at all? Justify your judgements.
  2. Does Turing's appeal to surprise answer Lovelace's objection? Consider who is surprised and why.
  3. Identify a result in your field that you would call transformational. Could a present AI system have produced it?

Weekly task and submission

What to do. Assess whether one generative AI system is creative. First, choose a system, such as an image generator or a music generator. Second, assess it in each of Boden's three senses: combinational, exploratory and transformational creativity. Third, apply Ritchie's criteria of novelty, quality and typicality to one of its outputs. Support the assessment with one example from the interactive lab or the Colab notebook.

Where to look. Lecture: sections "Three kinds of creativity" and "Evaluating creative systems". Interactive lab: the L-system plants, which you explore, combine and transform (tab: Explore). Colab notebook: Section 3 with Exercise 2, which compares novelty search with objective search.

Example. An image generator that paints a city in the style of a famous painter combines familiar elements, which is combinational creativity. Exploration would search the space of styles more widely, as novelty search does in the Colab notebook. Transformational creativity would require changing the rules of the space itself, as when you transform the grammar of a plant in the interactive lab.

What to submit. About 500 words, and the Colab notebook with Exercises 1 and 2 completed.

The weekly task supports self-learning and builds a personal portfolio. In an active semester, students who follow the course with the instructor can send their work for evaluation to utkukose@sdu.edu.tr or utkukose@gmail.com. The e-mail contains the items that the task lists under What to submit. It also includes the learning log exported from the interactive lab (tab: Reflect and submit).

Research and report assignment (optional)

Creativity of generative systems. Who is the creative agent when a generative system produces a new work?

What to do. Apply Boden's three kinds of creativity and Ritchie's criteria to one current generative system [2, 3]. Argue whether the system, its users or its developers are the creative agents [9].

Where to start. Lecture sections "Three kinds of creativity" and "Evaluating creative systems".

Example focus. A user who writes a long prompt and selects one of fifty images takes on part of the creative responsibility. The report could ask how large that part is, in the terms of Colton and Wiggins [9].

This research assignment is optional and supports self-learning. In an active semester, students who follow these weeks with the instructor can send the report for evaluation to utkukose@sdu.edu.tr or utkukose@gmail.com. The report has 1500 to 2500 words and follows the structure of an academic paper. It cites at least six scholarly or official sources in square brackets and ends with a reference list. The report template shows a suitable structure.

References

[1] Lovelace, A. A. (1843). Notes by the translator, in L. F. Menabrea, Sketch of the Analytical Engine invented by Charles Babbage. Scientific Memoirs, 3, 666-731.

[2] Boden, M. A. (2004). The Creative Mind: Myths and Mechanisms (2nd ed.). Routledge.

[3] Ritchie, G. (2007). Some empirical criteria for attributing creativity to a computer program. Minds and Machines, 17(1), 67-99. https://doi.org/10.1007/s11023-007-9066-2

[4] Turing, A. M. (1950). Computing machinery and intelligence. Mind, 59(236), 433-460. https://doi.org/10.1093/mind/LIX.236.433

[5] Boden, M. A. (1998). Creativity and artificial intelligence. Artificial Intelligence, 103(1-2), 347-356. https://doi.org/10.1016/S0004-3702(98)00055-1

[6] Lindenmayer, A. (1968). Mathematical models for cellular interactions in development I. Filaments with one-sided inputs. Journal of Theoretical Biology, 18(3), 280-299. https://doi.org/10.1016/0022-5193(68)90079-9

[7] Prusinkiewicz, P., & Lindenmayer, A. (1990). The Algorithmic Beauty of Plants. Springer.

[8] Wiggins, G. A. (2006). A preliminary framework for description, analysis and comparison of creative systems. Knowledge-Based Systems, 19(7), 449-458. https://doi.org/10.1016/j.knosys.2006.04.009

[9] Colton, S., & Wiggins, G. A. (2012). Computational creativity: The final frontier?. In Proceedings of the 20th European Conference on Artificial Intelligence (ECAI 2012) (pp. 21-26). IOS Press.

[10] Lehman, J., & Stanley, K. O. (2011). Abandoning objectives: Evolution through the search for novelty alone. Evolutionary Computation, 19(2), 189-223. https://doi.org/10.1162/EVCO_a_00025