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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 15 code samples harvested from 1 repository linked to this paper: 14 ran (of which 0 constructed an object rather than computing a result; 3 with no instrument failure: 1 honoured, 0 violated, 2 with no contract checked; 11 where Syntology's instrument failed) · 1 unverified. Where Syntology's instrument failed: 8 where our contract draft was wrong; 3 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 14 ran (3 with no instrument failure; 11 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

noahd15/RAD_RelationalAnomalyDetection found in paper text by SyntologySyntology: 15 samples, 14 ran (11 instrument-failed) · 1 unverified 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 (of which 0 constructed an object rather than computing a result; 3 with no instrument failure: 1 honoured, 0 violated, 2 with no contract checked; 11 where Syntology's instrument failed) · 1 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
8ran · our draft was wrong
3ran; the contract check could not run
2ran
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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

noahd15/RAD_RelationalAnomalyDetection found in paper text by Syntology 15 samples, 14 ran (11 instrument-failed) · 1 unverified
F1Performance DRL/utils.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · 2982966f2eefb9b1 · report fixture: signature score:ndarray/1/float, target:ndarray/1/int · returned float · level recorded 2026-09-24
aucPerformance in 5 papers DRL/utils.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · 38cb4b48aa10c520 · report fixture: signature score:ndarray/1/float, labels:ndarray/1/int · returned tuple · level recorded 2026-09-24
available_datasets DRL/run_job.py ran · our draft was wrong no licence file found · pointer only · 22b0f12c0a098ce2 · report fixture: signature data_dir:str/0/str · returned set · level recorded 2026-09-24
build_causal_edge_index_dict lanl/rdl_lanl.py ran · our draft was wrong no licence file found · pointer only · 725d47c8f9657a0f · report fixture: signature data:HeteroData/0/?, target_auth_mask:Tensor/1/bool, drop_red_team:bool/0/bool · returned dict · level recorded 2026-09-24
dataLoading in 5 papers DRL/utils.py ran · our draft was wrong no licence file found · pointer only · a84a262ed98ead31 · report fixture: signature path:str/0/str, byte_num:int/0/int · returned tuple · level recorded 2026-09-24
eval_metrics in 11 papers lanl/run_lanl_tabular_baselines.py ran; the contract check could not run (RAISES) no licence file found · pointer only · 7411ecbefbeea8c3 · report fixture: signature y_true:ndarray/1/int, scores:ndarray/1/float · returned dict · level recorded 2026-09-24
metrics_row lanl/run_lanl_six_ablations.py ran no licence file found · pointer only · 5b0e6f71a58d2c29 · report fixture: signature variant:str/0/str, seed:int/0/int, y_true:ndarray/1/int, score:ndarray/1/float · returned dict · level recorded 2026-09-24
pairwise_logistic_rank_loss lanl/run_lanl_tabular_baselines.py ran no licence file found · pointer only · 82f09177f3cb16fd · report fixture: signature scores:Tensor/1/float, labels:Tensor/1/float, margin:float/0/float, max_pairs:int/0/int · returned tuple · level recorded 2026-09-24
precision_at_k in 27 papers lanl/rdl_lanl.py ran · our draft was wrong no licence file found · pointer only · bae4a501c3f70a8b · report fixture: signature y_true:ndarray/1/float, y_score:ndarray/1/float, k:int/0/int · returned float · level recorded 2026-09-24
precision_at_k in 27 papers lanl/run_lanl_six_ablations.py ran · our draft was wrong no licence file found · pointer only · 7c231f23664d3721 · report fixture: signature y_true:ndarray/1/int, y_score:ndarray/1/float, k:int/0/int · returned float · level recorded 2026-09-24
precision_at_k in 27 papers lanl/run_lanl_tabular_baselines.py ran · our draft was wrong no licence file found · pointer only · 182af392557eb6ac · report fixture: signature y_true:ndarray/1/int, scores:ndarray/1/float, k:int/0/int · returned float · level recorded 2026-09-24
random_orthogonal_vectors DRL/PrototypeNet/Model.py ran · honoured contract fingerprinted no licence file found · pointer only · 66af3e1086eecb6c · report fixture: signature num_vectors:int/0/int, vector_dim:int/0/int · returned ndarray · level recorded 2026-09-24
summarize in 36 papers lanl/run_lanl_six_ablations.py ran · our draft was wrong no licence file found · pointer only · e9da42fee1d55f3a · report fixture: signature df:DataFrame/0/? · returned DataFrame · level recorded 2026-09-24
train_test_split in 23 papers DRL/DataSet/MyDataset.py ran · our draft was wrong no licence file found · pointer only · 15cfee310a8f65c9 · report fixture: signature inliers:ndarray/2/float, outliers:ndarray/2/float, model_config:dict/0/? · returned tuple · level recorded 2026-09-24
run in 143 papers DRL/run_job.py 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