<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>BLIP on SoloSoft</title><link>https://www.solosoft.dev/tags/blip/</link><description>Recent content in BLIP on SoloSoft</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.solosoft.dev/tags/blip/index.xml" rel="self" type="application/rss+xml"/><item><title>LAVIS: Salesforce's Library for Vision-Language AI</title><link>https://www.solosoft.dev/post/lavis-multimodal-2026/</link><pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/lavis-multimodal-2026/</guid><description>&lt;p&gt;Vision-language AI &amp;ndash; models that understand both images and text &amp;ndash; is one of the most rapidly advancing areas of artificial intelligence. Salesforce&amp;rsquo;s LAVIS (Library for Vision-Language Intelligence) provides a unified framework for training, evaluating, and deploying a wide range of vision-language models including BLIP, BLIP-2, InstructBLIP, and ALBEF.&lt;/p&gt;
&lt;p&gt;LAVIS is designed for both researchers and practitioners. Researchers get clean implementations of state-of-the-art models with reproducible benchmarks, while practitioners get a streamlined API for applying these models to real-world tasks like image captioning, visual question answering, and cross-modal retrieval.&lt;/p&gt;
&lt;h2 id="supported-models"&gt;Supported Models&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Model&lt;/th&gt;
 &lt;th&gt;Tasks&lt;/th&gt;
 &lt;th&gt;Year&lt;/th&gt;
 &lt;th&gt;Parameters&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;BLIP&lt;/td&gt;
 &lt;td&gt;Captioning, retrieval, VQA&lt;/td&gt;
 &lt;td&gt;2022&lt;/td&gt;
 &lt;td&gt;470M&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;BLIP-2&lt;/td&gt;
 &lt;td&gt;Captioning, VQA, retrieval&lt;/td&gt;
 &lt;td&gt;2023&lt;/td&gt;
 &lt;td&gt;1.2B&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;InstructBLIP&lt;/td&gt;
 &lt;td&gt;Instruction-following VQA&lt;/td&gt;
 &lt;td&gt;2023&lt;/td&gt;
 &lt;td&gt;1.2B&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;ALBEF&lt;/td&gt;
 &lt;td&gt;Retrieval, grounding&lt;/td&gt;
 &lt;td&gt;2021&lt;/td&gt;
 &lt;td&gt;210M&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;ALPRO&lt;/td&gt;
 &lt;td&gt;Video-language tasks&lt;/td&gt;
 &lt;td&gt;2022&lt;/td&gt;
 &lt;td&gt;250M&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="model-architecture"&gt;Model Architecture&lt;/h2&gt;

&lt;figure class="mermaid-wrapper not-prose" role="img" aria-label="Mermaid diagram"&gt;
 &lt;div class="mermaid-container"&gt;
 &lt;pre class="mermaid"&gt;flowchart LR
 A[Image] --&amp;gt; B[Vision Encoder&amp;lt;br/&amp;gt;ViT]
 C[Text] --&amp;gt; D[Text Encoder&amp;lt;br/&amp;gt;BERT]
 B --&amp;gt; E[Cross-Modal Attention]
 D --&amp;gt; E
 E --&amp;gt; F{Fusion Strategy}
 F --&amp;gt;|BLIP| G[Multi-modal Encoder]
 F --&amp;gt;|BLIP-2| H[Q-Former]
 F --&amp;gt;|InstructBLIP| I[Q-Former &amp;#43; LLM]
 G --&amp;gt; J[Output]
 H --&amp;gt; J
 I --&amp;gt; J&lt;/pre&gt;
 &lt;script type="application/mermaid"&gt;flowchart LR
 A[Image] --&gt; B[Vision Encoder&lt;br/&gt;ViT]
 C[Text] --&gt; D[Text Encoder&lt;br/&gt;BERT]
 B --&gt; E[Cross-Modal Attention]
 D --&gt; E
 E --&gt; F{Fusion Strategy}
 F --&gt;|BLIP| G[Multi-modal Encoder]
 F --&gt;|BLIP-2| H[Q-Former]
 F --&gt;|InstructBLIP| I[Q-Former + LLM]
 G --&gt; J[Output]
 H --&gt; J
 I --&gt; J&lt;/script&gt;
 &lt;/div&gt;
&lt;/figure&gt;&lt;p&gt;Each model in LAVIS uses a different fusion strategy. BLIP uses a standard multi-modal encoder, BLIP-2 introduces the Q-Former (a lightweight transformer that bridges vision and text), and InstructBLIP adds a frozen LLM for instruction-following.&lt;/p&gt;</description></item></channel></rss>