Papers
Topics
Authors
Recent
Search
2000 character limit reached

OW-HNPV: Velocity for Anomaly Detection

Updated 24 December 2025
  • The paper introduces a novel velocity-based TDA method that quantifies the rate at which topological features appear and disappear to enhance anomaly detection.
  • It applies overlap weighting to reduce noise and short-lived features, ensuring mathematical stability under perturbations as measured by the 1-Wasserstein distance.
  • Empirical evaluations on Ethereum transaction networks show that OW-HNPV achieves up to a 10.4% AUC gain over static TDA summaries for medium-range forecasting.

The Overlap-Weighted Hierarchical Normalized Persistence Velocity (OW-HNPV) is a vectorized, velocity-based topological data analysis (TDA) method tailored for anomaly detection in time-varying networks. Unlike traditional presence-based TDA summaries, OW-HNPV models the rate at which topological features appear and disappear, while applying overlap-based weighting to downweight noise and short-lived structures. The method yields a stable, interpretable summary of evolving network topology and demonstrates enhanced performance for detecting structural anomalies, especially in financial network contexts such as cryptocurrency markets (Khormali, 16 Dec 2025).

1. Mathematical Foundations and Definitions

OW-HNPV operates on a sequence of weighted graphs {Gt}t=1T\{G_t\}_{t=1}^T, representing temporal snapshots of networks (e.g., blockchain transaction graphs). For each GtG_t, a lower-star filtration is constructed using a node-weight function gtg_t, from which persistence diagrams Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t} are computed in homological dimension kk. Each (bit,dit)(b_i^t, d_i^t) encodes the birth and death scales of topological features.

For feature ii at time tt, instantaneous persistence is defined as

persi(t)=dit−bit\mathrm{pers}_i(t) = d_i^t - b_i^t

and velocity is

vi(t)=ddtpersi(t)v_i(t) = \frac{d}{dt} \mathrm{pers}_i(t)

Empirically, with daily data, finite differences are used: GtG_t0

The filtration parameter range GtG_t1 is partitioned into GtG_t2 main intervals GtG_t3, which are further subdivided into GtG_t4 equal subintervals GtG_t5. Each feature GtG_t6 receives an overlap weight for subinterval GtG_t7: GtG_t8 Subinterval-wise velocity is then

GtG_t9

Averaging yields gtg_t0, which is normalized by the total persistence gtg_t1 to produce the OW-HNPV vector: gtg_t2

2. Stability and Theoretical Guarantees

OW-HNPV is provably stable under perturbations in the input data, specifically with respect to the 1-Wasserstein distance gtg_t3 on persistence diagrams. For diagrams gtg_t4, gtg_t5 with total persistences gtg_t6 and OW-HNPV vectors gtg_t7 and gtg_t8, the method satisfies: gtg_t9 The proof leverages optimal matchings between features, overlap-difference bounds, and the normalization property of total persistence. This ensures that OW-HNPV behaves predictably under both network noise and the naturally fluctuating topology of dynamic systems (Khormali, 16 Dec 2025).

3. Computational Workflow and Algorithm

OW-HNPV consists of the following steps for each graph Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}0:

  1. Compute the node-weighted lower-star filtration; extract persistence diagram Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}1.
  2. Compute total persistence Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}2.
  3. Partition Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}3 into Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}4 main intervals and then subdivide each into Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}5 subintervals.
  4. For each Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}6, calculate subinterval-wise velocity Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}7 via weighted overlaps Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}8.
  5. Aggregate and average Dkt={(bit,dit)}i=1ntD^t_k = \{(b_i^t, d_i^t)\}_{i=1}^{n_t}9 for each main interval.
  6. Normalize by total persistence: kk0.
  7. The final output is the kk1-dimensional vector kk2.

Typical recommendations are kk3 main intervals and kk4 subintervals.

4. Empirical Evaluation in Dynamic Cryptocurrency Networks

OW-HNPV was evaluated on daily Ethereum transaction networks generated from May 2017 to May 2018. Each daily graph comprises the 250 most active addresses, with edge and node weights determined by transaction amounts. The anomaly detection task targets forecasting of large price jump days (kk5) up to kk6 days ahead.

The method was benchmarked against baseline graph features (degree, closeness, betweenness, clustering coefficient) and multiple TDA vectorizations: velocity-based (HNAV, HWNAV, OW-HNPV) and static (Vector of Averaged Bettis (VAB), persistence landscapes, persistence images). All vectors were standardized to dimension 30.

Performance was assessed using a random forest classifier (500 trees), evaluated via 10-fold cross-validation with 10 repeats, and measured as AUC gain relative to the baseline. The following patterns emerged:

Forecast Horizon OW-HNPV AUC Gain Best Static Notes
kk7 kk8 None All TDA methods struggle
kk9 (bit,dit)(b_i^t, d_i^t)04.2% - OW-HNPV is stable
(bit,dit)(b_i^t, d_i^t)1 (bit,dit)(b_i^t, d_i^t)210.4% VAB~7–8% Only velocity/vector-based methods perform strongly at (bit,dit)(b_i^t, d_i^t)3

OW-HNPV exhibited the most robust performance across (bit,dit)(b_i^t, d_i^t)4–7, outperforming or matching static TDA summaries for medium- and long-range forecasting (Khormali, 16 Dec 2025).

5. Methodological Insights and Practical Considerations

Velocity-based topological summaries capture the dynamical aspects of network evolution—specifically, the emergence and disappearance rates of features—yielding increased sensitivity to sudden changes. This property aligns OW-HNPV with medium- to long-term anomaly detection, where abrupt system reconfigurations are statistically meaningful.

Key methodological insights include:

  • Overlap weighting ensures noise resilience, automatically downweighting short-lived, potentially spurious features and conferring greater stability with respect to the subinterval parameter (bit,dit)(b_i^t, d_i^t)5.
  • Presence-based summaries (e.g., VAB) are less effective for short forecasting horizons ((bit,dit)(b_i^t, d_i^t)6).
  • Including topological features from both dimension-0 (components) and dimension-1 (loops) improves predictive performance.
  • Relative AUC gains for OW-HNPV over VAB can reach 38% for medium-range tasks; HWNAV achieves up to 100% relative gain for long-range prediction.

Recommended hyperparameters for routine application are (bit,dit)(b_i^t, d_i^t)7, (bit,dit)(b_i^t, d_i^t)8.

6. Relationship to Existing TDA Methods and Applicability

OW-HNPV extends the TDA toolkit beyond static, cumulative summaries by formalizing the temporal “velocity” of topological features, a perspective absent in prior descriptors such as VAB, persistence landscapes, and persistence images. This shift is empirically justified by increased anomaly detection performance in evolving networks, with clear mathematical stability guarantees.

The method is applicable wherever dynamic networks are subject to abrupt structural transitions, particularly in financial, biological, and infrastructure systems where topological change rates are more informative than aggregate presence. The mathematical stability and noise-filtering characteristics of OW-HNPV distinguish it as a robust choice for practitioners aiming to extract predictive temporal topological signatures (Khormali, 16 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Overlap-Weighted Hierarchical Normalized Persistence Velocity (OW-HNPV).