Secure Vickrey Auctions for Online Advertising
Archit Bhatnagar (University of Michigan), Yunming Xiao (The Chinese University of Hong Kong, Shenzhen), Ang Chen (University of Michigan), Amrita Roy Chowdhury (University of Michigan)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · Security in Networked Systems
Overview
Online advertising serves as the economic backbone of the modern web, generating hundreds of billions of dollars annually for tech giants like Google in the United States alone. When a user visits a publisher website such as New York Times.com, an ad exchange initiates a real-time auction where advertisers submit bids to secure ad slots on the user’s browser. In the current infrastructure, these auctions are predominantly first-price auctions, and sensitive data—including advertiser bids and user browsing histories—is transmitted in plain text directly to the centralized ad exchange. This centralized architecture creates significant privacy vulnerabilities, leaving users exposed to behavioral profiling based on sensitive medical or financial site visits, and allowing ad exchanges to leak competing bid information to colluding advertisers.

Key moments
- 0:00 Introduction to online advertising and ad exchanges
- 2:00 Privacy concerns and comparison of first-price versus Vickrey auctions
- 4:00 Desired guarantees and cryptographic approach overview
- 6:00 Delegated multi-party computation and secret sharing for bids
- 8:00 Efficient auction algorithm using reverse unary encoding
- 10:00 Verifiable function secret sharing to handle malformed bids
- 14:00 System workflow and performance evaluation against baselines
- 16:00 Conclusion and summary of results
Secure Vickrey Auctions for Online Advertising
Speakers: Archit Bhatnagar (University of Michigan); Yunming Xiao (The Chinese University of Hong Kong, Shenzhen); Ang Chen (University of Michigan); Amrita Roy Chowdhury (University of Michigan)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=PUVbcj1Ml3I
Overview
Online advertising serves as the economic backbone of the modern web, generating hundreds of billions of dollars annually for tech giants like Google in the United States alone. When a user visits a publisher website such as New York Times.com, an ad exchange initiates a real-time auction where advertisers submit bids to secure ad slots on the user’s browser. In the current infrastructure, these auctions are predominantly first-price auctions, and sensitive data—including advertiser bids and user browsing histories—is transmitted in plain text directly to the centralized ad exchange. This centralized architecture creates significant privacy vulnerabilities, leaving users exposed to behavioral profiling based on sensitive medical or financial site visits, and allowing ad exchanges to leak competing bid information to colluding advertisers.
To address these systemic vulnerabilities, researchers have long advocated for Vickrey auctions (second-price sealed-bid auctions), which theoretically incentivize honest, higher bidding and provide greater economic fairness. However, implementing Vickrey auctions securely on the modern web has remained elusive due to stringent sub-second latency budgets and the risk of malicious manipulation by participants.
This talk presents a practical, maliciously secure Vickrey auction system designed specifically for online advertising. By combining linear secret shares, reverse unary encoding, and Verifiable Function Secret Sharing (VFSS) within a split-computation architecture involving the user's browser and the ad exchange, the authors achieve robust bid confidentiality, bidder anonymity, and well-formedness guarantees without violating tight web latency constraints.
Background
▶ Watch: Introduction to online advertising and ad exchanges (0:00)
The systems and machine learning communities have long wrestled with the tension between automated economic efficiency and cryptographic privacy in real-time bidding (RTB) environments. Historically, ad exchanges operate as trusted third parties that receive raw, unencrypted bids from advertisers (such as Apple, Nike, and Amazon) alongside cookie-based user identifiers from browsers. This plain-text architecture exposes two distinct attack surfaces: user privacy leaks (where browsing histories on sensitive topics like cancer-related news are exposed to ad platforms) and bid confidentiality violations (where ad exchanges can exploit or leak proprietary bidding strategies to favored participants).
While first-price auctions dominate current deployments, Vickrey auctions are economically superior for eliciting true valuations because the winner pays the price submitted by the second-highest bidder. Transitioning to Vickrey auctions in a privacy-preserving manner requires advanced cryptographic machinery, yet prior attempts fall short. Theoretical frameworks like secure Vickrey auction constructions from cryptographic conferences (e.g., CCS 2024) rely on decentralized protocols among all advertisers, proving computationally inefficient and vulnerable on the malicious web. Meanwhile, prior systems work presented at venues like USENIX NSDI 2023 operates under weaker security guarantees—specifically, the covert threat model—and struggles under the specific performance demands of Vickrey auction logic. Industry proposals such as Google Fledge and privacy sandboxes attempt to mitigate tracking, but they fail to address advertiser bid confidentiality directly.
Building a practical secure Vickrey auction requires satisfying four strict guarantees simultaneously:
- Bid Confidentiality: No party (including the ad exchange) learns any individual bid except for the exact value of the second-highest bid.
- Bidder Anonymity: Only the identity of the winning bidder is revealed to the ecosystem.
- Low Latency: The entire cryptographic protocol must execute within the sub-second window required by browser rendering engines.
- Infrastructure Compatibility: The system must integrate seamlessly into existing RTB pipelines without requiring a complete overhaul of global ad tech infrastructure.
Key Findings
▶ Watch: Desired guarantees and cryptographic approach overview (4:00)
The primary contribution of this work is the design and implementation of a maliciously secure Vickrey auction protocol that operates efficiently within real-world web latency budgets. By decomposing the auction workflow between the user's browser and the ad exchange, the system eliminates the need for advertisers to transmit raw, unencrypted bids to a centralized entity.
Key findings and benchmark results demonstrate that:
- Communication Efficiency: For an auction involving 100 bidders with a bid domain of 1,000, the total communication overhead is constrained to under 1 megabyte, rendering it highly viable across fast internet links.
- Throughput Gains: Stress-testing the system on real server hardware running concurrent multi-party computations reveals that the proposed system outperforms baseline ad exchange architectures and traditional cryptographic approaches by orders of 4x to 10x in throughput.
- Latency Superiority: Compared against alternative secure computation baselines—including standard MP-SpeeD frameworks running sorting algorithms and homomorphic encryption using SEAL—the proposed reverse-unary encoding combined with VFSS achieves at least a 15% speedup in auction latency while maintaining constant communication rounds independent of the number of bidders.
Technical Deep Dive
▶ Watch: Efficient auction algorithm using reverse unary encoding (8:00)
To achieve sub-second execution without sacrificing security, the system decouples the auction computation across two distinct entities: the user’s browser and the ad exchange. Advertisers submit their bid shares to an anonymous bulletin board, and the browser and exchange jointly compute the auction outcome using delegated multi-party computation (MPC).
The Challenge of Naive MPC Sorting
A naive secure Vickrey auction implementation using standard MPC requires sorting all bids to identify the highest bidder, removing them, and sorting again to isolate the second-highest bid. However, sorting algorithms rely heavily on comparison operations that necessitate extensive rounds of communication between the computing parties. Because communication rounds scale linearly with the number of bidders, naive MPC sorting becomes prohibitively slow for web-scale latencies.
Reverse Unary Encoding and Column-Wise Sums
To bypass expensive comparison-based sorting, the authors introduce an efficient auction algorithm based on reverse unary encoding. Instead of operating on raw numerical values, each bid $B$ is encoded such that all indices greater than $B$ are set to 1, and all other indices are set to 0.
In this representation, performing a column-wise sum across all encoded bids yields a vector where the value at any index represents the number of bidders who bid at most that amount. By scanning this column-wise sum from right to left, the system identifies the first index where the sum equals $N-1$ (where $N$ is the total number of bidders). This directly reveals the second-highest bid. To identify the winner, the system checks which bidder contains a zero at that specific index, indicating a bid strictly greater than the second-highest price.
Eliminating Malicious Cheating with Verifiable Function Secret Sharing (VFSS)
A critical vulnerability in untrusted MPC settings is malicious input manipulation: if a dishonest bidder submits a malformed encoding, the column sums become corrupted, resulting in an incorrect auction outcome. Validating individual elements inside the MPC framework is computationally expensive.
To solve this, the authors shift the majority of validation overhead offline by leveraging Verifiable Function Secret Sharing (VFSS) (building on cryptographic primitives by Boyle et al.). Function secret sharing allows parties to share a function representation—effectively a lookup table mapping a domain to a range—such that validity is enforced by construction. Neither party can unilaterally break the structure.
Specifically, the system utilizes one-hot functions, where a function yields a value of one at a single index and zero everywhere else. In the online phase, advertisers supply a masked bid $A$ (masked by a pre-computed random secret share $R$ generated offline). The browser and ad exchange use this masked input to dynamically shift the FSS lookup table. Subsequent summation of adjacent bits transforms the one-hot representation into the required reverse unary encoding securely and efficiently. This eliminates individual run-time comparisons, reducing communication to a constant number of rounds independent of the bidder count or domain size.
Experimental Setup & Results
▶ Watch: Verifiable function secret sharing to handle malformed bids (10:00)
The evaluation benchmarks the proposed secure Vickrey auction system against three primary cryptographic and architectural baselines:
- AdExchange (PRF-based): An efficient pseudorandom function (PRF)-based encoding baseline that represents the closest state-of-the-art competitor, though it leaks additional information under Vickrey auction semantics.
- MP-SpeeD: A conventional, highly optimized general-purpose MPC framework executing traditional sorting-based secure multi-party computation.
- SEAL: A homomorphic encryption framework evaluating encrypted polynomial computations over bid spaces.
Headline Numbers
- Auction Latency: As the number of bidders scales, the proposed FSS-based system exhibits a significantly flatter latency growth curve compared to all baselines. Across varying Round Trip Times (RTT), the system maintains consistent performance advantages.
- Throughput: Server-grade stress tests measuring concurrent auction handling demonstrate that throughput bounds outperform legacy ad exchange architectures by 4x to 10x, proving feasibility for high-concurrency, real-time web advertising environments.
- Communication Footprint: Total data transfer remains strictly under 1 MB for standard auction configurations (100 bidders, domain size of 1,000), making network overhead negligible over modern broadband and mobile connections.
Ablation studies isolating the offline VFSS phase confirm that moving structural validation off the critical path is the primary driver behind the system's ability to meet sub-second web latency budgets.
Practical Implications
▶ Watch: Conclusion and summary of results (16:00)
For infrastructure teams, ad tech deployers, and model builders operating in real-time systems, this work demonstrates that cryptographic privacy guarantees can be achieved without destroying system throughput. By decoupling auction execution between the browser and the ad exchange, platforms can eliminate raw data exposure, protecting user browsing history from predatory profiling while neutralizing advertiser collusion.
However, practical deployment involves specific tradeoffs. While communication overhead is kept exceptionally low (<1 MB), the system introduces computational overhead during the online phase due to secret-share manipulation and FSS table shifting. Infrastructure providers must provision adequate CPU resources to handle concurrent polynomial evaluations and modular arithmetic required by the cryptographic primitives. Furthermore, widespread adoption relies on browser-level integration to support distributed share computation without disrupting user experience or increasing page load latency.
Key Takeaways
- Sub-Second Feasibility: The system successfully executes secure Vickrey auctions within the strict latency budgets required by real-time web advertising.
- Reverse Unary Encoding: Replacing expensive comparison-based sorting with reverse unary encoding reduces MPC complexity and allows column-wise sum calculations.
- Offline Validation via VFSS: Using Verifiable Function Secret Sharing shifts validation overhead offline and enforces structural correctness by construction, preventing malicious input manipulation.
- Constant Round Communication: The protocol achieves communication rounds independent of the number of bidders and domain sizes.
- High Throughput: Stress testing proves that the system outperforms existing cryptographic baselines and legacy ad exchange servers by 4x to 10x in concurrent auction throughput.
About the Speaker(s)
Archit Bhatnagar is a researcher at the University of Michigan, focusing on systems security, applied cryptography, and privacy-preserving machine learning infrastructure. Co-authors on this work include Yunming Xiao (The Chinese University of Hong Kong, Shenzhen), Ang Chen (University of Michigan), and Amrita Roy Chowdhury (University of Michigan), with collaborative insights from industry partners at Criteo Education Engine.
Reviews
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)