TL;DR
End-to-end Embodied AI (EAI) agents often fail during long-horizon household tasks for reasons that are difficult to diagnose. The authors introduce MAEA (Multimodal Attribution for Embodied AI), a gradient-based framework that measures how much an embodied policy relies on vision, language, and previous actions at its fusion layer. By comparing models before and after training, MAEA disentangles inherent architectural biases from dataset-induced biases and reveals why some architectures track instructions better than others.
What Problem Does This Paper Address?
In benchmarks like ALFRED, embodied agents are expected to carry out complex everyday tasks (e.g., "clean a mug and put it in the coffee machine") given first-person visual observations, language instructions, and history of past actions. Despite recent advances with sequence-to-sequence and transformer models, these agents still lag far behind human performance.
Because these policies are typically trained end-to-end, diagnosing why an agent failed is challenging:
- Did the model misread the instruction?
- Did it fail to visually spot the target object?
- Or did it fall into an action-repetition loop because it leaned too heavily on its previous action embedding?
Understanding how each input modality contributes to final decisions is critical for debugging policies, mitigating dataset biases, and establishing trust before deployment.
Methods
MAEA extracts post-hoc, gradient-based feature importances at the penultimate fusion layer of differentiable policies:
- Modality Attribution via $\text{GRAD} \odot \text{INPUT}$: For the predicted action label, the policy computes the element-wise product of the fusion layer's input features and their corresponding gradients.
- $L_2$ Norm Dimension Pooling: To produce a single scalar score per modality vector without overemphasizing tiny near-zero values (as $L_1$ does) or relying solely on peak activation (as $L_\infty$ does), the authors use $L_2$ norm pooling.
- Decoupling Architecture vs. Data Bias: Attributions are calculated on both randomly initialized models (5 random seeds) and fully trained checkpoints. The uninitialized attribution exposes structural inductive biases in the model architecture, while changes after training expose dataset-driven biases.
- Modality-Specific Diagnostics:
- Language: Computes token-level attributions and tracks the trajectory's instruction "focus center" ($c_{scaled}$) over episode progress.
- Vision: Employs XRAI to generate region-based visual attribution maps, helping diagnose cases where an agent predicts the correct high-level action (e.g.,
PickObject) but produces an incorrect pixel interaction mask.
Datasets
- ALFRED (Action Learning From Realistic Environments and Directives): A benchmark of interactive, multi-step household tasks in 3D Unity environments paired with high- and low-level crowdsourced natural language instructions.
- Evaluated on 100 validation-seen trajectories sampled from the dataset. Evaluations were run on expert demonstration paths so the attribution reflected in-distribution decision making rather than out-of-distribution failure states (like staring at a blank wall).
- Evaluated Architectures:
- Seq2Seq: Baseline (ResNet-18 + Bi-LSTM) and MOCA (ResNet-18 + dynamic filters + Bi-LSTM).
- Transformers: Episodic Transformer (ET; ResNet-50 + Transformer Encoder) and Hierarchical Tasks via Unified Transformers (HiTUT; Mask R-CNN + Transformer Encoder).
Key Insights and Ideas
- Architectural Skewness Predicts Performance: Models that start with severe attribution skew prior to training (e.g., Baseline and MOCA allocating over 70% of initialization attribution to the previous action) perform worse overall. HiTUT, which exhibits balanced attribution across vision, language, and action at initialization, achieves superior performance.
- Radical Discrepancies in Modality Preference: After training, models exhibit starkly different multimodal behaviors:
- ET overwhelmingly relies on visual features (over 60–70% attribution), virtually ignoring language instructions and previous actions.
- MOCA assigns the highest attribution to language instructions.
- HiTUT and Baseline maintain a more balanced distribution across all three modalities.
- Instruction Focus Drifts (or Doesn't): As an agent executes steps, its attention should ideally shift from earlier to later words in the instruction. MOCA displays this linear progression across episode completion. Baseline and ET, however, show flat instruction focus trends—matching their low overall reliance on language.
- Interact vs. Non-Interact Actions: Attributions remain largely consistent regardless of whether the agent performs navigation actions (e.g.,
RotateRight) or object interactions (e.g.,PickupObject), suggesting policies do not dynamically shift modality reliance based on action category.
Key Results
- Initialization Biases: Baseline and MOCA dedicate ~70–80% of initial attribution to previous actions, while ET splits most attribution between visual inputs and previous action. HiTUT starts with an even ~33% split per modality.
- Trained Distributions: On ALFRED validation-seen trajectories, HiTUT retains a balanced profile with occasional visual peaks; ET stays heavily skewed toward vision; and MOCA favors language (with language attribution rising toward the end of episodes).
- Visual Mask Failures: In qualitative XRAI studies on
PickObject, visual attribution explained why interaction masks failed: high attribution was localized on background distractors (e.g., microwave surfaces) rather than the target object (e.g., a tomato), despite the model selecting the correct action class.
Limitations and Future Work
- Expert vs. Rollout Trajectories: The analysis evaluates policies along expert demonstrations to avoid uninformative states (e.g., an agent stuck spinning in a corner). Evaluating attribution dynamics during policy rollouts remains an open challenge.
- End-to-End Dependency: MAEA currently requires end-to-end differentiable models. Expanding attribution backpropagation to modular, neuro-symbolic, or pipeline-based agents (e.g., FILM) is left for future work.
- Sensitivity to Pooling Norms: Although the paper justifies the $L_2$ norm, scalar pooling across differing embedding dimensions ($d=128$ vs. $d=768$) can introduce minor scaling sensitivities.
- Diagnostic Tool, Not a Fix: MAEA provides interpretability and failure grouping, but does not directly incorporate attribution regularization during training to prevent modality collapse.
Summary updated