Abstract
Industrial recommender systems observe abundant user behaviors, but the core behavior, the deepest interaction in the hierarchy and typically the strongest observable signal for the primary recommendation objective, is sparse. Core-behavior-only next-token prediction yields sequences too short for effective interest modeling, whereas incorporating exposure and engagement behaviors enriches temporal evidence but can dilute this objective. The central challenge is therefore to exploit dense behavioral trajectories while prioritizing the core behavior. We view such histories as temporal-hierarchical: user interest evolves over time, while behaviors at different engagement depths play unequal roles. We propose GAMER, a decoder-only framework for generative pretraining over temporal-hierarchical behavior sequences. GAMER consolidates each local user-item behavior chain into its deepest observed state, termed a consolidated chain state, and serializes these states chronologically to preserve temporal coverage and engagement depth. Its Temporal-Hierarchical Attention (T-Hier Attention) conditions causal sequence modeling on behavior depth. The resulting pretrained backbone supports Core-Behavior Item Retrieval, Behavior-Conditioned Item Generation, and User Response Prediction. We further construct ShortVideoAD, a short-video advertising benchmark with sessionized histories, an explicit behavior hierarchy, and semantic item identifiers. Experiments on ShortVideoAD and public datasets demonstrate the effectiveness and transferability of GAMER. On ShortVideoAD core-behavior item retrieval with semantic IDs, GAMER achieves relative gains of 22.13% in HR@10 and 33.73% in NDCG@10 over MBGen, the strongest baseline. The same pretrained checkpoint also benefits Behavior-Conditioned Item Generation and CVR prediction.