BehaviorFormer: Discovering Behavioral Patterns via Clusterable Next-Token Prediction
Organizations: Fraunhofer IAIS, Sankt Augustin, Germany · University of Bonn, Bonn, Germany
Abstract
Discovering behavioral patterns in open-ended games is challenging due to the lack of clear objectives or ground-truth annotations. In this work, we extend a next-token prediction Transformer with the deep clustering algorithm DCSS to learn meaningful representations with well-separated clusters. In a controlled Minecraft session with 26 players, the method discovers 23 distinct behavioral patterns that generalize across the studied players, further refining structures present in self-supervised representations into clearly separable clusters. We group the clusters into seven interpretable categories covering stationary, roaming, travel, mining, base work, logging, and farming behavior.
Figures & tables
| Parameter | Silhouette | ARI | Loss | Utilization | |
|---|---|---|---|---|---|
| 10 | |||||
| 25 | |||||
| 50 | |||||
| 64 | |||||
| 128 | |||||
| 256 | |||||
| Group | Clusters | Description | N |
|---|---|---|---|
| Stationary | Stationary (A) | Idle or low-activity without movement | 6318 |
| Roaming | Relocating (B), Wandering (C), Crop tending (D), Mixed (E), Resource gathering (F), Aquatic foraging (G), Wood gathering (H), Provisioning (I) | Local movement with some opportunistic activity | 3392 |
| Travel | Short (P), Moderate (L), Long (M), Boat (T) | Directed long-range movement | 486 |
| Base work | Crafting (U), Building (O), Remodeling (K), Earthwork (S) | Construction and item production at bases | 424 |
| Mining | Tunneling (N), Caving (R), Excavating (J) | Underground resource extraction | 423 |
| Logging | Oak/Birch (V), Spruce (W) | Intensive wood logging | 105 |