CHARACTER BEHAVIOR EVENT PREDICTION MODEL BASED ON FUSION OF TRAJECTORY AND ENVIRONMENTAL FEATURES

Authors

  • MeiFen Chen School of Digital Media, Shenzhen Polytechnic University, Shenzhen 518055, Guangdong, China.
  • Qin Zhou (Corresponding Author) Institute of Technical and Vocational Education, Shenzhen Polytechnic University, Shenzhen 518055, Guangdong, China.
  • Jin Lu Guangdong Key Laboratory of Big Data Intelligence for Vocational Education, Shenzhen Polytechnic University, Shenzhen 518055, Guangdong, China.

Keywords:

Behavior prediction, Trajectory prediction, Environmental feature fusion, Spatio-temporal graph network, Cross-modal attention, Deep learning

Abstract

This paper addresses the challenge of predicting human behavior events by integrating trajectory and environmental features. Existing methods often neglect structured associations between trajectories and scenes or decouple trajectory regression from intention classification. To overcome these limitations, we propose an end-to-end framework comprising dual-stream encoding, cross-modal fusion, and multimodal decoding. The dual-stream encoder separately models historical trajectories using a two-layer Transformer and scene environments via a static scene branch (ResNet-50 extracting 64 spatial tokens from semantic segmentation) and an interaction graph branch (two-layer GCN modeling up to 30 neighboring agents). Cross-modal fusion uses trajectory global features as Query and scene tokens/interaction nodes as Key/Value, enabling soft alignment of environmental elements through cross-attention, with residual connections and layer normalization. The multimodal decoder, based on a conditional variational autoencoder, simultaneously predicts future 12-step trajectories and six behavior classes (straight, turn left/right, stop, interact with person/vehicle), jointly optimized by weighted negative log-likelihood and cross-entropy loss. Experiments on ETH/UCY, SDD, and nuScenes demonstrate state-of-the-art performance: on ETH/UCY, ADE=0.61m, FDE=1.10m, behavior accuracy=89.7%; on nuScenes, ADE=0.43m, accuracy=95.6%; on SDD, ADE=0.90m. Ablation studies confirm the importance of each component, with attention visualization showing dynamic focus shifts. The full model has 28M parameters, runs at 115 FPS (8.7ms per sample), while a lightweight version achieves 189 FPS with ADE=0.64m. This work highlights the value of structured environment fusion and joint trajectory-intention decoding for accurate, rational, and generalizable human behavior prediction.

References

[1] Dee W, Sequeira I, Lobley A, et al. Cell-vision fusion: A Swin transformer-based approach for predicting kinase inhibitor mechanism of action from Cell Painting data. iScience, 2024, 27(8): 110511. DOI: 10.1016/J.ISCI.2024.110511.

[2] Irfan M, Nureen N, Magazzino C. Modeling determinants of autonomous electric vehicles’ acceptance through artificial intelligence and personality dimensions. Travel Behaviour and Society, 2026, 45: 101349. DOI: 10.1016/J.TBS.2026.101349.

[3] Ma L, Liu D, Dai X. TF-MI: A pedestrian trajectory prediction network based on human pose temporal-frequency feature and multi-scale interaction. Digital Signal Processing, 2026, 168(PE): 105680. DOI: 10.1016/J.DSP.2025.105680.

[4] Guo Y, Bai Y, Cai B, et al. STIFormer: Scene-trajectory interaction modeling for pedestrian trajectory prediction. Neurocomputing, 2027, 710: 135359. DOI: 10.1016/J.NEUCOM.2026.135359.

[5] Dong Y, Zhou S, Hua G, et al. Towards minute-level pedestrian trajectory prediction in crowded traffic scenarios. Pattern Recognition, 2027, 183(PC): 115198. DOI: 10.1016/J.PATCOG.2026.115198.

[6] Yu H, Jiang N, Lee M W E, et al. Simulation of pedestrian flow within merging corridors and its adjustment strategy using a behavioral adaptation-based social force model. Reliability Engineering and System Safety, 2027, 277(P5): 113284. DOI: 10.1016/J.RESS.2026.113284.

[7] Sundar G, Patchaiammal P, Lakkshmanan A, et al. Comprehensive Earth System Analysis for Advancing Community Resilience: Integrating Remote Sensing with Hybrid GAN-RNN Techniques. Remote Sensing in Earth Systems Sciences, 2024, 7(4): 1-16. DOI: 10.1007/S41976-024-00164-6.

[8] Scheffczyk J, Schwarze A, Govaers F. Aircraft trajectory prediction and time estimation adapting social LSTM. CEAS Aeronautical Journal, 2026(prepublish): 1-18. DOI: 10.1007/S13272-026-01026-1.

[9] Zhang P, Ouyang W, Zhang P, et al. SR-LSTM: State Refinement for LSTM Towards Pedestrian Trajectory Prediction. In: 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 2019: 12077-12086. DOI: 10.1109/CVPR.2019.01236.

[10] Gupta A, Johnson J, Fei-Fei L, et al. Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks. In: 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 2018: 2255-2264. DOI: 10.1109/CVPR.2018.00240.

[11] Gao T, Liu Y. PECNet: A Lightweight Single-Image Super-Resolution Network with Periodic Boundary Padding Shift and Multi-Scale Adaptive Feature Aggregation. Symmetry, 2025, 17(11): 1833. DOI: 10.3390/sym17111833.

[12] Yao Y, Atkins E, Johnson-Roberson M, et al. BiTraP: Bi-Directional Pedestrian Trajectory Prediction With Multi-Modal Goal Estimation. IEEE Robotics and Automation Letters, 2021, 6(2): 1463-1470. DOI: 10.1109/LRA.2021.3056339.

[13] Berlincioni L, Cultrera L, Bertini M, et al. Navigating social contexts: A transformer approach to relationship recognition. Computer Vision and Image Understanding, 2025, 254: 104327. DOI: 10.1016/J.CVIU.2025.104327.

[14] Kong X, Xing W, Wei X, et al. STGAT: Spatial-Temporal Graph Attention Networks for Traffic Flow Forecasting. IEEE Access, 2020, 8: 134363-134372. DOI: 10.1109/ACCESS.2020.3011186.

[15] Mohamed A, Qian K, Elhoseiny M, et al. Social-STGCNN: A Social Spatio-Temporal Graph Convolutional Neural Network for Human Trajectory Prediction. In: 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 2020: 14412-14420. DOI: 10.1109/CVPR42600.2020.01443.

[16] Christos K, Stefanos T, Evi M, et al. Shared autonomous vehicles and agent based models: a review of methods and impacts. European Transport Research Review, 2024, 16(1). DOI: 10.1186/S12544-024-00644-2.

[17] Pablo G, Matthew B, Sean Q. Estimating network flow and travel behavior using day-to-day system-level data: A computational graph approach. Transportation Research Part C, 2024, 158: 104409. DOI: 10.1016/J.TRC.2023.104409.

[18] Hang Q, Xiaohua Z, Yiping W, et al. Graph method for driving behavior optimization based on “SAF-ECO” description of behavior characteristics. Journal of Transportation Safety & Security, 2023, 15(8): 852-875. DOI: 10.1080/19439962.2022.2129893.

[19] Manh H, Alaghband G. Scene-LSTM: A Model for Human Trajectory Prediction, 2018. DOI: 10.48550/arXiv.1808.04018.

[20] Xue H, Huynh D Q, Reynolds M. SS-LSTM: A Hierarchical LSTM Model for Pedestrian Trajectory Prediction. IEEE, 2018. DOI: 10.1109/WACV.2018.00135.

[21] SOPHIE. Electro Optical Systems Forecast, 2011.

[22] Taimeh D, Atef A, Shawish A H, et al. Evaluating online health information on PIFP: A cross-platform analysis of content quality and readability. Scientific Reports, 2025, 15(1): 40578. DOI: 10.1038/S41598-025-24426-5.

[23] Revanth B, Dwivedi S K, Kumar M. AY-Net: Attention Y-Net–Based Dehazing in Laproscopic Surgery. Journal of Transformative Technologies and Sustainable Development, 2025, 9(1). DOI: 10.1007/s41314-025-00074-5.

[24] Majd M, Safabakhsh R. A motion-aware ConvLSTM network for action recognition. Applied Intelligence, 2019, 49(7): 1-7. DOI: 10.1007/s10489-018-1395-8.

[25] Deel D. VectorNet (token-ring network), 2003. DOI: 10.1109/cmpcon.1989.301947.

[26] Valverde M, Moutinho A, Zacchi J V. A Survey of Deep Learning-Based 3D Object Detection Methods for Autonomous Driving Across Different Sensor Modalities. Sensors, 2025, 25(17): 5264. DOI: 10.3390/s25175264.

[27] Karami Z, Aghabayk K, Mohammadi A, et al. Examining psychological factors associated with pedestrians’ technology use while walking and risky street-crossing behavior: Incorporating heterogeneity effect. Transportation Research Part F: Psychology and Behaviour, 2025, 109: 770-791. DOI: 10.1016/J.TRF.2025.01.003.

[28] Zhan J, Ruiqing K, Hailu S. Multi-Scale Fusion Localization Based on Magnetic Trajectory Sequence. Sensors, 2023, 23(1): 449. DOI: 10.3390/S23010449.

[29] Wang S, Zhang Y, Lan C, et al. Preparation of mesoporous carbon/clay composite adsorbent based on the mixed-dimension attapulgite: Dye adsorption, mechanism and molecular dynamics calculations. Journal of Environmental Chemical Engineering, 2025, 13(5): 117528. DOI: 10.1016/J.JECE.2025.117528.

[30] Baum T, Herbold S, Schneider K. GIMO: A multi-objective anytime rule mining system to ease iterative feedback from domain experts. Expert Systems with Applications: X, 2020, 8. DOI: 10.1016/j.eswax.2020.100040.

[31] Zhou Y, Guo L, Zhang W, et al. Deep learning for characteristic elevation angle estimation using a single hydrophone in the deep–ocean shadow zone. Ocean Engineering, 2026, 370(P1): 129087. DOI: 10.1016/J.OCEANENG.2026.129087.

[32] Khatiriolyaee M, Yang L, Pazzi W R. A comprehensive review of traffic prediction: From traditional machine learning to AutoML. Neurocomputing, 2026, 666: 132148. DOI: 10.1016/J.NEUCOM.2025.132148.

[33] Cheng J, Correia A D H G, Cats O, et al. T-STAR: A context-aware transformer framework for short-term probabilistic demand forecasting in dock-based shared micro-mobility. Transportation Research Part C, 2026, 192: 105899. DOI: 10.1016/J.TRC.2026.105899.

[34] Yuan Y, Weng X, Ou Y, et al. AgentFormer: Agent-Aware Transformers for Socio-Temporal Multi-Agent Forecasting. In: CVF International Conference on Computer Vision (ICCV), 2021: 9813-9823.

[35] Anonymous. OTC Tip Reporter: Reports Active Stocks To Watch For March 29, 2010 Are March 26, 2010 China Lodging Group, Limited (Nasdaq: HTHT), March 26, 2010 THQ Inc. (NASDAQ:THQI), March 26, 2010 - PLATO Learning, Inc. (NASDAQ: TUTR), March 25, 2010 - Bakers Footwear Group, Inc. (Nasdaq: BKRS): Sign Up Today! M2 Presswire, 2010.

[36] Yu F, Cao H, Hou R, et al. Segmentation-guided transformer network for subtle visual relationship detection. Multimedia Systems, 2026, 32(6): 412. DOI: 10.1007/S00530-026-02486-5.

[37] Hyeyoung S, Robert L, Shawn T, et al. The rate of transient beta frequency events predicts behavior across tasks and species. eLife, 2017, 6. DOI: 10.7554/eLife.29086.

[38] Rasouli A, Kotseruba I. PedFormer: Pedestrian Behavior Prediction via Cross-Modal Attention Modulation and Gated Multitask Learning, 2023. DOI: 10.1109/icra48891.2023.10161318.

[39] Astuti L, Lin Y C, Chiu C H, et al. Predicting Vulnerable Road User Behavior With Transformer-Based Gumbel Distribution Networks. Automation Science and Engineering, IEEE Transactions on, 2025, 22(000): 8043-8056. DOI: 10.1109/TASE.2024.3476382.

[40] Maram A M, Bletsos G, Nguyen T T, et al. Adjoint-based shape optimization of a ship hull using a Conditional Variational Autoencoder (CVAE) assisted propulsion surrogate model. Computers and Fluids, 2026, 321: 107284. DOI: 10.1016/J.COMPFLUID.2026.107284.

[41] Sundar G, Patchaiammal P, Lakkshmanan A, et al. Comprehensive Earth System Analysis for Advancing Community Resilience: Integrating Remote Sensing with Hybrid GAN-RNN Techniques. Remote Sensing in Earth Systems Sciences, 2024, 7(4): 1-16. DOI: 10.1007/S41976-024-00164-6.

[42] Ding R, Liu Z. A Novel Approach for Predicting the Mid–Long-Term Radiation Dose in the Case of a Hypothetical STSBO Nuclear Accident for an Operating Nuclear Power Plant. Atmosphere, 2024, 15(11): 1291. DOI: 10.3390/ATMOS15111291.

[43] Kong Y, Xiong C, Zhang X, et al. Optimized ship path planning integrating historical trajectory features with environmental constraints in port waterway. Ocean Engineering, 2025, 340(P3): 122399. DOI: 10.1016/J.OCEANENG.2025.122399.

[44] Wang Y, Sha P, Wang J, et al. Transformer tracking with multi-scale extended attention. Signal Processing: Image Communication, 2026, 143: 117503. DOI: 10.1016/J.IMAGE.2026.117503.

[45] Kumar M P, Akhilesh S, Vatsalya B, et al. Encoder and decoder network with ResNet-50 and global average feature pooling for local change detection. Computer Vision and Image Understanding, 2022, 222. DOI: 10.1016/J.CVIU.2022.103501.

[46] Chandrasekaran R, Paramasivan K S. Two-stage transformer encoder and attention-guided GRU-based residual correction for short-term load forecasting. Frontiers in Artificial Intelligence, 2026, 9: 1935983. DOI: 10.3389/FRAI.2026.1935983.

[47] Rózsás Z, Lakatos I. Priority Flicker in Risk-Based Pedestrian Prioritization: A Baseline Temporal Stability Assessment on the ETH/UCY Benchmark. Future Transportation, 2026, 6(5): 189. DOI: 10.3390/FUTURETRANSP6050189.

[48] Wang Q, Peng Z, Lu B, et al. SDD: Synergistic Dual-Memory Debiasing for Semi-Supervised Continual Learning. Applied Sciences, 2026, 16(20): 10397. DOI: 10.3390/APP162010397.

[49] Sungho K, Mukesh G, Shadia C, et al. Autonomous Vehicles using Nuscenes Dataset: Sensor Fusion, Object Recognition, And Adaptive HMI Optimization. International Journal of Grid Computing & Applications, 2026, 17(2): 35-39. DOI: 10.5121/IJGCA.2026.17204.

[50] Salzmann T, Ivanovic B, Chakravarty P, et al. Trajectron++: Dynamically-Feasible Trajectory Forecasting With Heterogeneous Data, 2020. DOI: 10.1007/978-3-030-58523-5_40.

[51] Leita C, Dacier M. SGNET: Implementation insights. In: Network Operations & Management Symposium. IEEE, 2008. DOI: 10.1109/NOMS.2008.4575282.

Downloads

Published

2026-11-25

How to Cite

MeiFen Chen, Qin Zhou, Jin Lu. Character Behavior Event Prediction Model Based On Fusion Of Trajectory And Environmental Features. Journal of Computer Science and Electrical Engineering. 2026, 8(8): 7-24. DOI: https://doi.org/10.61784/jcsee3168.