RAISP03-BP01 Add privacy-preserving filters
Implement filtering mechanisms that automatically detect and remove unwanted confidential and personal data from both inputs and outputs. Design input sanitization processes that cleanse user queries and system data of unwanted information before processing, using both rule-based and machine learning approaches to identify personal data. Implement output filtering that blocks the generation or disclosure of confidential or personal information, including techniques like anonymization that replace identifying details with generic placeholders or synthetic alternatives.
Level of risk exposed if this best practice is not established: High
Implementation considerations
-
Create a strategy for Identifying unwanted data including personal information and domain-specific information that should not be included in inputs or outputs, then implement appropriate detection methods using tools like Amazon Bedrock Guardrails for filtering inputs and outputs.
-
Design and implement privacy filters for both inputs and outputs, using meaningful placeholders for redacted information and verifying proper encryption for data storage and transmission.
-
Design for unwanted data redaction across data touchpoints including logs and evaluation reports, not just primary inputs and outputs.
Resources
Related video:
Related tools:
Related documents:
-
Remove PII from conversations by using sensitive information filters
-
Training curriculum on AI and data protection Fundamentals of Secure AI Systems with Personal Data
-
AI Privacy Risks & Mitigations - Large Language Models (LLMs)
-
An overview of implementing security and privacy in federated learning
-
Understanding Users' Security and Privacy Concerns and Attitudes Towards Conversational AI Platforms
-
Privacy Preserving Machine Learning Model Personalization through Federated Personalized Learning
-
A Comprehensive Guide to Differential Privacy: From Theory to User Expectations
-
ISO/IEC 42001:2023 A.6.1.2 Objectives for responsible development of AI system