SSPE: Robust Sequential Staypoint Extraction in Degraded Trajectory Data
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
SSPE: Robust Sequential Staypoint Extraction in Degraded Trajectory Data Yueyang Liu
Lance Kennedy
Andreas Züfle
Emory University, USA yueyang.liu@emory.edu
Emory University, USA lance.kennedy@emory.edu
Emory University, USA azufle@emory.edu
arXiv:2611.03737v1 [cs.LG] 1 Nov 2026
Abstract Extracting semantically meaningful staypoints from raw trajectory streams is a foundational prerequisite for mobility analytics. However, real-world trajectory data is frequently degraded by severe spatial noise and protracted temporal dropouts. Classic threshold-based extraction methods, such as the widely adopted sliding-window algorithm, are highly sensitive to these anomalies, routinely fracturing continuous stationary episodes into disjointed fragments. To overcome this limitation, we propose the Sequential Staypoint Extraction (SSPE) algorithm. SSPE employs a resilient, state-driven architecture that replaces static spatial anchors with a dynamic centroid and introduces an 𝑛-step lookahead heuristic to structurally tolerate transient coordinate drift. Concurrently, it utilizes temporal bridging mechanisms to prevent artificial fragmentation during prolonged signal loss. Since optimal extraction parameters vary significantly across datasets, we further introduce a fully unsupervised, consensus-based parameter estimation framework. This framework derives baseline statistical scales directly from the raw trajectory data and identifies the optimal parameter configuration by maximizing structural agreement, thereby eliminating the reliance on annotated ground truth. We evaluate SSPE on the ExtraSensory dataset, a real-world mobility corpus with manually verified ground-truth staypoints, against the sliding-window implementation of Trackintel, one of the most widely adopted extraction baselines in the field. Empirical results demonstrate that SSPE achieves superior accuracy, yielding higher 𝐹 1 -scores while simultaneously improving computational efficiency over this standard.
Keywords Staypoint Detection, Trajectory Data, GPS Noise, Unsupervised Parameter Estimation, Trackintel
1
Introduction
Real-world trajectory data is frequently degraded by severe spatial noise and protracted temporal occlusions. Foundational extraction algorithms, such as the classic sliding-window method [2], rely on rigid, local spatiotemporal thresholds. This reliance makes them exceptionally brittle when applied to sparse or noisy trajectory streams. Spatial outliers like GPS drift force the detection window to close early, and signal dropouts fracture continuous stays, compromising downstream mobility analytics. To address these limitations, we propose the Sequential Staypoint Extraction (SSPE) algorithm. Rather than relying on the rigid sliding windows of traditional methods or the post-extraction filtering utilized in our prior work [1], SSPE manages observation uncertainty through a lookahead search and dynamic centroid updating. Specifically, it replaces the static spatial anchor of traditional methods
with a dynamic centroid using an 𝑛-step lookahead to bridge time gaps without fragmenting the stay. This methodology enables the algorithm to structurally tolerate both extreme coordinate drift and extended signal dropouts without fragmenting continuous stays. Furthermore, recognizing that the optimal configuration of extraction parameters varies drastically across heterogeneous datasets, we introduce a fully unsupervised parameter estimation framework. By extracting baseline noise and temporal scales directly from the raw trajectory data, this framework constructs an empirical search grid and identifies the optimal parameter set by maximizing structural agreement, approximating the performance of supervised tuning entirely without labeled data. To evaluate the proposed algorithm, we benchmark SSPE against the default sliding-window method implemented in the Trackintel framework [4]. As an enhanced adaptation of the foundational trajectory extraction algorithm by Li et al. [2], this baseline provides a standard comparative metric for modern mobility literature. We conduct our empirical analysis exclusively on the ExtraSensory dataset, which is, to the best of our knowledge, the only dataset that contains both high frequency location signals and ground truth staypoint annotations from user-reported activity labels. To guarantee strict evaluation integrity for this real-world dataset, we manually verified all ground-truth staypoints. Experimental results confirm that SSPE yields substantially higher 𝐹 1 -scores than the Trackintel baseline. Furthermore, these accuracy improvements are realized alongside a lower runtime than the baseline, demonstrating the algorithm’s applicability for large-scale real-world deployment.
2
Methodology
This section details our approach to extracting staypoints from noisy, irregularly sampled trajectory data. Our methodology consists of two primary components: the core Sequential Staypoint Extraction Algorithm and an unsupervised framework for its parameter calibration.
2.1
Sequential Staypoint Extraction Algorithm
Existing staypoint detection methods like the sliding-window method implemented in commonly-used libraries like Trackintel [4] measures each new point against a fixed spatial anchor. Although effective on dense, high-fidelity trajectory datasets, this method degrades considerably under noisy and sparse data. For example, a single spatial outlier like sensor jitter exceeding the spatial boundary can prematurely terminate the detection window, artificially fragmenting continuous stays into sub-segments that are subsequently discarded. Furthermore, under sparse sampling, temporal gaps obscure the distinction between continuous dwelling and unobserved transit, causing fragmented or spurious stays [1].
Liu, et al.
2.1.1 Problem definition. Let T = {𝑝 1, 𝑝 2, . . . , 𝑝 𝑁 } denote a chronologically ordered trajectory of a single agent, where each observation 𝑝 = (𝑢𝑖𝑑, 𝑙𝑎𝑡, 𝑙𝑜𝑛, 𝑡) consists of the agent identifier, the geographic coordinates, and the timestamp. A staypoint is a subsequence of T, contiguous except for skipped transient outliers, in which: (i) each retained observation lies within distance 𝛿𝑑𝑖𝑠𝑡 of the running centroid of the stay when it is added, (ii) consecutive retained observations are separated by at most 𝜏𝑚𝑎𝑥 , and (iii) the time span from the first to the last retained observation is at least 𝜏𝑚𝑖𝑛 . Formally, each staypoint is represented as 𝑠 = (𝑢𝑖𝑑, 𝜇, 𝑡 first, 𝑡 last ), where 𝜇 is the representative location and [𝑡 first, 𝑡 last ] is the dwell interval. 2.1.2 Algorithm Details. The SSPE algorithm relies on four core parameters: a spatial distance threshold 𝛿𝑑𝑖𝑠𝑡 , a minimum dwell duration 𝜏𝑚𝑖𝑛 , a maximum temporal dropout tolerance 𝜏𝑚𝑎𝑥 , and a lookahead window 𝑛. While manual tuning is possible using domain expertise, identifying optimal parameters is generally difficult due to a lack of ground truth for calibration. Therefore, we present a fully unsupervised parameter estimation framework in Section 2.2 to systematically calibrate these configurations directly from raw data. Algorithm 1 details the complete extraction procedure. SSPE scans the trajectory T chronologically using an anchor pointer 𝑖 and an evaluation pointer 𝑗. Beginning at an anchor observation 𝑝𝑖 , the algorithm greedily expands a candidate sequence C by evaluating each subsequent observation 𝑝 𝑗 (𝑗 > 𝑖) against strict criteria for temporal continuity and spatial cohesion. For each incoming observation 𝑝 𝑗 , the algorithm computes three state variables: (1) The dynamic centroid 𝜇 C , defined as the mean coordinate of all valid points currently comprising C. (2) The temporal gap Δ𝑡 = 𝑡 𝑗 − 𝑡 𝑗 −1 between consecutive observations. (3) The spatial displacement 𝑑 = Haversine(𝜇 C , 𝑝 𝑗 ) separating the new observation from the centroid. The algorithm first evaluates temporal continuity. If the temporal gap Δ𝑡 exceeds the dropout tolerance 𝜏𝑚𝑎𝑥 , the agent’s behavior during the unobserved interval cannot be reliably inferred. The sequence expansion terminates immediately. Unlike the classic sliding-window method [2] used by Trackintel, SSPE does not close the window at the first distance violation; it first checks subsequent observations, and it measures distance from a dynamically updated centroid. Provided the temporal link remains intact, the algorithm evaluates spatial cohesion. If 𝑑 ≤ 𝛿𝑑𝑖𝑠𝑡 , the observation 𝑝 𝑗 resides within the spatial neighborhood of the ongoing stay. It is appended to C, the evaluation pointer advances (𝑗 ← 𝑗 + 1), and the centroid 𝜇 C is updated in the subsequent iteration. Conversely, if 𝑑 > 𝛿𝑑𝑖𝑠𝑡 , the algorithm does not immediately confirm a physical departure. Instead, it activates the lookahead heuristic, scanning up to 𝑛 subsequent observations 𝑝𝑘 , where 𝑘 ∈ [ 𝑗 +1, min( 𝑗 +𝑛, 𝑁 )]. For each 𝑝𝑘 , it calculates the future spatial displacement 𝑑 𝑓 𝑢𝑡𝑢𝑟𝑒 = Haversine(𝜇 C , 𝑝𝑘 ) and the accumulated temporal gap Δ𝑡 𝑓 𝑢𝑡𝑢𝑟𝑒 = 𝑡𝑘 − 𝑡 𝑗 −1 . If any 𝑝𝑘 satisfies both 𝑑 𝑓 𝑢𝑡𝑢𝑟𝑒 ≤ 𝛿𝑑𝑖𝑠𝑡 and Δ𝑡 𝑓 𝑢𝑡𝑢𝑟𝑒 ≤ 𝜏𝑚𝑎𝑥 , the trajectory has rapidly returned to the stay region. The initial violation 𝑝 𝑗 is classified as a transient
Algorithm 1 Sequential Staypoint Extraction (SSPE) Input: Trajectory T = {𝑝 1 , 𝑝 2 , . . . , 𝑝 𝑁 }, where 𝑝 = (𝑢𝑖𝑑, 𝑙𝑎𝑡, 𝑙𝑜𝑛, 𝑡 ) Parameters: 𝛿𝑑𝑖𝑠𝑡 (Spatial threshold), 𝜏𝑚𝑖𝑛 (Min duration), 𝜏𝑚𝑎𝑥 (Max dropout), 𝑛 (Lookahead step) Output: Set of Staypoints S 1: Initialize S ← ∅, and pointer 𝑖 ← 1 2: while 𝑖 < 𝑁 do 3: Initialize candidate sequence C ← {𝑝𝑖 } 4: Set evaluation index 𝑗 ← 𝑖 + 1 5: while 𝑗 ≤ 𝑁 do 6: Compute dynamic centroid 𝜇 C as the mean coordinate of points
in C
7: Calculate temporal gap Δ𝑡 ← 𝑡 𝑗 − 𝑡 𝑗 −1 8: Calculate spatial displacement 𝑑 ← Haversine(𝜇 C , 𝑝 𝑗 ) 9: if Δ𝑡 > 𝜏𝑚𝑎𝑥 then 10: break ⊲ Signal dropout exceeds tolerance 11: end if 12: if 𝑑 ≤ 𝛿𝑑𝑖𝑠𝑡 then 13: Append 𝑝 𝑗 to C 14: 𝑗 ← 𝑗 +1 15: else ⊲ Distance threshold breached 16: Initialize 𝑖𝑠_𝑛𝑜𝑖𝑠𝑒 ← False 17: for 𝑘 from 𝑗 + 1 to min( 𝑗 + 𝑛, 𝑁 ) do ⊲ Lookahead 18: Calculate 𝑑 𝑓 𝑢𝑡𝑢𝑟𝑒 ← Haversine(𝜇 C , 𝑝𝑘 ) 19: Calculate Δ𝑡 𝑓 𝑢𝑡𝑢𝑟𝑒 ← 𝑡𝑘 − 𝑡 𝑗 −1 20: if 𝑑 𝑓 𝑢𝑡𝑢𝑟𝑒 ≤ 𝛿𝑑𝑖𝑠𝑡 and Δ𝑡 𝑓 𝑢𝑡𝑢𝑟𝑒 ≤ 𝜏𝑚𝑎𝑥 then 21: 𝑖𝑠_𝑛𝑜𝑖𝑠𝑒 ← True 22: break 23: end if 24: end for 25: if 𝑖𝑠_𝑛𝑜𝑖𝑠𝑒 then 26: 𝑗 ← 𝑗 + 1 ⊲ Classify 𝑝 𝑗 as an anomaly and continue 27: else 28: break ⊲ Spatial departure detected 29: end if 30: end if 31: end while 32: Evaluate Duration 𝐷 ← 𝑡 last − 𝑡 first for 𝑝 ∈ C 33: if 𝐷 ≥ 𝜏𝑚𝑖𝑛 then 34: Construct agent level staypoint 𝑠 = (𝑢𝑖𝑑, 𝜇 C , 𝑡 first , 𝑡 last ) 35: S ← S ∪ {𝑠 } 36: Update 𝑖 ← index(𝑝 last ) + 1 37: else 38: 𝑖 ←𝑖 +1 39: end if 40: end while 41: return S
positioning anomaly and bypassed without being added to C, the expansion continues by incrementing 𝑗 ← 𝑗 + 1. If no such return occurs within the 𝑛-step window, the spatial deviation is confirmed as valid movement, and expansion terminates. Upon termination of the candidate sequence, the total observed dwell duration 𝐷 = 𝑡 last − 𝑡 first is evaluated over the points in C. Finally, the algorithm verifies the duration of the candidate sequence. If the duration meets the threshold 𝜏𝑚𝑖𝑛 , the algorithm formalizes the staypoint 𝑠 = (𝑢𝑖𝑑, 𝜇 C , 𝑡 first, 𝑡 last ), appends it to the output set S, and updates the anchor pointer to bypass the completed sequence by setting 𝑖 ← index(𝑝 last ) + 1. If the duration is less than 𝜏𝑚𝑖𝑛 , the sequence is discarded as a transient pass-through, and the anchor increments by a single position with 𝑖 ← 𝑖 + 1.
2.2
Parameter Space Initialization
As established, the efficacy of the SSPE algorithm depends on the appropriate configuration of its four parameters. However, real-world
SSPE: Robust Sequential Staypoint Extraction in Degraded Trajectory Data
trajectory datasets typically lack the ground-truth annotations requisite for supervised parameter tuning. Relying on arbitrary default values or ad-hoc manual calibration across unknown or complex datasets frequently yields suboptimal extraction performance. To address this challenge and enable robust deployment under completely unlabeled conditions, we propose Agreement-Based Parameter Estimation (ABPE). 2.2.1 Agreement-Based Parameter Estimation. The parameter estimation framework conducts a joint search over a geometric grid bounded by the SSPE parameters. The boundaries of this grid are intrinsically derived from two primary data statistics: the characteristic sampling interval 𝑔 and the empirical GPS jitter scale 𝜎. To ensure scalability without compromising representativeness, both the statistical derivation and the subsequent consensus search can be executed on a spatiotemporal subsample of the data. To construct this grid, we first define the spatial step distance 𝑠 and the temporal gap Δ𝑡 between consecutive observations for a given user 𝑢: 𝑠 (𝑢, 𝑖) = |𝑝 (𝑢, 𝑖) − 𝑝 (𝑢, 𝑖 − 1)|
(1)
Δ𝑡 (𝑢, 𝑖) = 𝑡 (𝑢, 𝑖) − 𝑡 (𝑢, 𝑖 − 1)
(2)
The baseline sampling interval 𝑔 is defined as the median of all strictly positive temporal gaps pooled across all users. To isolate pure spatial noise from actual travel, we filter the dataset to include only "normal" steps, which we define as those satisfying Δ𝑡 ≤ 5𝑔. Because step distances span multiple orders of magnitude, we apply a logarithmic transformation 𝑧 = log10 (𝑠 + 1), under which step distances form two modes: stationary noise and active movement. We partition these modes by applying Otsu’s thresholding method [5] across a 200-bin histogram of 𝑧. For any candidate threshold cut 𝑐, the data is divided into a stationary class 𝐶 0 (𝑧 ≤ 𝑐) and a moving class 𝐶 1 (𝑧 > 𝑐). Let 𝑤 0 (𝑐) and 𝑤 1 (𝑐) denote the proportions of these classes, and let 𝜇 0 (𝑐) and 𝜇 1 (𝑐) denote their respective mean logarithmic distances. Otsu’s method exhaustively searches for the optimal cut 𝑐 ∗ that maximizes the between-class variance: 2 𝜎𝐵2 (𝑐) = 𝑤 0 (𝑐)𝑤 1 (𝑐) 𝜇 0 (𝑐) − 𝜇1 (𝑐) (3) 𝑐 ∗ = arg max 𝜎𝐵2 (𝑐)
(4)
𝑐
By identifying the cut 𝑐 that maximizes the between-class variance, we obtain a physical distance threshold: ∗
𝜀 = 10𝑐 − 1
(5)
Spatial steps satisfying 𝑠 ≤ 𝜀 are classified as stationary GPS noise. The global jitter scale 𝜎 is defined as the 90th percentile of these stationary steps. Thus, 90% of consecutive stationary step distances are at most 𝜎. To establish the dropout tolerance, we apply the same Otsu thresholding procedure to the log-transformed temporal intervals, yielding a temporal cut 𝜏𝑂𝑡𝑠𝑢 . To prevent underestimating nominal sampling variance, the baseline dropout tolerance is lower-bounded by 5𝑔: 𝜏𝑏𝑎𝑠𝑒 = max(𝜏𝑂𝑡𝑠𝑢 , 5𝑔) (6) Next, we empirically estimate the baseline lookahead window 𝑛 by modeling the persistence of spatial anomalies. A spatial jump occurs at index 𝑖 if the step distance exceeds the noise threshold
(𝑠 (𝑢, 𝑖) > 𝜀). For each jump, we evaluate up to a number of subsequent observations to determine if the trajectory reverts to the pre-jump location 𝑝 (𝑢, 𝑖 − 1). Specifically, we find the minimal recovery length 𝐿 ∈ {1, . . . , 5} that satisfies both spatial and temporal constraints: |𝑝 (𝑢, 𝑖 + 𝐿) − 𝑝 (𝑢, 𝑖 − 1)| ≤ 𝜀 (7) 𝑡 (𝑢, 𝑖 + 𝐿) − 𝑡 (𝑢, 𝑖 − 1) ≤ 𝜏𝑏𝑎𝑠𝑒 (8) If no such 𝐿 exists, the divergence is classified as a true physical departure. Otherwise, the event is recorded as a transient glitch of length 𝐿. The empirical lookahead parameter 𝑛 is defined as the ceiling of the 90th percentile of all recorded glitch lengths: 𝑛 = ⌈𝑃90 (𝐿)⌉
(9)
With the metrics established, we construct the multi-dimensional search grid: The spatial threshold candidate set ∆𝑑𝑖𝑠𝑡 is derived by scaling the jitter baseline 𝜎. Depending on the computational budget, this is formulated either as a fine geometric progression: ∆𝑑𝑖𝑠𝑡 = 𝜎 · 1.25𝑘 | 𝑘 ∈ {0, . . . , 7}
(10)
or as a coarse progression utilizing predefined multipliers {1, 1.5, 2, 3, 4, 5}. Similarly, the maximum dropout search space 𝜏𝑚𝑎𝑥 scales geometrically from the expected sampling variance: 𝜏𝑚𝑎𝑥 = 5𝑔 · 2𝑘 | 𝑘 ∈ {0, . . . , 8}
(11)
In contrast, the minimum dwell duration 𝜏𝑚𝑖𝑛 is not estimated from the data distributions. Instead, it is defined strictly by the conceptual requirements of a staypoint (e.g., a 5-minute minimum dwell time) to filter out transient pass-throughs. Given this defined parameter space, the following section details our consensus-based evaluation mechanism, which isolates the optimal configuration by maximizing spatiotemporal agreement across the extraction outputs. 2.2.2 Consensus-Based Parameter Selection. In the absence of ground truth, direct empirical validation of parameter configurations is infeasible. To address this, we formulate parameter selection as a consensus-maximization problem. We evaluate each candidate configuration by calculating the pairwise structural agreement of its extracted staypoints against all other configurations in the search space, selecting the parameter set that yields the highest global mean consensus. Table 1: F1, precision, and recall on the ExtraSensory dataset. Method
F1
Precision
Recall
SSPE Trackintel Baseline
0.7878 0.5098
0.7226 0.4342
0.8659 0.6173
SSPE (ABPE) Trackintel (Hyperband)
0.8107 0.6305
0.8854 0.5747
0.7476 0.6983
For a given parameter configuration 𝜃 , the SSPE algorithm generates a set of detected staypoints 𝐷 (𝜃 ). Each stay 𝑎 ∈ 𝐷 (𝜃 ) is defined by a user identifier 𝑢 (𝑎), a spatial centroid (𝜙 (𝑎), 𝜆(𝑎)), and temporal boundaries 𝑡𝑠 (𝑎) and 𝑡𝑒 (𝑎). Two staypoints 𝑥 and 𝑦 are defined as a structural match, denoted 𝑚(𝑥, 𝑦), if and only if they satisfy fixed spatiotemporal tolerances: 𝑢 (𝑥) = 𝑢 (𝑦),
|𝜙 (𝑥) − 𝜙 (𝑦)| ≤ 𝑟,
|𝜆(𝑥) − 𝜆(𝑦)| ≤ 𝑟
(12)
Liu, et al.
|𝑡𝑠 (𝑥) − 𝑡𝑠 (𝑦)| ≤ 𝑡, |𝑡𝑒 (𝑥) − 𝑡𝑒 (𝑦)| ≤ 𝑡 (13) where 𝑟 is a fixed spatial tolerance (e.g., 0.001◦ ) and 𝑡 is a fixed temporal tolerance (e.g., 5 minutes). These match the criteria used in our evaluation (Section 3). For two detection sets 𝐴 and 𝐵, the directional coverage of 𝐴 by 𝐵, denoted cov(𝐴 | 𝐵), is defined as the fraction of stays in 𝐴 possessing at least one match in 𝐵: |𝑎 ∈ 𝐴 | ∃𝑏 ∈ 𝐵, 𝑚(𝑎, 𝑏)| (14) |𝐴| The pairwise structural agreement between sets 𝐴 and 𝐵 is quantified using the symmetric 𝐹 1 score, which computes the harmonic mean of their cross-coverages: cov(𝐴 | 𝐵) =
𝐹 (𝐴, 𝐵) =
2 · cov(𝐴 | 𝐵) · cov(𝐵 | 𝐴) cov(𝐴 | 𝐵) + cov(𝐵 | 𝐴)
(15)
To evaluate the overall grid, let Θ = {𝜃 1, . . . , 𝜃 𝑛 } denote the candidate parameter space and R ⊆ Θ a reference subset. The consensus scoring function is expressed as: 𝐶 (𝜃 𝑖 ) =
1 ∑︁ 𝐹 𝐷 (𝜃 𝑖 ), 𝐷 (𝜃 𝑗 ) |R𝑖 | 𝑗 ∈ R
(16)
𝑖
where 𝐷 (𝜃 𝑖 ) and 𝐷 (𝜃 𝑗 ) are the stay sets detected under 𝜃 𝑖 and 𝜃 𝑗 . The selected configuration is 𝜃ˆ = arg max𝑖 𝐶 (𝜃 𝑖 ).
3
Experiments and Results
To evaluate SSPE against real-world GPS noise, we utilize the ExtraSensory dataset [6]. Because the dataset lacks explicit staypoint ground truth, we infer stationary behavior from user-reported activity labels [3]. To address the ambiguity of raw labels and privacyinduced data gaps, the initial estimates underwent manual refinement based on historical trajectories and user velocity. This yields a finalized evaluation subset of 34 users, encompassing 59,187 observations and 358 verified staypoints sampled at approximately one-minute intervals. With this empirical ground truth established, we evaluate extraction accuracy by formulating a strict spatiotemporal matching criterion. A staypoint is parameterized by its two-dimensional spatial centroid and its temporal arrival and departure boundaries. A detected staypoint is classified as a valid match to a ground-truth staypoint if and only if the absolute deviations across all dimensions fall within predefined tolerances. Specifically, the spatial displacement in both longitude and latitude must be bounded by a threshold 𝜏𝑠 = 0.001◦ , equivalent to approximately 111 meters. Concurrently, the discrepancies in both arrival and departure times must not exceed a temporal threshold 𝜏𝑡 = 5 minutes. We compute the precision, recall, and 𝐹 1 -score across SSPE and Trackintel methods, the results of which are detailed in Table 1. The empirical results confirm that SSPE substantially outperforms traditional threshold-based extraction methods. On the real-world ExtraSensory dataset, as detailed in Table 1, SSPE applied in its fully unsupervised, single-shot configuration achieves an 𝐹 1 -score of 0.7878, significantly outperforming the standard sliding-window baseline of 0.5098. This performance gain is driven by substantial improvements in both precision and recall. Furthermore, when integrated with the consensus-based parameter search, SSPE achieves SOTA extraction accuracy with an 𝐹 1 -score of 0.8107. These findings validate that SSPE’s dynamic centroid and lookahead effectively
decouple transient coordinate drift from true spatial departures. Furthermore, the 𝑛-step lookahead recovery prevents the artificial fragmentation of stays during prolonged signal occlusions. These accuracy gains are achieved without computational overhead. Runtime analysis demonstrates that SSPE processes a single agent’s trajectory in an average of 2.738 seconds, executing slightly faster than the deterministic Trackintel baseline of 2.909 seconds.
4
Conclusion
In this paper, we presented the Sequential Staypoint Extraction algorithm to address the fundamental fragility of traditional staypoint detection methods when processing sparse and noisy trajectory streams. By utilizing a dynamic spatial centroid alongside an 𝑛-step lookahead heuristic and explicit temporal bridging, SSPE natively mitigates the effects of extreme coordinate drift and protracted signal occlusions. Furthermore, to enable deployment in unlabeled environments, we introduced a fully unsupervised parameter estimation framework. This approach leverages intrinsic data statistics to identify optimal parameter configurations by maximizing structural consensus. Extensive evaluations on real-world ExtraSensory dataset confirm that SSPE yields state-of-the-art accuracy. It significantly improves precision, recall, and overall 𝐹 1 -scores compared to established baselines under severe data degradation, all while maintaining strict computational efficiency.
References [1] Lance Kennedy and Andreas Züfle. 2025. An Improvement to the Sliding Window Staypoint Detection Algorithm to Handle Dropouts. In ACM SIGSPATIAL’25. 1170– 1173. [2] Quannan Li, Yu Zheng, Xing Xie, Yukun Chen, Wenyu Liu, and Wei-Ying Ma. 2008. Mining user similarity based on location history (GIS ’08). Association for Computing Machinery, New York, NY, USA, Article 34, 10 pages. doi:10.1145/ 1463434.1463477 [3] Christian Löwens, Daniela Thyssens, Emma Andersson, Christina Jenkins, and Lars Schmidt-Thieme. 2023. DeepStay: Stay Region Extraction from Location Trajectories Using Weak Supervision. In 2023 IEEE 26th International Conference on Intelligent Transportation Systems (ITSC). IEEE, 3742–3748. [4] Henry Martin, Ye Hong, Nina Wiedemann, Dominik Bucher, and Martin Raubal. 2023. Trackintel: An open-source Python library for human mobility analysis. Computers, Environment and Urban Systems 101 (2023), 101938. [5] Nobuyuki Otsu. 1979. A threshold selection method from gray-level histograms. IEEE transactions on systems, man, and cybernetics 9, 1 (1979), 62–66. [6] Yonatan Vaizman, Katherine Ellis, and Gert Lanckriet. 2017. Recognizing Detailed Human Context in the Wild from Smartphones and Smartwatches. IEEE Pervasive Computing 16, 4 (2017), 62–74. doi:10.1109/MPRV.2017.3971131
Related documents
- Trajectory Replay: Continuous-Time Mixture Transport for Lifelong Generative Models#1402000
- Trajectory Replay: Continuous-Time Mixture Transport for Lifelong Generative Models#1381240
- FlowCTS: On-policy Continuous Trajectory Supervision of Flow Models#405660
- PRIMFLOW: Learning Trajectory Primitives for Few-Step Distillation#1402534
- Near-Miss Traffic Trajectory Detection Based On Deep Learning#201406
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive