VALOR-RAG
Trust-scored retrieval defense for RAG pipelines
A security layer for retrieval-augmented generation that assigns dynamic trust scores to retrieved documents, detects corpus poisoning, and adapts its thresholds as attack patterns shift. Developed in collaboration with Washington State University.
- Dynamic trust scoring over retrieved documents at query time
- Poison detection that flags adversarial insertions before generation
- Adaptive thresholds tuned against evolving attack distributions
Architecture
Retrieval
Vector store query with candidate document set
Trust Scoring
Per-document trust signal from provenance, consistency, and semantic drift
Poison Detection
Adversarial pattern classifier over candidate contexts
Adaptive Gate
Threshold policy that admits or quarantines documents
Generation
LLM generates only from admitted, trust-weighted context
Python · PyTorch · Transformers · Vector Databases