Teaching Data Science Students to Sketch Privacy Designs through Heuristics (Extended Technical Report)

Jinhe Wen, Yingxi Zhao, Wenqian Xu, Yaxing Yao, Haojian Jin · DOI

Abstract

Privacy by design is a critical yet often abstract concept in data science education. This paper presents a lightweight, heuristic-based method designed to help novice students translate complex privacy requirements into clear visual sketches. By focusing on three core rules—device-based data flow, stakeholder interactions, and multi-layered representation—students significantly improved the comprehensiveness and readability of their designs. Experimental results show a 30% increase in privacy coverage and a 77% improvement in interpretation accuracy compared to traditional symbol-based methods.

Introduction

In the rapidly evolving landscape of data science, "privacy by design" serves as a foundational philosophy. However, for students and novice practitioners, the transition from abstract privacy principles to concrete system designs is fraught with difficulty. While experienced architects often rely on informal "back-of-the-napkin" sketches to communicate data flows and access permissions, novices frequently encounter a "blank canvas" problem. This research investigates how structured yet lightweight guidance can bridge this gap, enabling students to communicate privacy designs more effectively.

The Challenge of Privacy by Design

Effective privacy design requires clear communication regarding data collection, storage, and access. The authors identified three primary barriers for students:

  1. Lack of Vocabulary: Uncertainty regarding which entities (devices, users) and actions (collect, store) to prioritize.
  2. Spatial Planning: Difficulty in organizing complex, multi-directional data flows on a single page.
  3. Cognitive Overload: A tendency to focus on drawing "correct" symbols rather than thinking critically about privacy risks.

The Heuristic-Based Sketching Method

To address these challenges, researchers developed a heuristic-based approach. Unlike rigid software engineering methods like Object-Oriented Diagramming (OOD), this method provides three simple "rules of thumb":

  • Device-Based Data Flow: Illustrate the movement of data between physical devices.
  • Stakeholder Interactions: Explicitly identify every individual or group interacting with the data.
  • Multi-Layered Representation: Separate high-level overviews from detailed privacy considerations to prevent visual clutter.
Comparison of sketches produced without guidance versus those guided by heuristics.

Experimental Evaluation

The researchers conducted three studies involving 54 participants to refine these methods. They compared the heuristic approach against a "Vocabulary-Based" method, which provided specific visual symbols but lacked structural guidance. Participants were tasked with designing for four realistic scenarios: attention tracking in online meetings, financial risk management, afterlife chatbots, and sensitive image detection.

Example of a student sketch for the 'Afterlife Chatbot' scenario using the heuristic method.

Key Findings

The results demonstrated that the heuristic method significantly outperformed more structured alternatives:

  • Increased Comprehensiveness: Students using heuristics covered 30% more privacy-related decisions in their sketches.
  • Enhanced Readability: There was a 77% increase in interpretation accuracy when peers reviewed the sketches.
  • Reduced Cognitive Load: NASA TLX scores indicated lower mental demand and frustration when using the heuristics.
  • Efficiency: Students reached satisfactory designs faster, averaging 11.5 minutes compared to 14.8 minutes for the vocabulary group.

Discussion and Future Work

The study highlights that in the context of novice design, "less is more." By reducing the focus on formal syntax, students gained the mental bandwidth necessary to consider edge cases and privacy risks. Future research will explore the development of digital tools that support these heuristics and investigate whether these techniques can assist in broader threat modeling and consumer privacy literacy.

Summary updated

BibTeX
@inproceedings{wen2025teaching,
  author = {Jinhe Wen and Yingxi Zhao and Wenqian Xu and Yaxing Yao and Haojian Jin},
  title = {{Teaching Data Science Students to Sketch Privacy Designs through Heuristics (Extended Technical Report)}},
  booktitle = {SP},
  year = {2025},
  doi = {10.1109/sp61157.2025.00147},
}
Figure