Explaining Creative Artifacts

Lav R. Varshney, Nazneen Fatema Rajani, Richard SocherarXiv 2020 · arXiv

Abstract

Computational creativity has enabled AI to generate novel recipes, music, and text. However, the stochastic or neural processes driving these systems often lack human-understandable logic. This paper proposes a framework for post-hoc interpretability that deconstructs creative outputs into associative chains. By modeling the explanation process as a Traveling Salesman Problem (TSP) over a knowledge graph, the authors provide "human-like" rationales for AI-generated artifacts and introduce a mathematical measure for creative novelty based on associative distance.

Introduction: The Interpretability Gap in Creativity

Human creativity is fundamentally associative; we connect disparate ideas through "invisible filaments" of meaning. In contrast, modern AI systems often operate as "black boxes," producing outputs that may seem random or inscrutable to users. This paper addresses the need for a bridge between machine generation and human intuition, focusing on creating explanations that don't necessarily describe the AI's internal process, but rather provide a plausible rationale using human-centric logic.

Methodology: Explanations as Optimal Paths

The core of the proposed approach is to treat explanation as an inverse problem. The components of a creative artifact—such as words in a sentence or ingredients in a recipe—are mapped as nodes in a Knowledge Graph (KG).

  1. Knowledge Representation: The KG encodes associations (e.g., shared chemical compounds in food or semantic relationships in language).
  2. Pathfinding via TSP: To find the most "natural" explanation, the system seeks a Hamiltonian path that visits every component exactly once. By solving the Traveling Salesman Problem (TSP) to minimize the total weight of this path, the system identifies the shortest, and thus most intuitive, chain of associations.
  3. Stability: A $k$-best TSP solver ensures that the generated explanations are robust and not overly sensitive to minor data fluctuations.

Domain Applications

Culinary Arts

In the culinary domain, the authors utilize a Flavor Network where edges represent shared flavor compounds. This allows the system to explain why a specific set of spices works together by identifying the chemical "bridge" between them.

Associative links between culinary ingredients based on shared flavor compounds.

As shown in Figure 1, a mixture of thyme, clove, and lavender can be rationalized through shared compounds like linalyl acetate, providing a scientific yet intuitive basis for the combination.

Language and Common Sense

For linguistic artifacts, the system leverages ConceptNet, a commonsense knowledge graph. This enables the AI to explain the semantic flow of a generated sentence by finding a logical sequence of events or concepts.

A semantic chain in ConceptNet explaining the flow of a morning routine.

In Figure 3, a sentence about a morning routine is explained through a path connecting "waking up" to "opening eyes" and "hearing music." This provides a narrative flow that may differ from the original word order but remains highly legible to a human reader.

Measuring Novelty and Entropy

Beyond explanation, the TSP framework offers a formal definition of TSP-novelty. If the shortest path connecting the elements of a creative work is exceptionally long, it indicates a significant "creative leap." The authors further link this path length to Renyi entropy, providing a statistical foundation for measuring how surprising or concentrated a creative distribution is.

Conclusion and Future Directions

This research demonstrates that AI explanations do not need to be literal descriptions of code; they can be associative narratives that foster trust and understanding. While the TSP approach is computationally intensive (NP-hard), it remains feasible for typical creative artifacts like recipes or short sentences. Future work will involve human validation studies to confirm if these rationales effectively improve user trust and exploring "TSP-novelty" to distinguish between brilliant innovation and nonsensical randomness.

Summary updated

Abstract

Human creativity is often described as the mental process of combining associative elements into a new form, but emerging computational creativity algorithms may not operate in this manner. Here we develop an inverse problem formulation to deconstruct the products of combinatorial and compositional creativity into associative chains as a form of post-hoc interpretation that matches the human creative process. In particular, our formulation is structured as solving a traveling salesman problem through a knowledge graph of associative elements. We demonstrate our approach using an example in explaining culinary computational creativity where there is an explicit semantic structure, and two examples in language generation where we either extract explicit concepts that map to a knowledge graph or we consider distances in a word embedding space. We close by casting the length of an optimal traveling salesman path as a measure of novelty in creativity.
BibTeX
@misc{varshney2020explaining,
  author = {Lav R. Varshney and Nazneen Fatema Rajani and Richard Socher},
  title = {{Explaining Creative Artifacts}},
  year = {2020},
  eprint = {2010.07126},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.07126},
}
Figure