TL;DR
Archipelago is a novel framework for detecting and attributing "feature interactions"—the synergistic relationships between inputs that drive a machine learning model's prediction. By introducing a model-agnostic approach that is both axiomatic and computationally efficient, Archipelago generates highly interpretable "islands" of feature importance that align much more closely with human intuition than previous state-of-the-art methods.
The Challenge of Feature Interactions
Modern deep learning models, such as BERT or ResNet, derive their power from learning complex, non-linear relationships between features. In sentiment analysis, for instance, the words "not" and "bad" individually might carry neutral or negative connotations, but together ("not bad"), they interact to create a positive sentiment.
While standard feature attribution methods (like Integrated Gradients) excel at highlighting which individual features are important, they often fail to explain these complex interactions. Existing interaction-aware methods suffer from three critical shortcomings:
- The Interpretability Gap: Some methods produce mathematically sound scores that completely contradict human intuition. For example, they might assign positive attribution scores to interactions between overwhelmingly negative words.
- Scalability Issues: Many axiomatic methods are computationally expensive, making them intractable for high-dimensional data or higher-order interactions (interactions involving three or more features).
- Model Specificity: Several techniques are hardcoded for specific architectures, limiting their utility across a diverse machine learning ecosystem.
The Archipelago Framework
To solve these issues, the authors propose Archipelago, a framework built on two distinct components:
1. ArchDetect: Finding the Interactions
ArchDetect is an interaction detector that identifies which features are working together. It measures "non-additivity"—the degree to which the combined effect of two features differs from the sum of their individual effects—using a discrete interpretation of mixed partial derivatives. Operating in $O(p^2)$ time (where $p$ is the number of features), it is significantly faster than previous approaches. Once pairwise interactions are found, ArchDetect merges overlapping pairs into disjoint sets, or "islands."
2. ArchAttribute: Measuring the Impact
Once the islands are detected, ArchAttribute assigns a "weight" to them. It leverages what the authors call the "Island Effect": isolating the attribution of a feature set by comparing the model's output when only those features are active against a neutral baseline.
Crucially, the authors introduce a new axiom called Set Attribution, ensuring the framework respects the additive structure of a function. They also generalize standard attribution axioms (like Completeness and Sensitivity) to work with sets of features rather than just individual inputs.
Key Insights
- Separation of Concerns: One of the paper's most effective design choices is separating detection from attribution. By finding the feature "islands" first and then measuring their impact, Archipelago avoids the mathematical muddiness that plagues methods trying to do both simultaneously.
- The "Island Effect" vs. Context: Traditional methods often measure a feature's importance by toggling it within a random or moving context. Archipelago argues that comparing a feature set against a strict "neutral baseline" (like a black image or a padding token) provides a much more stable and human-readable explanation.
- Higher-Order Efficiency: Detecting interactions between three or more features is typically an exponential problem. Archipelago bypasses this by leveraging a property where pairwise interactions can be merged into larger sets, allowing it to find complex, multi-feature relationships without massive computational overhead.
Experimental Results
The authors evaluated Archipelago across diverse domains—including text (SST/BERT), images (ImageNet/ResNet152), tabular data (Avazu/AutoInt), and medical diagnostics (COVID-Net)—yielding impressive results:
- Superior Interpretability: In sentiment analysis, Archipelago achieved a phrase correlation of 0.836, vastly outperforming other axiomatic methods like Integrated Hessians (0.128) and the Shapley Taylor Interaction Index (0.286).
- Accuracy in Vision: On ImageNet, it achieved a "Segment AUC" (measuring how well the explanation matches ground-truth object labels) of 0.919, the highest among all tested methods.
- Speed: Archipelago is orders of magnitude faster than its competitors. For image classification, it generated explanations in a fraction of the time required by Integrated Hessians or Shapley-based methods.
- Real-World Utility: In a COVID-19 chest X-ray classification task, Archipelago correctly identified that the model was focusing on medically relevant regions (the "great vessels" near the heart) rather than background noise.
Limitations and Future Directions
While Archipelago represents a significant step forward, it is not without limitations. For image data, the method currently relies on superpixel segmentation, meaning the quality of the explanation depends heavily on the initial grouping of pixels. Additionally, like many attribution methods, the choice of a "neutral baseline" can influence the results—finding the perfect baseline remains an open challenge. Finally, while Archipelago provides highly intuitive insights, the authors caution against over-relying on these explanations in high-stakes fields like medicine without expert human-in-the-loop validation.
Summary updated