Generalized GNSS spoofing detection in unseen scenarios using physics-constrained neural networks with code-carrier consistency

Abstract Global Navigation Satellite System (GNSS) spoofing attacks pose significant threats to economic and public security, necessitating rapid and accurate detection methods. While machine learning-based approaches have surpassed traditional rule-based statistical methods by leveraging multi-domain information fusion, they primarily learn data distributions rather than intrinsic signal invariants, resulting in degraded performance under out-of-distribution scenarios.To address this limitation this paper proposes a Code-Carrier Consistency Physics-Constrained Neural Networks (CCC-PCNNs) for spoofing detection. The proposed method exploits the inherent code-carrier consistency of GNSS signals by modeling their first-order differential relationship as a physical constraint. This constraint is incorporated into the loss function of a one-dimensional convolutional neural network (1D-CNN), enabling the model to adhere to underlying physical laws while optimizing detection performance. Unlike conventional approaches that rely solely on feature engineering, the proposed framework embeds domain knowledge directly into the learning process, thereby enhancing generalization and robustness. Experimental results on three widely used open-source datasets, Texas Spoofing Test Battery (TEXBAT), Oak Ridge Spoofing and Interference Test Battery (OAKBAT), and Finnish Geospatial Research Institute Spoofing Repository (FGI-SpoofRepo), demonstrate the proposed algorithm achieves an average detection accuracy exceeding 98.00% under within-scenario supervised evaluation. With the incorporation of only a single additional feature beyond the baseline code-carrier phases, the proposed algorithm achieves an average improvement of 10.42% over the baseline 1D-CNN across all three datasets. More significantly, systematic evaluation using the Accuracy Retention Rate (ARR) metric shows strong cross-scenario and cross-dataset generazation.Across 10 unseen scenarios from the TEXBAT and OAKBAT datasets, the CCC-PCNNs model maintains ARR values consistently above 92.70%, achieving improvements of 23.49%, 18.40%, 9.39%, 28.82%, 24.19%, 26.99% and 46.16% over the 1D-CNN, Long Short-Term Memory (LSTM), Transformer, Support Vector Machine (SVM), Residual Network (Resnet), Graph Attention Networks (GAT) and CCC-Detector models, substantially outperforming traditional machine learning approaches. This research innovatively integrates physical mechanisms with data-driven methods to overcome generalization challenges arising from the variability and unpredictability of spoofing attacks in adversarial environments, strengthening the security of critical infrastructure and core systems.

Authors

Institutions

Publication Details

Journal
Satellite Navigation
Published
2026-06-26
DOI
https://doi.org/10.1186/s43020-026-00199-8
Primary Topic
GNSS positioning and interference
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Generalized GNSS spoofing detection in unseen scenarios using physics-constrained neural networks with code-carrier consistency

W Liu, Xiaozhou Ye, Wei Xiao, Xin Yang et al.
Satellite Navigation
GNSS positioning and interference
article

Generalized GNSS spoofing detection in unseen scenarios using physics-constrained neural networks with code-carrier consistency

W Liu, Xiaozhou Ye, Wei Xiao, Xin Yang, Yili Song, Guangfu Sun
article en

Abstract

Abstract Global Navigation Satellite System (GNSS) spoofing attacks pose significant threats to economic and public security, necessitating rapid and accurate detection methods. While machine learning-based approaches have surpassed traditional rule-based statistical methods by leveraging multi-domain information fusion, they primarily learn data distributions rather than intrinsic signal invariants, resulting in degraded performance under out-of-distribution scenarios.To address this limitation this paper proposes a Code-Carrier Consistency Physics-Constrained Neural Networks (CCC-PCNNs) for spoofing detection. The proposed method exploits the inherent code-carrier consistency of GNSS signals by modeling their first-order differential relationship as a physical constraint. This constraint is incorporated into the loss function of a one-dimensional convolutional neural network (1D-CNN), enabling the model to adhere to underlying physical laws while optimizing detection performance. Unlike conventional approaches that rely solely on feature engineering, the proposed framework embeds domain knowledge directly into the learning process, thereby enhancing generalization and robustness. Experimental results on three widely used open-source datasets, Texas Spoofing Test Battery (TEXBAT), Oak Ridge Spoofing and Interference Test Battery (OAKBAT), and Finnish Geospatial Research Institute Spoofing Repository (FGI-SpoofRepo), demonstrate the proposed algorithm achieves an average detection accuracy exceeding 98.00% under within-scenario supervised evaluation. With the incorporation of only a single additional feature beyond the baseline code-carrier phases, the proposed algorithm achieves an average improvement of 10.42% over the baseline 1D-CNN across all three datasets. More significantly, systematic evaluation using the Accuracy Retention Rate (ARR) metric shows strong cross-scenario and cross-dataset generazation.Across 10 unseen scenarios from the TEXBAT and OAKBAT datasets, the CCC-PCNNs model maintains ARR values consistently above 92.70%, achieving improvements of 23.49%, 18.40%, 9.39%, 28.82%, 24.19%, 26.99% and 46.16% over the 1D-CNN, Long Short-Term Memory (LSTM), Transformer, Support Vector Machine (SVM), Residual Network (Resnet), Graph Attention Networks (GAT) and CCC-Detector models, substantially outperforming traditional machine learning approaches. This research innovatively integrates physical mechanisms with data-driven methods to overcome generalization challenges arising from the variability and unpredictability of spoofing attacks in adversarial environments, strengthening the security of critical infrastructure and core systems.

Satellite NavigationVol. 7(1)
National University of Defense Technology (CN), Institute of Navigation (US)
Openalex Percentile: Top 3%
GNSS positioning and interference
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.