CascadeNS: Confidence-Cascaded Neurosymbolic Model for Sarcasm Detection
Swapnil Mane, Vaibhav Khatavkar
TL;DR
CascadeNS addresses sarcasm detection by combining explicit symbolic cues with deep semantic analysis through a confidence-calibrated cascade. The symbolic semigraph captures pattern-rich signals and terminates easy cases, while low-confidence instances are referred to a neural module using RoBERTa embeddings and $k$-NN on pre-trained representations. The system leverages a polarity-weighted bipartite graph and a calibrated margin-based confidence to decide when to stop at the symbolic stage, achieving a notable 7.44% improvement in F1 over strong baselines on Amazon product reviews. Empirical results, calibration analyses, and ablations validate the effectiveness of selective activation over fusion, with robust statistical significance and insightful error patterns that highlight the complementary strengths of the two paradigms.
Abstract
Sarcasm detection in product reviews requires balancing domain-specific symbolic pattern recognition with deep semantic understanding. Symbolic representations capture explicit linguistic phenomena that are often decisive for sarcasm detection. Existing work either favors interpretable symbolic representation or semantic neural modeling, but rarely achieves both effectively. Prior hybrid methods typically combine these paradigms through feature fusion or ensembling, which can degrade performance. We propose CascadeNS, a confidence-calibrated neurosymbolic architecture that integrates symbolic and neural reasoning through selective activation rather than fusion. A symbolic semigraph handles pattern-rich instances with high confidence, while semantically ambiguous cases are delegated to a neural module based on pre-trained LLM embeddings. At the core of CascadeNS is a calibrated confidence measure derived from polarity-weighted semigraph scores. This measure reliably determines when symbolic reasoning is sufficient and when neural analysis is needed. Experiments on product reviews show that CascadeNS outperforms the strong baselines by 7.44%.
