The Tree of Babel
The Tree of Babel
Machine Learning with narrative graphs
Youjin Chung
Interactive Narrative
choices + branches
Interactive Narrative Structure

= design pattern

= flow chart

= graph
Why ML?
…Checking 14M possibilities
1. ML implementation

to interactive narrative structure 

as graphs
2. Provide a web app

for graph generation 

for writers/game makers
Goal
1. Graph Embeddings



2. Classification



3. Generation
Flow
1. Graph embeddings
Graph embeddings
↔
[-0.13391995429992676,

-0.03493423014879227,
0.005581242498010397,

-0.05787748470902443,]
Transverse Reading Gallery
~740 graphs from gamebooks
Raw data to graph embeddings
Graph representation
{“nodes": [[1], [2], [18], … ], 

"edge_index": [[1, 2], [2, 18], [2, 12], … ]}
Data formatting
{-0.13786359131336212,

-0.028311695903539658,

0.017919035628437996, 

… ,

-0.05109648406505585}
Graph embeddings
2. Classification
Classification
Clustering Algorithms Self Classification
[Basic, 

Broad,

Long,

Merged,

Clustered,

Cycle]

using graph properties
Basic
basic directed graphs
tree shapes
clean + straightforward
Broad
Larger widths
Short playthrough
Strong replayability
Linear
The linearity of narrative structure
Easy control of plot
engaging storytelling through long playtime
Merged
The graphs merge into certain points.
important events in a story
modular structure
detailed choices in a single situation
organized by geography.
Fragmentary, episodic.
Clustered
Cyclic
loop back
unlock new status while looping
time loops / geographic travel
3. Generation
Autoencoder
Visualization
https://treebabel.herokuapp.com/
What’s next?
Labeling nodes with sentences: 



similarity(node vector, sentence vector)
Train Graph CNN with my own categories.
Takeaways
ML implementation for narrative graphs
Understanding of Graph Theory, Vector Embeddings, 

ML models and implementation
Refining and Formatting Custom Data
Special Thanks: 

Allison Parrish, Gene Kogan, Dan Shiffman, Jeremy Douglass and Dongphil Yoo

More Related Content

PPTX
3D Graphics & Rendering in Computer Graphics
PPTX
GRPHICS02 - Creating 3D Graphics
PPTX
GRPHICS01 - Introduction to 3D Graphics
PPT
Facs2930 presentation alex_k
PPTX
3Ds Max presentation
PPTX
3 d animation
PPT
Know More About 3D Modeling
PDF
3D Graphics & Rendering in Computer Graphics
GRPHICS02 - Creating 3D Graphics
GRPHICS01 - Introduction to 3D Graphics
Facs2930 presentation alex_k
3Ds Max presentation
3 d animation
Know More About 3D Modeling

What's hot (20)

PPT
3D Graphics
PDF
IDC 2010 Conference Presentation
PPTX
Introduction to animation
PPTX
What is 3D studio Max VRAY?-3d studio max VRAY
PPT
Minh le
PPTX
Graphical Programming
PPTX
Datt2500 week 02
PPTX
Datt 2500 week 12
PDF
Introduction Computer Graphic
DOCX
What is 3ds MAX Architecture?
PPTX
Art and design in ict
PDF
Bengkel Gamelan 3D game asset workflow
PPTX
3D Modelling and Animation
PPTX
Introduction to Computer graphics
TXT
Variables
PPTX
Datt2500 week3
PPTX
COMPUTER GRAPHICS
DOCX
Mesh construction
PPSX
Computer_Graphics_basic_definitions_summary
PPT
3D Modelig presentation (.ppt) 371 SE
3D Graphics
IDC 2010 Conference Presentation
Introduction to animation
What is 3D studio Max VRAY?-3d studio max VRAY
Minh le
Graphical Programming
Datt2500 week 02
Datt 2500 week 12
Introduction Computer Graphic
What is 3ds MAX Architecture?
Art and design in ict
Bengkel Gamelan 3D game asset workflow
3D Modelling and Animation
Introduction to Computer graphics
Variables
Datt2500 week3
COMPUTER GRAPHICS
Mesh construction
Computer_Graphics_basic_definitions_summary
3D Modelig presentation (.ppt) 371 SE
Ad

Similar to The Tree of Babel (10)

PPTX
PyData Los Angeles 2020 (Abhilash Majumder)
PDF
M. De Cubellis, F. De Fausti, Word Embeddings: modellare il significato delle...
PPTX
JOSA TechTalks - Machine Learning on Graph-Structured Data
PDF
DeepWalk: Online Learning of Representations
PPTX
DeepWalk: Online Learning of Social Representations.pptx
PPTX
Deepwalk vs Node2vec
PDF
AINL 2016: Nikolenko
PDF
A pragmatic introduction to natural language processing models (October 2019)
PDF
David Barber - Deep Nets, Bayes and the story of AI
PDF
Natural Language Processing (NLP)
PyData Los Angeles 2020 (Abhilash Majumder)
M. De Cubellis, F. De Fausti, Word Embeddings: modellare il significato delle...
JOSA TechTalks - Machine Learning on Graph-Structured Data
DeepWalk: Online Learning of Representations
DeepWalk: Online Learning of Social Representations.pptx
Deepwalk vs Node2vec
AINL 2016: Nikolenko
A pragmatic introduction to natural language processing models (October 2019)
David Barber - Deep Nets, Bayes and the story of AI
Natural Language Processing (NLP)
Ad

Recently uploaded (20)

PPTX
introduction to high performance computing
PPT
Total quality management ppt for engineering students
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PPTX
Feature types and data preprocessing steps
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
Amdahl’s law is explained in the above power point presentations
PPTX
Management Information system : MIS-e-Business Systems.pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
introduction to high performance computing
Total quality management ppt for engineering students
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Fundamentals of safety and accident prevention -final (1).pptx
distributed database system" (DDBS) is often used to refer to both the distri...
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Categorization of Factors Affecting Classification Algorithms Selection
Visual Aids for Exploratory Data Analysis.pdf
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
August -2025_Top10 Read_Articles_ijait.pdf
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Feature types and data preprocessing steps
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
Amdahl’s law is explained in the above power point presentations
Management Information system : MIS-e-Business Systems.pptx
III.4.1.2_The_Space_Environment.p pdffdf

The Tree of Babel