ZICQ
中 Log in / Sign up
Newsroom Research & Papers #SHAP #LIME #Visualization #Multilingual Support #RTL Languages

arXiv Introduces SHAP-RTL Framework: Addressing SHAP and LIME Visualization Issues in Right-to-Left Languages

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published: · 18 views

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:arXiv has released a new study addressing visualization issues in post-hoc explanation methods like SHAP and LIME when applied to right-to-left (RTL) languages such as Arabic, Persian, Hebrew, and Urdu. The proposed SHAP-RTL framework corrects reading direction and script shaping while preserving original attribution values and feature ordering. Evaluations using OCR cycles on multi-language datasets demonstrate significant improvements in rendering correctness, highlighting the framework's pote


Background and Problem

Post-hoc explanation methods like SHAP and LIME are widely used for interpreting text classifiers, but their visualizations are primarily designed for left-to-right (LTR) languages. When applied to right-to-left (RTL) languages such as Arabic, Persian, Hebrew, and Urdu, these methods suffer from issues like token sequence disruption, broken connected letterforms, and plot layouts that do not follow the natural reading direction.

SHAP-RTL Framework

To address these issues, researchers have introduced the SHAP-RTL framework, which improves visualization in the following ways:

  • Correcting reading direction and script shaping: Ensures natural reading order for RTL languages.
  • Language-aware font selection: Chooses appropriate fonts based on the language.
  • Preserving original attribution values and feature ordering: Maintains the accuracy of the explanation.

Experiments and Evaluation

The study evaluated SHAP-RTL on hate and offensive language datasets in Urdu, Arabic, Hebrew, and Persian using TF-IDF and logistic regression classifiers. OCR round-trip validation demonstrated that SHAP-RTL significantly reduces character error rates, with near-zero error rates compared to default rendering, which had error rates ranging from 0.820 to 0.979.

Key Innovations

  1. Language-aware visualization: The first systematic solution to RTL language visualization issues in SHAP and LIME.
  2. Preserving explanation accuracy: Ensures that the original attribution values and feature ordering remain intact while improving visualization.
  3. Multi-language support: The framework supports multiple RTL languages, broadening its applicability.

Industry Impact and Future Directions

The release of SHAP-RTL provides a new solution for model interpretability in multilingual environments, particularly in cross-cultural applications. Future research could further enhance the framework by supporting more language types and more complex visualization needs.

Developer Recommendations

  • Integrate SHAP-RTL: Developers are encouraged to integrate SHAP-RTL into existing SHAP and LIME tools to improve multi-language support.
  • Focus on multilingual data: When dealing with RTL language data, prioritize the use of SHAP-RTL for explanations.
  • Explore more applications: Beyond text classification, SHAP-RTL can be applied to other post-hoc explanation scenarios requiring multi-language support.

Source: ArXiv Machine Learning (cs.LG) (2026-09-25)

— END —

Tags: #SHAP #LIME #Visualization #Multilingual Support #RTL Languages

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
🚀 Explore & Submit Works

Community Comments

Loading live comments and annotations…