Manuscript Offprint
arXiv:2611.09273PHISHREV+: An ASP-Based Post-Hoc Defeasible Machine Learning Framework for Phishing Detection
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Phishing website detection remains a critical cybersecurity challenge. Although machine learning classifiers achieve high accuracy on benchmark datasets, they suffer from a fundamental limitation: once trained, their decision boundaries are fixed and cannot incorporate new contextual evidence without retraining the model. This work presents PHISHREV+, a hybrid framework that instantiated the notion of post-hoc defeasible machine learning. This framework does not replace the classifier. It treats the initial classifier predictions as defeasible beliefs and revises them through an Answer Set Programming based non-monotonic reasoning(NMR) layer. The framework operates in two phases. In the machine learning phase, four classifiers (SVM, KNN, DT and RF) are trained on the 87 feature benchmark dataset. In the post-hoc NMR phase, four defeasible rules derived from exploratory data analysis of the training set, and validated through Chi-square and Mann-Whitney U tests, formally revise initial predictions. The proposed framework achieves consistent false positive reduction across all our classifiers SVM (41→39), KNN (47→46), DT (62→61), and RF (52→51) while maintaining complete false negative parity with zero increase overhead. A comprehensive ablation studies across seven rule configurations confirms that the hierarchical combination of all four defeasible rules is necessary to achieve this optimal balance. Instance level explainability is provided through eX-plainable ASP (XASP), which generates formal derivation graphs showing which defeasible rules fired and why the initial belief was retracted, a capability absent from all existing phishing detection approaches.
Keywords: Phishing URL, Defeasible Machine Learning, Non-monotonic Reasoning, Answer Set Programming, Belief Revision, XASP, Explainable AI
1. Introduction
The world wide web(WWW) has transformed how individuals, organizations, government communicate and share information. The web operates through Uniform Resource Locators(URL), a structured string that identify the location of resources on the internet. A URL typically comprises a protocol identifier, a domain name, optional subdomains, a path and query parameters. As web pages has grown significantly, the sophistication of web based threats has also increased that exploit this web system for malicious purposes. URLs serve as the entry point for many cyber-attacks such as phishing[1], drive-by-download[2].
Among web-based threats, phishing remains one of the most pervasive and damaging [3, 4]. A phishing webpage is a fraudulent website crafted to impersonate a legitimate website. The motive of this attack is to deceive human to disclose sensitive and personal credentials. Figure1 illustrates the phishing attack life cycle. According to the Anti-Phishing Working Group (APWG)[5], 1,069,681 phishing attacks were observed in the second quarter of 2026, an increase of 10.1% over the previous quarter 2026(January-March). At this volume, even a small false-positive rate produces a large number of wrong alerts, which adds to alert fatigue of security analysts[6]. The impact of phishing attack goes beyond financial loses, often resulting to data breaches to reputational damage [7]. Unlike malware or network intrusions, phishing exploits human psychology rather than technical vulnerabilities, making it difficult to defend against using conventional security mechanism. Automated detection of phishing URLs is therefore a critical requirement for modern cybersecurity infrastructure.
Significant research effort has been made toward automated phishing detection. Early approaches relied on blacklist and heuristic rules[8, 9, 10, 11]but these suffer from high maintenance overhead and inability to detect unseen phishing pages. Machine learning has emerged as a dominant paradigm with classifiers trained on lexical, structural and content based

Figure 1: Anatomy of a phishing attack. The attacker creates a look-alike site (https://chase-secure-login.com) mimicking the legitimate domain (https://chase.com) and distributes its URL via email/SMS. Victim data flows from the user to the phishing site and then to the attacker, who reuses the stolen credentials on the genuine site.
features achieving high accuracy[12, 13, 14, 3, 15, 16]. More recently, deep learning approaches including convolutional neural network [17], recurrent neural network architectures and hybrid architectures [18, 19], transformer based architectures [20] have been applied to phishing detection. Their ability to learn hierarchical feature representations directly from raw URL strings and webpage content eliminates the need for extensive feature engineering. Large language models have also been explored for phishing detection, exploiting their pre-trained linguistic knowledge to identify deceptive content [21, 22]. They achieved rapid inference but freezing a decision boundary at training time can only be updated through wholesale retraining. Multimodal systems [23, 24] have further extends to combine URL, content and visual signals, implicitly acknowledging that no single fixed is sufficient.
However, machine learning, deep learning and LLM-based approaches share a common limitation that once a classifier is trained or established, their decision boundaries are fixed lacking the ability of a principled defeasibility mechanism. Incorporating new domain knowledge such as emerging phishing tactics or newly identified adversarial signals, requires full model retraining. For random forest classifier, this involves a complexity of , while deep learning and LLM based fine tuning incur higher computational cost due to gradient based optimization over millions of parameters. This retraining of trained classifiers is computationally expensive as well as operationally disruptive, particularly in real time security environment where rapid responses to new threat is needful. Furthermore, phishing strategies evolve continuously over time, causing trained models to degrade in performance due to concept drift[25, 26]. Features that reliably distinguished phishing from legitimate URLs in earlier datasets may lose their discriminative power over time and adversaries adapt their tactics. As statistical classifiers cannot incorporate contextual reasoning, they cannot revise a prediction when new and contradictory evidence becomes available, leading to persistent false positives that erode user trust and contribute to alert fatigue[6].
The objective of this work is to address these limitations by proposing a hybrid framework that combines the pattern recognition ability of machine learning with the contextual reasoning ability of non-monotonic reasoning. Specifically, we aim to enable post-hoc belief revision of initial classifier predictions using EDA-derived contextual evidence, without retraining the underlying model. The following research questions guide this work:
- RQ1: To what extent can exploratory data analysis(EDA) of contex-
tual URL and webpage features identify statistically significant distributional differences between phishing and legitimate websites, thereby providing evidence for the formulation of defeasible revision rules?
-
RQ2: TO what extent can Answer Set Programming (ASP)-based non-monotonic reasoning (NMR) use EDA-derived contextual evidence to revise the initial predictions of machine learning classifiers, reducing false positives while preserving false-negative performance?
-
RQ3: How does hierarchical interaction of multiple defeasible rules influence the trade-off between false-positive reduction and false-negative preservation? Furthermore, what advantages does an ASP-based formulation offer over equivalent deterministic post-processing approaches in terms of rule interaction, conflict resolution and explainability?
-
RQ4: Can the proposed reasoning layer incorporate newly available domain knowledge through rule updates in time, without retraining the underlying machine learning classifiers and thereby support efficient post-hoc adaption to evolving phishing contexts?
To address the research questions, we propose PHISHREV+, a dual-stage framework comprising a machine learning phase and a post-hoc ASP-based non-monotonic reasoning phase. In the first phase, four classifiers namely Support Vector Machine(SVM), K-Nearest Neighbour(KNN), Decision Tree(DT) and Random Forest(RF) are trained on the 87-feature benchmark dataset proposed by [27]. In the second phase an EDA analysis is conducted on four contextual features meta_info_present, length_url, nb Www, and domain_in_title to derive four hierarchical defeasible rules encoded within ASP knowledge base. The NMR layer accepts initial classifier predictions as beliefs and revises them using these rules via the Clingo ASP solver. Experimental evaluation demonstrates consistent false positive reduction with zero false negative increase parity with the base initial classifier. The novel contributions of this work are as follows:
- An exploratory data analysis of four contextual features meta_info_present, length_url, nb_www, and domain_in_title is conducted to identify statistically meaningful distributional differences between phishing and legitimate URLs. The feature nb_www emerges as the strongest binary signal with a separation of 52.8 percentage points. The feature domain_in_title shows a counter-intuitive pattern. In the subset that
reaches rule 4, 82.6% of phishing URLs embed the domain in the page title against 56.8% of legitimate URLs.
-
A 4-rule ASP-based non-monotonic reasoning framework is proposed that performs post-hoc belief revision of initial classifier predictions using hierarchical defeasible rules derived from EDA. This achieved consistent false positive reduction across all four classifier while maintaining complete false negative parity with the base classifier.
-
A comprehensive ablation study across seven rule configurations shows that only the hierarchical combination of all four defeasible rules achieves false positive reduction with zero false negative increase. A deterministic if-else baseline yields identical predictions, positioning the value of the ASP formulation in its declarative representation, formal semantics and support for rule-level explanation rather than its predictive performance.
-
The reasoning layer supports the incorporation of new domain knowledge in time without retraining the underlying classifiers, as established by a complexity analysis and confirmed empirically by the linear scaling of grounding and solving time and by the incremental rule additions of the ablation study.
The remainder of the paper is as follows. Section 2 reviews the related work on phishing detection. The next section 3 introduces non-monotonic reasoning, answer set programming and defeasible machine learning. Then section 4 states the dataset and features used for the experimentation. Next, exploratory data analysis of contextual features is presented in section 5. Section 6 then describes the proposed dual framework and the 4-rule NMR knowledge base construction. Then experimental results with ablation study is shown in section 7 and 8 respectively. Section 9 compares PHISHREV+ with prior work and XASP-based explainability is presented in section 10. Section 11 discusses the findings and limitations. Finally, in section 12, conclusion of the paper with future direction is presented.
2.1. Blacklist-Based Approaches
Security protocols can be categorized into software based approaches namely blacklist and whitelist [28] based. Blacklist contains those which user should not visit while white-list contains all legitimate entries. When a user attempts to enter a URL, it is checked against the blacklist and blocked is a match is found.
Blacklist based systems are simple to implement and computationally inexpensive at query time. However, they suffer from various limitations. Firstly, these are inherently reactive, as a URL can only be added to blacklist after it has been identified. But, newly created phishing websites remain undetected during the interval between their deployment and inclusion in the blacklist. Secondly, attackers employ various evasion, obfuscation techniques [29], allowing malicious websites to bypass static blacklist mechanism. Thirdly, this approach requires continuous updates and maintenance to remain updated. Finally, blacklist does not provide any generalization capability.
These limitations motivated the transition toward machine learning based approaches that offer the ability to generalise from learned patterns and detect previously unseen phishing webpages.
2.2. Machine Learning Based Approaches
Machine learning approaches extract discriminative features from URL and webpage content, which are subsequently used to train classification models for identifying phishing websites. Traditional ml algorithms like Random Forest (RF), Naïve Bayes (NB), Support Vector Machine(SVM), k-Nearest Neighbor (kNN) have been widely adopted [12] for phishing URL classification and have demonstrated promising performances. Table 1 presents the summerized version of machine learning based approaches.
2.3. Deep Learning Based Approaches
Various deep learning (DL)based architectures overcome the need of manual feature engineering as they can extract the features automatically from raw data. The convolutional neural network (CNN), deep neural network (DNN), recurrent neural network(RNN), Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU) and deep belief network (DBN) are frequently used architectures[36] by researchers. Table 2 presents a summary of deep learning research work done on phishing detection.
Table 1: Summary of Machine Learning Based Phishing Detection Approaches
| Ref. | Year | Algorithm | Features | Key Findings | Limitations |
|---|---|---|---|---|---|
| [30] | 2021 | RF | 87 lexical, content and external | RF achieved 96.61% accuracy on proposed 87-feature benchmark dataset | No defeasibility; retraining required |
| [31] | 2021 | RF | 9 lexical | RF achieved 99.57% for real-time detection on constrained devices | No defeasibility; retraining required |
| [32] | 2023 | RF | 87 lexical | RF achieved 96.54% on benchmark dataset | No defeasibility; retraining required |
| [33] | 2023 | RF, LR, DT, SVM, XGBoost | 25 hybrid | RF achieved 98.80% on PhishTank and 97.87% on UCI dataset | No defeasibility; retraining required |
| [34] | 2025 | RF + XAI | 87 lexical | RF achieved 96.76% with SHAP-based explainability | No defeasibility; retraining required |
| [35] | 2025 | XGBoost, GBM, LGBM + SHAP | 30 hybrid URL | XGBoost achieved 97.78% with SHAP-based explainability | No defeasibility; retraining required |
2.4. Large Language Model Based Approaches
Large Language models like GPT-4, Claude, and Llama have recently been explored for phishing detection. Table 3 summarizes representative LLM-based phishing based approaches.
2.5. Research Gap
The survey of existing phishing detection approaches, spanning blacklist-based, machine learning, deep learning, and large language model based methods, reveals a consistent and fundamental limitation that none of the existing approaches incorporate a principle defeasibility mechanism that enables post-hoc belief revision when new evidences become available at inference time. This gap motivates, the proposed framework, which addresses these limitations by integrating machine learning classifiers with an ASP-based non-monotonic reasoning layer for post-hoc belief revision. Unlike
Table 2: Summary of Deep Learning Based Phishing Detection Approaches
| Ref. | Year | Algorithm | Key Findings | Limitations |
|---|---|---|---|---|
| [18] | 2019 | Bi-LSTM + CNN | Bi-LSTM followed by CNN achieved 95.6% accuracy on 500,000 URLs dataset | No defeasibility; retraining required |
| [37] | 2021 | LSTM | LSTM achieved 98.3% accuracy on 450,176 URLs dataset | No defeasibility; retraining required |
| [38] | 2021 | CNN + Multi-head Attention | CNN with multi-head attention achieved 95.6% accuracy | No defeasibility; retraining required |
| [39] | 2022 | CNN | Character-level CNN achieved 98.13% accuracy | No defeasibility; retraining required |
| [40] | 2024 | Bi-LSTM + Attention | Bi-LSTM with attention achieved 99% accuracy on webpage content | No defeasibility; retraining required |
| [41] | 2024 | RNN + WOA | WOA-optimized RNN achieved 92% accuracy on 11K dataset | No defeasibility; retraining required |
| [19] | 2025 | Bi-LSTM + Attention | Bi-LSTM with attention achieved best accuracy of 98.34% | No defeasibility; retraining required |
existing approaches, PHISHREV+ derives defeasible rules directly from exploratory data analysis of features, enabling selective and evidence-driven belief correction in time without modifying or retraining the underlying ML classifiers.
3. Background and Preliminaries
In this section, we introduce the principle of non monotonic reasoning and its formal characterization through defeasible logic. We then formally contrast the decision making paradigm of machine learning classifier with that of NMR-based reasoning systems, highlighting the fundamental distinction between fixed rule statistical decision functions and defeasible belief revisions.
Table 3: Summary of LLM Based Phishing Detection Approaches
| Ref. | Year | Model | Key Findings | Limitations |
|---|---|---|---|---|
| [42] | 2024 | GPT-4 | GPT-4 used for both generating and detecting phishing emails. Claude detected AI-generated phishing with 100% accuracy when primed but dropped to 75% on real-world emails | Non-revisable at inference; fine-tuning required for updates |
| [43] | 2024 | GPT-3.5, GPT-4, ChatGPT | Evaluated phishing detection capabilities of three LLM variants with varying levels of success across models | Non-revisable at inference; fine-tuning required for updates |
| [44] | 2025 | GPT-3.5, Llama-3 | GPT-3.5 and Llama-3-8b-Instruct identified as best performing models for phishing detection in SMEs | Non-revisable at inference; fine-tuning required for updates |
| [45] | 2024 | Multimodal LLM | Multimodal LLM combining webpage visual and textual signals for phishing webpage detection | Non-revisable at inference; fine-tuning required for updates |
3.1. Non-monotonic Reasoning
Classical deductive reasoning is monotonic in nature that is adding new premises to an existing knowledge base never invalidates previously derived conclusions. Formally saying, if a conclusion is derivable from a set of premises , it remains derivable from any superset as shown in equation 1.
This property is in mathematical proof systems, it is ill-suited to real world reasoning scenarios where new evidences may contradict or override earlier conclusion. Non-monotonic reasoning addresses this limitation by allowing previously derived conclusions to be formally withdrawn upon the arrival of new and contradictory evidence[46] presented in equation 2.
This property known as defeasibility which enables a reasoning system to revise its beliefs in a principled and auditable manner, without discarding the underlying knowledge base. A defeasible rule takes the general form as shown in equation 3
where, presents the body of the rule, is the conclusion and is a defeating condition whose absence is required for the conclusion to hold. If becomes derivable from new evidence, the conclusion is formally retracted even if remains true. This is the nature of non-monotonic [47] belief revision.
3.2. Answer Set Programming(ASP)
Answer Set Programming [48] is a declarative programming paradigm that provides a natural and computationally efficient implementation of non-monotonic reasoning. ASP consists of rules of the form presented in equation 4.
where is the head atom or conclusion, are positive body literals and encode negation as failure meaning the rule fires only if cannot be derived from the current knowledge base. Clingo is the state-of-the-art ASP solver used in this work, supporting efficient grounding and solving of large-scale ASP programs.
3.3. Machine Learning vs Non-Monotonic Reasoning
Machine learning and non-monotonic reasoning systems presents fundamentally different paradigms of decision making. A machine learning classifier learns a fixed decision function from labeled training data as shown in equation 5. Once trained, this function is frozen and the classifier applies the same mapping to every new instance regardless of any additional contextual evidence available at the inference time. Incorporating new domain knowledge needs full model retraining incurring a computational cost.
Furthermore, ML classifiers provides no formal mechanism for retracting a prediction, for example, a false positive once generated cannot be revised without retraining.
Non-monotonic reasoning, by contrast, operates over an explicit knowledge base of facts and defeasible rules. When new contextual evidences becomes available, it is encoded as a new fact and reasoning engines re-evaluates the knowledge base to derive revised conclusions. This process operates in time and requires no modification to the underlying knowledge base structure. New knowledge is incorporated simply by adding new defeasible rules. Table 4 summarizes the key differences between the two systems. This contrast motivates the notion of defeasible machine learning, which bridges the gap between pattern recognition capability of statistical ML and the formal belief revision capability of NMR.
3.4. Defeasible Machine Learning
The term Defeasible machine learning is introduced by [49]. Our work extends this notion to statistical machine learning, treating the predictions of trained classifiers as defeasible initial beliefs subject to formal revision by an ASP-based non-monotonic reasoning layer.
Conventional ML classifiers produce non-defeasible predictions that cannot be retracted without retraining. Defeasible machine learning reframe this paradigm by treating classifier predictions not as fixed outputs but as defeasible initial beliefs , that are subject to formal revision when contextual evidence supports a different conclusions. Formally, a defeasible machine learning system comprises two components: a statistical learning component that generates initial beliefs from input features and a non-monotonic reasoning component that formally revises these beliefs using domain-derived defeasible rules as presented in equation 6.
where is the initial belief generated by the ML classifier, is the set of contextual evidence facts, and is the set of defeasible rules encoding domain knowledge. The final belief is the result of applying the NMR reasoning layer to under the evidence and rules . This paradigm is applicable to any classification task where contextual evidence is available at inference time, false positives carry significant operational costs and new domain knowledge must be incorporated without retraining.
3.5. Role of NMR for Phishing Detection
The characteristics of phishing detection make it particularly well suited to nmr based post-hoc reasoning. First, phishing classifier trained on lexical
Table 4: Comparison of Machine Learning and Non-Monotonic Reasoning
| Property | ML Classifier | NMR (ASP) |
|---|---|---|
| Learning | Data-driven | Rule-driven |
| Decision boundary | Fixed after training | Dynamic via rules |
| Belief revision | Not supported | Formally supported |
| New evidence | Requires retraining | Rule addition only |
| Update complexity | ||
| Defeasibility | No | Yes |
| Interpretability | Limited | Full — rule-based |
| False positive control | Implicit via threshold | Explicit via rules |
features, are known to generate false positives that is legitimate URLs that share structural characteristics with phishing pages are incorrectly flagged as malicious [6]. These false positives cannot be corrected or altered without retraining the classifier. Second, new phishing strategies emerge continuously, requiring rapid incorporation of new detection signals without the overhead of full model retraining. Third, phishing detection systems operates in adversarial environments where phishing pages deliberately mimic legitimate structural characteristics which demands contextual, evidence driven revision of input classifier predictions rather than purely statistical classification.
The proposed framework, addresses all three requirements by positioning a post-hoc ASP-based NMR layer after the machine learning classification phase. The NMR layer accepts initial classifier predictions as default beliefs and formally revises them using EDA-derived defeasible rules when contextual evidence supports a different conclusion, presented in 7, where is the initial classifier belief, , (length_url > 63), (nb_www = 0), and (domain_in_title = 1)
This enables selective and evidence driven belief correction in time without modifying or retraining the underlying ML classifiers.
4. Dataset information and feature engineering
We experimented on the dataset available at [27] which contains total 11,430 URLs. 50% of 11,430 that is 5,715 URLs are of phishing type and remaining 50% (5715) are of legitimate type. The dataset has been widely adopted as a standard benchmark for phishing detection research works with multiple state-of-art studies [32, 34].
4.1. Feature Set
The dataset contains 87 features extracted from each URL, covering four broad categories as mentioned below.
-
URL Structure Features Lexical and syntactical characteristics of the raw URL string, including URL length, number of dots, number of hyphens in URL, presence of special character in URL, length of subdomain path etc.
-
Web Content Features Characteristics extracted from the webpage content, including the number of hyperlinks, presence of forms, iframe usage, domain embedded in title page etc.
-
Domain Based Features Characteristics derived from the domain registration information including domain age, domain registration length etc.
-
External Service Features Features derived from external services like Google index status, page rank.
Along with these 87 features, this work introduces a novel binary feature named meta_info_present which captures the presence or absence of meta tag information in the webpage associated with each URL. This feature was constructed by independently parsing each URL's webpage and recording the binary availability of meta fields such as description, keywords, and author. The feature is encoded as yes if meta information is present and no otherwise.
5. Exploratory Data Analysis of Contextual Features
This section presents the exploratory data analysis(EDA) performed to extract the features used in the NMR reasoning layer. We analyse four features meta_info_present, length_url, nb Www, and domain_in_title. The EDA finding motivates the selection of the four rules of the proposed NMR framework.
5.1. meta_info_present
The binary feature meta_info_present captures the presence or absence of meta tag information in the webpage associated with each URL. Meta tags such as description, keywords, and author are standard elements of legitimate web development practice, commonly used to support search engine indexing and semantic web standards. Phishing pages, which are typically hastily constructed to mimic legitimate pages, often omit these structural elements. This feature was constructed by independently parsing each URL's webpage and recording the binary availability of meta fields. In the training set, 50.72% of legitimate URLs contained meta information compared to only 10.0% of phishing URLs. This is a separation of 40.72 percentage points — confirming its discriminative value as the primary contextual signal for belief revision. A consistent pattern is observed in the test set, where 49.69% of legitimate URLs contain meta information compared to only 9.80% of phishing URLs. The test set values are reported for verification only and they were not used to build the rules. Table 5 shows the detail distribution of meta tags. This feature motivates Rule 1 of the NMR framework: when a classifier predicts phishing and meta information is present, the prediction is revised to legitimate, subject to override by Rules 2–4.
Table 5: Distribution of meta_info_present across the training and test sets. Training-set values are used for rule derivation; test-set values are shown for verification only.
| Split | URL Type | Meta Present | Meta Absent | Meta (%) |
|---|---|---|---|---|
| Train | Legitimate (4,572) | 2,319 | 2,253 | 50.72 |
| Phishing (4,570) | 457 | 4,113 | 10.00 | |
| Total (9,142) | 2,776 | 6,366 | 30.37 | |
| Test | Legitimate (1,143) | 568 | 575 | 49.69 |
| Phishing (1,143) | 112 | 1,031 | 9.80 | |
| Total (2,286) | 680 | 1,606 | 29.75 | |
5.2. length_url
Table 6: Descriptive Statistics and Percentile Comparison of length_url (Training Set) — Phishing (meta=yes, n=457) vs Legitimate (meta=yes, n=2,319)
| Descriptive Statistics | Percentile Comparison | ||||
|---|---|---|---|---|---|
| Metric | Phishing | Legitimate | Percentile | Phishing | Legitimate |
| Count | 457 | 2,319 | P10 | 27.0 | 23.0 |
| Mean | 63.22 | 45.47 | P25 | 34.0 | 27.0 |
| Std Dev | 49.59 | 23.09 | P50 | 47.0 | 38.0 |
| Min | 15.0 | 13.0 | P75 | 74.0 | 59.0 |
| Max | 415.0 | 161.0 | P90 | 113.4 | 77.0 |
| Median | 47.0 | 38.0 | P95 | 166.2 | 90.0 |
URL length serves as a structural indicator of phishing behaviour. An examination over the URL length over the training set shows a distributional difference between phishing URLs with meta information present () and legitimate with meta information present (). On average, phishing URLs are 63.22 characters long with median of 47 while legitimate URLs have an average of 45.47 characters ( and phishing ) with median of 38.0. The percentile analysis further confirms that the distribution gap widens at higher percentile. Phishing URLs are substantially longer at P75 (74.0 vs 59.0), P90 (113.4 vs 77.0) P95 (166.2 vs 90.0). The descriptive statistics and percentile analysis both are presented in table 6. Figure 2 depicts two complementary interpretation of URL length feature. The left panel shows the density distribution. Legitimate URLs cluster densely at shorter lengths, while phishing URLs have a wider spread and a longer right tail. No legitimate URLs in the training set exceeds 161 characters, while the longest phishing URL has 415 characters. The threshold efficacy in the right panel shows the trade-off between phishing URLs caught and legitimate URLs blocked at various thresholds. At the chosen threshold , which is roughly equal to the mean of phishing cases, 31.5% of phishing URLs exceed the threshold while only 20.4% of legitimate URLs exceed it, hence achieving a discrimination ratio of 1.54 approximately. This motivates the construction of rule 2 that is when a URL is predicted as phishing has meta information present but exhibits excessive length (> 63 characters), the revision to legitimate is defeated.

Figure 2: Distribution of length_url in the training set for instances with meta=yes (phishing , legitimate ). The left panel shows the density histogram for both classes. The dashed black line marks the threshold . The dotted lines mark the class means. URL lengths above 200 characters are shown in the last bin. The phishing mean (63.2) lies very close to , so the two lines overlap. The right panel shows the percentage of URLs in each class that exceed each threshold. At , 31.5% of phishing URLs and 20.4% of legitimate URLs exceed the threshold.
5.3. nb_www
The feature nb_www records the number of occurrences of the sub-string www within the full URL string. Legitimate websites commonly adapt the general convention like www.domain.com which results the count of www=1. But, phishing websites frequently deviate from this convention by omitting www prefix. Phishers often rely on IP addresses, obfuscated subdomains to conceal the fraudulent nature of a URL. This feature is analyzed only for instances with meta information present and length_url 63. These are the instances that reach Rule 3, because Rule 2 already defeats revision for longer URLs.
Table 7 presents the distribution of nb_www in the training set. Among phishing URLs, 77.6% omit the www prefix compared to 24.9% of legitimate URLs. Conversely, 75.1% of legitimate URLs contain the www prefix, against 22.0% of phishing URLs. The separation of 52.8 percentage points is the
Table 7: Distribution of nbWWW (Training Set) — Phishing vs Legitimate (meta=yes, length_url ≤ 63)
| nbWWW Value | Phishing (n=313) | Legitimate (n=1,845) |
|---|---|---|
| 0 (no www prefix) | 243 (77.6%) | 459 (24.9%) |
| 1 (has www prefix) | 69 (22.0%) | 1,386 (75.1%) |
| ≥ 2 | 1 (0.3%) | 0 (0.0%) |
| Separation | 52.8% | |
largest among the four features. A chi-square test compares nbWWW = 0 against nbWWW ≥ 1. The difference is statistically significant (, df = 1, ). Phishing URLs in this subset are about 10.5 times more likely to lack the www prefix. The odds ratio is 10.48. This finding motivates rule 3. When a URL is predicted as phishing and has meta information present, but has no www prefix, the revision to legitimate is defeated.
5.4. domain_in_title
The feature domain_in_title indicates whether the domain name of the URL is embedded within the webpage title. Legitimate websites commonly include their brand or domain name in the page title as part of standard web development practice. Table 8 presents the distribution of domain_in_title for both classes of URLs in the training set. It covers the instances that reach rule 4, that is meta information present, length_url ≤ 63 and a www prefix. This subset has 69 phishing and 1386 legitimate URLs. In this subset, the separation is of 25.8 percentage points between phishing(82.6%) and legitimate(56.8%) entries that contains domain_in_title. A chi-square test confirms that the difference is statistically significant (, df = 1, ). The odds ratio is 3.62. Phishing URLs in this subset are about 3.6 times more likely to have the domain in the title. This pattern is counter intuitive, because a domain in the title is usually seen as a sign of legitimacy. It is consistent with the hypothesis that phishing pages may deliberately reproduce legitimate page-title characteristics to appear credible. Dataset alone cannot confirm attacker intent. This result motivates rule 4. When a URL is predicted as phishing and has meta information present, a short URL and a www prefix, but the domain appears in the title, the revision to legitimate is defeated.
Table 8: Distribution of domain_in_title (Training Set) — Phishing vs Legitimate (meta=yes, length_url ≤ 63, nb Www = 1)
| domain_in_title | Phishing (n=69) | Legitimate (n=1,386) |
|---|---|---|
| 0 (not in title) | 12 (17.4%) | 599 (43.2%) |
| 1 (in title) | 57 (82.6%) | 787 (56.8%) |
| Separation | 25.8% | |
5.5. Summary of EDA Findings
Table 9: EDA Summary — Contextual Feature Separation Analysis Across All 4 Features (Training Set). Each feature is measured on the subset that reaches its rule: meta_info_present on all training instances, length_url on meta=yes, nb_www on meta=yes with length_url ≤ 63, and domain_in_title on meta=yes with length_url ≤ 63 and nb_www = 1.
| Feature | Phishing (%) | Legitimate (%) | Separation (%) | NMR Usage |
|---|---|---|---|---|
| meta_info_present | 10.00 | 50.72 | 40.72 | Rule 1 (revision trigger) |
| length_url (>63) | 31.5 | 20.4 | 11.1 | Rule 2 (defeater) |
| nb_www (=0) | 77.6 | 24.9 | 52.8 | Rule 3 (defeater) |
| domain_in_title (=1) | 82.6 | 56.8 | 25.8 | Rule 4 (defeater) |
Table 9 summarizes the separation analysis across all four features. The separations range from 11.1 percentage points for length_url to 52.8 percentage points for nb_www.nb_www is the strongest binary signal. All four differences are statistically significant at . No single feature separates the two classes on its own. Phishing and legitimate URLs overlap on every feature. meta_info_present is the revision trigger. Legitimate URLs are about 9.26 times more likely to have meta information. The other three features act as defeaters. Each one is applied to the subset left by the rules before it. This finding motivates, the need of multi-rule NMR framework that combines multiple weak signals as hierarchical defeasible rules within the ASP framework. On the test set, this combination revises five classifier predictions, and all five revisions are correct.
5.6. Statistical Significance of Contextual Features
To address RQ1, the distributional differences between phishing and legitimate URLs identified through EDA were validated using statistical tests. For binary features like meta_info_present, nb Www and domain_in_title, Pearson's Chi-square test was performed with odds ratios as effect size measures (equation 8). A significance level of was adopted as the threshold for rejecting the null hypothesis, consistent with standard practice in statistical hypothesis testing. For each feature, the null hypothesis states that the feature distribution is independent of the class type (phishing or legitimate) i.e the observed distributional differences arise by chance. The alternative hypothesis states that a meaningful association exists between the feature distribution and class type. Results of the statistical tests justifies its use as a defeasible revision signal in the NMR reasoning layer. For binary features — meta_info_present, nb_www, and domain_in_title — Pearson's Chi-square test of independence was applied.
where denotes the observed frequency and denotes the expected frequency under , computed as:
where is the total sample size. Odds ratios (OR) are reported as effect size measures to assess practical significance, as p-values alone can be inflated by large sample sizes.
For the continuous feature length_url, the non-parametric Mann-Whitney U test was applied, with as the effect size measure.
where and are the sample sizes of the phishing and legitimate groups respectively, and is the sum of ranks for the phishing group. The effect size is computed from the standardised test statistic as shown in equation 11.
Table 10 presents the statistical test results for all four features. All four features reject at , confirming statistically significant distributional differences between phishing and legitimate URLs.
-
meta_info_present Among the training instances, 457 out of 4570 phishing URLs (10.00%) contained meta information where 2319 out of 4,572 legitimate URLs (50.72%) contains meta fields (as shown in table 5) which states a separation of 40.72 percentage points. The Chi-square test confirms this difference is highly significant (, ), with legitimate URLs 9.26 times more likely to contain meta tags than phishing URLs (OR = 9.26).
-
length_url Among phishing URLs with meta information present (), the mean URL length was 63.22 characters (, median = 47.00), compared to 45.47 characters (, median = 38.00) for legitimate URLs () — a mean difference of 17.75 characters(as presented in table 6). The Mann-Whitney U test confirms this difference is statistically significant (, ), with a small effect size (), consistent with the known distributional overlap between phishing and legitimate URL lengths. This reflects its role as a weak standalone discriminator that nonetheless provides a meaningful defeater signal within the NMR framework.
-
nb Www Among the subset of instances where meta information is present and URL length does not exceed characters, 243 out of 313 phishing URLs (77.6%) lacked the www prefix () compared to only 459 out of 1845 legitimate URLs(24.9%) indicates a clear separation of 52.8 percentage points. The Chi-square test confirms this is highly significant (, , OR = 10.48), indicating phishing URLs are 10.48 times more likely to lack the www prefix.
-
domain_in_title Among the subset where meta information is present, URL length does not exceed characters, and www prefix is present, 57 out of 69 phishing URLs (82.6%) embedded the domain in the page title (domain_in_title = 1), compared to 787 out of 1,386 legitimate URLs (56.8%) — a separation of 25.8 percentage points. The Chi-square test confirms this association is statistically significant (, , OR = 3.62), indicating phishing pages
in this subset are 3.62 times more likely to embed the domain in the page title. These results collectively confirm that all four EDA-derived contextual signals are statistically grounded and directly address RQ1.
The critical value of the test at with , obtained from the standard Chi-square distribution table is as presented in table 10. All computed statistics substantially exceed this critical value, confirming the rejection of in all cases.
Table 10: Statistical Significance of Contextual Features — Training Set (, df=1)
| Feature | Test | Statistic | Critical | p-value | Effect | Decision |
|---|---|---|---|---|---|---|
| meta_info_present | 1790.46 | 3.841 | <0.001 | OR=9.26 | Reject | |
| length_url | Mann-Whitney | 650657 | — | r=0.146 | Reject | |
| nb Www | 336.96 | 3.841 | OR=10.48 | Reject | ||
| domain_in_title | 16.95 | 3.841 | OR=3.62 | Reject |
6. Proposed Framework: PHISHREV+
The proposed framework operates in two sequential processing stages- an initial machine learning classification stage that generates preliminary predictions referred to as initial beliefs and a subsequent NMR belief revision phase that selectively revises these predictions using EDA-derived evidence encoded as defeasible ASP rules. Figure 3, illustrates the complete architecture of the proposed framework.
6.1. Phase 1: Machine Learning Classification
Four machine learning classifiers namely Support Vector Machine (SVM), K-Nearest Neighbour (KNN), Decision Tree (DT), and Random Forest (RF) were used.
6.1.1. Data Preparation
The dataset contains 11,430 rows [27]. One URL appears twice which leaves 11,429 unique URLs. These are split into training set of 9,143 instances (80%) and test set of 2,286 samples (20%) using stratified splitting. One

Figure 3: Overview of the PHISHREV+ framework. In the first stage, the training set is used to train four ML classifiers and to derive the four defeasible rules and the threshold through EDA. The rules and are frozen before testing. In the inference stage, each test URL is classified by the trained models. These predictions become initial beliefs . These beliefs and the contextual features of the URL are encoded as ASP facts. Clingo computes the unique answer set, which gives the final belief .
training instance had a missing class label and was removed. The final data therefore contains 11,428 instances : 9,142 for training and 2,286 for testing. All features were normalized using Standard Scaler technique as shown in algorithm 1.
Algorithm 1 PHISHREV+ Data Preparation
Require: Dataset with 87 benchmark features, 1 novel feature and a class label for each URL, Classifiers , EDA-derived threshold , ASP solver Clingo
Ensure: Final belief for each test instance
1: Partition into (80%, 9,142 instances after cleaning) and (20%, 2,286 instances) using stratified splitting
2: Apply Standard Scaler normalisation to and , with parameters fitted on only to prevent data leakage
6.1.2. Classifier Training and Hyperparameter Optimisation
Hyperparameter optimisation is performed using GridSearchCV with 5-fold cross validation on the training set. The search space and best hyper-parameters are placed in table 11.
Table 11: Best Hyperparameter Configuration for Each Classifier
| Classifier | Search Space | Best Configuration |
|---|---|---|
| SVM | , kernel , | , kernel=rbf, |
| KNN | , weights , metric | , weights=distance, metric=manhattan |
| DT | criterion , max_depth , min_samples_split | criterion=gini, max_depth=10, min_samples_split=2 |
| RF | n_estimators , max_depth , criterion | n_estimators=200, max_depth=None, criterion=gini |
6.1.3. Initial Belief Generation
Each trained classifier is evaluated on the test set to generate initial predictions. These predictions are treated as initial beliefs in the NMR reasoning layer as shown in equation 12.
where, denotes the classifier and denotes the -th test instance. These initial beliefs represent the closed world predictions of the ML classifications prior to any revision. Algorithm 2, presents the steps.
Algorithm 2 PHISHREV+: ML Classification and Initial Belief Generation
3: Train classifiers on using 5-fold cross-validation and GridSearchCV for hyperparameter optimisation
4: for each instance do
5: for each classifier do
6: Generate initial belief:
7: end for
8: end for
6.2. Phase 2: ASP-Based Non-Monotonic Reasoning Layer
In this phase, the knowledge base is created and used for the belief revision.
6.2.1. Knowledge Base Construction
The NMR reasoning layer operates over an ASP knowledge base comprising two components: a. ground facts encoding the initial classifier predictions and contextual feature values and defeasible rules encoding the EDA-derived revision conditions. For each test instance, , the following ASP facts are generated
-
pred(CL, i, Label). encodes the initial belief of classifier CL for instance , where Label
-
meta(i, M). encodes the meta tag availability for instance i, where M ∈ {yes, no}
-
url_length(i, L). encodes the URL length for instance i, where L is an integer
-
nb_www(i, W). encodes the www prefix count for instance i, where W ∈ {0, 1}
-
domain_in_title(i, T). — encodes the domain-in-title signal for instance i, where T ∈ {0, 1}
In algorithm 3, the steps are outlined. A sample of the generated ASP facts for two representative instances is table 12.
Algorithm 3 PHISHREV+: ASP Knowledge Base Construction
7: for each instance do 8: Generate ASP ground facts: 9: pred(CL, i, ). ▷ initial belief 10: meta(i, meta_info_present[i]). ▷ novel feature 11: url_length(i, length_url[i]). ▷ Rule 2 signal 12: nb_www(i, nb_www[i]). ▷ Rule 3 signal 13: domain_in_title(i, domain_in_title[i]). ▷ Rule 4 signal 14: end for
6.2.2. Defeasible NMR Rules
Four defeasible rules are encoded within the ASP knowledge base, derived directly from the EDA findings presented in section 5. Rules interact hierarchically that is rule 1 initiates belief revision while rules 2 to 4 act as defeasible exceptions that defeat rule 1.
Rule 1 (Base Revision Rule): A classifier prediction of phishing is revised to legitimate when meta information is present and no adversarial defeater signal is detected. Equation 13 presents the rule.
Table 12: ASP facts corresponding to two sample URLs
| Predicate | Fact |
|---|---|
| PredictionMetadataURL LengthWWW CountDomain in Title | pred(rf,464,phishing).meta(464,yes).url_length(464,44).nb_www(464,1).domain_in_title(464,0). |
| PredictionMetadataURL LengthWWW CountDomain in Title | pred(svm,2048,phishing).meta(2048,yes).url_length(2048,28).nb_www(2048,1).domain_in_title(2048,0). |
Rule 2 (URL Length Defeater): Derived from EDA finding in section 5, that phishing URLs with meta information present have a mean length of 63.22 characters () compared to 45.47 () for legitimate URLs. At threshold (), 31.5% of phishing instances exceed the threshold against 20.4% of legitimate URLs. Equation 14, states rule 2.
Rule 3 (www Defeater): From section 5, we found that 77.6% of phishing instances with meta present and url of length 63 lack the www prefix compared to only 24.9% of legitimate URLs that is the separation is of 52.8 percentage points. The rule is presented in equation 15.
Rule 4 (Domain-Title Defeater): EDA 5 reveals among instances with meta information present, length_url 63 and a www prefix, 82.6% of phishing URLs embed the domain in the page title, against 56.8% of legitimate URLs. The separation is 25.8 percentage points. Rule 4 is presented in equation 16.
The final belief for each instance is computed as presented in equation 17.
The four rules interact hierarchically. Rules 2-4, act as defeasible exceptions that formally defeat rule 1 under conflicting contextual evidence - a behaviour encoded through the not operator in ASP, representing negation as failure. Rule 1 fires only when rule 2,3 and 4 fail to derive their conclusions, capturing the defeasible nature of the revision. The first two cases of equation 17, therefore cannot hold together, and each prediction has exactly one final belief. In algorithm 4, steps are mentioned.
6.2.3. Computational Complexity
Table 13, presents the computational complexity of each phase of the proposed framework. A key practical advantage of the proposed work is that the total NMR overhead is that is linear in the number of test samples and independent of the number of features f or number of trees T. Incorporating new domain knowledge requires only adding a new defeasible rule/logic to the ASP knowledge base, operating in time, compared to full model retraining.
Let denote the number of URL instances submitted for revision. The knowledge base comprises (i) a bounded number of ground facts per instance — namely , and — yielding ground facts in total, and (ii) a fixed finite set of defeasible revision rules whose cardinality is independent of .
Proposition 1. Re-evaluation of the proposed knowledge base under the answer-set semantics runs in time.
Algorithm 4 PHISHREV+ — NMR Belief Revision
14: for each instance do 15: for each classifier do 16: if then 17: if url_length(i) > then 18: Rule 2: long URL — Rule 2 defeats Rule 1 19: else if nbWWW(i) = 0 then 20: Rule 3: no www — Rule 3 defeats Rule 1 21: else if domain_title(i) = 1 then 22: Rule 4: domain in title — Rule 4 defeats Rule 1 23: else 24: Rule 1: all conditions met — Rule 1 fires 25: end if 26: else 27: no revision needed 28: end if 29: end for 30: end for
Proof sketch. The program is stratified ¹ and non-disjunctive, with revision rules applied independently per instance. Three properties follow.
Grounding. Every rule body ranges over a single instance variable together with locally bounded variables drawn from fixed finite domains, and no rule joins two distinct instance identifiers. Grounding each of the rules against the facts therefore yields at most ground instances, and the absence of cross-instance joins precludes any combinatorial blow-up. The ground program has size .
¹A logic program is stratified when its rules can be ordered into layers such that no conclusion depends negatively on itself, ensuring a single, well-defined outcome; it is non-disjunctive when every rule derives exactly one conclusion rather than a choice among alternatives. Together these properties guarantee a unique answer set that can be computed without search.
Table 13: Computational Complexity of PHISHREV+ Framework
| Phase | Operation | Complexity |
|---|---|---|
| ML Training | SVM | |
| ML Training | KNN | |
| ML Training | DT | |
| ML Training | RF | |
| NMR Fact Generation | All classifiers | |
| NMR Rule Evaluation | All classifiers | |
| Total NMR Overhead | All classifiers | |
| Knowledge Update | New rule addition |
Uniqueness of the model. Because negation-as-failure is stratified (the dependency order long_url → revised → finalcontains no negative cycle) and the program contains no disjunction, the program admits a single answer set. Consequently no search over competing extensions is required, and the second-level complexity characteristic of general non-monotonic formalisms does not arise.
Solving. The unique model is obtained by a bottom-up evaluation of the strata in which each ground rule fires a constant number of times. Since revision rules apply independently per instance, the global answer set is the disjoint union of per-instance computations, each of cost. Solving is thus .
Combining grounding and solving gives an overall cost of .
Incorporating new domain knowledge amounts to appending a rule to , an edit that leaves the re-evaluation cost at and requires no retraining of the underlying classifiers. This tractability is a property of the restricted rule fragment employed and is not claimed for non-monotonic reasoning in general, whose expressive fragments (disjunctive or unstratified programs) are -hard.
7. Experimental Results
This section presents, the experimental evaluation of the proposed framework. The evaluation is structured in two parts: the first part consists of the machine learning classifiers before NMR-based belief revision and the second part contains the performance of after the NMR-based belief revision using the proposed defeasible framework.
7.1. Experimental Setup
All experiments were conducted on a computer running Microsoft Windows 11 Education with an Intel Core i5-14400 processor and 16 GB RAM. The pipeline was implemented in Python 3.10 using scikit-learn 1.7.2 for machine learning and the Clingo 5.8.2 ASP solver, for non-monotonic reasoning.
7.2. Phase 1: ML Classification Results — Initial Belief Generation
Table 14 presents the performance of the four machine learning classifiers on the test set prior to NMR-based belief revision. These predictions constitutes the initial beliefs fed into the NMR reasoning layer.
Table 14: Machine Learning Classification Results Before NMR-Based Belief Revision
| Classifier | Accuracy (%) | Precision | Recall | F1-Score | FP | FN |
|---|---|---|---|---|---|---|
| SVM | 96.33 | 0.9641 | 0.9624 | 0.9632 | 41 | 43 |
| KNN | 95.45 | 0.9585 | 0.9501 | 0.9543 | 47 | 57 |
| Decision Tree | 93.70 | 0.9448 | 0.9283 | 0.9365 | 62 | 82 |
| Random Forest | 95.80 | 0.9548 | 0.9615 | 0.9582 | 52 | 44 |
Among the four classifiers, SVM achieves the highest accuracy of 96.33% followed by Random Forest at 95.80%, KNN at 95.45% and Decision Tree at 93.70%. SVM achieved highest recall of 0.9624, indicating strong sensitivity to phishing instances. All four classifiers demonstrate competitive performance on the benchmark dataset, consistent with prior work[30, 32, 34]. However, all classifiers generate false positives, ranging from 41(SVM) to 62(DT), representing legitimate URLs incorrectly flagged as phishing. These false positives constitute the primary target for NMR-based belief revision in Phase 2.
As depicted in table 5, approximately 50% legitimate URLs contain meta tags compared to only 10% of phishing URLs, which produces a separation of approximately 40% that is consistent across both training and test sets.
This consistency confirms that meta_info_present is a reliable and stable contextual signal for post-hoc belief revision.
7.3. Phase 2: NMR Belief Revision Results
We used non-monotonic reasoning to revise the initial classifier prediction. These predictions are treated as initial beliefs and fed as input to NMR layer.
7.3.1. Instance-Level Belief Revision Analysis
Based on the domain specific rules, the reasoning layer selectively revises certain predictions, enabling belief updates. To illustrate the belief revision, two representative instances from the test sets are examined.
Instance url1464, (http://www.allquests.com/question/2248296-1/) is an actual legitimate URL. SVM, KNN and RF predicted as phishing, while DT predicted as legitimate. Since, meta information is present, the URL length is 44 characters long, the www prefix is present and domain is not embedded in the page title. No defeater applies, so rule 1 fires and the three phishing predictions are revised to legitimate. All three revisions are correct.
Instance url2048 (https://www.carmi.be/nl/home) is also a legitimate URL. SVM and DT predicted as phishing while KNN and RF predicted as it as legitimate. Meta information is present, URL is 28 characters long, www prefix present, and domain not in title. Rule 1 again fired and both phishing predictions are revised to legitimate. Both revision are correct.
7.3.2. Revised Predictions Count
Table 15 presents the count of instances whose initial belief or prediction was revised by the NMR layer for each classifier. Overall, out of 9,144, classifier level predictions (2,286 test instances × 4 classifiers), 5 were revised by the NMR reasoning layer, representing a revision rate of 0.05%.
Table 15: Number of Revised Predictions by NMR Layer
| Classifier | Revised Predictions |
| SVM | 2 |
| KNN | 1 |
| Decision Tree | 1 |
| Random Forest | 1 |
| Total | 5 |
7.3.3. Performance Comparison Before and After NMR
Table 16 presents the complete performance comparison before and after NMR-based belief revision using the proposed 4-rule defeasible framework.
Table 16: Performance After NMR-Based Belief Revision — PHISHREV+ Framework
| Classifier | Before NMR | After NMR | Revised | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Acc(%) | Prec | FP | FN | Acc(%) | Prec | FP | FN | ||
| SVM | 96.33 | 0.9641 | 41 | 43 | 96.41 | 0.9658 | 39 | 43 | 2 |
| KNN | 95.45 | 0.9585 | 47 | 57 | 95.49 | 0.9594 | 46 | 57 | 1 |
| Decision Tree | 93.70 | 0.9448 | 62 | 82 | 93.74 | 0.9456 | 61 | 82 | 1 |
| Random Forest | 95.80 | 0.9548 | 52 | 44 | 95.84 | 0.9557 | 51 | 44 | 1 |
The proposed framework achieves consistent false positive reduction across all four classifiers - SVM((41→39),KNN (47→46), DT (62→61), and RF (52→51) while maintaining complete false negative parity with the base classifier, with zero false negative increase. Precision improves consistently across all classifiers following NMR revision, reflecting the reduction in false positives. Recall remains identical before and after NMR revision, for all classifiers, consistent with the zero false negative change. The consistent false positive reduction across all classifiers directly addresses the problem of alert fatigue.
A McNemar test on paired predictions was used to compare ML-only and ML+NMR for each classifier. Let be the number of predictions that were wrong before revision and correct after it, and the number that were correct before and wrong after. Table 17 reports the result. For every classifier, , so the NMR layer corrected false positives and introduced no new errors. The direction of betterment is therefore consistent in favor of ML+NMR. However, only one or two predictions change per classifier, so the difference does not reach statistical significance on this test set (exact ). Larger test sets, where more instances satisfy the revisions conditions are expected to give more corrections and greater statistical power.
7.4. Comparison with Deterministic Post-Processing
To isolate the contribution of the ASP formalism from that of rule based system, the same four rules were implemented as a conventional deterministic if-else procedure and applied to the same classifier predictions. As shown in Table 18, the if-else baseline and the ASP-based NMR layer produce identical FP and FN counts across all four classifiers and an instance level comparison
Table 17: McNemar test on paired predictions, ML-only vs ML+NMR (test set). b: wrong before and correct after revision. c: correct before and wrong after revision.
| Classifier | b | c | Exact p |
|---|---|---|---|
| SVM | 2 | 0 | 0.500 |
| KNN | 1 | 0 | 1.000 |
| DT | 1 | 0 | 1.000 |
| RF | 1 | 0 | 1.000 |
confirms that both revise exactly the same predictions (ur1464 for SVM, KNN and RF; ur12048 for SVM and DT).
The value of the ASP lies not in accuracy, but in representation. Rules
Table 18: Comparison of ML-only, Deterministic If-Else Post-Processing, and ASP-Based NMR (FP / FN)
| Classifier | ML-only | ML + If-Else | ML + ASP |
|---|---|---|---|
| SVM | 41 / 43 | 39 / 43 | 39 / 43 |
| KNN | 47 / 57 | 46 / 57 | 46 / 57 |
| DT | 62 / 82 | 61 / 82 | 61 / 82 |
| RF | 52 / 44 | 51 / 44 | 51 / 44 |
are declarative and order-independent, defaults and defeaters are explicit, a unique answer set is guaranteed by stable model semantics [50], each revision has a formal derivation that supports XASP-based explanation (Section 10), and a new rule is added as a single rule rather than by editing procedural control flow.
7.5. Runtime Analysis
To complement the theoretical analysis, execution times were measured on a personal computer. Runtime measurements report the median of five runs. As shown in table 19, the complete NMR layer, comprising fact generation, grounding and solving, process all 9,144 classifier level decision in 0.313 seconds, of which Clingo grounding and solving account for only 0.062 seconds. Table 20, reports grounding and solving time as the number of test instances increase from 500 to 2,286. The per-instance cost remains approximately constant at 0.027 ms. By comparison, retraining a single SVM or Random Forest model with fixed hyper-parameters requires 7.67 s and 2.88 s respectively, excluding the cost of hyperparameter search.
Table 19: Empirical runtime of the ML phase and the NMR layer (median of five runs)
| Component | Training (s) | Inference (s) |
|---|---|---|
| SVM | 7.665 | 0.4116 |
| KNN | 0.003 | 0.4534 |
| DT | 0.126 | 0.0006 |
| RF | 2.876 | 0.0610 |
| NMR layer (; 9,144 decisions) | ||
| Fact generation | 0.2507 | |
| Clingo grounding | 0.0554 | |
| Clingo solving | 0.0071 | |
| Total NMR | 0.3132 | |
Table 20: Scaling of ASP grounding and solving time with the number of test instances (median of five runs). Grounding instantiated the rules with the facts of each instance; solving computes the unique answer set of the resulting ground program.
| Ground + Solve (s) | ms / instance | |
|---|---|---|
| 500 | 0.0140 | 0.0281 |
| 1000 | 0.0267 | 0.0267 |
| 1500 | 0.0423 | 0.0282 |
| 2000 | 0.0535 | 0.0267 |
| 2286 | 0.0614 | 0.0268 |
8. Ablation Study
To evaluate the individual and collective contribution of each defeasible rule to the overall PHISHREV+ framework, a comprehensive ablation study is conducted by progressively adding rules to the NMR knowledge base and evaluating the resulting FP and FN counts across all four classifiers. Total 7 rule configurations are evaluated, ranging from single rule baseline to the proposed 4-rule framework. The ablation study addresses the RQ3 that whether the hierarchical interaction between multiple defeasible rules achieves an optimal balance between false positive reduction and false negative preservation.
8.1. Rule Configurations
The following rule configurations are evaluated:
-
Rule 1 only: Base revision rule Revise phishing to legitimate if meta= yes
-
Rule 1+2: Base revision with URL length suppression (length_url > 63).
-
Combination A (Rule 1+3): Base revision with www suppression (nb_www = 0).
-
Combination B (Rule 1+2+3): Base revision with URL length and www suppression.
-
Combination C (Rule 1+3+4): Base revision with www and domain-title suppression.
-
Combination E (Rule 1+2+4): Base revision with URL length and domain-title defeaters
-
Proposed (Rule 1+2+3+4): Complete 4-rule framework with all suppression conditions.
8.2. Ablation Results
The results in table 21, presents the complete ablation results across all four classifiers for each rule configuration.
Table 21: Ablation Study: FP and FN across all classifiers for each rule configuration
| Configuration | SVM | KNN | DT | RF | Total Revised | RF FN Change | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| FP | FN | FP | FN | FP | FN | FP | FN | |||
| Before NMR | 41 | 43 | 47 | 57 | 62 | 82 | 52 | 44 | — | — |
| Rule 1 only | 30 | 145 | 33 | 159 | 42 | 177 | 38 | 146 | 460 | +102 |
| Rule 1+2 | 33 | 100 | 34 | 115 | 49 | 135 | 41 | 101 | 270 | +57 |
| Comb A (Rule 1+3) | 35 | 68 | 42 | 78 | 53 | 106 | 46 | 68 | 120 | +24 |
| Comb B (Rule 1+2+3) | 37 | 55 | 43 | 67 | 57 | 93 | 48 | 56 | 62 | +12 |
| Comb C (Rule 1+3+4) | 39 | 45 | 46 | 59 | 61 | 84 | 51 | 46 | 13 | +2 |
| Comb E (Rule 1+2+4) | 39 | 47 | 41 | 61 | 58 | 86 | 49 | 48 | 31 | +4 |
| Proposed (1+2+3+4) | 39 | 43 | 46 | 57 | 61 | 82 | 51 | 44 | 5 | 0 |
8.3. Analysis
In this subsection, we provide detail analysis of the outcome of each combination of rule applied.
8.3.1. Rule 1 Alone
When rule 1 is applied only, the base revision rule that revises all phishing prediction with meta=YES to legitimate, the framework achieves the highest false positive reduction across all classifiers (SVM: 41→30, KNN: 47→33, DT: 62→42, RF: 52→38) as presented in table 21. However, this aggressive revision comes at a significant cost: false negatives increases substantially across all classifiers, with RF false negatives rising from 44 to 146, DT false negatives rising from 82 to 177, KNN false negatives rising from 57 to 159 and SVM false negatives rising from 43 to 145. This demonstrate that a single rule without any defeaters is insufficient for balanced belief revision that is it cannot distinguish genuinely legitimate pages from phishing pages.
8.3.2. Rule 1+2: URL Length Defeater
Addition of rule 2 which defeats revision when URL length exceeds characters, significantly reduces the false negative increases(RF: 146→101, DT 177→135, KNN 159→115, SVM 145→100) while maintaining good false positive reduction.
8.3.3. Combinations A, B, C and E
Combinations A, B, C and E as shown in table 21 progressively add defeater rules, showing a consistent trend: as more defeater rule conditions are introduced, the false negative increase is progressively controlled at the cost of reduced false positives reductions. For RF, the false negative increase falls to +24 (A), +12 (B), +4 (E) and +2 (C). Combination C comes closest to the proposed framework but still introduces two additional false negatives. These results confirm that each defeater rule contributes a complementary signal that collectively tightens the revision conditions.
8.3.4. Proposed 4-Rule Framework
The proposed 4-rule framework (Rule ) achieves the optimal configuration across all four classifiers.
• SVM: FP reduces from 41 to 39 while FN remains unchanged at 43 (zero increase).
- KNN: FP reduces from 47 to 46 while FN remains unchanged at 57 (zero increase).
-
DT: FP reduces from 62 to 61 while FN remains unchanged at 82 (zero increase).
-
RF: FP reduces from 52 to 51 while FN remains unchanged at 44 (zero increase).
This is the only configuration that achieves simultaneous false positive reduction and complete false negative parity across all four classifiers. It revises 5 classifier level predictions , all of which are correct.
8.4. Narrowing of the revision search space
Table 22 and Figure 4, show how the defeater rules progressively narrow the set of test instances on which the default revision rule can act. Rule 1, admits all 680 instances with meta information present, of which 112 are phishing. Requiring a URL length of at most characters reduces this set to 520 samples (65 phishing), requiring the www prefix (Rule 3) reduces it to 347 (13 phishing). And at last rule 4, leaves only 145 instances, none of which is phishing. Consequently, no true phishing instances, remains on which rule 1 can fire, which explains zero false negative increase observed across all classifiers. Of these 145 legitimate instances, only two instances — ur1464 and ur12048, were predicted as phishing by at least one classifier, and these are precisely the instances revised by the NMR layer.
Table 22: Narrowing of the revision search space on the test set. Each row retains the instances that pass all preceding conditions, i.e., those not blocked by any defeater.
| Stage | URLs | Phish. | Legit. | Pred. phish.a | Pred. legit.b |
|---|---|---|---|---|---|
| R1: meta = yes | 680 | 112 | 568 | 136 | 544 |
| + R2: length_url ≤ 63 | 520 | 65 | 455 | 81 | 439 |
| + R3: nb Www = 1 | 347 | 13 | 334 | 18 | 329 |
| + R4: domain_in_title = 0 | 145 | 0 | 145 | 2 | 143 |
aPredicted phishing by at least one classifier.
bPredicted legitimate by all four classifiers.
8.5. Progressive Refinement of Revisions
Table 22 counts unique instances, where as Table 23, counts classifier-level revised predictions (test instances classifiers), summed over all four

Figure 4: Narrowing of the revision search space on the test set. Each stage retains only the instances not blocked by the corresponding defeater rule; band width is proportional to the number of instances. Rule 1 admits 680 instances with meta information present (112 phishing). Successive defeaters — URL length (Rule 2), www prefix (Rule 3) and domain in title (Rule 4) — reduce this set to 520, 347 and finally 145 instances (21.3% of the initial set), none of which is phishing. Of these, only two were predicted as phishing by any classifier, and these are exactly the instances revised by the NMR layer.
classifier. Rule 1, when applied alone, revises 460 predictions with 12.8% precision while rule 1+ rule 2+rule 3+rule 4 revises 5 predictions, all of which are correct. The narrowing comes at a cost: the number of corrected false positives also falls, from 59 to 5, reflecting the conservative design of the framework, which prioritises zero false negative increase over the magnitude of false positive reduction.
8.6. Implications of the Ablation Study
The ablation study presented supports following three observations.
-
No single rule is sufficient: no individual rule or partial combinations achieves simultaneous false positives reduction and zero false negative increase. Each defeater removes a distinct subset of incorrect revisions admitted by the default rule in table 22, and only the full combination eliminates them all.
-
Defeaters are complementary: the rules act on different contextual signals like URL length, www prefix, domain in title etc. and their effects accumulate rather than overlap, as shown by the progressive decrease in false negative increase for RF from +102 (Rule 1) to +57 (Rules 1-2), +12 (Rules 1-3) and 0 (Rules 1-4) in table 21.
-
Incremental knowledge incorporation: each configuration was obtained by adding defeasible rules to the ASP knowledge base and re-evaluating only the reasoning layer over the same, unchanged classifier predictions, no classifier was retrained at any stage. Each update required only re-grounding and re-solving the program, which completes in approximately 0.06 s for all 9144 classifier level decisions (Table 19) and scales linearly with the number of instances (Table 20). This proves empirical support for RQ4.
Table 23: Progressive narrowing of revisions as defeater rules are added. Counts are classifier-level predictions (test instances × classifiers), summed over all four classifiers.
| Rule set | Revised predictions | Correct | Incorrect | Precision |
|---|---|---|---|---|
| R1 | 460 | 59 | 401 | 12.8% |
| R1 + R2 | 270 | 45 | 225 | 16.7% |
| R1 + R2 + R3 | 62 | 17 | 45 | 27.4% |
| R1 + R2 + R3 + R4 | 5 | 5 | 0 | 100% |
8.7. Need of Answer Set Programming
The four rules interact hierarchically. Rule 1 is a default that revises a phishing prediction to legitimate, while rules 2-4 are defeaters that block this default when conflicting contextual evidence is present. This pattern, in which a default conclusion holds unless an exception is established, is the canonical form of non-monotonic reasoning and ASP expresses it directly through negation as failure (not): Rule 1 fires only if none of the defeating atoms can be derived.
The same hierarchy can be implemented procedurally, and Section 7.4 confirms that an equivalent if-else procedure produces identical predictions. The motivation for ASP is therefore not predictive superiority but the properties of the representation, summerised in table 24.
-
Declarative rules: The priority between the default and its defeaters is stated explicitly in the rule bodies rather than encoded implicitly in nesting order of conditional statements.
-
Well-defined semantics: The program is stratified and non-disjunctive, so a stable model semantics [50] guarantees a unique answer set.
Table 24: Qualitative comparison of deterministic if-else post-processing and ASP-based non-monotonic reasoning for the proposed rule set
| Aspect | If-else procedure | ASP knowledge base |
|---|---|---|
| Predictions | Identical to ASP (Table 18) | Identical to if-else |
| Rule priority | Implicit in nesting order | Explicit via default and defeater rules |
| Adding a rule | Edit control flow at the correct position | Append one rule |
| Semantics | Defined by program execution | Stable model semantics; unique answer set |
| Explanation | Returns a label only | Formal derivation per revision (XASP) |
| Knowledge vs. code | Rules embedded in code | Rules separate from ML pipeline |
-
Explainability: Every revised belief has a formal derivation from facts and rules, which enables the rule level explanations presented in Section 10.
-
Extensibility: The knowledge base is separated from machine learning pipeline, so a new defeater is incorporated by appending a single rule, without modifying procedural control flow or retraining classifier.
9. Comparison with state of art
Table 25 compares PHISHREV+ against existing phishing website detection studies that used the same benchmark. Prior works, focus exclusively on maximizing classification accuracy. They report overall accuracy but not false positive or false negatives. In these studies, the prediction of the classifier is final. The decision cannot be revised at inference time and new knowledge requires retraining the model. The authors of [51], proposed post-hoc non-monotonic revision of classifier prediction. Their work uses a single rule that revises a phishing prediction to legitimate when meta information is present. That single rule corresponds to the “Rule 1 only” configuration of the ablation study (Table 21). On the current work, it reduces false positive but sharply increases false negatives. Our proposed work, PHISHREV+ extends this work with three defeaters derived from the training set, which removes this cost of increasing false negatives. Accuracy of the proposed work is comparable to prior work but its contribution is different capability:
initial predictions can be revised and explained at inference time, and new knowledge is added without retraining the classifier.
Table 25: Comparison with prior work on the same benchmark dataset. n.r. = not reported in the original paper.
| Aspect | Hannousse et al. [30] | Adane et al. [32] | Shafin [34] | PHISHREV [51] | PHISHREV+ |
|---|---|---|---|---|---|
| RF accuracy (%) | 96.61 | 96.54 | 96.76 | 95.89 | 95.80 / 95.84a |
| FP / FN reported | n.r. | n.r. | n.r. | FP onlyb | Yes |
| Post-hoc revision of predictions | No | No | No | Yes | Yes |
| Number of revision rules | – | – | – | 1 | 4 (1 default, 3 defeaters) |
| New knowledge needs retraining | Yes | Yes | Yes | No | No |
| Explanation | None | None | Feature-level | None | Rule-level (XASP) |
Before / after NMR-based belief revision.
As reported in the original paper. FN was not reported.
10. Explainability Analysis via XASP
Explainability is a critical requirement in cybersecurity applications where classification decisions must be transparent and auditable. However, existing explanations made by SHAP or LIME, do not explain the post-hoc belief revision decision made by the NMR reasoning layer. Specifically, they do not provide insights to which defeasible rules fired, which were defeated, and why the initial belief was formally retracted. This section presents an instance-level explainability analysis of the NMR belief revision using eXplainable ASP (XASP). This provides formal, rule-level explanations through a directed acyclic graph(DAG)representation of the ASP derivation chain [52]. XASP identifies (i). which defeasible rules were evaluated, (ii). which rules were defeated and why, (iii). which rule fired and what condition, (iv).how the initial belief was formally was retracted to produce the final belief. This three level explainability, fact level, rule level and derivation level, provides a completes and auditable justification for each belief revision decision.
10.1. XASP Explanation Framework
For each revised instance, the XASP analysis traces the complete derivation chain of the NMR reasoning layer across five levels.
-
Facts (Layer 1): The ground ASP facts for the instance presents initial classifier prediction, meta tag availability, URL length, www prefix, and domain-title signal.
-
Defeaters Evaluated (Layer 2): Evaluation of rules 2,3 and 4, whether each defeating condition is satisfied. A defeated rule is shown with a dashed connector and marked as not fired.
-
Rule Fired (Layer 3): The defeasible rule that fires based on the fact evaluation, rule 1 fires when all three defeating conditions are absent.
-
Belief Revision (Layer 4): The formal retraction of initial belief and derivation of final belief in time.
-
Outcome (Layer 5): Whether the revision is correct, verified against the true label.
The XASP explanation DAGs were generated using the xasp library [52] and visualized programmatically from library's explanation DAG output. The full visualization script will be made available with the other code upon acceptance.
10.2. XASP Analysis — Instance url464
Figure 5 presents the XASP derivation DAG for instance url464 (http://www.allquests.com/question/2248296-1/), a legitimate URL incorrectly predicted as phishing by SVM, KNN and RF. The figure shows the RF derivation.
11. Discussion
This section discusses the findings of the proposed framework, interprets the experimental results and places the limitations and broader implications of the work.

Figure 5: XASP explanation DAG for instance url1464 generated using the xasp library [52]. Teal nodes indicate true facts, fired rules and initial belief ; blue nodes indicate contextual facts, brown nodes denote defeated rules, dark green indicates the final belief . Rule 1 fires because all three defeating conditions are absent, formally retracting the initial phishing belief and revising to legitimate, thus correctly reducing a false positive. The same derivation applies to the SVM and KNN predictions for this instance. DT predicted legitimate, so no revision was needed.
11.1. FP Reduction and FN Parity
The primary objective of PHISHREV+ is not accuracy maximization but the demonstration that contextual evidence can be formally incorporated into phishing classification decisions through defeasible reasoning in time. The experimental results confirms that the proposed framework achieves consistent false positive reduction across all four classifier-SVM(41→39), KNN (47→46), DT (62→61), and RF (52→51) while maintaining complete false negative parity with the base classifier.
11.2. Addressing the Research Questions
The EDA analysis conducted on training set confirms that all four contextual features — meta_info_present (40.72% separation; , OR = 9.26), length_url (mean 63.22 vs 45.47 characters, yielding ;
Mann-Whitney , small effect ), (52.8% separation, the strongest binary signal; , OR = 10.48) and (25.8% separation; , OR = 3.62) exhibit statistically meaningful distributional differences that motivate the defeasible rule design. All four reject the null hypothesis of independence at , and together they motivate the defeasible rule design, which was frozen before evaluation on untouched test set.
The results of the proposed framework confirms this: false positive decrease for all four classifiers (SVM 41→39, KNN 47→46, DT 62→61, RF 52→51) while false negatives remain unchanged, with 5 of 9,144 classifier-level predictions revised(0.05%).
The ablation study shows that no single rule or partial combination achieves false positive reduction without increasing false negatives. Only the full 4-rule hierarchy does so, with the search space narrowing from 680 to 145 instances, none of which is phishing. A deterministic if-else implementation of the same rules produces identical predictions, so the predictive gain derives from the EDA-derived rules. The contribution of ASP lies in its declarative, order-independent representation of defaults and defeaters, its well defined stable model semantics and its support for formal rule-level explanation through XASP.
This is supported both theoretically, by the complexity analysis of the stratified, non-disjunctive rule fragment and empirically: the ablation study incorporates successive defeater rules without retraining any classifier, and grounding and solving time grows linearly with the number of instances, at approximately 0.027 ms per instance.
11.3. Domain-Title Signal
A key finding of the EDA analysis is counter-intuitive behaviour of . In the training-set subset that passes rules 2 and 3, 82.6% of phishing instances (57 of 69) embed the domain in the page title, compared with 56.8% of legitimate instances (787 of 1,386; OR = 3.62). This pattern is consistent with the hypothesis that phishing pages may deliberately reproduce characteristics of legitimate pages, such as meta-information and domain-bearing title, although the dataset does not directly establish attacker intent. The association motivates rule 4, as a defeater: the ablation study shows that omitting it (Combination B) leaves a false negative increase of +12 for RF, which is removed in rule 4. This illustrates how EDA can surface non-obvious contextual signals that are then encoded explicitly as defeasible rules.
11.4. Selective and Evidence-Driven Revision
The proposed framework revises only 5 instances out of 9,144 classifier-level predictions that is a revision rate of 0.05%. This selectivity is a direct consequence of the joint satisfaction requirement of rule 1 and it's three defeaters as shown in table 22. Only 145 test instances satisfy all conditions, none of which is phishing. All 5 revisions are correct. The system corrects false positives and does not include false negatives, which directly address alert fatigue[6].
11.5. Limitation
Despite the promising results, the proposed PHISHREV+ framework has several limitations. The framework is evaluated on a single dataset and the generalizability of the EDA derived rules to datasets from different time periods remains to be validated. The small number of revised predictions also limits the statistical power of the paired comparison with the base classifiers. The primary revision trigger meta_info_present is a single binary signal that may lose effectiveness as adversarial pages increasingly embed meta tags to evade detection. Furthermore, the EDA derived threshold for length_url may need recalibration when applied to datasets with different URL length distributions. Finally, the conservative nature of the 4-rule framework reflected in the 0.05% revision rate, may miss legitimate revision opportunities where contextual evidence is present but one defeating condition is simultaneously satisfied.
The proposed framework has broader implications beyond phishing detection. The general principle of combining statistical ML predictions with EDA-derived defeasible rules in an ASP based NMR layer is applicable to any classification problem where contextual evidence is available at inference time and false positive reduction is a primary objective. Examples include spam detection, intrusion detection and medical diagnosis where false positives carry significant operational costs. The knowledge update property further makes the framework suitable for dynamic environments where new domain knowledge must be incorporated rapidly without model retraining.
12. Conclusion and Future Scope
This work presents PHISHREV+, a hybrid framework that integrates supervised machine learning classifiers with an ASP-based non-monotonic reasoning layer for context aware phishing website classification. Unlike existing approaches, that rely solely on statistical decision functions with fixed decision boundaries, PHISHREV+ introduces a post-hoc belief revision mechanism that formally revises initial classifier predictions using four defeasible rules encoded within an ASP-knowledge base.
The EDA-analysis identifies four contextual features namely, meta_info_present, length_url, nb Www, and domain_in_title, exhibiting statistically meaningful distribution differences between phishing and legitimate URLs, with separations ranging from 11.1% (length_url) to 52.8% (nb_www). These findings directly motivate the hierarchical defeasible rule design, where rule 1 initiates belief revision and rules 2-4 act as defeaters that formally defeat rule 1 under conflicting evidence. The proposed method, achieves consistent false positive reduction across all four classifiers, SVM (41→39), KNN (47→46), DT (62→61), and RF (52→51), while maintaining complete false negative parity with base classifier, with zero false negative increase. A comprehensive ablation study confirms that no subset of rules achieves this balance on its own. All four rules are needed.
The XASP analysis provides formal, rule-level explanations of the NMR belief revision process for two representative URLs ur1464 and ur12048. A key practical advantage of PHISHREV+ is that new domain knowledge can be incorporated directly into the ASP knowledge base in time, eliminating the need for costly model retraining. The framework performs selective evidence driven belief revision. It revises 5 of 9,144 classifier-level predictions with 100% revision precision.
Future work will consider in three directions. First, the framework will be extended to multiple phishing datasets spanning over different time periods to analyse temporal feature drift and derive drift informed defeasible rules. Secondly, the knowledge base will be enriched with additional contextual signals like domain age, SSL certificate characteristic etc. to further strengthen the reasoning layer. Third, the proposed post-hoc defeasible machine learning paradigm will be evaluated across diverse application domains beyond phishing detection like spam classification, intrusion detection and medical diagnosis where false positive carry significant operational costs and contextual evidence is available at inference time.
13. Data Availability
The notebook file, .lp files, altered instances files will be made available upon acceptance.
References
[1] R. Zieni, L. Massari, M. C. Calzarossa, Phishing or not phishing? a survey on the detection of phishing websites, IEEE Access 11 (2023) 18499–18519.
[2] A. Nappa, M. Z. Rafique, J. Caballero, The malicia dataset: identification and analysis of drive-by download operations, International Journal of Information Security 14 (1) (2015) 15–33.
[3] D. T. Mosa, M. Y. Shams, A. A. Abohany, E.-S. M. El-kenawy, M. Thabet, Machine learning techniques for detecting phishing url attacks, Computers, Materials & Continua 75 (1) (2023) 1271–1290.
[4] A. U. Z. Asif, Machine learning-based phishing detection using url features: A comprehensive review, Master's thesis, Colorado State University (2023).
[5] Anti-Phishing Working Group, Phishing activity trends report, 2nd quarter 2026, https://docs.apwg.org/reports/apwg_trends_report_q2_2026.pdf, published 28 August 2026. Accessed: 15 October 2026 (Aug. 2026).
[6] T. Ban, T. Takahashi, S. Ndichu, D. Inoue, Breaking alert fatigue: Ai-assisted siem framework for effective incident response, Applied Sciences 13 (11) (2023) 6610.
[7] F. P. E. Putra, A. Zulfikri, G. Arifin, R. M. Ilhamsyah, et al., Analysis of phishing attack trends, impacts and prevention methods: literature study, Brilliance: Research of Artificial Intelligence 4 (1) (2024) 413–421.
[8] P. Prakash, M. Kumar, R. R. Kompella, M. Gupta, Phishnet: predictive blacklisting to detect phishing attacks, in: 2010 Proceedings IEEE INFOCOM, IEEE, 2010, pp. 1–5.
[9] R. Mohammad, T. McCluskey, F. Thabtah, Intelligent rule based phishing websites classification, IET Information Security 8 (3) (2014) 153–160.
[10] C. M. R. da Silva, E. L. Feitosa, V. C. Garcia, Heuristic-based strategy for phishing prediction: A survey of url-based approach, Computers & Security 88 (2020) 101613.
[11] P. A. Barraclough, G. Fehringer, J. Woodward, Intelligent cyber-phishing detection for online, computers & security 104 (2021) 102123.
[12] A. Odeh, I. Keshta, E. Abdelfattah, Machine learningtechniquesfor detection of website phishing: A review for promises and challenges, in: 2021 IEEE 11th Annual Computing and Communication Workshop and Conference (CCWC), IEEE, 2021, pp. 0813–0818.
[13] S. H. Ahammad, S. D. Kale, G. D. Upadhye, S. D. Pande, E. V. Babu, A. V. Dhumane, M. D. K. J. Bahadur, Phishing url detection using machine learning methods, Advances in Engineering Software 173 (2022) 103288.
[14] S. Jalil, M. Usman, A. Fong, Highly accurate phishing url detection based on machine learning, Journal of Ambient Intelligence and Humanized Computing 14 (7) (2023) 9233–9251.
[15] E. Kocyigit, M. Korkmaz, O. K. Sahingoz, B. Diri, Enhanced feature selection using genetic algorithm for machine-learning-based phishing url detection, Applied sciences 14 (14) (2024) 6081.
[16] D. Kalla, S. Kuraku, Phishing website url's detection using nlp and machine learning techniques, Journal of Artificial Intelligence 5 (2023) 145.
[17] H. Le, Q. Pham, D. Sahoo, S. C. Hoi, Urlnet: Learning a url representation with deep learning for malicious url detection, arXiv preprint arXiv:1802.03162 (2018).
[18] W. Wang, F. Zhang, X. Luo, S. Zhang, Pdrcnn: Precise phishing detection with recurrent convolutional neural networks, Security and Communication Networks 2019 (1) (2019) 2595794.
[19] Ö. Ş. Akçam, A. Tekerek, M. Tekerek, Development of bilstm deep learning model to detect url-based phishing attacks, Computers and Electrical Engineering 123 (2025) 110212.
[20] A. Aljofey, S. A. Bello, J. Lu, C. Xu, Bert-phishfinder: A robust model for accurate phishing url detection with optimized distilbert, IEEE Transactions on Dependable and Secure Computing (2025).
[21] W. Li, S. Manickam, Y.-w. Chong, S. Karuppayah, Phishdebate: an llm-based multi-agent framework for phishing website detection, arXiv preprint arXiv:2506.15656 (2025).
[22] S. S. Roy, S. Nilizadeh, Phishlang: A real-time, fully client-side phishing detection framework using mobilebert, arXiv preprint arXiv:2408.05667 (2024).
[23] G. Lokesh, M. S. N. Ahamed, T. Charan, S. R. A. S. Khadri, S. Rahul, M. G. Reddy, Multimodal phishing website detection using hybrid deep learning and ensemble techniques, in: 2026 6th International Conference on Expert Clouds and Applications (ICOECA), IEEE, 2026, pp. 1536–1541.
[24] T. Bao, T. Tang, Phishsense: A llm-enhanced multimodal framework for phishing website detection, in: 2025 Silicon Valley Cybersecurity Conference (SVCC), IEEE, 2025, pp. 1–3.
[25] J. Li, H. Yu, Z. Zhang, X. Luo, S. Xie, Concept drift adaptation by exploiting drift type, ACM Transactions on Knowledge Discovery from Data 18 (4) (2024) 1–22.
[26] A. Ejaz, A. N. Mian, S. Manzoor, Life-long phishing attack detection using continual learning, Scientific reports 13 (1) (2023) 11488.
[27] A. Hannousse, S. Yahiouche, Web page phishing detection, Mendeley Data 3 (2021) 2021.
[28] A. Das, S. Baki, A. El Aassal, R. Verma, A. Dunbar, Sok: a comprehensive reexamination of phishing research from the security perspective, IEEE Communications Surveys & Tutorials 22 (1) (2019) 671–708.
[29] I. Skula, M. Kvet, Url and domain obfuscation techniques-prevalence and trends observed on phishing data, in: 2024 IEEE 22nd World Symposium on Applied Machine Intelligence and Informatics (SAMI), IEEE, 2024, pp. 000283–000290.
[30] A. Hannousse, S. Yahiouche, Towards benchmark datasets for machine learning based website phishing detection: An experimental study, Engineering Applications of Artificial Intelligence 104 (2021) 104347.
[31] B. B. Gupta, K. Yadav, I. Razzak, K. Psannis, A. Castiglione, X. Chang, A novel approach for phishing url detection using lexical based machine learning in a real-time environment, Computer Communications 175 (2021) 47–57.
[32] K. Adane, B. Beyene, M. Abebe, Single and hybrid-ensemble learning-based phishing website detection: Examining impacts of varied nature datasets and informative feature selection technique, Digital Threats: Research and Practice 4 (3) (2023) 1–27.
[33] T. Choudhary, S. Mhapankar, R. Bhddha, A. Kharuk, R. Patil, A machine learning approach for phishing attack detection, Journal of artificial intelligence and technology 3 (3) (2023) 108–113.
[34] S. S. Shafin, An explainable feature selection framework for web phishing detection with machine learning, Data Science and Management 8 (2) (2025) 127–136.
[35] K. M. M. Uddin, N. Biswas, S. T. Rikta, M. Nur-A-Alam, R. Mostafiz, Explainable machine learning for phishing site detection: A high-efficiency approach using boosting models and shap, The Journal of Engineering 2025 (1) (2025) e70110.
[36] N. Q. Do, A. Selamat, O. Krejcar, E. Herrera-Viedma, H. Fujita, Deep learning for phishing detection: Taxonomy, current challenges and future directions, Ieee Access 10 (2022) 36429–36463.
[37] S. Afzal, M. Asim, A. R. Javed, M. O. Beg, T. Baker, Urldeepdetect: A deep learning approach for detecting malicious url using semantic vector models, Journal of Network and Systems Management 29 (3) (2021) 21.
[38] X. Xiao, W. Xiao, D. Zhang, B. Zhang, G. Hu, Q. Li, S. Xia, Phishing websites detection via cnn and multi-head self-attention on imbalanced datasets, Computers & Security 108 (2021) 102372.
[39] M. Alshehri, A. Abugabah, A. Algarni, S. Almotairi, Character-level word encoding deep learning model for combating cyber threats in phishing url detection, Computers and Electrical Engineering 100 (2022) 107868.
[40] S. Asiri, Y. Xiao, S. Alzahrani, T. Li, Phishingrtds: A real-time detection system for phishing attacks using a deep learning model, Computers & Security 141 (2024) 103843.
[41] B. B. Gupta, A. Gaurav, R. W. Attar, V. Arya, A. Alhomoud, K. T. Chui, Optimized phishing detection with recurrent neural network and whale optimizer algorithm, Computers, Materials and Continua 80 (3) (2024) 4895–4916.
[42] F. Heiding, B. Schneier, A. Vishwanath, J. Bernstein, P. S. Park, De-vising and detecting phishing emails using large language models, IEEE Access 12 (2024) 42131–42146. doi:10.1109/ACCESS.2024.3375882.
[43] R. Chataut, P. K. Gyawali, Y. Usman, Can AI keep you safe? a study of large language models for phishing detection, in: Proceedings of the 2024 IEEE 14th Annual Computing and Communication Workshop and Conference (CCWC), 2024, pp. 548–554. doi:10.1109/CCWC60891.2024.10427626.
[44] J. Zhang, P. Wu, J. London, D. Tenney, Benchmarking and evaluating large language models in phishing detection for small and midsize enterprises: A comprehensive analysis, IEEE Access 13 (2025) 28335–28352. doi:10.1109/ACCESS.2025.3540075.
[45] J. Lee, P. Lim, B. Hooi, D. M. Divakaran, Multimodal large language models for phishing webpage detection and identification, in: 2024 APWG Symposium on Electronic Crime Research (eCrime), 2024, pp. 1–13. doi:10.1109/eCrime66200.2024.00007.
[46] G. Brewka, J. Dix, K. Konolige, et al., Nonmonotonic reasoning: an overview, Vol. 73, CSLI publications Stanford, 1997.
[47] R. Reiter, Nonmonotonic reasoning, in: Exploring artificial intelligence, Elsevier, 1988, pp. 439–481.
[48] M. GEBSER, R. KAMINSKI, B. KAUFMANN, T. SCHAUB, Multi-shot asp solving with clingo, Theory and Practice of Logic Programming 19 (1) (2019) 27–82. doi:10.1017/S1471068418000054.
[49] R. Madzime, Toward a defeasible semantics for symbolic classifiers, in: Doctoral Consortium of the 23rd International Conference on Principles of Knowledge Representation and Reasoning (KR 2026 DC), 2026, cEUR Workshop Proceedings, Vol. 4218. URL https://ceur-ws.org/Vol-4218/paper3.pdf
[50] M. Gelfond, V. Lifschitz, The stable model semantics for logic programming, in: Proceedings of the 5th International Conference and Symposium on Logic Programming, MIT Press, Cambridge, MA, USA, 1988, pp. 1070–1080.
[51] M. Sen, K. S. Ray, A. Chakrabarti, PHISHREV: A hybrid machine learning and post-hoc non-monotonic reasoning framework for context-aware phishing website classification, version 1 (2026). arXiv:2604.25512v1.
URL https://arxiv.org/abs/2604.25512v1
[52] M. Alviano, XASP: eXplainable answer set programming, https://github.com/alviano/xasp, github repository. Accessed: 2026 (2023).