Learning Human-Aligned Representations with Contrastive Learning and Generative Similarity

Raja Marjieh, Sreejan Kumar, Declan Campbell, Liyi Zhang, Gianluca Bencomo +2 more
5/29/2024
cs.LGcs.AIq-bio.NC

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Humans rely on effective representations to learn from few examples and abstract useful information from sensory data. Inducing such representations in machine learning models has been shown to improve their performance on various benchmarks such as few-shot learning and robustness. However, finding effective training procedures to achieve that goal can be challenging as psychologically rich training data such as human similarity judgments are expensive to scale, and Bayesian models of human inductive biases are often intractable for complex, realistic domains. Here, we address this challenge by leveraging a Bayesian notion of generative similarity whereby two data points are considered similar if they are likely to have been sampled from the same distribution. This measure can be applied to complex generative processes, including probabilistic programs. We incorporate generative similarity into a contrastive learning objective to enable learning of embeddings that express human cognitive representations. We demonstrate the utility of our approach by showing that it can be used to capture human-like representations of shape regularity, abstract Euclidean geometric concepts, and semantic hierarchies for natural images.

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. 1 weaker match is hidden by default — 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{marjieh2024learning,
  title  = {Learning Human-Aligned Representations with Contrastive Learning and Generative Similarity},
  author = {Raja Marjieh and Sreejan Kumar and Declan Campbell and Liyi Zhang and Gianluca Bencomo and Jake Snell and Thomas L. Griffiths},
  year   = {2024},
  eprint = {2405.19420},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.19420v3}
}

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/2405.19420.svg)](https://codeofpaper.com/paper/2405.19420)

Discussion