Do LLMs Understand Sequential Structure? A Controlled Study of Inference and Generation
Jerry Wang, Zhengxiang Wang, Ting Yu Liu, Hsin-Ling Hsu, Yi-Cheng Lai, Tengfei Ma
Abstract
Large language models (LLMs) are increasingly used as interactive agents and simulators, yet it remains unclear whether they can recover latent sequential structure beyond surface action frequencies. This distinction is critical for behavioral simulation, where actions are often shaped by prior context rather than marginal frequencies alone. We study this question using controlled two-player Rock--Paper--Scissors interactions and a one-player stochastic n-gram continuation task. Across these experiments, we test whether LLMs can identify latent strategies, follow simple Markov rules, and sustain higher-order conditional dependencies. Our framework separates distribution matching from conditional rule following. Results show that longer context does not improve identification, correct recognition does not ensure faithful simulation, and higher-order dependencies substantially degrade rule recovery. Apparent behavioral fidelity can therefore mask incorrect generative mechanisms.
Create a lesson
Related papers
GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Shared title terminologycs.AIQian Chen, Kun Zhu, Zhongyi Wang et al.
Understanding and Mitigating Inference-Time Overreliance Using Agentic Memory
Shared title terminologycs.AILuoxi Tang, Yuqiao Meng, Nilesh Auradkar et al.
The Functional Structure of Post-Compression Recovery in Low-Rank LLMs
Shared title terminologycs.AIZishan Shao, Liang Tian, Georgiy Zemlevskiy et al.
Image Synthesis as an Intermediate for Controllable Time Series Generation
Shared title terminologycs.AIHaochen Yuan, Jing Xie, Yunbo Wang
How corner is a corner case? Percentile control for highway scenario generation
Shared title terminologycs.AIJiaxi Liu, Hang Zhou, Hangyu Li et al.
Pressure, Context, and Machine Self-Control: A Criminological Test of Reward Hacking in Generative AI Models
Shared title terminologycs.AIMurat Ozer, Isaac Kofi Nti