Original PDF
Chapter 01

Introduction & Motivations

The hand stencils at the Cuevas de las Manos in Santa Cruz, Argentina, are thought to be over 10,000 years old.
Figure 1.1 The hand stencils at the Cuevas de las Manos in Santa Cruz, Argentina, are thought to be over 10,000 years old. Image from Wikimedia Commons by User:Marianocecowski, licenced under CC BY-SA 3.0.

1.1 Background

Humanity's desire to build and use tools for artistic, creative expression dates further back than we often realise. Recent archaeological discoveries from just the last few decades, continue to radically question our notions of when this creative endeavor began.

The cave paintings of the Altamira cave in Spain, are thought to be some 36,000 years old (Pike et al., 2012). Flutes carved out of animal bones and mammoth ivory, such as those found in the Geissenkloesterle caves of southern Germany, are thought to be over 40,000 years old (Higham et al., 2012). The Lion Man of the Hohlenstein Stadel from the same region, an anthropomorphised lion-headed figurative sculpture carved out of mammoth ivory using flint cutting tools, is also thought to be almost 40,000 years old (Ulm, n.d.). Older examples such as the Venus of Tan-tan from Morocco, or the Venus of Berekhat Ram from the Golan Heights, are thought to be as old as up to 300,000 to 700,000 years old!Footnote 1

It is clear that even in the earliest stages of human, and potentially even pre-human history, we have sought out the most cutting edge technology available at the time, to create tools and instruments for artistic, creative expression.

Computers have been involved — even if only conceptually — in the creation of art and creative endeavours for as long as computers have existed. In her 1843 Notes (On the Analytical Engine), the pioneering mathematician and computer programmer Lady Ada Lovelace foreshadowed the creative computational revolution we are living today (Fuegi & Francis, 2003):

“We may say most aptly, the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves.” — Ada Lovelace, 1843

While her collaborator Charles Babbage, designer of the Analytical Engine, was primarily focused on the number crunching abilities of the machine, Lovelace saw the potential of such apparatus to go further, and through symbolic manipulation, perform true, general purpose computing.

“Supposing, for instance, that the fundamental relations of pitched sounds in the science of harmony and of musical composition were susceptible of such expression and adaptations, the engine might compose elaborate and scientific pieces of music of any degree of complexity or extent.” — Ada Lovelace, 1843

Today, Computational Art and Design (CAAD), the use of computation and algorithms in the production of artistic and creative works — be it images, video, music, sound, text, or 3D geometry — is a well established area of research and artistic inquiry. As our computers are becoming ‘smarter', algorithmically generated media is becoming even more ubiquitous. The use of Procedural Content Generation in games is gaining popularity, and even launching whole new genres (Shaker et al., 2016). The tools available to designers are becoming more powerful, offering more capabilities, and automating laborious tasks. Algorithmic media production tools are now also now being presented directly to the masses through a plethora of ‘fun and creative' mobile applications and ‘smart filters' on social media such as Instagram, SnapChat, and TikTok. The international publication Art in America, which typically concentrates on traditional contemporary art, has acknowledged the significance of computational art, dedicating an entire issue to it in January 2020 (Bailey, 2020; Caplan, 2020; Plummer-Fernandez, 2020).

Now, with the recent developments in Machine Learning, and particularly Deep Learning, as computational artists and designers, as researchers and developers of creative tools, we are entering an exciting and fruitful new era in this field.

Machine Learning (ML) is a field of research within Artificial Intelligence (AI), that investigates how algorithms can improve their performance on various tasks by learning from experience. These algorithms offer tools, to help identify complex relationships and patterns in data. In doing so, they allow us to build systems that are capable of performing tasks that we do not explicitly know how to solve or formulate.

Deep Learning (DL) is a field of research within Machine Learning that investigates how algorithms can learn from vast amounts of high-dimensional, highly complex ‘raw' data, such as images with millions of pixels, or sounds with thousands of samples per second.

ML, and even DL, have been active areas of research for many decades. In his 1948 lecture and accompanying essay Intelligent Machinery, A Heretical Theory, the renowned computer scientist Alan Turing described B-Type Unorganized Machines, an analog of the Artificial Neural Networks we use today, theoretical machines that learn from experience (Turing, 1948).

With significant developments in parallel computing architectures in recent years, combined with the availability of massive datasets assembled via the internet, and fuelled by the multi-billion dollar investments from The Surveillance Economy and The War on Terror, researchers have been able to develop and apply Deep Learning algorithms to highly complex, real-world problems. Today, Deep Learning permeates every aspect of our lives. These algorithms are in our pockets, organising our photos (Touvron et al., 2019), enabling our devices to speak (Shen et al., 2018), and understand what we say (Veton Këpuska & Bohouta, 2017). They recommend films and music (S. Wang et al., 2014), perform medical image analysis (Litjens et al., 2017), predict protein folding structures (Yang et al., 2020), drive cars (Huval et al., 2015), and beat the world's top players at games such as Go (Silver et al., 2018) and StarCraft II (Vinyals et al., 2019).

Very recently, we have also started seeing very impressive results in the application of Deep Learning algorithms to the production of artistic works and creative media. These algorithms can now produce photorealistic images (Karras et al., 2020), write poems and essays (Brown et al., 2020), collaborate on sketches (Ha & Eck, 2017) and generate music complete with lyrics and vocals (Dhariwal et al., 2020).

For the sake of simplicity, we will refer to the application of DL to the production of artistic works and creative media, as Creative DL. This includes both the technical DL research within this field, as well as the artistic and/or design practices and research.

Our research is situated at this intersection. And a major limitation that we observe in this area, is that the majority of the methods available offer very limited, if any, creative control to a human user. This is precisely the topic that our research investigates. Furthermore, we are not only interested in ensuring that a human user remains in creative control, but we want to ensure that this control occurs in a realtime, continuous manner such that the interaction is performative and expressive.

In other words, we investigate Deep Learning models as an artistic medium for new modes of performative, creative expression.

To be more precise, our primary research question is:

How can we design and develop Deep Visual Instruments: realtime interactive generative systems that exploit and leverage the capabilities of state-of-the-art Deep Learning algorithms, while allowing Meaningful Human Control, in a Realtime Continuous manner?

1.2 Why Deep Learning?

If Machine Learning (ML) is the study of algorithms learning from data, then Deep Learning (DL) is the study of algorithms learning from Big Data, via ‘deep‘ parametrisable computation graphs that learn hierarchies of ‘concepts' (LeCun, 2014; I. Goodfellow et al., 2016).

The fact that DL algorithms require vast amounts of data is often one of the criticisms brought against DL. These algorithms do perform exceptionally well at many tasks, significantly outperforming non-deep methods by large margins (Krizhevsky et al., 2012; Hinton et al., 2012; L. Deng et al., 2013). But they require vast amounts of data to do so, often millions of training examples (J. Deng et al., 2009), or even billions (Mikolov et al., 2013). Since millions or billions of data points are not always available, learning from few examples, i.e. one-shot learning or zero-shot learning, is a growing area of research (Santoro et al., 2016; Vinyals et al., 2016; Rezende et al., 2016; Xian et al., 2018).

However, for the purposes of this thesis, the fact that DL algorithms require vast amounts of data is not a handicap, it is a feature.

Non-deep learning algorithms — such as logistic regression, support vector machines, shallow Neural Networks etc. — have a much harder time modelling highly complex, high-dimensional problemsFootnote 2. For this reason, when working with such algorithms it is typically necessary to preprocess the data in order to reduce the number of dimensions. These hand-crafted, domain-specific features are then presented to the algorithm for modelling (LeCun, 2012). This process of feature engineering itself is often difficult, time-consuming and requires expertise (Ng, 2013). Furthermore, the performance of the model is highly dependent on the chosen hand-crafted representation (Bengio et al., 2013). While these feature engineering based approaches do prove useful in many domains, they can also provide inconsistent, unreliable and suboptimal results in more complex settings.

Addressing these issues is a major motivation that drives DL research. When designing a DL model, the feature engineering phase can be omitted. Instead, the model can be trained directly on the much higher dimensional ‘raw' data. In effect, something akin to a preprocessing pipeline is learnt during training. However, to be able to model such complex, high-dimensional data, the model requires many parameters, often millions, sometimes even hundreds of billions (Brown et al., 2020). And with so many more model parameters to learn, this comes at the cost of more complex architectures and implementations, much higher computational requirements, and vastly larger datasets.

In the context of this thesis, we consider Deep Learning algorithms as tools to extract useful information from a vast sea of humanly-unmanageable Big Data. And it is precisely this aspect of Deep Learning that motivates our research. Our goal is to investigate ways in which we can navigate and explore what useful information a Deep Neural Network has learnt and extracted from the vast amounts of data. More specifically, we investigate how we can meaningfully use such a model in the production of artistic and creative works.

In other words, if for example a DNN is trained on a massive dataset of millions of images, how can we design and implement interactive generative systems that allows a person to use this model to generate new images, in a way that affords them Meaningful Human Control over the generated images, in a Realtime Continuous manner.

1.3 Meaningful Human Control

Meaningful Human Control is a term that we adopt from the Autonomous Weapons Systems literature (Scharre & Horowitz, 2015). There should be little doubt that our research in Creative DL is not as lethal as autonomous weapons, such that it would require security briefings at the United NationsFootnote 3. Nevertheless, the term Meaningful Human Control, especially as we adapt it, perfectly captures the motivations behind our research.

In the context of autonomous weapons, Meaningful Human Control is defined with regards to a threshold of human control that is considered necessary for the weapons system to be ethically, legally, operationally and diplomatically acceptable. The specificities of that threshold in the context of autonomous weapons is not directly applicable to our research. In fact, in the context of our research we do not feel the need to define a threshold per se. Instead, we think of Meaningful Human Control as a continuum where we can have more or less (or no) Meaningful Human Control. This is analogous to how we think of creativity. Instead of trying to define a threshold which separates creative from not creative, we consider creativity to be a (multi-dimensional) continuum (Boden, 2004).

With that in mind, in this thesis we do not define a threshold for Meaningful Human Control. Instead, we investigate methods of interacting with DNNs for the production and manipulation of creative media, while always aiming to maximise the level of Meaningful Human Control.

1.3.1 Pressing a button

Once again borrowing from the autonomous weapons literature: “A human simply pressing a ‘fire' button in response to indications from a computer, without cognitive clarity or awareness, is not sufficient to be considered ‘human control' in a substantive sense.” (Roff & Moyes, 2016). This statement is perfectly inline with our notion of Meaningful Human Control in the context of artistic and creative expression.

Given a generative system capable of producing ‘beautiful' images, a human simply pressing a ‘generate' button, which in turn produces a stunning image, is not within the scope of this thesis. While we acknowledge that this is a highly challenging and respectable area of study in itself — technically, artistically and philosophically (Boden, 1998) — and with many real world applications, our goal is not to create autonomous media creation systemsFootnote 4

This ‘generate' button example may seem hypothetically extreme, but it is in fact an accurate representation of the dominant paradigm in the current Creative DL landscape. One of the most common workflows currently made available and employed in this area consists of training a generative DNN on some data, and then taking ‘random' samples from the model — i.e. the programmatic equivalent of pressing a ‘generate' button. In these cases, other than the act of curation, the person has no control over the media generated.

Curation of the outputs from the model is an act of discrimination, whereas in this thesis we are seeking to enhance the act of creation. Curation of the inputs to the model, i.e. the training data, does not influence an individual output, but the entire space of possible outputs. Particularly in Deep Learning — where the number of required training examples are often in the millions, and training a model can take weeks or even months — this does not provide a practical solution to the fine level of control that we seek in this thesis.

This is not to say that we do not value the act of curation as a creative and artistic activity. In fact, artists such as Helena SarinFootnote 5, Sofia CrespoFootnote 6 and Anna RidlerFootnote 7, to name just a few, continue to produce truly unique and impressive works that carry their own individual expressive signatures, often through painstakingly meticulous manual curation and creation of custom datasets. In other words, one can look at the images produced by these artists and immediately recognize them as their respective works. In this respect, it is clear that these artists do exercise very high levels of Meaningful Human Control over the images that they produce.

For this reason, it is important to distinguish that in this thesis we are investigating Meaningful Human Control at the algorithmic level. In other words, while curation and creation of custom datasets can be considered a creative act, we are interested in exploring additional methods of Meaningful Human Control, at the algorithmic level, that can enhance people's experience of the creation process, to offer more capabilities than is currently available.

1.3.2 `Random' faders

Instead of a single ‘generate' button, we can imagine a scenario where a human has access to a number of adjustable options, such as a user interface with rotary knobs or sliding faders. If the person is unable to comprehend the connection between the faders and the output of the generative system, we do not consider this to be Meaningful Human Control. Taking this to the extreme, we can think of examples whereby the faders either i) don't actually have any effect on the system at all, or ii) are simply seeds for a random number generator used in some way by the generative system. From our point of view, with respect to Meaningful Human Control, these two cases are functionally equivalent to the case where the faders do in fact affect the output but a human is unable to comprehend the connection, and use them in a meaningful way.

This may again seem like a hypothetical example. However, it is grounded in reality. Deep generative models learn compact, latent representations of the data that they are trained on. These representations are high-dimensional vectors, and the individual components are typically not related in any way to any single humanly-interpretable real-world characteristic of the data. For this reason, from a Meaningful Human Control point of view, manually manipulating the components of these vectors is functionally equivalent to modifying the seeds of a random number generator. In this thesis we look for alternatives to direct manipulation of latent vector components in this manner. Interestingly, this is currently a growing area of research, and orthogonal to our work, there are a number of approaches that are being developed such as disentangling these latent representations (Chen et al., 2016; Higgins et al., 2017), or discovering human-interpretable semantic vectors (Simon, 2019; Karras et al., 2019, 2020; Härkönen et al., 2020). We discuss these in section 2.1: Generative models.

1.3.3 Necessary and sufficient conditions

Based on the discussion above, we identify three conditions that forms the basis of Meaningful Human Control in the context of this thesis:

Intent:

For a generative system to allow Meaningful Human Control, a key requirement is that the system, and the interaction with the system, is able to incorporate and translate a human's intent into the output that it produces. In the case of our research in artistic and creative media — which, unlike autonomous weapons, is not lethal — it is not essential that a person has a particular goal to begin with. In fact, it is very common in creative explorations to embark on goal-less, curiosity-driven meanderings, and these can often turn out to be very fruitful (Secretan et al., 2008; Stanley & Lehman, 2015). However, as a person interacts with the system in such an exploratory manner, it is not uncommon that a goal, initially perhaps just a vague direction, might begin to appear and crystallize. As this happens, an interaction with Meaningful Human Control should be able to both deliver, and guide that intent.

Predictability:

For the above to be possible, we also consider it crucial that the generative system, and particularly the interaction with the system, is predictable. Once again, in the case of our non-lethal research in artistic and creative media, this predictability need not be apparent instantly or absolutely. A person can eventually start to build an understanding of the system to the extent at which they can predict the outcome of their actions and feel that they have some level of control. If the system and interaction is too unpredictable for a person to build an understanding of and use in such a manner, then we do not consider the system to allow Meaningful Human Control.

Accountability and expression:

When a generative system has sufficient predictability, and a human's intent is successfully incorporated and translated into a particular outcome, we can consider the human to be accountable for that outcome, since it is their informed, conscious decisions and actions which led to this specific, unique outcome. On the other hand, looking at it not from the system's perspective, but the human's, we consider the generative system to allow Meaningful Human Control if a human is able to creatively express themselves through the system. In other words, if the outcome represents what the person sought to produce, and it contains their personal, expressive signature.

In the context of artistic and creative works, these qualities are very difficult to systematically quantify. We discuss our approach to evaluation in subsection 1.7.2: Research methods and evaluation, and we reflect on our approach in more detail in section 7.2: Research methodology.

1.4 Visual instruments: Realtime Continuous Control

1.4.1 Realtime Continuous Control

In the previous section, as an integral point of focus for this thesis, we presented the concept of Meaningful Human Control, a term that we adopt from the autonomous weapons literature. In this section, as an additional point of focus, we present Realtime Continuous Control, a term that we adopt from the cybernetics and control theory literature (Wiener, 1948). In the context of this thesis we envisage a closed-loop between a human, and an interactive generative system which incorporates a DNN. The human continuously monitors the outputs of the generative system in realtime, and guides it towards desirable outcomes. In the following paragraphs, we explain why we see this as a useful model of interaction.

1.4.2 Visual instruments

One analogy that we use to frame our research when thinking about interactive generative systems, is the visual equivalent of a musical instrument. This is to say that, one can interact with the system in a Realtime Continuous manner, analogous to how one might interact with a musical instrument, such as a piano. We think of these visual instruments in the lineage of Louis-Bertrand Castel’s 18th century Ocular harpsichord (Castel, 1740). This was a modified harpsichord that on each keypress, would project light of different colours onto a large surface, allowing a performer to simultaneously perform music and colour. In this lineage, we also think of electronic video synthesizers such as the Paik-Abe Video Synthesizer built by Shuya Abe and Video Art pioneer Nam June Paik in 1969–1971, and the Rutt-Etra Video Synthesizer built by Steve Rutt and Bill Etra in 1972 (Collopy, 2014).

1.4.3 Realtime performative interaction

These instruments are designed for realtime performance. However, in using the word performance, it is important to underline that we do not necessarily mean a live performance in front of an audience. Instead, we simply mean that the media is created live, in realtime, with continuous control, in a performative manner. This may be in front of a live audience. Or it may be in a studio, recorded and later presented as a non-interactive, non-realtime, traditional film or animation.

Creating media in this manner, interacting with a generative system with Realtime Continuous Control, allows a user to experiment, explore, search for and find configurations that produce desirable, and potentially more novel and previously unimaginable outcomes.

1.4.4 Goal-less exploration

We believe Realtime Continuous Control can potentially produce more novel and previously unimaginable outcomes, because such an interaction allows a person to freely explore a massive space of possibilities. Initially, the user may not have a clear idea of what it is they would like to create, so they may embark on a goal-less, purely inquisitive, creative exploration. During this exploration, they may perform investigatory interactions with the system, probing, and observing the results, to help build an understanding of the system's creative capabilities. Continuously interacting with the system and observing the results with immediate feedback, can help the user learn how to more meaningfully control the system. Goal-less explorations such as this are known to show great potential in producing novel, unexpected discoveries which can spark new ideas and encourage new explorations into new directions (Secretan et al., 2008; Stanley & Lehman, 2015). Furthermore, as the user discovers interesting new territories in the possibility-space, they may begin to visualise a clearer goal. This vision may not be very concrete to begin with. But with time, as they explore more, while continuously monitoring the results of their interactions, they may guide the system towards desirable outcomes.

Many early video artists used these early video synthesizers in this way to create seminal works, and Paik himself writes in his manifesto Versatile Video Synthesizer, while demonstrating the capabilities of his machine (Source: Kat. Nam June Paik, Videa ‘n Videology 1959–1973, Emerson Museum of Art, Syracuse, New York, 1974 p.55 (Medienkunstnetz.de, n.d.)):

This will enable us to shape the TV screen canvas
as precisely as Leonardo
as freely as Picasso
as colorfully as Renoir
as profoundly as Mondrian
as violently as Pollock and
as lyrically as Jasper Johns.

In this respect, we are generally not interested in systems that can provide Meaningful Human Control, but not in this Realtime Continuous manner that we describe above. For example, the Non Linear Video Editing (NLVE) software Adobe Premiere does provide Meaningful Human Control. However, it cannot be considered a realtime performance instrumentFootnote 8. A more suitable example that we can pull from the visual domain, is drawing or painting. These activities, similar to playing a musical instrument, do provide Realtime Continuous Control in a performative and expressive manner.

Again, this is not to say that we do not value the effectiveness of non-realtime, non-continuous modes of interaction in the production of artistic and creative works. Such modes of interaction are quite common in many typical, established creative workflows. As we have already mentioned, traditional NLVE is an example of this. In fact, in chapter 6: Deep Meditations: Latent storytelling we present a study based on this exact workflow. However, in this thesis, we primarily focus on Realtime Continuous Control because we believe it to be a very under-explored, yet very valuable mode of interaction.

1.4.5 Flow

A key theme that connects the activities that we mention above and use as metaphors to base our research on, is flow.

Flow is a state of mind, and mode of being, where a person is fully immersed in an activity. Their sense of time is distorted, they are aware of nothing but the act that they are engaged in, and the activity itself becomes autotelic (Mihaly Csikszentmihalyi, 1996). Colloquially known as ‘being in the zone', many activities can induce a state of flow. These include the activities that we have already mentioned, playing musical instruments, painting and drawing; as well as many others such as writing, dancing, playing games or sports, and cooking etc. It is well documented that being in a state of flow correlates with enhanced creativity, enjoyment, focus, motivation and productivity (Csikszentmihalyi et al., 2005).

In our research, we do not focus on specifically inducing and testing for states of flow. We also do not claim that the systems which we create do induce states of flow. Instead, we draw inspiration from this area of research, and from the activities which are known to induce flow, and we use them as guidelines.

One of the key requirements for being in a state of flow is a feeling of agency and control over the activity being performed. In other words, flow requires Meaningful Human Control.

Another requirement for being in a state of flow, is immediate feedback. This establishes the creative feedback loop between the person, and the environment in which the activity is taking place. Actions taken by the person have an immediate effect and produce a new state or outcome. This outcome sparks new ideas and feelings in the person, and they are able to respond in realtime to what they are performing or creating. In other words, this is the closed-loop of the Realtime Continuous Control system (Wiener, 1948) that we have just discussed.

All of the studies that we present in this thesis (with the exception of one, which we will discuss the motivations for in chapter 6: Deep Meditations: Latent storytelling), we demonstrate with realtime software systems that we have developed, that run with a minimum framerate of 15 frames-per-second on affordable (high-end consumer) hardware. A user can interact with our software via a number of different modalities at any point in time while the software is running. The latency between user input and visible results is usually in the order of one or two frames. In other words, the latency across all of the software systems that we have developed is in the range 16–130 ms. We consider this to be more than sufficient Realtime Continuous Control.

1.5 Creative DL × Meaningful & Realtime Continuous Control

1.5.1 The State

At the start of our research in 2014, Deep Learning algorithms had already started to demonstrate their superior performance — compared to other methods, and often to humans — in many complex classification tasks in fields such as speech recognition (Hinton et al., 2012; L. Deng et al., 2013), natural language processing (Collobert et al., 2011), handwriting recognition (Pham et al., 2014), image classification (Krizhevsky et al., 2012), image scene labelling (Couprie et al., 2013), spam filtering (Guzella & Caminhas, 2009), and many others (Schmidhuber, 2015).

However, the area that we call Creative DL, i.e. the application of DL to the production of artistic works and creative media, was very much still in its infancy. Research in Creative DL was incredibly sparse and relatively primitive in terms of quality, and far from being usable in any production environment. Nevertheless, these early studies did demonstrate incredible potential in fields such as MIDI music composition (Boulanger-Lewandowski et al., 2012; Nayebi & Vitelli, 2015; Sturm, 2015), text generation (Sutskever et al., 2011; Sutskever, 2013), drawing (Graves, 2013; Ha, 2015) and image generation (Gregor et al., 2015; Nguyen et al., 2015; Gatys et al., 2015a, 2015b; Mordvintsev et al., 2015; Radford et al., 2015; Nayebi & Vitelli, 2015).

Today, just five years later, the resolution of the images produced by DNNs are orders of magnitude higher (Karras et al., 2020); instead of MIDI music composition, DNNs are generating music as raw audio samples, complete with lyrics and vocals (Dhariwal et al., 2020). Creative DL, is now a very active area of research with strong interest and support from industry giants such as Google, Facebook, Snap, Microsoft, Adobe, Autodesk, OpenAI, Nvidia, Unity3D, Unreal Engine, Blizzard Entertainment and many more.

1.5.2 The Problem

As we have already mentioned, one theme that connects much of this research, is that they offer a human user very limited control over the outcomes generated. Definitely not at a level that we would consider as satisfactory levels of Meaningful Human Control. And absolutely not in a realtime, interactive manner with continuous control. As we have explained in previous sections, we believe this to be a very under-explored, yet vital area of research.

1.5.3 The Reason

The reason that this area is so under-explored, we believe is due to the fact that many of these generative DL algorithms were themselves in their infancy. For this reason, the majority of technical research in Creative DL was not focused on Meaningful Human Control, but instead on trying to improve the performance, reliability and stability of the learning algorithms themselves. Only in the last few years — as these algorithms have matured and begun to demonstrate improved performance, reliability and stability — more research has started to shift attention towards investigating ways of allowing Meaningful Human Control over the systems, and this is now a rapidly growing area of research (Isola et al., 2016; Zhu et al., 2017; Ha & Eck, 2017; Karras et al., 2017; Park et al., 2019; Karras et al., 2019; Simon, 2019; Bau et al., 2019; Karras et al., 2020; Härkönen et al., 2020; Jiang et al., 2020; Broad et al., 2020). We discuss this timeline in more detail in subsection 2.2.7: Creative Deep Learning — from a cultural perspective

Our research has been based on the expectation that these algorithms would be rapidly improved, optimized and stabilized, with huge engineering efforts and investments from the likes of Google, Facebook, Microsoft, Adobe, Autodesk, OpenAI and Nvidia. And indeed this expectation has been, and is continuing to be, met. For this reason, our research has been focused from the start, on how these new and emerging DL algorithms and techniques can be used in the production of artistic and creative works, with both Meaningful Human Control, and Realtime Continuous Control, to allow for performative, creative expression.

1.6 Conclusion: why is this important

In summary, we believe:

  • DL algorithms that learn hierarchies of features and semantic latent representations directly from high-dimensional raw data, without the need for hand-crafted feature engineering, have tremendous potential when applied to fields involving the production of artistic and creative works.

  • Harnessing the capabilities of DL in the creative industries, does not only automate and optimise previously very tedious tasks (such as rotoscoping or image segmentation), but it opens up whole new avenues with regards to what is possible.

  • It is incredibly valuable to develop methods that grant people — artists, designers, and the general public — Meaningful Human Control over these generative algorithms, such that people are able to express themselves, and execute their vision via these systems.

  • These methods can be incorporated into specialist design applications across a wide range of creative industries including video games, movies, music, graphic design, architecture, industrial design, theatre, dance, publishing and many more. They can also be incorporated into consumer-facing products, such as ‘creative and fun' desktop or mobile applications, or even social media ‘smart filters'.

  • This potential is mirrored by the amount of recent growing interest from industry giants such as Google, Facebook, Microsoft, Adobe, Autodesk, OpenAI, Nvidia, Snap, Unity3D, and many others.

  • A generative system incorporating a DNN has the potential to offer an incredibly large space of possibilities. Exploring such a vast space presents many challenges.

  • It is incredibly valuable that a person has the ability to freely explore such a massive space, so that they may embark on an goal-less, purely inquisitive and creative exploration, to build an understanding of the extents of such a system's creative capacity (Secretan et al., 2008; Stanley & Lehman, 2015). With time, they may begin to establish an idea, or a vision. This may be vague to begin with, a very large 'destination' so to speak. But with time, as they explore further, this vision may become clearer as they seek to hone in on a specific target.

  • Meaningful Human Control, combined with Realtime Continuous Control, is essential to allow a person, optimal balance between exploration of the yet unknown spaces of such a complex, deep generative model, vs exploitation of their own knowledge, vision and intent.

1.7 Research

1.7.1 Research summary

Our research is situated at the intersection between state-of-the-art Deep Learning algorithms; Computational Art and Design; and Artistic, Expressive Human-Computer Interaction. Within this interection, we are interested in exploring Deep Learning models as an artistic medium for new modes of performative, creative expression. Our primary research question is:

How can we design and develop Deep Visual Instruments: realtime interactive generative systems that exploit and leverage the capabilities of state-of-the-art Deep Learning algorithms, while allowing Meaningful Human Control, in a Realtime Continuous manner?

The questions and approaches that we present could be adapted to various different domains. However, in this thesis we choose to focus on images and videos (i.e. sequences of images). We choose images as a starting point for a number of reasons. Due the pervasive nature of images as a medium, there is a plethora of image data on the internet that can be collected and organised into datasets. As a result of this, DL research in image based DNNs are more mature in comparison to other ‘rich' mediums such as sound or 3D geometry.

We encounter a number of challenges when addressing this topic:

  • Given that most current DL architectures offer very limited control over the outputs generated, how can we design points of interaction into the architectures that allow Meaningful Human Control?

  • Given that DL algorithms are notoriously compute-intensive, how can we design systems that are able to run on affordable hardware, in realtime, with continuous control?

  • Having overcome the previous two challenges, how can we design interactions that allow or enhance both Meaningful Human Control, in a Realtime Continuous manner?

  • What is the impact of, and unique considerations for, using different learning methods and architectures, such as Monte Carlo Tree Search (MCTS), Long Short Term Memory Recurrent Neural Networks (LSTM RNN), Variational AutoEncoders (VAE) and variants of conditional and unconditional Deep Convolutional Generative Adversarial Networks (DCGAN)?

  • And finally, what are the necessary characteristics of Meaningful Human Control and Realtime Continuous Control?

1.7.2 Research methods and evaluation

As we have explained in the previous sections, we believe that DNNs have great potential when used for the production of artistic and creative works, especially when allowing a user Meaningful Human Control, in a Realtime Continuous manner. We also believe, that this is currently a very under-explored area of research.

The goal of our research is not only to invent one or more specific methods that achieve this. Instead, we wish to also demonstrate the potential, and the importance of this particular field, and we wish to encourage more general research in this direction.

For this reason, we present five different studies in this thesis, each taking a very different approach to this problem. For each of these studies we have developed a software tool that demonstrates the method that we propose in the corresponding study. Using these software tools that we have developed, we also produce and publicly share a number of artworks — in the form of video outputs and installations — to further demonstrate the capabilities and potential of the approaches that we investigate, hopefully inspiring more research in this field.

In each study, as opposed to extensively developing each software tool to the extent where they can be used by the general public, we instead prefer to invest our time across different studies, to investigate different methods. We develop each method and software enough to demonstrate its potential to the extent that it can ideally provide a foundation for future research. We believe that this multi-pronged approach may potentially have more impact and may encourage more research in this field.

It's important to note that we do not conduct user studies, and we do not make claims regarding the generalizability of the interfaces that we develop to a wider audience. We also do not research or make claims regarding which specific interaction models are more or less effective at granting Meaningful Human Control or inducing a state of flow, if they were to be deployed to a general audience. Instead, as we will shortly explain in more detail, we use the methods and software tools that we develop in this thesis to create a number of artworks, and we use our own subjective experience of creating these artworks as a way of reflecting upon and evaluating the methods and software tools that we develop. We choose this route because again we believe that focusing on a higher number of personal demonstrations — as opposed to fewer, but more thoroughly user-tested studies — has a larger potential for impact with regards to inviting a more diverse range of artists, creatives and researchers into thinking about Meaningful Human Control and Realtime Continous Control within Creative DL.

We research methods that allow the introduction of any forms of realtime interaction and control, into currently non-realtime, non-interactive, non-controllable processes. While doing so, we take Meaningful Human Control and Realtime Continuous Control as a framework and strong guiding points.

We evaluate our methods by assessing i) if they introduce any form of control at all, to previously uncontrollable workflows; ii) if they introduce any form of Realtime Continuous control, to previously non-realtime, uncontrollable workflows; iii) if they provide any Meaningful Human Control, subjectively judged via our own ability to utilize these methods in producing creative works that carry our intent and personal expressive signature; and iv) online and offline response to the proposed methods and related works, and if and how they influence the works of other practitioners and researchers. We primarily assess this through social media and mainstream publications and coverage.

Furthermore, as a media artist who has focused on developing realtime interactive computational systems for creative expression for almost two decades, we leverage our own experience in this field to assess the methods that we present in this thesis. Throughout this research, we create a number of artworks using the methods that we develop, and we use these artworks as a test-bed for evaluating the methods. It is in support of creating these artworks, that we are able to assess, refine and reflect on the systems and methods that we develop and present in this thesis. For the purposes of this thesis however, these creative artefacts themselves are not the basis of contribution to knowledge, and for that reason our research should not be considered practice-based research (Candy, 2006). Instead, the artworks that we produce during this research have been independently peer-reviewed (within various exhibitions and publications, and we share these details in the following sub-section, and throughout the thesis where relevant). And the artworks act as demonstrations of the potential efficacy of the approaches that we present, and the experimental subject matter which we use when testing, refining and reflecting upon the methods that we develop.

This research methodology, especially in conjunction with the fact that we have not conducted user-studies, may be considered a limitation of our research. Indeed more work — particularly around user-testing and usability refining — would be needed before the methods that we propose in this thesis could be used in end-user facing, production-ready environments. And for this reason we do not make claims regarding the generalizability of our methods to other users — although casual observations of the general public interacting with our interactive installations does appear to be promising. Instead, in this thesis we have focused on demonstrating the potential of this new medium from multiple different angles, and the vast space of possibilities that such approaches can offer. We hope that this can inspire others to investigate similar approaches, either building directly upon our own work and methods, or even exploring tangentially related methods. We reflect upon our research methodology in more detail in section 7.2: Research methodology.

1.8 Summary of contributions and impact

In this thesis, we present five studies, which each take a different approach to the topic of both Meaningful Human Control and Realtime Continuous Control over generative systems that incorporate DNNs. These studies are:

  • An agent-based, interactive, collaborative, generative sketching application using MCTS and discriminative CNNs (section 3.2)

  • A system to gesturally conduct the generation of text in different styles using an ensemble of LSTM RNNs (section 3.3)

  • Hello World: A performative tool that allows for the manipulation of hyperparameters in realtime while a Convolutional VAE trains on a live camera feed (chapter 4)

  • Learning to see: A pix2pix based live camera feed transformation software that allows for digital puppetry and augmented drawing (chapter 5)

  • Deep Meditations: A method that allows for long-form story telling within a generative model's latent space with meaningful control over the narrative (chapter 6)

In addition, we have produced and publicly shared a number of videos and artworks using the tools that we developed as part of our research. We have shared these works online, on social media, and in galleries and inter-disciplinary, academic and non-academic festivals and conferences. In publicly sharing these outputs, we hope to demonstrate the great potential and possibilities that DNNs have to offer in the production of artistic and creative works, especially when Realtime Continuous Meaningful Human Control is provided. And in turn, we hope to encourage more conversations and research in this field, which we believe is currently very under-explored.

A selection of contributions and impact that we have made are listed below.

1.8.1 Press

Many of these works that we have shared on social media, has spread widely, both online and offline. We consider this to be an indication to the value of the opportunities granted by Realtime Continuous Meaningful Human Control with Creative DL, and the general interest in the field. These works and our research, have been featured on influential mainstream blogs and publications such as:

1.8.2 Invited presentations and panels

We have had the opportunity to present our research as an invited keynote speaker or panellist, at a number of inter-disciplinary conferences. These include

  • Ars Electronica, 2020 (online)Footnote 25

  • Kikk Festival, 2019 (Namur, BE)Footnote 26

  • TodaysArt, 2019 (The Hague, NL)Footnote 27

  • AI in the Arts and Design panel, ACM Siggraph, 2019 (Los Angeles, CA, USA)Footnote 28

  • Gray Area Festival, 2019 (San Francisco, CA, USA)Footnote 29

  • Art and Artificial Intelligence, ZKM Center for Art and Media, 2019 (Karlsruhe, DE)Footnote 30

  • Symposium of Interdisciplinary Artificial Intelligence Studies, Yeditepe University, 2019 (Istanbul, TR)Footnote 31

  • Cybernetic Consciousness Symposium, Itaú Cultural, 2019 (Sao Paolo, BR)Footnote 32

  • Art Innovation Symposium, Kyoto University, 2019 (Kyoto, JP)Footnote 33

  • TOCA ME Design Conference, 2019 (Munich DE)Footnote 34

  • Muovo Conference on Motion Design, 2019 (Prague, CZ)Footnote 35

  • Art Machines: International Symposium on Computational Media Art, Hong Kong City University, 2019 (HK)Footnote 36

  • Innovative City Forum, Roppongi Hills Mori Tower, 2018 (Tokyo, JP)Footnote 37

  • Smart cities and urban tech conference, Strelka Institute, 2018 (Saint Petersburg, RU)Footnote 38

  • Workshop on Human-Computer Collaboration in Embodied Interaction, IRCAM, 2018 (Paris, FR)Footnote 39

  • i-Docs, 2018 (Bristol, UK)Footnote 40

  • Ars Electronica, 2017 (Linz, AT)Footnote 41

  • Sonar+D, 2017 (Barcelona, ES)Footnote 42

  • DocLab, International Documentary Film Festival (Amsterdam, NL)Footnote 43

1.8.3 Public showings

The work that we have produced using the systems developed in this thesis, have also been shown in galleries, museums and cultural institutions such as

  • Haus der Kunst, 2020 (Munich, DE),

  • UCCA Center for Contemporary Art, 2020 (Beijing, CN)

  • QUAD Gallery, 2020 (Derby, UK)

  • Honor Fraser Gallery, 2020 (Los Angeles, CA, US)

  • Kellen Gallery, 2020 (New York, US )

  • SUPERCOLLIDER Gallery, 2020 (Los Angeles, CA, US)

  • Centro de Arte y Creación Industrial, 2019 (Gijón, ES)

  • Ars Electronica Centre, 2019 (Linz, AT)

  • Mori Art Museum, 2019 (Tokyo, JP)

  • Kate Vass Gallery, 2019 (Zurich, CH)

  • Sonar+D Festival, 2019 (Barcelona, ES)

  • Itaú Cultural, 2019 (Sao Paulo, BR)

  • The Barbican, 2019 (London, UK)

  • Kenninji Temple, 2019 (Kyoto, JP)

  • Hatcham Church Gallery, 2018 (London UK)

  • Moscow Museum of Modern Art, 2018 (Moscow, RU)

  • Grand Palais, 2018 (Paris, FR)

  • Astana Contemporary Art Centre, 2017 (Astana, KZ)

  • Ars Electronica Festival, 2017 (Linz, AT)

  • International Documentary Film Festival Amsterdam / IDFA (Amsterdam, NL)

1.8.4 Opensource software

We have developed and shared a number of open-source tools that we summarise below.

ofxMSAmcts (2015)

ofxMSAmcts (Akten, 2015) is an open-source C++ implementation of Monte Carlo Tree Search (MCTS) (Browne et al., 2012) that we developed as an addon for the very popular C++ creative development toolkit openFrameworks (Lieberman et al., 2016). OpenFrameworks has a large and very diverse user-base of artists, designers and creative developers, with roughly 250,000 visits per month to its website. Many of its users actively engage with new technologies and develop open-source addons, allowing the community to easily integrate third party libraries and devices. Examples of these addons include support for various hardware devices such as Microsoft Kinect, LeapMotion, Oculus Rift, DMX lighting control, ILDA laser control, quadrotor drones, robot arms, electroencephalography (EEG) brain activity readers, and video capture cards, as well as numerous software libraries for computer vision, networking, physics simulations, 2D and 3D graphics, audio synthesis and many more (ofxAddons, 2015).

Developing our MCTS addon for openFrameworks, enables us to instantly access the vast range of other libraries and tools developed for the openFrameworks ecosystem, including our own ofxMSATensorFlow (Akten, 2016). Our C++ library is general purpose, templated and supports a variable number of agents, and a variable number of actions per step. We developed and released a simple tic-tac-toe game to demonstrate how to use the library, and we use this library in our research in section 3.2: Collaborative generative sketching with MCTS and CNNs. The github repository currently has 43 stars and 15 forks.

ofxMSATensorFlow (2016)

There are many open-source Machine Learning libraries available, and many new ones being released frequently. Google's Tensorflow library (Abadi & Others, 2015) was made public in late 2015 and immediately gained a lot of popularity. While these libraries are great for focused Deep Learning research, they are often difficult to integrate into different workflows and a wider ecosystem of tools. For this reason we integrated Tensorflow into openFrameworks.

ofxMSATensorFlow (Akten, 2016) is an open-source Tensorflow addon for openFrameworks that we developed, allowing Tensorflow to run seamlessly within this ecosystem of tools.

We developed and released a number of examples to demonstrate functionality on standard Machine Learning tasks as well as recent Deep Learning developments including classifying MNIST digits (LeCun & Cortes, 2010) and ImageNet images (J. Deng et al., 2009) with CNNs (Szegedy, Liu, et al., 2015), handwriting generation with LSTM RMDNs (Graves, 2013), text generation with character based LSTM RNNs (Graves, 2013), and ‘pix2pix' Image-to-Image Translation with Conditional Adversarial Nets (Isola et al., 2016). The github repository currently has 445 stars and 92 forks.

webcam-pix2pix-tensorflow (2017)

In chapter 5: Learning to see: Digital puppetry through realtime video transformation, we present a realtime video processing system that can transform a live camera feed with the aesthetic qualities of a large image based dataset. Our system allows for the manipulation of a number of parameters in realtime via a GUI, to further transform the image. We have released a simplified version of this software as open-source software on github (Akten, 2017). This version contains a subset of the filters that we mention in this thesis, and lacks many of the advanced non-DL related options such as advanced screen layout options, changing and loading models at run-time, midi controller support etc. In simplifying the functionality and code, we hope that it will be more informative and educational, and can act as a base for others to build upon in the future. The github repository currently has 311 stars and 61 forks.

py-msa-kdenlive (2018)

In chapter 6: Deep Meditations: Latent storytelling, we take a typical Non Linear Video Editing (NLVE) workflow as a base, and we present a method that allows for long-form story telling within a generative model's latent space with meaningful control over the narrative. In order to achieve this, we develop an open-source python script which can load and parse a project file belonging to the open-source Kdenlive NLVE software for the GNU/Linux platform. Our script can then conform the edit contained in the project, onto corresponding numpy arrays. We discuss this process in much more detail in the chapter linked above. This open-source script can be found on github (Akten, 2018).

1.9 Thesis outline

The remainder of this thesis is as follows.

In the following chapter, chapter 2: Background, we trace the multiple histories that span Computational Art and Design; Artistic, Expressive Human-Computer Interaction; and Deep Learning; until they converge and merge in the current day. We discuss major developments in these fields, especially those within the context of Creative DL, Meaningful Human Control, and Realtime Continuous Control. We also present the key concepts, terminology and technical foundations relating to Deep Learning, that we will be building upon and referencing in this thesis.

The majority of our research deals with pixel based raster images. However, since these are incredibly high-dimensional and computationally expensive, we choose to start with a number of lower dimensional studies. We present these two studies in chapter 3: Realtime sequence generation with continuous control. In this chapter, we present an agent-based, interactive, collaborative, generative sketching application using MCTS and a discriminative CNN . We also present a system to gesturally conduct the generation of text in different styles using an ensemble of LSTM RNNs.

The subsequent studies in this thesis focus on a number of different image based generative models.

In chapter 4: Hello World: Realtime interactive training as an informative and performative tool, we start with a Variational Auto-Encoder (VAE) (D. P. Kingma & Welling, 2013). We develop a performative tool that allows for the manipulation of hyperparameters in realtime while a Convolutional VAE trains on a live camera feed. In addition to gaining a number of insights with regards to how DNNs learn, and how the hyperparameters influence the results, the software that we developed also demonstrates great potential as a realtime visual performance tool.

After VAEs, in chapter 5: Learning to see: Digital puppetry through realtime video transformation we investigate conditional Generative Adversarial Networks (cGAN). Specifically, we build upon the application that we developed in the previous chapter, and using a custom pipeline based on pix2Pix (Isola et al., 2016), we develop a realtime video processing system that can transform a live camera feed with the aesthetic qualities of a large image based dataset. We demonstrate a number of different performative modes of interaction with this software. These include live puppetry, augmented drawing, and realtime manipulation of parameters using a graphical user interface or faders on a hardware interface.

In our final study, in chapter 6: Deep Meditations: Latent storytelling, we investigate unconditional Generative Adversarial Networks (GAN). Each of the four studies that we have presented so far, allow Meaningful Human Control, in a Realtime Continuous manner. However, in this study, we take a slight departure. We acknowledge the role that non-realtime, non-continuous modes of interaction have played in existing, traditional creative workflows. In particular, we look at the example of video editing as a form of long-form narrative story telling. Taking a typical video editing workflow as a base, we present a method that allows for long-form story telling within a generative model's latent space, with meaningful control over the narrative

Finally, in chapter 7: Conclusion we summarise our findings, and speculate on potential future directions research in this field could take.

Footnotes

  1. Due to the sub-optimal conditions of these particular prehistoric artefacts, there is some controversy regarding their origins, and whether they were carved by human hands, or by natural geological processes. ↩

  2. We discuss the expressive power of Artificial Neural Networks in section 2.3: Introduction to Deep Learning ↩

  3. While it is not a focus of this thesis, developments in DeepFakes and politicized synthetic media is a very real and increasingly growing point of concern and consideration. ↩

  4. We briefly discuss a field of research focused on this question, in subsection 2.2.8: Computational Creativity. ↩

  5. https://www.instagram.com/helena.sarin/ ↩

  6. https://sofiacrespo.com ↩

  7. https://annaridler.com ↩

  8. We do not claim that it is impossible to use Premiere as a realtime performance instrument. In fact, we would not be surprised if there exists a niche community of experimental video artists who perform live entirely using Premiere. However, the software is clearly not designed for realtime performance. ↩

  9. https://docubase.mit.edu/project/learning-to-see ↩

  10. Nvidia GTC 2019 Keynote: https://www.youtube.com/watch?v=Z2XlNfCtxwI&t=32 ↩

  11. Deep Meditations on Dazed Digital ↩

  12. https://www.clashmusic.com/news/beyond-the-data-memo-akten-interviewed ↩

  13. http://artinthedigitalage.net/en/1902EN_plu.html ↩

  14. https://www.artnome.com/news/2018/12/13/machine-learning-art-an-interview-with-memo-akten ↩

  15. Hyundai Art and Technology https://www.youtube.com/watch?v=1QIOoEID8kk ↩

  16. https://www.digitaltrends.com/cool-tech/neural-net-rebuilds-reality ↩

  17. https://boingboing.net/2018/03/21/watch-neural-networks-see-only.html ↩

  18. https://www.creativeapplications.net/openframeworks/learning-to-see-making-deep-neural-network-predictions-on-live-camera-input ↩

  19. http://www.flabber.nl/artikel/wat-gebeurt-er-als-je-een-videoalgoritme-alleen-maar-beeld-van-golven-vuur-of-bloemen-voert ↩

  20. https://tech.onliner.by/2018/03/20/elektroovcy ↩

  21. https://www.popmech.ru/technologies/415152-kak-obmanut-iskusstvennyy-intellekt ↩

  22. https://gizmodo.com/trippy-magic-happens-when-ai-only-knows-about-flowers-1823900244 ↩

  23. http://prostheticknowledge.tumblr.com/post/172012841001/gloomy-sunday-latest-addition-to-memo-aktens ↩

  24. https://we-make-money-not-art.com/doclab-exhibition-asks-are-robots-imitating-us-or-are-we-imitating-robots ↩

  25. https://ars.electronica.art/keplersgardens/en/returning-the-gaze-panel-1 ↩

  26. https://www.kikk.be/2019/en/home ↩

  27. https://todaysart.org/festivals/todaysart-2019 ↩

  28. https://s2019.siggraph.org/presentation/?id=bof_144&sess=sess370 ↩

  29. https://grayareafestival.io ↩

  30. https://zkm.de/en/event/2019/05/art-and-artificial-intelligence ↩

  31. http://siais.yeditepe.edu.tr ↩

  32. https://www.itaucultural.org.br/conscienciacibernetica/2019 ↩

  33. http://art.gsais.kyoto-u.ac.jp/index-en.html ↩

  34. http://www.toca-me.com ↩

  35. https://mouvo.cz ↩

  36. https://www.cityu.edu.hk/iscma ↩

  37. https://icf.academyhills.com/2018/en ↩

  38. https://inthecity.strelka.com/en ↩

  39. http://mim.ircam.fr/hamac ↩

  40. https://idocs2018.dcrc.org.uk ↩

  41. https://ars.electronica.art/ai/en/symposium ↩

  42. https://sonarplusd.com/en/programs/barcelona-2017/areas/talks/the-role-of-artists-in-the-ai-revolution ↩

  43. https://www.idfa.nl/en ↩

Full-size image