Papers › RAD: Rule-Augmented Relational Anomaly Detection

RAD: Rule-Augmented Relational Anomaly Detection

24 Aug 2026arXiv:2608.23468added by Syntology

Noah Dahle, Anne Tumlin, Ngoc Tran, Xenofon Koutsoukos, Tyler Derr

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Anomaly detection is often applied to data stored in relational databases, yet most existing methods require flattening multiple tables into a single feature matrix. This flattening can obscure entity identity, schema structure, and multi-hop dependencies, limiting the detection of anomalies that depend on relational context rather than isolated feature values. Beyond preserving relational structure, relational anomaly detection raises an additional challenge: how to incorporate symbolic behavioral evidence into learned relational representations. To address these challenges, we study relational anomaly detection, where the goal is to identify anomalous entities or events in a multi-table database. We propose RAD, a rule-augmented relational anomaly detector that combines heterogeneous graph representation learning with refined symbolic rule signals. RAD derives candidate rules from random-forest paths over flattened summaries of the entities or events being scored, refines them into compact interpretable predicates, injects the resulting rule features into the graph model, and learns anomaly scores using reconstruction-based and pairwise-ranking supervision. To evaluate this setting, we introduce a relational anomaly detection benchmark spanning three settings: LANL cybersecurity event detection and two unexpected user-churn anomaly tasks derived from Amazon and H&M relational databases. Experiments show that RAD improves anomaly ranking over flattened tabular detectors and relational baselines under natural class imbalance, achieving the best average rank on AUROC and AUPRC across the benchmark. Ablations show that direct rule injection and ranking-based supervision are key contributors to performance, while edge reconstruction is not uniformly beneficial. Our code and data are available at: https://github.com/noahd15/RAD_RelationalAnomalyDetection.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2608.23468")

Code

Syntology Ran 14 of 15 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 14 ran with no contract checked.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

noahd15/RAD_RelationalAnomalyDetection found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 14 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14ran
1unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from noahd15/RAD_RelationalAnomalyDetection. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

F1Performance noahd15/RAD_RelationalAnomalyDetection/DRL/utils.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 2982966f2eefb9b1 · report
aucPerformance noahd15/RAD_RelationalAnomalyDetection/DRL/utils.py found in paper text by Syntology ran no licence file found · pointer only · 38cb4b48aa10c520 · report
available_datasets noahd15/RAD_RelationalAnomalyDetection/DRL/run_job.py found in paper text by Syntology ran no licence file found · pointer only · 22b0f12c0a098ce2 · report
build_causal_edge_index_dict noahd15/RAD_RelationalAnomalyDetection/lanl/rdl_lanl.py found in paper text by Syntology ran no licence file found · pointer only · 725d47c8f9657a0f · report
dataLoading noahd15/RAD_RelationalAnomalyDetection/DRL/utils.py found in paper text by Syntology ran no licence file found · pointer only · a84a262ed98ead31 · report
eval_metrics noahd15/RAD_RelationalAnomalyDetection/lanl/run_lanl_tabular_baselines.py found in paper text by Syntology ran no licence file found · pointer only · 7411ecbefbeea8c3 · report
metrics_row noahd15/RAD_RelationalAnomalyDetection/lanl/run_lanl_six_ablations.py found in paper text by Syntology ran no licence file found · pointer only · 5b0e6f71a58d2c29 · report
pairwise_logistic_rank_loss noahd15/RAD_RelationalAnomalyDetection/lanl/run_lanl_tabular_baselines.py found in paper text by Syntology ran no licence file found · pointer only · 82f09177f3cb16fd · report
precision_at_k noahd15/RAD_RelationalAnomalyDetection/lanl/rdl_lanl.py found in paper text by Syntology ran no licence file found · pointer only · bae4a501c3f70a8b · report
precision_at_k noahd15/RAD_RelationalAnomalyDetection/lanl/run_lanl_six_ablations.py found in paper text by Syntology ran no licence file found · pointer only · 7c231f23664d3721 · report
precision_at_k noahd15/RAD_RelationalAnomalyDetection/lanl/run_lanl_tabular_baselines.py found in paper text by Syntology ran no licence file found · pointer only · 182af392557eb6ac · report
random_orthogonal_vectors noahd15/RAD_RelationalAnomalyDetection/DRL/PrototypeNet/Model.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 66af3e1086eecb6c · report
summarize noahd15/RAD_RelationalAnomalyDetection/lanl/run_lanl_six_ablations.py found in paper text by Syntology ran no licence file found · pointer only · e9da42fee1d55f3a · report
train_test_split noahd15/RAD_RelationalAnomalyDetection/DRL/DataSet/MyDataset.py found in paper text by Syntology ran no licence file found · pointer only · 15cfee310a8f65c9 · report
run noahd15/RAD_RelationalAnomalyDetection/DRL/run_job.py found in paper text by Syntology unverified no licence file found · pointer only · 98ba9fafc26a86ef · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2608.23468, was issued in August 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections