TRANSMISSION // 2611.37963v1

A graph-based detector sorts four types of drone-bus traffic

Source published

UAVCAN-Graph turns windows of drone communication traffic into graphs to classify normal activity and three attack types. Its reported results are promising, but tested on one dataset.

AI-generated conceptual illustration for A graph-based detector sorts four types of drone-bus traffic
AI-generated conceptual illustration; not documentary evidence.

Can a detector do more than flag suspicious drone communications—and identify what kind of attack may be underway? A preprint represents message sequences as graphs and reports strong results on the HCRL UAVCAN Attack Dataset. The evaluation is encouraging, but does not establish how well the method would work on other drones or in real-time deployments.

Why classify the attack?

Unmanned aerial vehicles (UAVs) use onboard communication buses to exchange data among components such as flight controllers and sensors. The paper focuses on traffic carried over the Controller Area Network (CAN) bus using the UAVCAN protocol. The authors describe three possible threats: flooding, which sends messages at a high rate; fuzzy injection, which introduces messages with randomized payloads; and replay, which retransmits previously captured messages.

A detector that only labels traffic as “normal” or “attack” may not tell an operator which pattern it sees. The authors therefore ask whether a graph neural network can distinguish normal traffic from these three attack categories.

Turning message sequences into graphs

The proposed system, UAVCAN-Graph, processes traffic in sliding windows of 64 consecutive messages, moving the window forward by 32 messages at a time. Within each window, each distinct CAN identifier becomes a graph node. Directed edges record which identifier follows another in the message sequence, with edge weights counting how often each transition occurs.

For each node, the system extracts 15 features. These summarize message timing and frequency, payload characteristics such as entropy, and protocol details including continuity of the UAVCAN transfer ID. PageRank centrality captures a node’s position in the graph. The model then uses four GraphSAGE message-passing layers, with residual connections, to combine information from connected nodes. Mean and maximum pooling produce a graph-level representation for classification.

The authors use Focal Loss, a training method intended to give more attention to difficult examples, and create extra overlapping windows for underrepresented attack categories. Their evaluation uses the HCRL UAVCAN Attack Dataset, which contains 10 scenarios recorded from drones running PX4 autopilot. The paper reports a 68% training, 12% validation and 20% test split, and says class proportions were maintained through stratified sampling.

What the paper reports

The four-class test results show a macro-averaged F1 score of 0.9329. F1 combines precision and recall: broadly, it reflects both how often the system’s labels are correct and how often examples of each class are found. In the reported per-class results, flooding has the highest recall (0.9828), while fuzzy attacks have the lowest F1 score (0.9058). The paper identifies confusion between fuzzy and replay graphs as a notable error pattern.

The authors also report a macro-averaged ROC-AUC of 0.9954. ROC-AUC measures how well a classifier ranks examples of one class above others across different decision thresholds; it is not the same as the proportion of predictions that are correct. The paper’s baseline comparison reports a slightly higher test macro-F1 for the proposed model than for its GraphSAGE baseline (0.9329 versus 0.9282), while test accuracy is very similar (0.9425 versus 0.9427). These results suggest improved balance across classes in this experiment, not a broad demonstration of superiority over other detection systems.

What remains uncertain

The findings come from one dataset and an offline evaluation. They do not show performance on different UAV hardware, new attack variations, or live traffic. Nor do they establish that the detector could meet the timing and resource constraints of a deployed drone system.

There are also details that matter for interpreting the test. The paper assigns labels to mixed-attack scenarios using time windows and assigns some packets to the nearest attack phase. Graph labels are then determined by a majority rule, with windows below an attack-packet threshold labeled normal. These choices may affect what the model learns. The paper describes stratified sampling, but the available text does not clarify whether windows from the same original traces or overlapping time periods were kept separate across training and test sets. If related windows appear in both, test performance could overstate generalization; the paper text provided does not resolve this question.

This is an arXiv preprint, not evidence of peer review. Its reported metrics are results on the authors’ stated experimental setup, not proof of operational readiness. Independent reproduction, clearer testing across separated scenarios, and evaluation on additional traffic would help establish how reliably the approach transfers beyond this dataset.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.