A poisoning attack and collaborative defense framework for a LightRAG-based building regulations knowledge basePoisoning Attacks and Collaborative Defense Framework for LightRAG-Based Construction Regulation Knowledge
Yingyan He's thesis reports a preregistered experiment on a LightRAG system built on the UK Approved Documents, using a benchmark of 150 items annotated with safety consequences and tampering direction to evaluate four kinds of poisoning—text-level, graph-level, fabricated-amendment narrative, and defense-aware adaptive attack—and three layers of defense: retrieval, graph, and generation. Text-level poisoning succeeded and its success rate rose with the attack budget; graph-level poisoning performed below the registered hypothesis; defense configurations including the generation layer met the criterion by refusing 69-80% of poisoned queries, at a cost of up to 74 points of clean accuracy, whereas source-based retrieval filtering showed no measurable clean-accuracy loss under the configurations used. A second batch of experiments showed no accuracy loss when legitimate unregistered amendments were excluded; their wording reached the generator via graph entity and relation descriptions, following the same path as poisoning with no check at any layer. The thesis proposes that inter-layer interactions are strong enough that single-layer contributions cannot be separated, that layered defenses must be evaluated factorially, that a zero attack success rate constitutes detection evidence only when reported together with the refusal rate, and that regulatory RAG assistants need corpus admission control and version-aware validation before they can support safety-critical decisions.