Permissive information flow analysis for large language modelsPermissive Information-Flow Analysis for Large Language Models
The paper proposes a more permissive information flow label propagation method for large language models, to address system-level security and privacy risks such as poisoned data in retrieval components changing model behavior and inducing the model to leak confidential data to untrusted components. Traditional dynamic information flow (taint) tracking propagates the strictest input label to the output, which is overly conservative in scenarios where the model processes inputs from multiple sources; the new method propagates only the labels of samples that influence the generated output, removing labels of unnecessary inputs. The authors implement two variants, based on prompt-based retrieval augmentation and k-nearest-neighbor language models, and compare them with a baseline that uses introspection to predict output labels. In experiments in LLM Agent scenarios, the permissive label propagator outperformed the baseline in more than 85% of cases.