TL;DR
In multimodal machine learning, not every image, text snippet, or sensor reading pulls its weight—some are redundant, while others only shine when paired together across different examples. This paper introduces Structured Kernel Surrogate (SKS) models, a method to pinpoint exactly how a single modality inside a single training example impacts overall model performance. By untangling this web of cross-sample and cross-modality interactions, SKS lets us prune noisy or redundant modalities, boosting accuracy and yielding models that generalize much better.
What Problem Does This Paper Address?
Imagine predicting traffic accidents using both tabular sensor stats (traffic volume, weather) and satellite imagery. For a quiet rural road, a satellite photo of trees adds very little beyond what zero-traffic tabular data already tells you. For a complex six-lane highway interchange, however, that aerial view might be critical—and training on it helps the shared neural network interpret road layouts across the entire dataset.
Traditional data attribution (like influence functions or datamodels) asks a coarse question: "What happens to test loss if we drop Sample X entirely?" That works fine for unimodal data, but multimodal systems operate at two distinct granularities: which samples are present, and which modalities are retained within each sample. Dropping one modality from one sample alters optimization in nonlinear ways across the rest of the dataset. Capturing this cross-sample modality attribution—while accounting for missing modalities and avoiding expensive model retraining—has remained an open challenge.
Methods
Instead of training a massive neural network thousands of times to test every combination of dropped modalities, the authors build a fast mathematical stand-in—a surrogate model—called SKS.
Here is how SKS separates what is standard from what is new:
- Binary Mask Representation: Dataset perturbations are represented as a binary matrix $S$, where columns are samples and rows are modalities ($1$ = kept, $0$ = masked).
- A Novel Compositional Kernel: Rather than flattening $S$ into a naive vector, SKS introduces a hierarchical Radial Basis Function (RBF) kernel that multiplies two similarity scores:
- Sample-level similarity ($k_1$): Compares which samples participate at all (at least one active modality).
- Modality-level similarity ($k_2$): Compares internal modality combinations, restricted only to samples present in both masks. This cleanly separates "missing a sample" from "missing a modality."
- Surrogate & Finite Differences: Using standard Kernel Ridge Regression (KRR) over $N$ random mask configurations, SKS learns to predict test loss $\hat{g}(S)$ directly from $S$. The attribution score for a specific sample-modality pair is then just the predicted loss difference when flipping that single bit from $0$ to $1$.
- Fast Gradient Linearization: To get the training targets for the surrogate without retraining the neural network $N$ times from scratch, the authors apply a first-order Taylor expansion around a single trained checkpoint, caching gradients to estimate perturbed losses rapidly.
Datasets
No new benchmarks are introduced; the authors evaluate SKS across two existing, diverse multimodal suites:
- MMTRACE: A spatiotemporal traffic accident prediction benchmark across six US states (DE, MA, MD, NV, MT, IA), pairing road-network tabular data (weather, traffic volume) with satellite imagery.
- MultiBench: Six standard multimodal tasks spanning text, audio, vision, and tabular data: UR-FUNNY (humor), MUStARD (sarcasm), CMU-MOSI & CMU-MOSEI (sentiment), AV-MNIST (audio-visual digits), and MM-IMDB (movie genres).
Key Insights and Ideas
- Hierarchy beats flatness: Treating sample participation and within-sample modality selection as a structured hierarchy outperforms a "flat" kernel by 9.6% in attribution accuracy, proving that missing an entire data point is fundamentally different from missing one view of it.
- Automatic semantic filtering: When given a strict budget to keep only 20% of satellite images in MMTRACE, SKS naturally keeps complex intersections and highways while discarding lush green forest tiles—discovering where accidents happen purely through loss attribution.
- Flatter loss landscapes: Models trained on SKS-curated data exhibit significantly lower Hessian traces (a measure of loss surface curvature). Lower curvature means a flatter, smoother minimum, explaining why SKS-selected data transfers remarkably well across unseen US states.
- Not all modalities are equal: Ablations swapping the 20% budget from vision to tabular data caused a noticeable accuracy drop across all methods, neatly quantifying that tabular traffic stats carry more baseline signal for accident prediction than satellite photos.
Key Results
- Attribution Fidelity: Evaluated via the Linear Datamodeling Score (LDS—Spearman correlation between predicted and true subset test losses), SKS beats the strongest baselines by 50.1% on MMTRACE and 65.6% on MultiBench (an overall average improvement of 57.8%), with massive leaps on nonlinear tasks like Sarcasm and MOSI.
- Downstream Data Selection: Retaining 100% of one modality and using SKS to select just the top 20% of the second modality improves test accuracy by 1.52% on MMTRACE and 2.33% on MultiBench (1.93% overall average) over baselines like TRAK, Influence Functions, and LESS.
- Generalization & Sharpness: In cross-state traffic tests (training on one state's SKS-selected data, testing on another), Montana-trained models achieved 74.9% average accuracy across target states, paired with the lowest test loss and lowest Hessian trace across all evaluated states.
Limitations and Future Work
Not explicitly discussed in a dedicated section in the main paper. However, two technical constraints are apparent from the formulation:
- Checkpoint Proximity: Efficient loss estimation relies on a first-order Taylor linearization around a full-dataset checkpoint $W^\star$, which assumes model parameters under masked subsets stay reasonably close to $W^\star$.
- Kernel Validity Constraints: For the structured product kernel $K$ to remain mathematically valid (positive semidefinite), the sample-level bandwidth $\gamma_1$ must satisfy a specific lower-bound inequality relative to the modality-level bandwidth $\gamma_2$.
Summary updated