courses:xai:pr_2026

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
courses:xai:pr_2026 [2026/11/29 12:13] – [Required metrics] admincourses:xai:pr_2026 [2026/11/30 08:20] (current) – [Project description] admin
Line 4: Line 4:
 Projects marked with {{:courses:xai:contract.png?25|}} can be (with some additional work and depending on the results) published as scientific papers. Projects marked with {{:courses:xai:contract.png?25|}} can be (with some additional work and depending on the results) published as scientific papers.
  
 +Select project: [[https://pegaz.uj.edu.pl/mod/url/view.php?id=264256|Put your names next to the project]]
  
 ===== 1. Comparing Human and AI Attention in Visual Anomaly Detection ===== ===== 1. Comparing Human and AI Attention in Visual Anomaly Detection =====
Line 17: Line 18:
 The goal of this project is to prepare a pilot study comparing the visual attention of human operators with the anomaly regions identified by an artificial intelligence model. The goal of this project is to prepare a pilot study comparing the visual attention of human operators with the anomaly regions identified by an artificial intelligence model.
  
-The study will use the CoinDefect6K dataset, which contains images of coins acquired in an industrial visual-inspection setting. A selected visual anomaly-detection method, preferably PatchCore from the Anomalib library, should be used to generate pixel-level anomaly maps for selected images. The same images will then be presented to human participants using Tobii-PyTracker, and their eye-gaze data will be collected.+The study will use the [[https://zenodo.org/records/18773634|CoinDefect6K]] dataset, which contains images of coins acquired in an industrial visual-inspection setting. A selected visual anomaly-detection method, preferably PatchCore from the [[https://github.com/sbobek/coindefect6k|Anomalib library]], should be used to generate pixel-level anomaly maps for selected images. The same images will then be presented to human participants using [[https://tobii-pytracker.readthedocs.io/en/latest/index.html|Tobii-PyTracker]], and their eye-gaze data will be collected.
  
 The project should investigate whether human participants and the anomaly-detection model focus on similar image regions when evaluating whether a coin contains a defect. The project should investigate whether human participants and the anomaly-detection model focus on similar image regions when evaluating whether a coin contains a defect.
Line 33: Line 34:
   * Prepare a basic visual-inspection experiment using Tobii-PyTracker.   * Prepare a basic visual-inspection experiment using Tobii-PyTracker.
   * Present each image to participants and ask them to decide whether it contains a defect.   * Present each image to participants and ask them to decide whether it contains a defect.
-  * Optionally ask participants to indicate the suspected defect location using the mouse.+  * Ask participants to indicate the suspected defect location using verbal description (voice is recorded with tobii-pytracker and later is transcibed into description).
   * Record:   * Record:
     * gaze coordinates,     * gaze coordinates,
Line 39: Line 40:
     * inspection time,     * inspection time,
     * participant decision,     * participant decision,
-    * decision confidence, +    * voice 
-    * manually indicated defect location, if collected. +  * Conduct a pilot experiment. 
-  * Conduct a pilot experiment with approximately 5–10 participants. Students familiar with visual inspection may be treated as novice operators.+
   * Remove invalid gaze samples and transform the gaze coordinates into the coordinate system of the displayed image.   * Remove invalid gaze samples and transform the gaze coordinates into the coordinate system of the displayed image.
   * Generate individual and aggregated human-attention heatmaps.   * Generate individual and aggregated human-attention heatmaps.
Line 83: Line 83:
   * A short technical report describing the experiment, results, limitations, and recommendations for a larger study.   * A short technical report describing the experiment, results, limitations, and recommendations for a larger study.
  
-==== Important considerations ==== 
- 
-  * The displayed image must not be resized differently for AI-map generation and gaze analysis. 
-  * Screen coordinates must be transformed carefully into image coordinates. 
-  * The order of images should be randomized. 
-  * A short calibration and familiarization stage should be included. 
-  * Human participants should not be shown the AI anomaly maps before making their decisions. 
-  * As gaze and participant decisions are collected, the study must follow the applicable institutional requirements for research involving human participants. 
  
  
 ===== 2. Comparing Human and AI Attention in Image Classification ===== ===== 2. Comparing Human and AI Attention in Image Classification =====
  
-**Difficulty:** Advanced+**Difficulty:** Intermediate
  
 **Project type:** Human-centered AI, image classification, explainable AI, eye tracking **Project type:** Human-centered AI, image classification, explainable AI, eye tracking
Line 119: Line 111:
     * top-5 predictions,     * top-5 predictions,
     * class probabilities.     * class probabilities.
-  * Generate class-specific model-attention maps using Grad-CAM.+  * Generate class-specific model-attention maps using Grad-CAM (or SHAP - select appropriate).
   * Optionally compare Grad-CAM with one additional attribution method, such as Integrated Gradients or Occlusion.   * Optionally compare Grad-CAM with one additional attribution method, such as Integrated Gradients or Occlusion.
   * Implement an eye-tracking experiment using Tobii-PyTracker.   * Implement an eye-tracking experiment using Tobii-PyTracker.
Line 127: Line 119:
     * participant classification,     * participant classification,
     * response time,     * response time,
-    * confidence, +    * participant voice
-    * whether the participant changed their initial decision.+
   * Generate human-attention heatmaps.   * Generate human-attention heatmaps.
   * Compare human gaze with the attribution map generated for:   * Compare human gaze with the attribution map generated for:
Line 177: Line 168:
   * A technical report documenting the experimental procedure and results.   * A technical report documenting the experimental procedure and results.
  
-==== Important considerations ==== 
  
-  * Grad-CAM is a post-hoc approximation and should not be described as a direct measurement of where the model “looked.” 
-  * The attribution must be generated for a clearly specified class. 
-  * The displayed image should correspond exactly to the image crop received by the classifier. 
-  * ImageNet labels may be overly specific. A mapping to a smaller set of human-readable categories may be required. 
-  * The selected stimuli should be tested before the final study to ensure that the required classes are understandable to participants. 
  
  
 ===== 3. Ablation Study of Counterfactuals by Design ===== ===== 3. Ablation Study of Counterfactuals by Design =====
  
-**Difficulty:** Advanced+**Difficulty:** Intermediate
  
 **Project type:** Time-series counterfactual explanations, experimental evaluation **Project type:** Time-series counterfactual explanations, experimental evaluation
Line 198: Line 183:
 The goal of this project is to investigate the role of individual components of the objective function used in Counterfactuals by Design. The goal of this project is to investigate the role of individual components of the objective function used in Counterfactuals by Design.
  
-The student should first reproduce the original version of the method described in the paper “Counterfactuals by Design: Residual Decomposition and Back-to-Normality Editing for Time Series.” The first version of the paper and the available materials can be found at:+The first version of the paper and the available materials can be found at:
  
 https://zenodo.org/records/22794856 https://zenodo.org/records/22794856
Line 208: Line 193:
 ==== Main tasks ==== ==== Main tasks ====
  
-  * Run the available implementation of the first Counterfactuals by Design method. 
-  * Reproduce at least one experiment reported in the original work. 
   * Run the second version of the implementation provided by the supervisor.   * Run the second version of the implementation provided by the supervisor.
   * Identify all independently weighted components of the training and counterfactual-generation objectives.   * Identify all independently weighted components of the training and counterfactual-generation objectives.
Line 227: Line 210:
  
   * the complete objective function,   * the complete objective function,
-  * removal of each reconstruction-related component, +  * removal of each term from cost fuciton
-  * removal of each classification or validity component, +
-  * removal of each decomposition or separation component, +
-  * removal of regularization terms, +
-  * removal of constraints controlling the counterfactual residual, +
-  * removal of terms responsible for preserving the normal or morphology component, +
-  * selected weight sweeps for the most influential components.+
  
 For each loss component, test at least: For each loss component, test at least:
Line 283: Line 260:
   * A report discussing which components are essential, beneficial, redundant, or potentially harmful.   * A report discussing which components are essential, beneficial, redundant, or potentially harmful.
  
-==== Important considerations ==== 
- 
-  * An ablation must change only the examined component. 
-  * Hyperparameters unrelated to the ablated component must remain fixed. 
-  * Failure to generate a counterfactual is a valid result and must be recorded. 
-  * The analysis should not rely only on validity because removing constraints may improve validity while producing unrealistic counterfactuals. 
-  * Conclusions should be based on repeated experiments rather than individual examples. 
  
 ===== 4. Robustness of DANCE to Errors in the Feature-Relationship Graph ===== ===== 4. Robustness of DANCE to Errors in the Feature-Relationship Graph =====
  
-**Difficulty:** Advanced+**Difficulty:** Intermediate
  
 **Project type:** Counterfactual explanations, robustness testing, structured perturbation experiments **Project type:** Counterfactual explanations, robustness testing, structured perturbation experiments
Line 303: Line 273:
 DANCE uses a feature-relationship graph to guide counterfactual generation. In practice, such a graph may be incomplete or inaccurate. Some actual relationships may be missing, spurious relationships may be present, and estimated edge weights may differ from the true dependencies between features. DANCE uses a feature-relationship graph to guide counterfactual generation. In practice, such a graph may be incomplete or inaccurate. Some actual relationships may be missing, spurious relationships may be present, and estimated edge weights may differ from the true dependencies between features.
  
-The goal of this project is to evaluate the robustness of DANCE to controlled errors in the feature-relationship graph. The experiments should use the ACFX implementation of DANCE and several tabular classification datasets containing continuous, categorical, or mixed attributes.+The goal of this project is to evaluate the robustness of DANCE to controlled errors in the feature-relationship graph. The experiments should use the [[https://acfx.readthedocs.io/en/latest/|ACFX]] implementation of [[https://arxiv.org/abs/2511.20236|DANCE]] and several tabular classification datasets containing continuous, categorical, or mixed attributes.
  
-A complete reference Google Colab notebook will be provided. It demonstrates how to:+A complete reference [[https://colab.research.google.com/drive/17Yf9FS_H3Ww9yW0fu9YtPxQocb9enFsf?usp=sharing|Google Colab]] notebook will be provided. It demonstrates how to:
  
   * install and configure ACFX,   * install and configure ACFX,
Line 806: Line 776:
 A common ECG classifier and the same factual test signals must be used for all methods. The evaluation should determine whether the generated signals are valid counterfactuals, whether they remain close to the original ECG, and whether their modifications are plausible and interpretable rather than merely adversarial. A common ECG classifier and the same factual test signals must be used for all methods. The evaluation should determine whether the generated signals are valid counterfactuals, whether they remain close to the original ECG, and whether their modifications are plausible and interpretable rather than merely adversarial.
  
-The recommended dataset is PTB-XL. The initial comparison may focus on a binary task, such as normal versus abnormal ECG, or on selected diagnostic superclasses. The exact classification task should be fixed before the counterfactual methods are compared.+The recommended dataset is [[https://physionet.org/content/ptb-xl/1.0.3/|PTB-XL]]. The initial comparison may focus on a binary task, such as normal versus abnormal ECG, or on selected diagnostic superclasses. The exact classification task should be fixed before the counterfactual methods are compared.
  
 ==== Required types of counterfactual generator ==== ==== Required types of counterfactual generator ====
  • courses/xai/pr_2026.1795954403.txt.gz
  • Last modified: 5 days ago
  • by admin