Why Semantic Similarity Can Give AI the Exact Opposite Answer

https://hackernoon.imgix.net/images/x2tcDBGSZLhfhRD7pK75yW0DKIa2-9f83baq.png

TL;DR:An embedding's similarity score measures how much two texts share in topic and wording, and a negation is a one-word edit. I wrote 40 invented policy facts and tested six open embedding models. On every model, "Which plan doesn't cover X?" scored closer to "Which plan covers X?" than a plain rewording of the same question did, for 77.5–100% of the items. At a common semantic-cache cut-off (similarity 0.90, RedisVL's default), one model would serve the cached answer to 97.5% of the opposite questions and to 7.5% of the genuine rewordings. In retrieval, models found the "covered" chunk almost every time and the "not covered" chunk between 27.5% and 92.5% of the time. Adding BM25 through rank fusion made five of the six worse. Dropping English stop words, which removes "not", took BM25 to a coin flip. Re-ranking the top ten with a small cross-encoder took every model to...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more

https://images.wsj.net/im-03253455/social

Palo Alto Networks agrees to buy Applied Compute, which helps companies customize open-weight AI models, for $4.5B in stock; it was valued at $3.25B this month

More: Digital Foundry on YouTube, IGN, Kotaku, The Guardian, Kotaku, MobileSyrup, The Guardian, Game Informer, Eurogamer.net, Streams Charts, Digital Foundry, IGN, PCMag, Eurogamer.net, IGN, New York Times, TechRadar, Windows Central, Eurogamer.net, Reuters, Wccftech, Wccftech, Video Games Chronicle, Wccftech, Kotaku, Eurogamer.net, The Verge, IGN, NME, GamesRadar, Washington