Danfeng Zhang

Danfeng Zhang

Pennsylvania State University
1 previous affiliation
51Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Danfeng Zhang focuses on the intersection of formal methods, programming languages, and system security, with a primary emphasis on Auditing and Verifying Differential Privacy Implementations. His work addresses the "implementation gap" between theoretical privacy guarantees and the practical software that executes them, developing automated tools and type systems to ensure that complex algorithms adhere to rigorous privacy and security policies. By combining program analysis with cryptographic and statistical principles, Zhang’s research aims to provide end-to-end security guarantees for sensitive data processing in both centralized and distributed environments.

Research Trajectory

The evolution of Zhang’s research reflects a transition from general software engineering and maintenance toward high-assurance security and privacy verification. His early work, exemplified by a 2007 study, Toward Efficient Aspect Mining for Linux, focused on identifying crosscutting concerns in large-scale legacy codebases. This initial interest in program structure and automated code analysis provided a foundation for his subsequent move into formal verification.

By the mid-2010s, Zhang shifted his focus toward the challenges of Differential Privacy (DP). Recognizing that proving DP properties is mathematically intensive and error-prone for human programmers, he began developing domain-specific languages and type systems to automate these proofs. This period was marked by the development of frameworks that could handle the probabilistic nature of DP algorithms by transforming them into deterministic verification problems. His work in this area also touched upon the Automated Synthesis of Inductive Program Invariants, a critical component for verifying loops and recursion in privacy-preserving code.

In the late 2010s and early 2020s, Zhang expanded his scope to include hardware-level security and side-channel mitigation. He investigated how architectural features, such as memory coalescing in GPUs and cache hierarchies in CPUs, could leak sensitive information. This research resulted in lightweight, user-space defense mechanisms that protect against timing and cache attacks without requiring hardware modifications. During this time, he also explored Tight Privacy Accounting and Amplification in Distributed Systems, addressing the trade-offs between local and central differential privacy.

Zhang’s recent work has focused on the robustness of privacy frameworks against sophisticated attacks and the vulnerabilities introduced by finite-precision arithmetic. He has demonstrated that certain relaxations of DP are susceptible to reconstruction attacks and has proposed integer-based implementations to eliminate side channels in floating-point operations. Furthermore, he has contributed to efforts in Minimizing the Trusted Computing Base for Confidential Computing, participating in the development of decentralized verification services for cloud-hosted binaries.

Current Directions

Zhang’s current research is concentrated on three primary pillars: the security of privacy-preserving mechanisms, the development of general-purpose information flow policies, and the optimization of private data release.

A significant portion of his recent output addresses the "numerical side channels" inherent in standard DP implementations. Because theoretical DP assumes infinite-precision real numbers, the use of floating-point arithmetic in actual computers can lead to privacy failures. Zhang is developing secure, finite-precision implementations of complex mechanisms to close this vulnerability.

Additionally, Zhang is working toward more flexible security policies. While traditional noninterference is often too rigid for real-world applications, his work on "Dynamic Release" policies seeks to allow for the controlled propagation of information as security requirements change during program execution. This aligns with his broader interest in making formal security guarantees more applicable to complex, dynamic software systems.

Finally, Zhang continues to refine the utility of differentially private data. Rather than simply minimizing total error, his recent frameworks optimize the "fitness-for-use" of data releases, ensuring that private datasets remain accurate enough for specific downstream linear queries and machine learning tasks.

Representative Work

Formal Verification of Differential Privacy

Zhang has made foundational contributions to the automated verification of DP through the development of specialized programming languages. In LightDP: towards automating differential privacy proofs, he introduced a "distance-aware" type system that simplifies the task of proving an algorithm satisfies DP. LightDP is notable for its ability to transform probabilistic programs into non-probabilistic counterparts, allowing standard verification tools to find the tightest possible privacy bounds for sophisticated algorithms.

Building on this, Zhang served as the senior author for the development of ShadowDP, presented in Proving differential privacy with shadow execution. This work introduced the technique of "shadow execution" to generate DP proofs with minimal programmer annotation. By tracking the execution of a program alongside a "shadow" version that represents a slightly different input, ShadowDP can verify complex properties like the "Report Noisy Max" mechanism more efficiently than previous customized program logics.

Side-Channel Defense and Hardware Security

Zhang’s research also addresses the physical leakage of information through hardware shared between processes. As a key contributor to the development of Ghost Thread: Effective User-Space Cache Side Channel Protection, he helped design a lightweight library that thwarts cache side-channel attacks. Ghost Thread operates by spawning concurrent threads that inject random memory accesses into sensitive cache regions, effectively burying a victim's true access patterns in noise. This approach is significant for providing security in user-space without the need for administrative privileges or hardware changes.

In the domain of GPU security, Zhang participated in research regarding subwarp-based randomized coalescing. This work addressed how the memory bandwidth optimization features of GPUs can be exploited for timing attacks, proposing randomization techniques to mitigate these risks in high-performance computing environments.

Vulnerability Analysis of Privacy Frameworks

As a senior researcher, Zhang has conducted critical evaluations of emerging privacy standards. In Reconstruction Attacks on Aggressive Relaxations of Differential Privacy, he demonstrated that relaxations such as Individual Differential Privacy (IDP) and Bootstrap Differential Privacy (BDP) are fundamentally vulnerable. The research showed that an attacker could exploit the handling of "local sensitivity" within these frameworks to reconstruct nearly an entire dataset, even when the reported privacy loss was near zero. This work serves as a cautionary analysis of the risks involved in deviating from standard DP definitions.

Secure Implementation of DP Mechanisms

Zhang’s recent work focuses on the practicalities of implementing DP on real hardware. In A Floating-Point Secure Implementation of the Report Noisy Max with Gap Mechanism, he addressed the catastrophic privacy failures that can occur when floating-point arithmetic is used to implement DP sampling. By replacing vulnerable floating-point operations with exact integer-based geometric sampling and randomized rounding, Zhang provided a secure implementation of the "Noisy Top-k with Gap" mechanism. This work ensures that the numerical information provided by the mechanism does not introduce side-channel vulnerabilities.

Interdisciplinary Applications and System Verification

Beyond core privacy theory, Zhang has participated in the application of data mining and verification techniques to broader systems. He contributed to the development of multi-stage methods for predicting treatment resistance in Kawasaki disease, utilizing co-clustering to handle missing clinical data. In the realm of system architecture, he was involved in the development of Agora, a decentralized framework designed for Minimizing the Trusted Computing Base for Confidential Computing. Agora offloads complex program analysis to untrusted third parties while using a lightweight in-enclave validator to ensure that cloud-hosted code adheres to security policies.

Profile updated

See something wrong? Report a mistake