I've thought a bit about how I would add text-based procedural generation to my virtual world engine (I would love to have an "edit a book to change the world" experience, like Myst's linking books). The hard part is the composition of smaller things into larger concepts, since you have limited data.<p>For example, developers often devise a system of generic water tiles that they can fit together to form any sort of river. But how do you algorithmically go from the text "I want a river that starts large, gets narrow, then turns East" to a valid map layout? The water tiles and the ways they fit together are specific to the world, so there's nowhere near enough data to train a model. You could hardcode procedural logic based on key phrases ("river" + "start large" + "get narrow" + "turn east"), but that's a lot of work for a very limited implementation.<p>The most promising idea I've come up with is a node-based intermediate representation. You could use general data on rivers to determine how they're shaped, then use that to translate the user's prompt into a series of nodes on a map. Then, you just need to hand-implement a system to iterate the nodes and place tiles based on whether the next node is straight ahead, turning, etc. This approach could generalize to other concepts like mountains. At that point, it's just about making the text-based stage sufficiently predictive of what the user wants instead of just being a Logo-like.
This was the most impressive part of the Star Trek holodeck - not the simulated matter and holographic walls, but the computer you could have a conversation with and create a custom “program”.<p>We seem to be heading quickly to that being a reality.
My own stuff in JavaScript relying on SantaCoder <a href="https://twitter.com/utopiah/status/1621760472461594624" rel="nofollow">https://twitter.com/utopiah/status/1621760472461594624</a><p>just eval() all things.
Bit of a metaquestion but what am I reading here exactly? Is this academic research? I cant see any reference to where the work was carried out, or in what context (Cornell? Or has the paper just been submitted to them?).