Privacy-Friendly Cohort Determination: Sealed, CSP-Independent In-Browser ML Inference of Professional Segments for Identity-Less Advertising
Organizations: Applied AI Technical Lead, Google · Principal AI Architect, Snowflake Inc. · Staff Software Engineer, TikTok · Staff Software Engineer, LinkedIn
Abstract
B2B advertising targets a viewer's professional attributes (employer size and industry, function, seniority) and has obtained them by matching identities across sites. Safari and Firefox block third-party cookies, Google retired the Privacy Sandbox cohort APIs in 2025, and reverse-IP firmographics decay under remote work. We present SIF (Sealed Inference Frame), which infers coarse professional cohorts on the device and emits only a locally differentially private, taxonomy-coded label into the OpenRTB bid stream, with no cross-site identifier. It rests on a property of the web platform we make precise: a navigated cross-origin iframe is the only way third-party code obtains a policy it controls, so inference runs in WebAssembly even where the publisher's CSP forbids it, and a nested worker served with default-src 'none' gives the model no network. Even a malicious model leaks at most about 5 bits per site per week. Labels pass through a memoised k-ary randomised response keyed to the publisher's first-party identifier, which gives -local differential privacy, defeats averaging, and links requests no better than the identifier already sent. An org-conditional k-anonymity rule suppresses cells, more strictly on corporate networks than at home. Cohorts ride OpenRTB user.data in a LinkedIn-aligned taxonomy, and attribution uses LinkedIn's click-scoped li_fat_id without bridging identities. We report a crawl of CSP deployment on 7,969 top sites and 431 B2B publishers, Heavy-Ad budgets, closed-form privacy-utility trade-offs, a re-identification simulation, and an assessment of which attributes are predictable at all: company type and size are, seniority largely is not. On-device is a design property, not a consent exemption.
Figures & tables
| Tranco 10k | B2B/news | |
|---|---|---|
| Reachable sites ( ) | 7,969 | 431 |
| Any enforced CSP | 33.7% | 52.7% |
| script-src or default-src present | 17.4% | 24.4% |
| lacking unsafe-eval and wasm-unsafe-eval | 3.8% | 5.3% |
| Page-context Wasm blocked (dynamic probe) | 3.7% | 4.9% |
| Vendor frame permitted ( frame-src chain) | 88.8% | 86.8% |
| Axis ( ) | cap. | adv. | cap. | adv. | cap. | adv. | |||
|---|---|---|---|---|---|---|---|---|---|
| Size (4) | .71 | .68 | .28 | .87 | 1.24 | .51 | .95 | 1.62 | .65 |
| Seniority (5) | .65 | .68 | .25 | .83 | 1.34 | .50 | .93 | 1.83 | .67 |
| Function (10) | .45 | .59 | .14 | .69 | 1.45 | .39 | .86 | 2.29 | .64 |
| Industry (20) | .28 | .41 | .06 | .51 | 1.26 | .23 | .74 | 2.40 | .50 |
Online Advertising
Online advertising studies how digital ads are targeted, ranked, priced, measured, and delivered while balancing budgets, business goals, and user interests.
See all 87 papers