# How can I interpret which visual features an ACT policy uses to predict robot actions?

> Source: <https://discuss.huggingface.co/t/how-can-i-interpret-which-visual-features-an-act-policy-uses-to-predict-robot-actions/192867#post_2>
> Published: 2026-11-30 08:26:44+00:00

**Recommendation:** Explain ACT policies by computing gradients and Grad-CAM on selected joint/offset action coordinates, and cross-check with per-camera blur/black replacements kept offline; watch for IG convergence failures and camera-ranking changes across task phases.
More in the playbook "Verifying model output": <https://wpnews.pro/playbooks/output-verification>

Hmm… I think it might be quicker to ask on the [LeRobot Discord](https://huggingface.co/lerobot) , but I did a little checking:

**Yes, you can apply Grad-CAM, saliency maps and Integrated Gradients (IG) to ACT without retraining.** Instead of explaining a class score, explain a selected predicted action coordinate or a function of the action chunk.

| Question | What I would try | 
|---|---|
| Which pixels affect a particular joint command? | Input gradients, action-conditioned Grad-CAM, IG | 
| Which camera matters more? | Replace each image separately, then both; compare predicted chunks | 
| Does importance change across the 100 steps? | Analyze selected prediction offsets, intervals and joints | 
| Object, gripper or background dependence? | Region interventions and matched-area controls | 
| Which tokens/features are active? | CNN activation and decoder cross-attention maps | 

Start with recorded observations: check forward parity, test each/both camera replacements with blur and black, then calculate gradients for selected joint/offset pairs. Keep state fixed and repeat across task phases.

[Physical AI Interpretability](https://github.com/villekuosmanen/physical-AI-interpretability) includes ACT attention and IG mappers; [LeRobot Attention Visualizer](https://github.com/CursedRock17/lerobot_attention_visualizer) provides CNN overlays. Check version compatibility. [Captum](https://captum.ai/) is another option for regression and multiple inputs.

Section 8 reports measurements on a different public SO-101 ACT checkpoint: exact forward parity, changing camera rankings and IG convergence failures.

**Keep altered-input predictions offline, not on the robot.** Sections 1–3 are enough to start; the others are optional.

Your version, camera keys, action units and execution settings will help interpret the results.
