paper-with-me

Papers

Adversarial Hubness Detector: Detecting Hubness Poisoning in Retrieval-Augmented Generation Systems

2026-02-25 · Idan Habler, Vineeth Sai Narajala, Stav Koren, Amy Chang, Tiffany Saade arxiv

Retrieval-Augmented Generation (RAG) systems are essential to contemporary AI applications, allowing large language models to obtain external knowledge via vector similarity search. Nevertheless, these systems encounter a significant security flaw: hubness - items that frequently appear in the top-$k$ retrieval results for a disproportionately high number of varied queries. These hubs can be exploited to introduce harmful content, alter search rankings, bypass content filtering, and decrease system performance. We introduce hubscan, an open-source security scanner that evaluates vector indices and embeddings to identify hubs in RAG systems. Hubscan presents a multi-detector architecture that integrates: (1) robust statistical hubness detection utilizing median/Median Absolute Deviation (MAD)-based z-scores, (2) cluster spread analysis to assess cross-cluster retrieval patterns, (3) stability testing under query perturbations, and (4) domain-aware and modality-aware detection for category-specific and cross-modal attacks. Our solution accommodates several vector databases (FAISS, Pinecone, Qdrant, Weaviate) and offers versatile retrieval techniques, including vector similarity, hybrid search, and lexical matching with reranking capabilities. We evaluate hubscan on Food-101, MS-COCO, and FiQA adversarial hubness benchmarks constructed using state-of-the-art gradient-optimized and centroid-based hub generation methods. Hubscan achieves 90% recall at a 0.2% alert budget and 100% recall at 0.4%, with adversarial hubs ranking above the 99.8th percentile. In testing, domain-scoped scanning recovered 100% of targeted attacks that evaded global detection. Production validation on 1M real web documents from MS MARCO demonstrates significant score separation between clean documents and adversarial content.

📄 PDF Abstract BibTeX arXiv:2602.22427

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

scikit-hubness: Hubness Reduction and Approximate Neighbor Search

2019-12-02 · Roman Feldbauer, Thomas Rattei, Arthur Flexer

This paper introduces scikit-hubness, a Python package for efficient nearest neighbor search in high-dimensional spaces. Hubness is an aspect of the curse of dimensionality, and is known to impair various learning tasks,…

ClusteringRetrieval

Hubness Reduction Improves Sentence-BERT Semantic Spaces

2023-11-30 · Beatrix M. G. Nielsen, Lars Kai Hansen

Semantic representations of text, i.e. representations of natural language which capture meaning by geometry, are essential for areas such as information retrieval and document grouping. High-dimensional trained dense ve…

Information RetrievalRetrievalSentence

Adversarial Hubness in Multi-Modal Retrieval

2024-12-18 · Tingwei Zhang, Fnu Suya, Rishi Jha, Collin Zhang 외

Hubness is a phenomenon in high-dimensional vector spaces where a single point from the natural distribution is unusually close to many other points. This is a well-known problem in information retrieval that causes some…

Image RetrievalInformation RetrievalRetrieval

Hubs and Hyperspheres: Reducing Hubness and Improving Transductive Few-shot Learning with Hyperspherical Embeddings

2023-03-16 · CVPR 2023 1 · Daniel J. Trosten, Rwiddhi Chakraborty, Sigurd Løkse, Kristoffer Knutsen Wickstrøm 외

Distance-based classification is frequently used in transductive few-shot learning (FSL). However, due to the high-dimensionality of image representations, FSL classifiers are prone to suffer from the hubness problem, wh…

Few-Shot Learning

Ridge Regression, Hubness, and Zero-Shot Learning

2015-07-03 · Yutaro Shigeto, Ikumi Suzuki, Kazuo Hara, Masashi Shimbo 외

This paper discusses the effect of hubness in zero-shot learning, when ridge regression is used to find a mapping between the example space to the label space. Contrary to the existing approach, which attempts to find a …

regressionZero-Shot Learning