Skip to main navigation Skip to search Skip to main content

Markov Senior: Learning Markov Junior Grammars to Generate User-specified Content

Mehmet Kayra Oguz*, Alexander Dockhorn

*Corresponding author for this work

Research output: Chapter in book/report/conference proceedingConference contributionResearchpeer review

Abstract

Markov Junior is a probabilistic programming language used for procedural content generation across various domains. However, its reliance on manually crafted and tuned probabilistic rule sets, also called grammars, presents a significant bottleneck, diverging from approaches that allow rule learning from examples. In this paper, we propose a novel solution to this challenge by introducing a genetic programming-based optimization framework for learning hierarchical rule sets automatically. Our proposed method 'Markov Senior' focuses on extracting positional and distance relations from single input samples to construct probabilistic rules to be used by Markov Junior. Using a Kullback-Leibler divergence-based fitness measure, we search for grammars to generate content that is coherent with the given sample. To enhance scalability, we introduce a divide-and-conquer strategy that enables the efficient generation of large-scale content We validate our approach through experiments in generating image-based content and Super Mario levels, demonstrating its flexibility and effectiveness. In this way, 'Markov Senior' allows for the wider application of Markov Junior for tasks in which an example may be available, but the design of a generative rule set is infeasible.

Original languageEnglish
Title of host publicationProceedings of the 2024 IEEE Conference on Games, CoG 2024
PublisherIEEE Computer Society
ISBN (Electronic)9798350350678
ISBN (Print)979-8-3503-5068-5
DOIs
Publication statusPublished - 5 Aug 2024
Event6th Annual IEEE Conference on Games, CoG 2024 - Milan, Italy
Duration: 5 Aug 20248 Aug 2024

Publication series

NameIEEE Conference on Computatonal Intelligence and Games, CIG
ISSN (Print)2325-4270
ISSN (Electronic)2325-4289

Conference

Conference6th Annual IEEE Conference on Games, CoG 2024
Country/TerritoryItaly
CityMilan
Period5 Aug 20248 Aug 2024

Keywords

  • Genetic Programming
  • Markov Junior
  • Procedural Content Generation
  • Super Mario Level Generation

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Graphics and Computer-Aided Design
  • Computer Vision and Pattern Recognition
  • Human-Computer Interaction
  • Software

Cite this