Blogs / What a Vision Encoder Does and Where Sigmoid Loss Came From

What a Vision Encoder Does and Where Sigmoid Loss Came From

What a Hugging Face post says a vision encoder does, what CLIP and ALIGN were and what SigLIP replaced.

  • Learning
  • 1 min read

For: Learners who know what image classification is.

What a vision encoder does

Vision encoders are simple - they take an image, encode it into a representation, and that representation is used for downstream tasks like classification, object detection, image segmentation, and more vision tasks.[1]

CLIP and ALIGN

CLIP and ALIGN are the first examples of image encoders and text encoders aligned together through joint training.[1]

What SigLIP replaced

SigLIP took it further, replacing CLIP's contrastive loss with sigmoid loss for even better encoders.[1]

A vision encoderencodes an image into arepresentation fordownstream tasksCLIP and ALIGNimage and text encodersaligned through jointtrainingSigLIPreplaced CLIP's contrastiveloss with sigmoid lossfirst aligned byimproved by
What changed between them?

Sources

  1. SigLIP 2 (huggingface.co · checked )

More articles