Evaluating Co-Creativity using Total Information Flow

Vignesh Gokul, Chris Francis, Shlomo DubnovarXiv 2024

Abstract

Co-creativity in music refers to two or more musicians or musical agents interacting with one another by composing or improvising music. However, this is a very subjective process and each musician has their own preference as to which improvisation is better for some context. In this paper, we aim to create a measure based on total information flow to quantitatively evaluate the co-creativity process in music. In other words, our measure is an indication of how "good" a creative musical process is. Our main hypothesis is that a good musical creation would maximize information flow between the participants captured by music voices recorded in separate tracks. We propose a method to compute the information flow using pre-trained generative models as entropy estimators. We demonstrate how our method matches with human perception using a qualitative study.

Introduction

While artificial intelligence has reached a point where it can generate impressive musical compositions, the field lacks objective metrics to measure the "creative process" itself, particularly during real-time interaction or co-creativity. Most existing metrics focus on the quality of the final output—asking, for instance, if a piece sounds like a specific composer—rather than the dynamics of the partnership between two musical agents.

Creativity is inherently subjective. A human improvising with an AI agent might find one response brilliant and another dull, even if both are technically correct. This research seeks to move beyond subjective surveys and Turing tests toward a formal, information-theoretic measure that quantifies how effectively two musical "voices" communicate and respond to one another.

Methods

The authors hypothesize that a successful co-creative process maximizes the information flow between participants. This is defined using Transfer Entropy, which measures how much the past of one sequence (Track A) helps predict the future of another (Track B), beyond what Track B’s own past can provide.

The experimental setup involves choosing or matching accompaniments to create coordinated (positive) or uncoordinated (negative) musical pairs.

The core technical contribution is a reformulated "Flow" equation: $$Flow \approx H(X|\bar{X}) + H(Y|\bar{Y}) - H(XY|\bar{XY})$$

In this framework, total flow is the sum of the "surprisal" (entropy) of each track played in isolation, minus the surprisal of the tracks played together. If two tracks are musically "aware" of each other, the combined signal ($XY$) will be more predictable (lower entropy) than the sum of its parts, resulting in a higher Flow score. To calculate these entropy terms for high-dimensional musical data, the researchers utilized the Multitrack Music Transformer (MTMT) as an entropy estimator, providing probability distributions for the next musical event based on preceding context.

Experimental Setup

The study utilized two primary datasets to validate the metric:

  1. Score Dataset: 500 musical pieces from MuseScore (piano melodies and accompaniments). The authors created "positive" samples (matching pairs) and "negative" samples (randomly swapped accompaniments).
  2. URMP (University of Rochester Multi-modal Music Performance) Dataset: 44 multi-instrument pieces recorded in separate tracks, providing a ground truth for coordinated human performance.

Key Results

The Information Flow score demonstrated significant discrimination power, consistently scoring "positive" (musically coordinated) samples higher than "negative" (randomly mixed) samples across both datasets and across different musical features like pitch and duration.

Information flow scores for Duration (a, c) and Pitch (b, d) across the Score and URMP datasets show a clear separation between positive (blue) and negative (red) samples.

In a qualitative study with five expert musicians, the Flow score generally aligned with human ratings for "Overall Quality" and "Level of Interaction." Interestingly, the metric also captured what the authors call the "Mashup Phenomenon": in cases where randomly mixed tracks happened to fit together perfectly, both human experts and the Information Flow metric gave high scores, suggesting the metric captures emergent musicality rather than just file-matching.

Discussion and Limitations

While the metric is robust, it is subject to Self-Enhancement Bias. The MTMT model tends to give higher Flow scores to music it generated itself compared to music from other sources, as it finds its own "style" more predictable. This suggests that the metric's effectiveness is tied to the "intelligence" and training of the underlying entropy estimator.

Future work involves using this Flow score as a reward function in Reinforcement Learning to train agents to be more co-creative in real-time and applying the framework to other domains like conversational AI or collaborative dance.

Summary updated

BibTeX
@misc{gokul2024evaluating,
  author = {Vignesh Gokul and Chris Francis and Shlomo Dubnov},
  title = {{Evaluating Co-Creativity using Total Information Flow}},
  year = {2024},
  eprint = {2402.06810},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.06810},
}
Figure