[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-how-to-make-images-and-text-speak-the-same-language":10,"sections":35},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":24,"tags":25,"sources":30,"feedback":34,"feedback_at":22,"cost_usd":34,"total_tokens":34},2862,"how-to-make-images-and-text-speak-the-same-language","How to Make Images and Text Speak the Same Language","New research finds cosine similarity beats six rival metrics for aligning visual and text embeddings in cross-modal retrieval systems.","Getting a search engine to match a sentence to the right image — or vice versa — turns out to hinge on a surprisingly mundane math choice.\n\nResearchers published a systematic study of how well different similarity metrics and neural architectures can align the embedding spaces produced by vision-language models and separate unimodal encoders. They tested four standard metrics alongside two learned ones, including a custom contrastive loss function, across multiple benchmarks. Cosine similarity — the workhorse of most embedding search stacks — came out on top across the board. Wasserstein distance, borrowed from optimal transport theory, didn't win head-to-head but offered a distinct view of how image and text distributions differ globally, which could matter for debugging retrieval pipelines.\n\nThe practical upshot: teams building cross-modal search or retrieval-augmented generation systems now have empirical backing for a default choice, rather than guessing. The finding that a custom contrastive loss outperforms mean squared error for both transformer and MLP architectures also gives practitioners a concrete architecture recommendation, not just a theoretical one.\n\nCross-modal retrieval sits at the foundation of products ranging from image search to video captioning to multimodal RAG pipelines — so \"what metric should we use\" is less an academic question than an engineering one that gets answered, badly, every day. The code is open-source, which at least means teams can test these conclusions against their own data rather than taking the paper's word for it.","[\"machine learning\",\"multimodal\",\"information retrieval\",\"embeddings\"]","2026-06-30T04:00:00.000Z","2026-06-30T14:10:04.638Z","2026-09-20T16:32:11.351Z","published",null,[],"ai",[26,27,28,29],"machine learning","multimodal","information retrieval","embeddings",[31],{"name":32,"url":33},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2506.08774",0,{"sections":36},[37,41,46,51,56,61,66,71,76,81,86,91,96,101],{"name":38,"slug":24,"count":39,"latest_published_at":40},"AI",7165,"2026-11-16T14:00:00.000Z",{"name":42,"slug":43,"count":44,"latest_published_at":45},"Security","security",1141,"2026-11-15T17:15:13.000Z",{"name":47,"slug":48,"count":49,"latest_published_at":50},"Deals","deals",682,"2026-11-16T14:45:47.000Z",{"name":52,"slug":53,"count":54,"latest_published_at":55},"Policy","policy",631,"2026-11-16T09:43:00.000Z",{"name":57,"slug":58,"count":59,"latest_published_at":60},"Consumer Tech","consumer-tech",384,"2026-11-16T14:33:02.000Z",{"name":62,"slug":63,"count":64,"latest_published_at":65},"Hardware","hardware",347,"2026-11-16T13:28:40.000Z",{"name":67,"slug":68,"count":69,"latest_published_at":70},"Science","science",236,"2026-11-14T20:54:14.000Z",{"name":72,"slug":73,"count":74,"latest_published_at":75},"Software","software",179,"2026-11-16T10:35:16.000Z",{"name":77,"slug":78,"count":79,"latest_published_at":80},"Startups","startups",162,"2026-11-13T17:32:35.000Z",{"name":82,"slug":83,"count":84,"latest_published_at":85},"General","general",131,"2026-11-16T11:14:41.000Z",{"name":87,"slug":88,"count":89,"latest_published_at":90},"Dev Tools","dev-tools",127,"2026-11-11T19:00:44.000Z",{"name":92,"slug":93,"count":94,"latest_published_at":95},"Gaming","gaming",113,"2026-11-16T11:47:03.000Z",{"name":97,"slug":98,"count":99,"latest_published_at":100},"Reviews","reviews",38,"2026-10-20T12:00:00.000Z",{"name":102,"slug":103,"count":104,"latest_published_at":105},"How-To","how-to",10,"2026-11-14T23:45:00.000Z"]