Knowledge poisoning attacks against multimodal retrieval-augmented generation in healthcareKnowledge Poisoning Attacks on Medical Multi-Modal Retrieval-Augmented Generation
M3 Att poisons medical multimodal RAG without knowing user queries; the authors state an average utility drop of 8.78% relative to clean RAG.
Query-agnostic: injects limited poisoned image-text pairs, without user queries or distribution, without model parameters, without retrieval outputs or context. Retrieval is image-to-image top-k. The goal is to increase the retrieval probability of poisoned entries and mislead the LVLM into wrong decisions. Only library distribution knowledge estimable through black-box interaction is available. The experiments additionally set up encoder white-box and black-box.
- Medical multimodal RAG retrieves external image-text evidence, and incorrect knowledge can enter diagnosis or treatment recommendations. Existing poisoning often assumes the attacker knows user queries in advance; the authors claim this assumption usually does not hold in deployment.
- M3 Att only assumes the ability to estimate part of the library distribution. After clustering the reference pool, it uses cluster centers as proxies and applies bounded PGD to images to increase retrieval probability under unknown queries; text is rewritten along uncertainty in severity, differential diagnosis, and decision recommendations to evade the model's self-correction.
- Evaluated on five LVLMs and five datasets for VQA, report generation, and classification, with retrievers including CLIP, BGE-VL, SigLIP, and baseline LIAR. The authors claim M3 Att has lower utility in the vast majority of configurations, with an average drop of 8.78% relative to clean RAG; Table 1 has counterexamples. The authors claim black-box retrieval hijacking is close to white-box.
- The authors state that validation was mainly done on two-dimensional chest X-rays and histopathology slides, without evaluating three-dimensional CT/MRI and temporal videos, and they plan to collect data before testing further. The experiments used five LVLMs, three retrievers, and LIAR, with Table 1 at top-K=1.
- Evaluated models
- GPT-4oGPT-5 ChatGemini-2.5-FlashClaude-Haiku-4.5LLaVA-MedCLIP ViT-Large-Patch14-336BGE-VL-baseSigLIP-SO400M-Patch14-384
- Benchmarks
- IU-XRayMIMIC-CXRCRC100kMHISTPCam
- Metrics
- chance-normalized accuracyfactual consistencycompletenessASR@Top-kF1
The paper proposes M³Att, a knowledge poisoning framework for medical multimodal RAG systems, which injects covert misinformation into text data under the assumption of only limited distributional knowledge of the underlying database. The method uses paired visual data as query-agnostic triggers to facilitate retrieval, and adds imperceptible perturbations to visual inputs to manipulate retrieval probabilities; since the LLM's prior medical knowledge corrects obvious factual errors during generation, the authors exploit the inherent ambiguity of medical diagnosis to design a covert misinformation injection strategy that reduces diagnostic accuracy while evading the model's self-correction. Experiments on five LLMs and datasets show that M³Att consistently produces clinically plausible but incorrect outputs. Code at https://github.com/ypr17/M3Att。
Paper analysis
What problem does this paper attempt to solve?
Poisoning the retrieval and generation of medical multimodal RAG without knowing user queries, with only knowledge of the base distribution.
When the attacker does not know future user queries and only has limited knowledge of the knowledge base distribution, how can a medical multimodal RAG be made to retrieve poisoned entries and generate clinically plausible but incorrect outputs.
- Scenario: The authors state that medical multimodal RAG retrieves evidence from paired images (e.g., X-ray, CT, MRI) and text for report generation and medical question answering. Modern LVLMs have strong instruction following, so retrieved incorrect medical information can directly enter diagnosis or treatment recommendations, making the knowledge base an attack surface for medical applications.
- Existing shortcomings: Prior knowledge poisoning often assumes the attacker knows future user queries in advance and can do query-specific optimization. The authors claim this assumption usually does not hold in deployment, and once it fails, attack effectiveness drops. Medical images have consistent anatomy and close embeddings, so a few poisoned samples struggle to overpower real evidence; increasing injection harms stealth; explicit factual errors easily conflict with model medical priors, being refused or self-corrected, while overly weak perturbations struggle to affect output.
- Core observation: The authors believe homogeneity makes the latent space form separable semantic clusters, and cluster centers can be used as proxy targets, thus not relying on explicit queries. Diagnosis itself is uncertain, corresponding to low-confidence regions of the prior, where incorrect information can be injected and the possibility of self-correction reduced.
- This paper proposes: M3 Att. On the visual side, distribution-guided retrieval hijacking uses images as query-agnostic triggers; on the text side, incorrect information is injected along clinical ambiguity.
- Threat model:
- Goal: Maximize the retrieval probability of poisoned entries and mislead the LVLM into wrong decisions.
- Knowledge: strict query-agnostic. No user queries or their distribution, no model parameters, cannot obtain retriever outputs or retrieval context. Only limited knowledge of the knowledge base distribution, estimable through black-box interaction with the RAG. Appendix G states: cannot directly access the full deployed base, but can hold a small reference set from the same distribution.
- Capability: Inject a limited budget of poisoned image-text pairs into the knowledge base. Section 3.3 additionally compares white-box and black-box for the image encoder f(·); Section 3.1 and Appendix G state the attacker has no model parameters.
- Victim system: Standard medical multimodal RAG. The retriever returns top-k image-text pairs by image-to-image similarity, then feeds them to the LVLM for generation.
What related research exists?
The paper discusses medical multimodal RAG, multimodal knowledge poisoning, and medical RAG poisoning, with LIAR as the baseline.
The paper discusses three lines in Related Works and Appendix F.
Medical multimodal RAG
- Ferber et al. (2024): Uses in-context learning to let general LVLMs perform histopathology classification at inference time based on a small number of labeled images.
- MMed-RAG (Xia et al., 2025): Combines domain-aware retrieval, adaptive context selection, and RAG-based preference fine-tuning to improve the factuality and cross-domain performance of medical LVLMs.
- RULE (Xia et al., 2024): Calibrates the number of retrieved contexts and fine-tunes with preference data to balance inherent knowledge and external retrieval.
Multimodal RAG knowledge poisoning
- Unimodal foundations: Tan et al. (2024) discuss retrieval weaknesses in text RAG; PoisonedRAG by Zou et al. (2025) affects generation by systematically corrupting text knowledge. The paper states that compared to unimodal, multimodal RAG increases risk due to the visual modality.
- Multimodal poisoning: Ha et al. (2025) present query-targeted and global poisoning; Liu et al. (2025b) consider both retrieval relevance and generation control; SPA-VLM by Yu et al. (2025) jointly optimizes images and text. The paper states that the concentrated embedding distribution of standardized medical images makes these general strategies difficult to hijack retrieval while maintaining clinical plausibility.
- HV-Attack (Luo et al., 2025): Applies hierarchical visual perturbation to user-provided images. The appendix states it does not poison the knowledge base.
Medical RAG poisoning
- Text clinical reasoning: Xian et al. (2024) analyze corpus poisoning in knowledge-intensive domains and propose detection-based defenses; Amirshahi et al. (2025) evaluate how adversarial evidence misleads RAG in the health domain.
- Multimodal medicine: Zuo et al. (2025) simulate vulnerabilities and threats in multimodal medical RAG. Medusa by Shang et al. (2025) directly perturbs user query images; the appendix states this is orthogonal to poisoning the knowledge base.
- The paper's critique: Because it is difficult to hijack retrieval and override generation, most existing methods rely on query-specific optimization.
Baselines and data
- Baseline: LIAR (Tan et al., 2024). The paper states it is the closest prior work to the query-agnostic threat model; most multimodal RAG attacks are inapplicable because they depend on future queries. The experiments change text-to-text to image-to-text, initialize a 60-token prompt, optimize it in embedding space as a soft prompt toward cluster-center proxy targets, then decode to discrete tokens.
- Datasets: IU-XRay, MIMIC-CXR are chest X-rays and radiology reports, used for VQA and report generation; CRC100k, MHIST, PCam are histopathology classification.
The authors position the paper as: using only limited library distribution knowledge, affecting both retrieval and downstream generation in a query-agnostic setting while maintaining clinical plausibility.
How does the paper address this problem?
M3 Att hijacks retrieval using cluster centers as proxy targets and rewrites text along clinical uncertainty.
M3 Att splits poisoning into two sides: constructing query-agnostic visual triggers from the in-base embedding distribution, then rewriting paired text with diagnostic uncertainty.
Problem formulation
- The knowledge base consists of image-text pairs. The retriever takes top-k by image-to-image similarity, then feeds into the LVLM.
- The attacker injects a limited number of entries, aiming to increase the retrieval probability of these entries for unknown queries and make clinical conclusions wrong.
- The reference pool and candidate pool do not overlap. The reference pool is assumed to be a same-distribution subset; the authors claim it can be obtained by interacting with the multimodal medical RAG.
Distribution-guided retrieval hijacking
- Cluster characterization: Cluster reference pool image embeddings (paper examples K-Means), obtaining K semantic clusters. For each cluster, take prototypes near the center and average their embeddings as proxy target μc. In implementation, K=40, μc is the average of the top-50 prototype embeddings closest to the center.
- Candidate sampling: Rank the candidate pool by embedding similarity to μc, take a few top images for short-range PGD warm-up, and select the one with the best warm-up target as that cluster's seed. In implementation, warm-up is 10 iterations. Each cluster finally injects 1 image, budget is K, each setting poison rate below 0.01.
- Bounded PGD: Maximize cosine similarity between image embedding and μc, and project back into the ℓ∞ neighborhood. The update is xc(i+1)=Πℬϵ(xc(0))(xc(i)+α·sign(∇x L(f(xc(i)),μc))). f is the image encoder, α is the step size, projection limits per-pixel perturbation within ε.
- Encoder visibility: White-box uses backpropagation. Black-box uses symmetric finite differences, ∇x L≈1/K∑k=1K(L(xc(i)+σ uk)−L(xc(i)−σ uk))/(2σ)uk, σ is the sampling radius; the paper also writes the number of random directions as K. Implementation gives ε=16/255, α=1/255, N=500, without giving σ and the number of directions. The Nth-step image is taken into the base. The authors claim poisoned images thus approach corpus-representative patterns while remaining clinically indistinguishable from benign samples in appearance.
Clinical uncertainty-guided text poisoning
- The authors believe medical conclusions are not simply right or wrong like general facts. Therefore, they do not write explicit factual errors that trigger self-correction, but rewrite conclusions within semantic ambiguity. The three layers correspond to perceptual evidence, diagnostic hypotheses, and decision risk assessment.
- Fine-grained Severity Migration: Without changing the broad disease category, rewrite severity bidirectionally, making urgent findings non-urgent, or pushing normal/physiological findings toward pathological thresholds.
- Prior-Constrained Diagnosis Distortion: Among diseases with overlapping visual features and prior probabilities comparable to the truth, choose targets and rewrite the report into another plausible interpretation, avoiding direct conflict with model priors.
- Risk Association Corruption: Bidirectionally rewrite recommendations or uncertainty statements, lowering urgency, or pushing toward a false-positive posture. Rewriting is done by a controlled LLM editor, stated in the main text as GPT-5. Appendix Figure 9 gives the full system prompt, Figure 10 gives rewriting examples.
How the two sides cooperate
- Poisoned images and rewritten text form image-text entries written into the knowledge base. The authors' design is: retrieval hijacking makes entries enter top-k under unknown queries, and text poisoning biases conclusions after being read.
- End-to-end success is measured by downstream task utility drop; the retrieval stage alone is measured by top-k retrieval ASR.
What experiments did the paper conduct?
The authors state that M3 Att outperforms LIAR on most of the five models, with an average utility drop of 8.78% relative to clean RAG.
Experimental setup
- Generation models: Table headers are GPT-4o, GPT-5, Gemini-2.5, Claude-4.5, LLaVA-Med. Appendix E.1 writes full names as GPT-5 Chat, Gemini-2.5-Flash, Claude-Haiku-4.5. The text editor in the main text is GPT-5.
- Retrievers: CLIP, BGE-VL, SigLIP. Appendix writes CLIP ViT-Large-Patch14-336, BGE-VL-base, SigLIP-SO400M-Patch14-384. Table 1 is CLIP and BGE-VL, Table 2 adds SigLIP.
- Data and tasks: Five datasets. The retrieval base comes from the training set; test samples are used only as queries, with no instance-level overlap. VQA includes yes/no and multiple-choice; the yes/no subset follows Xia et al. (2025); report generation preprocessing and metrics follow that paper; classification follows Ferber et al. (2024). The paper does not report the number of queries per dataset.
- Comparisons: w/o RAG, Clean RAG (avg. across retrievers), LIAR. The paper does not list which retrievers are included in that average.
- Metrics: Table 1's VQA and classification are chance-normalized accuracy, mapping random level to 0, full score to 1, and below-random truncated to 0. Report generation FC, CP are done by LLM information matching; appendix writes the reviewer ensemble as o3, Gemini-3, Claude Opus 4.5. Retrieval ASR@Top-k is the proportion of queries where top-k contains at least one poisoned sample. Table 1 is top-K=1. The paper does not report the number of repetitions.
- Budget: K=40, 1 per cluster, poison rate below 0.01. PGD is ε=16/255, α=1/255, N=500, warm-up 10 steps.
Main results
The table below is from Table 1, IU-XRay True/False chance-normalized accuracy. Clean RAG is averaged across retrievers. Filtered is the subset of queries where retrieval hijacking succeeded; the paper does not specify the retriever. Lower means stronger attack.
Swipe horizontally to read the table
Model w/o RAG Clean RAG (avg.) CLIP LIAR CLIP M3 Att Filtered M3 Att GPT-4o 67.36% 89.64% 83.90% 77.88% 61.50% GPT-5 88.28% 93.90% 94.60% 91.96% 87.44% Gemini-2.5 68.20% 72.60% 80.02% 76.12% 66.52% Claude-4.5 0.00% 53.20% 55.90% 47.04% 20.50% LLaVA-Med 14.64% 72.51% 76.92% 65.28% 28.04% - The authors claim external retrieval improves utility over no RAG. Table 1 has counterexamples: LLaVA-Med on MIMIC True/False has w/o RAG 66.00% and Clean RAG (avg.) 65.88%; Gemini-2.5 on MHIST has 12.14% and 3.14%.
- The authors claim that in CLIP and BGE-VL end-to-end settings, M3 Att causes utility drops relative to clean RAG and outperforms LIAR in the vast majority of configurations; they also claim an average reduction of 8.78% relative to clean RAG, without specifying the averaging scope. In the table above, M3 Att is higher than Clean RAG (avg.) only for Gemini-2.5; CLIP LIAR is higher than that average except for GPT-4o. Another counterexample: LLaVA-Med, CLIP, PCam has M3 Att 10.48%, LIAR 9.78%, Clean RAG (avg.) 3.04%. The authors do not explain these cells.
- Filtered: The authors claim that once hijacking succeeds, clinically plausible injections dominate reasoning. GPT-4o's Filtered M3 Att on CRC100k and PCam is 0.00% each, with Clean RAG (avg.) 93.30% and 66.62%; LIAR in the same column also has 0.00%.
Retrieval hijacking
- Figure 2 compares black-box and white-box, three retrievers, five datasets, with k of 1, 3, 5. The authors claim poisoned entries frequently enter the retrieval set, and black-box is close to white-box, so it does not critically depend on gradients. The converted text does not give per-bar values.
- Figure 6: The authors claim optimized visual samples are pushed toward representative clusters in the query distribution, without using query distribution priors. The main text writes Top-5 hit rate rises from 0.01% to 5%; the caption writes about 0.01% and about 5%.
- Figure 7 is t-SNE. The caption writes three clusters, three retrievers, five datasets, cluster points colored, poisoned samples as triangles. The authors claim red triangles fall inside or immediately adjacent to the target cluster's high-density core, and clusters remain compact; the converted text cannot see coordinates or values.
Defenses, stealth, and ablations
- Figure 5 evaluates Image Clustering, Text Clustering, Image-Text Consistency before retrieval. The authors claim retrieval ASR is essentially unchanged, and poisoned samples lack the artifacts or modality mismatches these filters target.
- Appendix Table 3 gives ASR on IU-XRay, CLIP. No-defense ASR@1/@3/@5 is 32.56%, 60.69%, 75.87%. Image-Text Consistency is 29.87%, 50.78%, 57.89%. High-score Truncation ASR@1 is 25.17%. The authors claim the method remains effective under the four retrieval-time defenses in Appendix B.
- Table 4: Two MD candidates identify poisoned text among 200 texts. At injections of 2/200, 5/200, 10/200, 20/200, average F1 is 0.0870, 0.2308, 0.3704, 0.4857. The authors claim experts also struggle to distinguish at low injection ratios; the main experiment poison rate is strictly below 1%. In Figure 4, after removing image hijacking or text injection, the authors claim utility recovers across five LVLMs, and the full attack is strongest; the converted text has no bar heights.
Other ablations and analysis
- Figure 3 poison ratio: The authors claim retrieval ASR approaches 100% when raised to 0.08, with gains already at lower ratios.
- Figure 3 ε: ASR rises then saturates in the low-to-mid range; the authors adopt a moderate perturbation budget accordingly.
- Figure 3 cluster number K: rises then plateaus. Appendix Figure 8 reports the same trend at Top-k of 1–4, without per-point readings.
- Black-box efficiency: K=40, N=500, batch size 16; about 4.4 minutes per sample, about 3 hours for the full pipeline when parallelized (Appendix C).
- Review: 100 reports, two MD volunteers, ensemble LLM and expert annotations have Pearson correlation 0.8541. The paper does not give correlation coefficients between review models.
- Table 2 (SigLIP): The authors claim conclusions are consistent with Table 1. Gemini-2.5 on MHIST has clean, LIAR, and M3 Att all at 0.00%.
What are some points that can be further explored?
The authors note that three-dimensional and temporal imaging were not evaluated, and they plan to collect data before further validating generalization.
Limitations and future directions noted by the authors
- Modalities: Limitations states that validation was mainly on representative two-dimensional images, including chest radiographs and histopathology slides. Clinically there are also high-dimensional modalities, such as three-dimensional volumetric imaging (CT, MRI) and temporal medical video.
- Experiments not done: The authors state that the framework can be extended to three dimensions, but because suitable datasets are not readily available, they did not run empirical tests on such data.
- Future work: The authors plan to collect corresponding datasets and further demonstrate the method's generalization on these high-dimensional modalities (Limitations).
Scope of experiments
- Generative models were GPT-4o, GPT-5, Gemini-2.5, Claude-4.5, and LLaVA-Med, 5 in total; retrievers were CLIP, BGE-VL, and SigLIP. Figure 2 additionally reports white-box and black-box image encoders.
- Tasks were True/False VQA, Multiple-Choice VQA, report generation (FC, CP), and image classification; the end-to-end setting in Table 1 is top-K=1. The baseline is LIAR, plus w/o RAG and Clean RAG.
- Defenses include Image Clustering, Text Clustering, and Image-Text Consistency in Figure 5, and perplexity filtering, anomaly detection, high-score truncation, and low-score thresholding on IU-XRay and CLIP in Appendix Table 3.
- The stealthiness human evaluation used two annotators, 200 texts, and injections of 2/200, 5/200, 10/200, and 20/200 (Table 4). The report-generation review was an ensemble of o3, Gemini-3, and Claude Opus 4.5.
- The paper does not report the number of test queries per dataset, nor the number of end-to-end repetitions; the implementation section does not give the σ and number of directions for the black-box finite difference.
Summarize the main content of the paper
M3 Att poisons medical multimodal RAG in a query-agnostic setting; the authors claim an average utility drop of 8.78%.
M3 Att studies knowledge poisoning of medical multimodal RAG under query-agnostic conditions.
- Problem: External image-text libraries can be injected with incorrect medical knowledge, which then enters generation after image-to-image retrieval. Existing attacks mostly require knowing the user query in advance. The authors argue that medical image embeddings are concentrated, and explicit factual errors are easily rejected or corrected by model priors.
- Method: Clustering is performed using an in-distribution reference pool, cluster-center embeddings are used as proxy targets, and ℓ∞-bounded PGD is applied to images so that poisoned images are more likely to be hit by unknown queries. Paired text is rewritten along uncertainty in severity, differential diagnosis and decision recommendations, with GPT-5 as the editor. 1 item per cluster, K=40, poison rate below 0.01.
- Results: On five LVLMs, five datasets and CLIP, BGE-VL, SigLIP, Table 1 compares downstream utility at top-K=1. The authors state that M3 Att outperforms LIAR in the vast majority of configurations, with an average utility reduction of 8.78% relative to clean RAG. Table 1 still has counterexamples: on LLaVA-Med, CLIP, PCam, M3 Att is 10.48%, higher than LIAR's 9.78% and Clean RAG (avg.)'s 3.04%. On IU-XRay, CLIP, without defense, retrieval ASR@5 is 75.87% (Table 3). In the main-text case, the Top-5 hit rate ranges from 0.01% to 5%. With 1% injection, 2/200, the average F1 of the two experts is 0.0870 (Table 4).
- Authors' conclusion: The authors argue that query-specific information is not needed to manipulate diagnosis-related outputs, and state that it remains effective against the defenses in the paper. The Limitations section states that experiments on 3D CT/MRI and temporal medical video have not yet been conducted, and that generalization will be tested after data collection.