Skip to content

This repository contains the experiments developed during the research stay in the CNR in October 2024, and for the pending article submitted to XAI-2025 named "Safe and Efficient Social Navigation through Explainable Safety Regions Based on Topological Features" in collaboration with the CNR.

License

Notifications You must be signed in to change notification settings

Cimagroup/Topological-Features-and-Explainable-Safety-Regions

Repository files navigation

Topological Features and Explainable Safety Regions

This repository contains data and experiments associated to the paper Toscano-Duran, V., Narteni, S., Carlevaro, A., Gonzalez-Diaz, R., Mongelli, M. and Guzzi, J. (2025) "Safe and Efficient Social Navigation through Explainable Safety Regions Based on Topological Features". Submitted to The 3rd World Conference on eXplainable Artificial Intelligence (XAI-2025).

The paper deals with simulated social robotics navigation problem that involves a fleet of mobile robots moving in a Cross scenario, governed by a human-like behavior. With the purpose of avoiding negative events, as collisions or deadlocks, we show how to topological features can improve the accuracy and effectiveness of safe and explainable AI (XAI) methods being an useful tool to know and adjust whether a simulation will be safe(free of collisions) or not, efficient(free of deadlocks) or not, and compliant (free of both, collisions and deadlocks) or not.

Repository structure

  • ExpTopologicalCollision: Experiments for avoid collisions, using safety regions and topological features.

  • ExpTopologicalDeadlock: Experiments for avoid deadlocks, using safety regions and topological features.

  • ExpTopologicalAdvanced: Extension experiments using more topological features for build safety regions (not included in the paper).

Usage

  1. Clone this repository and create a virtual enviromment:
python3 -m venv entorno python=3.11
  1. Install the necessary dependencies: pip install jupyter notebook
pip install navground[all] pandas==2.2.3 seaborn==0.13.2 scikit-learn==1.3.0 skope-rules==1.0.1 numpy==1.25.1 qpsolvers[open_source_solvers] cvxopt anchor-exp
  1. Simulation and dataset collection (including simulations and topological features): run the getdataset_TopologicalFeatures.py script with the YAML settings contained in configTopological.yaml file. Dataset used in further experiments.

  2. Native rule generation: run SkopeRules.ipynb for training skope-rules model, and NativeXAI_performance.ipynb for its evaluation.

  3. Scalable Classifiers for Probabilistic/Conformal safety regions: run ConfidenceRegions_SVM.ipynb.

  4. Local Rule Extraction from PSR/CSR: run Anchor_PSR.ipynb, Anchor_CSR.ipynb for Anchors extraction, and AnchorAnalysis_PSR.ipynb, AnchorAnalysis_CSR.ipynbfor their evaluation.

Citation and reference

If you want to use our code or data for your experiments, please cite our paper.

For further information, please contact us at: vtoscano@us.es, sara.narteni@cnr.it

About

This repository contains the experiments developed during the research stay in the CNR in October 2024, and for the pending article submitted to XAI-2025 named "Safe and Efficient Social Navigation through Explainable Safety Regions Based on Topological Features" in collaboration with the CNR.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published