Skip to content

Four Ways Deployed AI Loses Trust: Private Data, Relays, Copies, and Certificates

#contextual-integrity #semantic-communication #text-provenance #certified-robustness #ai-security

A model that answers questions well can still leak a medical record it was told to hold, accept a tampered message from its own relay, produce text nobody can attribute, and ship predictions nobody certified. Four recent arXiv papers take one of those failures each. Read together, they point at the same idea: the interesting attack surface isn't the model, it's everything the information passes through on the way in and out.

Contextual integrity, simulated with two LLM actors ​

Contextual integrity is a clean idea with a messy implementation. Information flow is appropriate when it matches the norms of the context it happens in. A salary figure is routine inside a payroll system and a fireable offense at dinner. The datum didn't change. The context did.

The paper turns that into something you can run. Two LLM-played actors exchange messages. One holds private information, the other is trying to get it. The researchers vary the situation, the holder's decision logic, the holder's disposition, and the model underneath.

The finding that matters: the actors handed information to the rightful recipients when it was needed, and they also handed it to people who were not entitled to it. Disclosure wasn't the product of a jailbreak or a clever prompt. It fell out of ordinary, cooperative conversation.

If you're building an agent that sits on user data and talks to other agents, that's your failure mode. Entitlement isn't in the weights. It lives in whatever policy layer you bolted around the model, and every turn of the conversation is a chance for a plausible-sounding counterparty to route around that layer.

The simulation design carries a second lesson, about evaluation. Because sharing behavior moves with the holder's disposition and the underlying model, one red-team pass over one model tells you very little about the next one you deploy.

A relay node buys SNR and sells an attack surface ​

Semantic communication gives up on bit-accurate reconstruction and optimizes for the task. The relay version in this paper designs the source encoder, the relay's transformation, and the destination decoders jointly, end to end, against two objectives at once: classification accuracy and reconstruction quality for image data. Relay-assisted schemes beat direct transmission, and the gap widens at low SNR, which is precisely the regime where you'd want a relay in the first place.

That's the sales pitch. The same paper builds the attack. A Byzantine relay injects structured, learned perturbations into the signal it forwards, with the perturbation produced by a learned mapping applied at test time and operating on the intermediate representation after channel effects. Semantic inference accuracy at the destination drops.

The consequence for anyone monitoring these systems: the decoded image can look fine. A perturbation applied to the intermediate representation doesn't have to survive into something visibly wrong after reconstruction. If your health check on a relay is perceptual quality, you're watching the wrong output. The attack's target is the label.

The framing to take away is that relaying concentrates trust. At low SNR the relay is carrying more of the information, so it has more room to lie. Gain and risk scale together, which is why evaluating a relay design on accuracy alone is a mistake you'll only discover in production.

Quick Take: All four papers locate trust in the channel that carries the information rather than in the model that produces it, so none of these guarantees transfers when you change the transport.

Provenance that survives copy-paste ​

Document metadata dies the moment someone pastes your paragraph into a chat window. Unicode code points survive. KeHoSu takes the confusable-character trick behind homoglyph attacks and puts a key on it: for each carrier letter in the text, the choice among visually identical variants encodes one bit. String the bits and you get an identifier with a platform field, a user field, and a truncated authentication tag.

Two properties make it usable rather than cute. It's invariant to sentence reordering up to a constant boundary layer, and a partial quotation carries information proportional only to the number of letters retained. So a reshuffled or trimmed quote still decodes, which matters because reshared text arrives in fragments.

Across 18 common platforms the mark survived copy-paste, and the majority of excerpts attributed to the correct account at 178 letters (about two sentences) on LLM-generated stories and 167 letters (about one sentence) on standard English prose.

That 167 number sets your deployment boundary. A full paragraph quote is attributable. A three-word reply is not. If your moderation queue is mostly 40-character reactions, this channel tells you nothing about them, and no amount of key management changes that.

Compare it against the channels people usually reach for:

ChannelSurvives copy-pasteSurvives reorderingCost to embedWho can read it
Document metadataNoNoFreeAnyone
Statistical watermarkDecays with editingWeakNeeds logits access at generation timeWhoever holds the detector
Keyed homoglyph substitutionYes, tested on 18 platformsYes, up to a constant boundaryPer-character variant selectionWhoever holds the key

The paper characterizes the code-point channel by capacity, removability, and detectability together, with an achievable region connecting the three, and removability is the half defenders should read twice. Anyone who knows the scheme exists can retype the sentence or push the text through a normalizer that folds your carrier set into canonical form, and the identifier is gone. Attribution you can't keep is not attribution.

Certification for the price of one forward pass ​

Randomized smoothing gives sound, model-agnostic robustness certificates and charges for them in compute: on the order of 2,000 forward passes per input. At even a few milliseconds per forward pass, that's seconds per image, which rules out anything on a request path. Most teams look at that number and quietly ship without a certificate.

This paper delegates certification to a cheap proxy function and statistically controls how far the proxy drifts from the sound certificate. Given an exchangeable, unlabeled calibration set, it tunes the proxy with robust conformal risk control to bound a marginal false-approval rate: the probability, over future inputs, that the proxy accepts an input whose prediction flips under perturbation. Marginal rather than pointwise. Every input gets the same forward pass; the promise is about the error rate across the distribution.

Two ways to use it. Standalone, the proxy reduces test-time certification to a single forward pass and retains much of randomized smoothing's certified performance at small radii. As a fallback, it runs first and invokes the expensive certificate only when the proxy rejects, which recovers the certified ratio at a more modest speedup.

The practical payoff is that certification becomes affordable for architectures where 2,000 passes was never an option, including vision transformers and language models. The practical catch is the word marginal. You're buying a distribution-level guarantee calibrated on data you supplied. When the deployment distribution moves, the calibration set stops representing your inputs and the bound describes a world you no longer live in.

Trust is a property of the channel ​

Put the four side by side and the shape of the problem shows up.

PaperFailure it addressesMechanismWhat it costsWhere it stops working
Contextual integrity modelOver-sharing by a cooperative agentTwo LLM actors, varied norms and dispositionsSimulation only, no deployment numbersBehavior shifts with model and disposition
SemCom relay studyLabel corruption via insider relayModels the Byzantine perturbation and the end-to-end design togetherRelay complexityDefenses not yet specified
KeHoSuAttribution after copy-pasteKeyed homoglyph substitutionCarrier letters plus a keyExcerpts under roughly 167 letters
Proxy certificatesCost of certified robustnessConformal risk control on a cheap proxyExchangeable calibration setDistribution shift voids the bound

Three of the four failures live outside the model weights. The agent over-shares because its policy layer is soft. The relay lies because the architecture gave it power. The certificate breaks because the calibration data drifted. The provenance scheme fails because the excerpt was too short. Every one of those is a systems question, and every one of them gets missed when the evaluation plan stops at benchmark accuracy.

What trips people up in practice ​

Entitlement checks that live in the system prompt. If the requester's right to the data isn't enforced by a tool call or a policy engine the model has to consult, the model treats the claim as true. It's helpful, and helpfulness is the vulnerability.

Monitoring reconstruction instead of the label. Perceptual quality checks pass on a Byzantine relay because the perturbation targets the intermediate representation. Log the classification output distribution, not just the image.

Using the homoglyph channel on short excerpts. Under roughly 167 letters the identifier doesn't carry enough bits to resolve an account, and retrying across a corpus of fragments doesn't fix the arithmetic. Aim the scheme at articles and long posts.

Shipping the proxy certificate after a data-source change. The guarantee is marginal over an exchangeable calibration set. Add a new traffic source without recalibrating and the false-approval bound is decoration.

Silently falling back when the full certificate times out. If the fallback path ships the proxy result without recording that it fell back, you've lost the audit trail you built the certificate to produce.

Where this bites in a real deployment ​

I spent a week wiring a holder agent and a requester agent together for an internal sharing demo, and the contextual integrity paper described exactly what I kept watching. The holder had a tidy policy paragraph in its system prompt. It still answered a question from another team's assistant that it should have deflected, because the question arrived framed as an approved handoff and the holder had no way to check the claim. Moving the entitlement check into the tool layer is what fixed it.

The Unicode one caught me off guard. Our ingest pipeline ran a canonical normalization step on everything before storage, which is a sensible thing to do to scraped text, and it quietly flattened part of the confusable space we were experimenting with. If you're testing a homoglyph-based marking scheme, push it through your own normalization stack before you believe the copy-paste results. The paper's numbers assume the characters arrive intact.

The 2,000-forward figure is the one that ended a design conversation for us. Nobody could defend a route that spends seconds per input on certification, and the alternative we'd settled on was shipping uncertified with a note in the README. A single-pass proxy with a fallback to full certification is a shape I can actually put in a service, provided the calibration job runs on a schedule and somebody owns it.

The Bottom Line ​

If you're shipping an agent that holds user data and talks to other agents, put entitlement in a policy engine the model calls, not in the prompt. The contextual integrity results show cooperative models hand information to plausible requesters, and plausibility is cheap to fake.

If your threat model is small perturbations like compression artifacts and sensor noise, and you can't afford randomized smoothing, use a proxy certificate with conformal calibration plus a fallback to the full certificate. If your threat model includes adversarial patches, skip the proxy entirely and pay for the real certificate on the inputs that matter.

If you need attribution for LLM text that people will copy and paste, keyed homoglyph marking is the only one of these three channels that survives the transport, and it works on excerpts above roughly 167 letters. Below that, you need a different mechanism and you should say so out loud rather than shipping a scheme that quietly returns nothing.