mlsanityData to 14 Oct 2026

JSON-Bag: A generic game trajectory representation

arXiv 2508.00712 ↗First posted 1 Aug 2025cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

We introduce JSON Bag-of-Tokens model (JSON-Bag) as a method to generically represent game trajectories by tokenizing their JSON descriptions and apply Jensen-Shannon distance (JSD) as distance metric for them. Using a prototype-based nearest-neighbor search (P-NNS), we evaluate the validity of JSON-Bag with JSD on six tabletop games: 7 Wonders, Dominion, Sea Salt and Paper, Can't Stop, Connect4, Dots and boxes; each over three game trajectory classification tasks: classifying the playing agents, game parameters, or game seeds that were used to generate the trajectories. Our approach outperforms a baseline using hand-crafted features in the majority of tasks. Evaluating on N-shot classification suggests using JSON-Bag prototype to represent game trajectory classes is also sample efficient. Additionally, we demonstrate JSON-Bag ability for automatic feature extraction by treating tokens as individual features to be used in Random Forest to solve the tasks above, which significantly improves accuracy on underperforming tasks. Finally, we show that, across all six games, the JSD between JSON-Bag prototypes of agent classes highly correlates with the distances between agents' policies.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 8 of its 29 references that are in the map. First posted on arXiv 1 Aug 2025.

Builds on

8 of 29 references.

References · 8

  1. 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 734
  2. 2015Illuminating search spaces by mapping elitescited by 425
  3. 2019Ludii -- The Ludemic General Game Systemcited by 39
  4. 2018Automated Game Design via Conceptual Expansioncited by 15
  5. 2021Transforming Exploratory Creativity with DeLeNoXcited by 13
  6. 2018The N-Tuple Bandit Evolutionary Algorithm for Game Agent Optimisationcited by 9
  7. 2019Novelty Search for Deep Reinforcement Learning Policy Network Weights by Action Sequence Edit Metric Distancecited by 9
  8. 2014A Comparison of Methods for Player Clustering via Behavioral Telemetrycited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.