PHISHREV: A Hybrid Machine Learning and Post-Hoc Non-monotonic Reasoning Framework for Context-Aware Phishing Website Classification
Mainak Sen, Kumar Sankar Ray, Amlan Chakrabarti · 2026
Read PHISHREV: A Hybrid Machine Learning and Post-Hoc Non-monotonic Reasoning Framework for Context-Aware Phishing Website Classification by Mainak Sen, Kumar Sankar Ray, Amlan Chakrabarti (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-25512.txt.
Introduction
Sen, Ray and Chakrabarti present CoGReV, a post-hoc thinking layer that can take back its calls, in Answer Set code. A trust-gated rule flips a phishing call to clean only when site data is present and the call is low-trust. Unlike an ungated rule, which cuts false alarms only by dropping genuine catches and harms recall by about nine points, the gated rule keeps recall within 0.7 points of base while changing few calls. By cutting false alarms without losing catches, CoGReV reduces alert fatigue.
Catalog record
| CREATOR | Mainak Sen, Kumar Sankar Ray, Amlan Chakrabarti |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 19838 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.25512
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
PHISHREV: A Hybrid Machine Learning and Post-Hoc Non-monotonic Reasoning Framework for Context-Aware Phishing Website Classification Mainak Sen, Kumar Sankar Ray, Amlan Chakrabarti Abstract Phishing detection systems are predominantly rely on statistical machine learning models, which often lack contextual reasoning and are vulnerable to adversarial manipulation. In this work, we propose a hybrid framework that integrates machine learning classifiers with non-monotonic reasoning using Answer Set Programming (ASP) to enable context-aware decision refinement. The proposed post-hoc reasoning layer incorporates expert knowledge to revise classifier predictions through formal belief revisions. Experimental results indicate that the reasoning module modifies 5.08% of classifier outputs, leading to improved decision consistency. A key advantage is that new domain knowledge can be incorporated into the reasoning layer in 𝒪 ( n ) \mathcal{O}(n) time, eliminating the need for model retraining. I Introduction Phishing, is a prevalent form of cyber attack that exploits social engineering techniques to deceive users into interacting with malicious web resources. These attacks involve deceptive techniques that trick users into revealing sensitive information like login credentials, sensitive data etc. It remains one of the most widely used attack vectors targeting both individuals and organisations across various sectors. The consequences of phishing attacks are severe, leading not only to financial losses but also to data breaches and reputational damage, etc. [ 14 ] . To address the threat of phishing, researchers have created machine learning and deep- learning based URL classifiers [ 12 , 16 ] . These models are trained on static datasets to learn the inherent pattern in data and subsequently used as a frontline mechanism to combat phishing attacks. However, in recent years attackers have begun generating deceptive samples [ 10 ] that undermine the pattern recognition capability of the classifiers and lead to mis-classification. Once a classifier is trained and established, attackers try to fool the detection by using many obfuscation techniques [ 11 ] like swapping characters, inserting new characters, typo-squatting etc. in different parts of URL. But, to identify and learn new attack pattern, the classifier needs to be trained again. So, dependency and trustworthiness on these lexical based classifiers is questionable as phishing URLs may pass lexical patterns while still pointing to malicious destinations. Meta tags in website provides valuable information such as description, author, keywords etc. which helps to identify legitimate details. Phishers try to hide these valuable details in case of malicious ones yet would try to make a URL look like a legitimate entry. Sometimes, attackers deliberately craft structural elements (meta data and content descriptors) to appear authentic while not reflecting true intent of the page [ 7 ] . Thus, a deeper analysis of website’s structural and contents based features provides additional contextual cues for reasoning. Real world environments like phishing detection are dynamic and often involve incomplete or evolving information. To address these limitations, human-like reasoning and belief revision are required for contextual decision support in phishing website classification. Non-monotonic reasoning (NMR) [ 3 ] provides this capability by enabling a system to withdraw or revise conclusions when new or contradictory evidence is presented. Unlike conventional learning systems, which rely only on statistical correlation, NMR incorporates domain knowledge and common sense rules to logically reassess classifier decision. This is particularly useful in phishing detection, where subtle contextual clues may contradict initial lexical patterns. In this work, we integrate machine learning based classifiers with NMR-based reasoning layer to form a dual framework phishing detection framework. The proposed approach is a belief revision based framework in which the first part performs initial classification of URL and the second part, NMR module evaluates these predictions against contextual knowledge to either confirm or alter them. Unlike rule based filtering or calibration method that rely on statistical adjustments, the proposed method employs Answer Set Programming (ASP) to perform non-monotonic reasoning over symbolic representations. The primary objective of PHISHREV is not to maximize classification accuracy through alternate approaches, but rather to demonstrate how new contextual evidence can be incorporated into an existing system in \mathcal{O}(n) time via post-hoc non-monotonic reasoning, eliminating the need for costly model retraining. The main contributions of this work are summarized as follows: 1. A novel contextual binary feature meta_info_present was constructed by parsing each URL for meta tag availability. 2. A dual-stage post-hoc non-monotonic framework is proposed that formally revises initial classifier beliefs using Answer Set Programming, reducing false positives in \mathcal{O}(n) time without retraining. II Related Work This section presents existing approaches to phishing detection, including machine learning, deep learning methods and recent advances in hybrid frameworks. Security protocols can be categorized into software based approaches namely blacklist and whitelist [ 4 ] based. Blacklist contains those which user should not visit while white-list contains all legitimate entries. However dynamic content modification of phishers cause these less useful in real life scenarios. Heuristic based detection mechanism depends on different features extracted from different parts of URL like lexical, content etc. Machine learning based classifiers have gained a lot of attention due to their advantage over list and heuristics based approaches. Features are extracted from URL or website content and used for classification task. Support vector machine(SVM), random forest(RF), Naive Bayes(NB), J48, C4.5, k-Nearest Neighbor (kNN) are frequently used in this field [ 13 ] . 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 [ 5 ] by researchers. Despite these advancements, existing approaches largely rely on statistical models and lack the ability to incorporate contextual evidence for adaptive decision refinement. This motivated us to create a hybrid framework capable of post-hoc belief revision. III Proposed Method The proposed dual framework works in two sequential phases, namely statistical prediction and post hoc symbolic reasoning. The whole procedure is depicted in figure 1 . This dual stage design enables the integration of data-driven learning with symbolic inference. III-A First Phase: Statistical Learning and Initial Belief Generation In the first phase, all 87 features present in the dataset are normalized using standard scaler technique to ensure consistent feature scaling. The normalized feature vectors are used to train multiple machine learning classifiers. Each classifier produces an initial prediction C\in\{0,1\} where 0 represents legitimate and 1 means phishing URLs. These predictions create the initial beliefs about each instance. Formally, for each URL instance u_{i} and classifier CL\in\{SVM,KNN,DT,RF\} , the initial belief B_{0}(CL,u_{i}) is defined as the class label predicted by CL from the lexical feature vector of u_{i} . III-B Second Phase: Post-hoc Non-Monotonic Reasoning Layer In this second stage, the initial beliefs generated by the classifiers are transformed into symbolic representations and incorporated into a knowledge base. Knowledge base is constructed at the instance level rather than aggregated statistics enabling fine grained reasoning over individual data points. The knowledge base consists of classifiers initial predictions and meta field availability or not for each URL. For each instance URL ID , classifiers predictions are encoded as facts of the form pred(CL, ID, C) , while the availability metadata is presented as meta(ID, M) , where