atlas

Research map / Large language models / Reasoning and chain of thought

Portcullis: A Scalable and Verifiable Privacy Gateway for Third-Party LLM Inference

AAAI 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 9 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Presents Portcullis, a TEE-based (Intel TDX) privacy gateway that masks sensitive entities in prompts to third-party LLMs with multi-level detectors, restores them in responses, and is attested for verifiability.

Problem

Businesses using third-party LLM APIs risk exposing sensitive information in prompts; existing privacy methods either require modifying closed-source LLMs, hurt accuracy, or add latency and deployment overhead.

Approach

A verifiable gateway that combines a cascade of pattern matching, Presidio, BERT-NER and an in-house context-aware NER (with counting bloom-filter caching) to substitute placeholders, stores mappings in an encrypted Redis, and runs everything inside Intel TDX confidential containers with tenant-defined execution policies embedded in attestation reports.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use BERT-NER masking instead of Hide-and-Seek (ablation)Portcullis · PIIfull match: 0.663 -> 0.824Helped
use BERT-NER masking instead of Hide-and-Seek (ablation)Portcullis · PIIfalse negative rate: 0.2176 -> 0.1103Helped
use in-house NER masking instead of Hide-and-Seek (ablation)Portcullis · Enronfalse positive rate: 0.0998 -> 1.78e−6Helped
use in-house NER masking instead of Hide-and-Seek (ablation)Portcullis · Enronfull match: 0.009 -> 0.987Helped
use in-house NER masking instead of Hide-and-Seek (ablation)Portcullis · Enronfalse negative rate: 0.4461 -> 0.0089Helped
use Presidio masking instead of Hide-and-Seek (ablation)Portcullis · PIIfull match: 0.663 -> 0.650No clear effect
use Portcullis instead of Hide-and-SeekPortcullis with GPT-4o mini · Enronresponse accuracy (cosine similarity): +0.1Helped
use Portcullis instead of Hide-and-SeekPortcullis with Mistral · Enronresponse accuracy (cosine similarity)Hurt
use Portcullis instead of Hide-and-SeekPortcullis · PIIresponse accuracy (cosine similarity)No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: PII masking-43K (ai4Privacy) Enron Email dataset

Benchmarks: PII masking-43K Enron Email dataset

Metrics: false negative rate false positive rate full match rate cosine similarity (TF-IDF) startup latency end-to-end latency

Baselines: Hide-and-Seek InferDPT

Builds on: Hide-and-Seek InferDPT Intel TDX Presidio CoCo

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy