~/talk

Applying contrastive learning to fight anisotropy in language models

Talkat PyData Global 2022 · 2022-12-01..12-03· [machine-learning]
slides:none on file

Claim: applying SimCSE (contrastive objective) with dropout augmentation turns cone-like BERT/Roberta embeddings into a more spherical, isotropic distribution. Tools: Transformer encoders and the Python SimCSE library; implementation simply calls encode and compares cosine similarities. Result: paraphrase pairs show substantially higher cosine scores versus unrelated pairs (example pair ~0.14 for unrelated vs noticeably higher for paraphrases), and supervised SimCSE empirically balances alignment and uniformity better than whitening.

AI-written summary · about

  1. 0:00Introduction
  2. 2:14Transformers and BERT
  3. 4:00Agenda
  4. 5:06Transformer refresher
  5. 8:57Polysemy in language
  6. 10:41Word embeddings
  7. 12:27Isotropy definition
  8. 14:55Anisotropy in embeddings
  9. 16:45Consequences of anisotropy
  10. 17:06Contrastive learning intro
  11. 19:09Contrastive learning methods
  12. 20:12Unsupervised sentence learning
  13. 21:40Embedding alignment
  14. 23:04Evaluating isotropy
  15. 24:08Python SimCSE
  16. 25:10Applications and demos
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.