Even correct information can be private
An AI system summarises a document. The summary is fluent and accurate, and it contains a customer’s details that should never leave the company. Accuracy is not the problem here; permission is.
OWASP lists sensitive information disclosure among the top risks for LLM applications: personal data, financial and health records, confidential business data and credentials can end up in a model’s output. A high confidence score says nothing about any of that.
An experiment with four inputs
The lab on this site has four inputs: confidence, evidence, sensitive data and a private source. It is not connected to a model; changing the inputs shows what a fixed rule decides.
The rule is short enough to read in full.
export function decide(x) {
if (x.privateSource) return 'private';
if (x.sensitive) return 'review';
if (!x.evidence) return 'reject';
return x.confidence >= 0.9 ? 'publish' : 'review';
}Order matters
The checks run in a fixed order, and confidence comes last. Set confidence to 1.0 and mark the source private: the result stays private. Clear that flag and remove the evidence: the result is a rejection, despite the perfect score.
In a real system, an “evidence” checkbox is not enough. Someone or something has to check that the source actually supports the claim and that sharing it is allowed.
decide({ confidence: 1, evidence: true,
sensitive: false, privateSource: true });
// => 'private'
decide({ confidence: 1, evidence: false,
sensitive: false, privateSource: false });
// => 'reject'Why 0.90 does not mean 90% correct
A confidence score is only a probability of being right if it has been calibrated. Guo and colleagues showed that modern neural networks tend to be poorly calibrated: their confidence does not match how often they are actually correct, and it has to be corrected against labelled data.
The 0.90 in this example was chosen to show the branches of the rule, not measured. Choosing a real threshold needs reviewed examples and a separate test set, and it helps to count wrongly published items and unnecessary reviews separately rather than as one score.
A changed document needs another look
An editor approves a summary; later, private information is added to the source document. The old approval should not carry over to the new text. Recording which version of the source was approved makes that visible. The browser lab does not model versions; a real system also needs permissions, retraction and an audit trail.