arXiv Science⌕ Search

arXiv subjects

Walid fahs

Publications and source records attributed to Walid fahs.

2 recordsLinked to original sources

Zero-Shot versus Fine-Tuned Transformers for Sentence-Level Media Bias Detection

Detecting bias in news text remains challenging because biased language is often subtle. We compare five transformer models (BERT, DistilBERT, RoBERTa, DeBERTa-v3, and BART) for sentence-level media bias classification on the expert-annotated BABE corpus, evaluating NLI-based zero-shot inference for four of them and parameter-efficient (QLoRA) fine-tuning for four. Three of the four zero-shot models perform at or near chance, and fine-tuning outperforms zero-shot inference by 22 to 28 percentage points for every architecture evaluated in both settings. Among fine-tuned models, ranking does not follow model size: RoBERTa-base performs best (macro-F1 0.85), DistilBERT matches BERT, and DeBERTa-v3-large ranks last, and the same order holds on a second corpus. Fine-tuned RoBERTa's score lies in the range reported for approaches that rely on domain-adaptive or multi-task pre-training. When tested on BASIL without adaptation, BABE-trained models lose 15 to 21 percentage points. Because the two corpora differ in domain, in annotation granularity, and in whether informational bias is labelled, this drop should not be read as a measure of domain shift alone. These results indicate that NLI-based zero-shot classification, with the single hypothesis template tested, is not a viable substitute for supervised training on this task, and that scores on BABE are a poor guide to performance under other definitions of media bias.

cs.LG↗

AURA: Adaptive Uncertainty-Routed Analysis for Email Threat Detection

Email spam and phishing attacks remain a critical security threat. Adversaries increasingly exploit large language models to craft contextually convincing malicious messages, and existing spam detection systems often struggle to keep pace. Generalization across diverse and evolving attack scenarios is limited, which reduces effectiveness once these systems are deployed in practice. This paper introduces Adaptive Uncertainty-Routed Analysis (AURA), a multimodal email threat detection system that analyzes both the content of an email and its embedded URLs. AURA is built around two layers: the first quantifies prediction uncertainty from a URL classifier, and only ambiguous messages are escalated to a fine-tuned transformer encoder for semantic analysis. The system is evaluated on eight heterogeneous training corpora together with two held-out real-world corpora spanning a decade of adversarial campaigns. AURA reaches a macro F1-score of 0.9858 in-distribution, and on NazPhish-Eval and GuenterTrap-Eval it maintains 0.9502 and 0.9436, respectively, which is evidence of robust generalization under genuine distribution shift.

cs.LG↗