Towards out-of-distribution generalization in large-scale astronomical surveys: robust networks learn similar representations

Yash Gondhalekar, Sultan Hassan, Naomi Saphra, Sambatra Andrianomena
11/29/2023
astro-ph.IMastro-ph.GAcs.LG

No confident code implementation found for this paper.

Abstract

The generalization of machine learning (ML) models to out-of-distribution (OOD) examples remains a key challenge in extracting information from upcoming astronomical surveys. Interpretability approaches are a natural way to gain insights into the OOD generalization problem. We use Centered Kernel Alignment (CKA), a similarity measure metric of neural network representations, to examine the relationship between representation similarity and performance of pre-trained Convolutional Neural Networks (CNNs) on the CAMELS Multifield Dataset. We find that when models are robust to a distribution shift, they produce substantially different representations across their layers on OOD data. However, when they fail to generalize, these representations change less from layer to layer on OOD data. We discuss the potential application of similarity representation in guiding model design, training strategy, and mitigating the OOD problem by incorporating CKA as an inductive bias during training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gondhalekar2023towards,
  title  = {Towards out-of-distribution generalization in large-scale astronomical surveys: robust networks learn similar representations},
  author = {Yash Gondhalekar and Sultan Hassan and Naomi Saphra and Sambatra Andrianomena},
  year   = {2023},
  eprint = {2311.18007},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.18007v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.18007.svg)](https://codeofpaper.com/paper/2311.18007)

Discussion