Pedestrian trajectory prediction is a fundamental task in autonomous driving and mobile robotics, where accurate forecasting requires modeling of both social interactions and scene-related constraints. However, existing methods typically rely on a fixed interaction modeling strategy, which may be insufficient under heterogeneous crowd densities. To address this limitation, we propose DAGH-Net, a density-adaptive gated hybrid network for pedestrian trajectory prediction. Built upon an SR-LSTM (State Refinement for LSTM) backbone, the proposed framework integrates two complementary reasoning pathways: a data-driven social interaction branch and a hybrid knowledge graph branch that encodes structured relational priors among pedestrians, obstacles, and walkable regions. A local-density-conditioned gating mechanism is further introduced to adaptively fuse these features according to the surrounding crowd condition of each pedestrian. This design helps suppress redundant interaction cues in sparse settings while strengthening socially compliant and scene-consistent reasoning in dense or conflict-prone environments. Experimental results on the ETH (Eidgenössische Technische Hochschule Zürich) and UCY (University of Cyprus) benchmarks, evaluated using Mean Average Displacement (MAD) and Final Average Displacement (FAD), show that DAGH-Net improves the average MAD and FAD by 1.6% and 4.2%, respectively, compared with SR-LSTM. Ablation studies further support the complementary contributions of the hybrid knowledge graph and the density-adaptive gating mechanism. We also discuss the limitations of the current density formulation and benchmark scale, which suggest several directions for future improvement.
Xu et al. (Mon,) studied this question.