Skip to main content
QUICK REVIEW

[Paper Review] Rule-Based Spatial Mixture-of-Experts U-Net for Explainable Edge Detection

Bharadwaj Dogga, Kaaustaaub Shankar|arXiv (Cornell University)|Feb 4, 2026
Explainable Artificial Intelligence (XAI)Computer Science0 citations
TL;DR

The paper introduces sMoE U-Net, a hybrid explainable edge detector that uses Spatially-Adaptive MoE blocks and a Takagi-Sugeno-Kang fuzzy head to achieve competitive accuracy with pixel-level interpretability.

ABSTRACT

Deep learning models like U-Net and its variants, have established state-of-the-art performance in edge detection tasks and are used by Generative AI services world-wide for their image generation models. However, their decision-making processes remain opaque, operating as "black boxes" that obscure the rationale behind specific boundary predictions. This lack of transparency is a critical barrier in safety-critical applications where verification is mandatory. To bridge the gap between high-performance deep learning and interpretable logic, we propose the Rule-Based Spatial Mixture-of-Experts U-Net (sMoE U-Net). Our architecture introduces two key innovations: (1) Spatially-Adaptive Mixture-of-Experts (sMoE) blocks integrated into the decoder skip connections, which dynamically gate between "Context" (smooth) and "Boundary" (sharp) experts based on local feature statistics; and (2) a Takagi-Sugeno-Kang (TSK) Fuzzy Head that replaces the standard classification layer. This fuzzy head fuses deep semantic features with heuristic edge signals using explicit IF-THEN rules. We evaluate our method on the BSDS500 benchmark, achieving an Optimal Dataset Scale (ODS) F-score of 0.7628, effectively matching purely deep baselines like HED (0.7688) while outperforming the standard U-Net (0.7437). Crucially, our model provides pixel-level explainability through "Rule Firing Maps" and "Strategy Maps," allowing users to visualize whether an edge was detected due to strong gradients, high semantic confidence, or specific logical rule combinations.

Motivation & Objective

  • Bridge accuracy and interpretability in edge detection by integrating explainable fuzzy logic with a high-performance CNN backbone.
  • Preserve edge sharpness while suppressing texture noise through spatially adaptive gating between context and boundary processing.
  • Provide pixel-level explanations via rule firing maps and strategy maps to visualize decision rationale.

Proposed method

  • Incorporate Spatially-Adaptive Mixture-of-Experts (sMoE) blocks at U-Net decoder skip connections to gate between a Smooth (context) and a Sharp (boundary) expert using a gating network driven by a Sobel edge map.
  • Replace the standard classifier with a First-Order Takagi-Sugeno-Kang (TSK) fuzzy head that fuses Edge Strength and Semantic Confidence through 4 learnable fuzzy rules.
  • Use a differentiable, Gaussian-based rule firing mechanism to compute a final edge map as a weighted average of rule consequents.
  • Train with a composite loss combining Binary Cross Entropy and Dice loss; distill the fuzzy head to mimic main logits via MSE.
  • Provide explainability visuals: Strategy Maps and Rule Firing Maps showing how decisions are made per pixel.
Figure 1 : Compact architecture of the proposed explainable sMoE U-Net with Sobel pre-processing and a TSK fuzzy head.
Figure 1 : Compact architecture of the proposed explainable sMoE U-Net with Sobel pre-processing and a TSK fuzzy head.

Experimental results

Research questions

  • RQ1Can a hybrid sMoE-U-Net maintain or exceed state-of-the-art edge detection performance while enabling explainability?
  • RQ2How do spatially adaptive gating and a fuzzy head contribute to edge delineation and reduction of false positives?
  • RQ3What forms of visual explanations (Strategy Maps, Rule Firing Maps) reveal the model’s decision logic for edges?

Key findings

  • sMoE U-Net achieves an ODS F-score of 0.7628 on BSDS500, closely matching HED (0.7688) and outperforming standard U-Net (0.7437).
  • The model also reaches OIS 0.7458 and AP 0.7222, surpassing U-Net and HED in AP.
  • sMoE gating yields higher precision at fixed recall, shown by the precision-recall curve.
  • Qualitative analysis shows Strategy Maps highlight Boundary Expert activation at edges and Context Expert activation in homogeneous regions.
  • Rule Firing Maps reveal distinct IF-THEN rules governing strong vs. soft vs. noisy edges, enabling interpretability.
Figure 2 : Architecture of Spatially-Adaptive Mixture-of-Experts with Sobel Edge signal
Figure 2 : Architecture of Spatially-Adaptive Mixture-of-Experts with Sobel Edge signal

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.