Beyond Language Processing: LLMs Rules-Injected Instruction Tuning for Traffic Prediction

Large Language Models (LLMs) demonstrate strong capabilities in contextual integration and multi-step reasoning, which endow them with the potential to model heterogeneous traffic data. However, the knowledge acquired during LLM pre-training is primarily qualitative and broad, and does not provide the fine-grained, context-specific quantitative dependencies required for accurate traffic prediction. This mismatch between pre-training knowledge and task requirements can reduce the effectiveness of instruction tuning, the standard approach for adapting general-purpose LLMs to downstream tasks. To address this issue, we propose Rules-Injected Instruction Tuning (RuleGPT), a paradigm that injects IF–THEN rules extracted from training data directly into the LLM's instruction sequence. For each sample, relevant rules are retrieved and encoded as learnable rule tokens that are concatenated with the input, providing explicit guidance to the model. By encoding low-order dependencies in this way, RuleGPT allows the LLM to focus on higher-order, context-dependent interactions. Experiments on real-world traffic datasets demonstrate that RuleGPT consistently improves prediction performance over standard instruction tuning and strong forecasting baselines. The code is available at https://github.com/tigerbunny2023/RuleGPT.

Link
https://www.semanticscholar.org/paper/25920c698ecab3ac7149df60a6be26a060183c76
Found by
Semantic Scholar
Authors
Weihao Jiang, Huizhao Wang, Zhihui Hu, Wen Hu, Yao Fu, Jiang Zhu, Jun Xiao
Categories
dataset
Published
2026-08-08
Last seen by the radar
2026-08-08
Citations
0
Influential citations
0
Radar score
40.29 / 100 (how it is scored)
Why it scored so
Matched: dataset, training data; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3770855.3817854
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar