Dense-embedding retrievers can fail adversarially: when a query is answered by a document A and reversed by a near-copy B that differs from A by a small meaning-changing edit (a "trap"), raw cosine over E5-Large-v2 places B in the top-10 for 82-100% of queries at a pool of 5,000. We study two things
Small Learned Projections for Semantic-Reversal-Aware Retrieval with Spectral Acceleration: A Four-Domain Empirical Study
Dense-embedding retrievers using E5-Large-v2 place a meaning-reversed near-copy of the correct document in the top-10 for 82-100% of queries at a pool of 5,000, according to a four-domain empirical study of semantic-reversal-aware retrieval. The study examines small learned projections with spectral acceleration to address these adversarial "trap" documents, which differ from the answering document by a small meaning-changing edit.
Test your retriever against meaning-reversed near-copy documents; raw E5-Large-v2 cosine put the trap in the top-10 for 82-100% of queries at a 5,000-document pool.
more in playbook: Retrieval and RAGRun your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.