cosine-similarity

Tag

Cards List
#cosine-similarity

Switching from Ollama to Anthropic SDK broke a system that worked fine. The LLM didn't change the code; it changed the timing

Reddit r/AI_Agents · 2026-06-02

The author shares pitfalls from building a shared decision log for AI agent teams, including race conditions exposed by faster models, unreliable contradiction detection with cosine similarity, and challenges in testing multi-agent promises.

0 favorites 0 likes
#cosine-similarity

Rethinking Layer Relevance in Large Language Models Beyond Cosine Similarity

arXiv cs.LG · 2026-05-15 Cached

This paper demonstrates that cosine similarity is a poor proxy for assessing layer importance in LLMs, and proposes using the actual accuracy drop from layer removal as a more robust metric.

0 favorites 0 likes
#cosine-similarity

Mean-Pooled Cosine Similarity is Not Length-Invariant: Theory and Cross-Domain Evidence for a Length-Invariant Alternative

arXiv cs.CL · 2026-05-11 Cached

This paper demonstrates that mean-pooled cosine similarity is not length-invariant under anisotropic representations, showing it artificially inflates similarity with sequence length. It argues for using Centered Kernel Alignment (CKA) as a default metric to correct biases in cross-lingual and cross-representation analysis.

0 favorites 0 likes
#cosine-similarity

andreasjansson/clip-features

Replicate Explore · 2026-05-08 Cached

A model on Replicate that outputs CLIP ViT-L/14 features for text and images, allowing similarity computation between inputs.

0 favorites 0 likes
← Back to home

Submit Feedback