0
0
Computer Visionml~20 mins

Privacy considerations in Computer Vision - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Privacy Protector
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Data Anonymization in Computer Vision

Which of the following best describes data anonymization in the context of computer vision?

AEncrypting image files so only authorized users can view them
BRemoving or obscuring personal identifiers in images to prevent tracing back to individuals
CCollecting more images to improve model accuracy without restrictions
DSharing raw images with third parties for faster processing
Attempts:
2 left
💡 Hint

Think about how to protect personal identity in images.

Model Choice
intermediate
2:00remaining
Choosing a Privacy-Preserving Model

You want to build a face recognition system but must ensure user privacy by not storing raw images. Which model approach is best?

AUse a cloud service that stores all images unencrypted
BUpload all raw images to a central server for training
CTrain a model locally on user devices and only send encrypted feature vectors to the server
DCollect images without user consent to increase dataset size
Attempts:
2 left
💡 Hint

Consider how to keep raw images private while still training a model.

Metrics
advanced
2:00remaining
Evaluating Privacy Leakage

Which metric would best measure how much private information a computer vision model unintentionally reveals?

AMembership inference attack success rate
BModel accuracy on test images
CTraining loss value
DNumber of model parameters
Attempts:
2 left
💡 Hint

Think about attacks that try to find if data was used in training.

🔧 Debug
advanced
2:00remaining
Identifying Privacy Risks in Code

Given this code snippet for a face detection pipeline, which line introduces a privacy risk?

import cv2

image = cv2.imread('user_photo.jpg')
faces = face_detector.detect(image)
cv2.imwrite('detected_faces.jpg', faces)
upload_to_server('detected_faces.jpg')
Acv2.imwrite('detected_faces.jpg', faces)
Bface_detector.detect(image)
Ccv2.imread('user_photo.jpg')
Dupload_to_server('detected_faces.jpg')
Attempts:
2 left
💡 Hint

Consider what data is sent outside the local system.

🧠 Conceptual
expert
3:00remaining
Balancing Model Utility and Privacy

Which technique best balances maintaining model accuracy while protecting privacy in computer vision?

ADifferential privacy applied during model training
BRemoving all personal data and training on random noise
CSharing raw images with all collaborators
DTraining on a very small dataset to avoid leaks
Attempts:
2 left
💡 Hint

Think about adding controlled noise to protect data but keep useful patterns.