Abstract
Indoor navigation poses persistent challenges due to the limitations of traditional positioning systems within buildings. In this study, we propose a novel approach to address this issue-not by continuously tracking the user's location, but by estimating their position based on how closely their observed behavior matches the expected progression along a predefined route. This concept, while not universally applicable, is well-suited for specific indoor navigation scenarios, such as guiding couriers or delivery personnel through complex residential buildings. We explore this idea in detail in our paper. To implement this behavior-based localization, we introduce an LSTM-based method for classifying user behavior patterns, including standing, walking, and using stairs or elevators, by analyzing velocity sequences derived from smartphone sensors' data. The developed model achieved 75% accuracy for individual activity type classification within one-second time windows, and 98.6% for full-sequence classification through majority voting. These results confirm the viability of real-time activity recognition as the foundation for a navigation system that aligns live user behavior with pre-recorded patterns, offering a cost-effective alternative to infrastructure-heavy indoor positioning systems.