Skip to main navigation Skip to search Skip to main content

STAMP: Selective Task-Aware Mechanism for Text Privacy

  • Fengwei Tian
  • , Payel Bhattacharjee
  • , Heidi Hanson
  • , Geoffrey D. Rubin
  • , Joseph Y. Lo
  • , Ravi Tandon

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We present STAMP (Selective Task-Aware Mechanism for Text Privacy), a new framework for task-aware text privatization that achieves an improved privacy–utility trade-off. STAMP selectively allocates privacy budgets across tokens by jointly considering (i) each token’s importance to the downstream task (as measured via a task- or query-specific representation), and (ii) its privacy sensitivity (e.g., names, dates, identifiers). This token-level partitioning enables fine-grained, group-wise control over the level of noise applied to different parts of the input, balancing privacy protection with task relevance. To privatize individual token embeddings, we introduce the polar mechanism, which perturbs only the direction of embeddings on the unit sphere while preserving their magnitude. Decoding is performed via cosine nearest-neighbor search, aligning the perturbation geometry with the decoding geometry. Unlike isotropic noise mechanisms, the polar mechanism maintains semantic neighborhoods in the embedding space and better preserves downstream utility. Experimental evaluations on SQuAD, Yelp, and AG News datasets demonstrate that STAMP, when combined with the normalized polar mechanism, consistently achieves superior privacy–utility trade-offs across varying per-token privacy budgets.

Original languageEnglish
Title of host publicationLong Papers
EditorsVera Demberg, Kentaro Inui, Lluis Marquez Villodre
PublisherAssociation for Computational Linguistics (ACL)
Pages1319-1333
Number of pages15
ISBN (Electronic)9798891763807
DOIs
StatePublished - 2026
Event19th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2026 - Rabat, Morocco
Duration: Mar 24 2026Mar 29 2026

Publication series

NameEACL 2026 - 19th Conference of the European Chapter of the Association for Computational Linguistics, Proceedings of the Conference, Vol. 1 - (Long Papers)
Volume1

Conference

Conference19th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2026
Country/TerritoryMorocco
CityRabat
Period03/24/2603/29/26

Funding

This work was supported by NSF grants CCF 2100013, CNS 2209951, CNS 2317192, and U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing under Award Number DE-SC-ERKJ422, and by NIH through Award 1R01CA261457-01A1. Notice: This manuscript has been authored by UT-Battelle, LLC, under contract DE-AC05-00OR22725 with the US Department of Energy (DOE). The US government retains and the publisher, by accepting the article for publication, acknowledges that the US government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this manuscript, or allow others to do so, for US government purposes. DOE will provide public access to these results of federally sponsored research in accordance with the DOE Public Access Plan (https://www.energy.gov/ doe-public-access-plan).

Fingerprint

Dive into the research topics of 'STAMP: Selective Task-Aware Mechanism for Text Privacy'. Together they form a unique fingerprint.

Cite this