Working around rather than using it as intended: A think-aloud study of Differential Privacy library usability

Differential Privacy (DP) guarantees privacy-preserving data analysis, yet adoption remains limited. We conducted a think-aloud study with 22 Python developers of varied experience—they attempted two standard Differential Privacy analytics tasks across IBM DiffPrivLib, PyDP, and OpenDP. We found developers resorted to undocumented workarounds—using low-level mechanisms directly, manually implementing functionality the library should provide, or relying on external tools for basic operations—as high-level APIs failed to address common use cases; suggesting a fundamental gap between how libraries are designed and how developers actually intend to use them. Our primary contribution is an empirically grounded taxonomy of workaround strategies: alternative procedures that developers improvise when intended library workflows do not fit their task. We trace these recurring workaround strategies each to specific, DP -relevant library design and documentation gaps. We suggest actionable recommendations for library maintainers seeking to make Differential Privacy usable without forcing developers into privacy-compromising—solution patterns.

Authors

Institutions

Publication Details

Journal
Bristol Research (University of Bristol)
Published
2026-09-06
DOI
https://doi.org/10.5281/zenodo.22551151
Primary Topic
Privacy-Preserving Technologies in Data
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Working around rather than using it as intended: A think-aloud study of Differential Privacy library usability

Ravi Mahankali, Gretch Hallett
Bristol Research (University of Bristol)
Privacy-Preserving Technologies in Data
article

Working around rather than using it as intended: A think-aloud study of Differential Privacy library usability

Ravi Mahankali, Gretch Hallett
article en

Abstract

Differential Privacy (DP) guarantees privacy-preserving data analysis, yet adoption remains limited. We conducted a think-aloud study with 22 Python developers of varied experience—they attempted two standard Differential Privacy analytics tasks across IBM DiffPrivLib, PyDP, and OpenDP. We found developers resorted to undocumented workarounds—using low-level mechanisms directly, manually implementing functionality the library should provide, or relying on external tools for basic operations—as high-level APIs failed to address common use cases; suggesting a fundamental gap between how libraries are designed and how developers actually intend to use them. Our primary contribution is an empirically grounded taxonomy of workaround strategies: alternative procedures that developers improvise when intended library workflows do not fit their task. We trace these recurring workaround strategies each to specific, DP -relevant library design and documentation gaps. We suggest actionable recommendations for library maintainers seeking to make Differential Privacy usable without forcing developers into privacy-compromising—solution patterns.

Bristol Research (University of Bristol)
University of Bristol (GB)
Openalex Percentile: Top 8%
Privacy-Preserving Technologies in Data
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.