BayAreaSecure
← Essays on the homepage

Private thought / Essay 02

Fully Homomorphic Encryption and the Right to Think

Fully Homomorphic Encryption could protect new ideas from surveillance and let multiple organizations work with AI privately. We examine why that freedom matters—and how encrypted coordination could also become a route to power.

In this essayStart with a question its author needs to keep privateFollow the question, the calculation, and the keyNew ideas need protection from existing powerLet multiple organizations ask a question togetherMake every request private, then test for leakageWhere post-quantum security fits into Lin’s journeyGive an auditor private questions and independent evidenceEncrypted collaboration can also become a route to powerMake encrypted AI practical—with AI’s helpSources

We expect Fully Homomorphic Encryption to become a central tool in AI Safety. It changes who can read private thought, who can collaborate with powerful AI, and who can independently examine its behavior.

Start with a question its author needs to keep private

Imagine a researcher, Lin, investigating a finding that challenges her industry’s accepted view. She wants help finding weaknesses in her argument. Her draft is unfinished, and she is not ready to let her employer, a platform operator, or a government see which questions she is exploring.

“Here is my unpublished idea and the evidence behind it. Where might I be wrong?”

In a conventional cloud AI service, the provider’s server processes a readable version of that request. A promise not to retain or misuse it is a policy about access to information the service can already process.

Our proposed use of Fully Homomorphic Encryption changes what the server receives. Lin’s device encrypts the request. A compatible AI computation runs on encrypted values. An encrypted answer comes back, and Lin’s device uses her key to make it readable. Operating the computer need not give the provider a readable copy of the conversation.

That is the AI safety connection: the service has less information it could use to profile Lin, pressure her, or identify a challenging idea before she chooses to share it. Privacy protects the process of thinking, including the time an idea needs to become coherent.

Follow the question, the calculation, and the key

Fully Homomorphic Encryption permits calculations on encrypted data while keeping the results encrypted. Gentry’s work established its general feasibility.[1] For Lin’s example, the roles would look like this:

Who has access in the proposed service?
ItemLin’s deviceCloud provider
Question and draftReadable before encryptionEncrypted inputs
Model calculationRequests the computationComputes on encrypted values
AnswerReadable after decryptionEncrypted result
Decryption keyKept under Lin’s controlNot supplied

In a simple arithmetic example, Lin could encrypt the number 7, ask the server to add 5, and decrypt 12. The server can carry out the addition without reading 7 or 12. A language model is a much larger computation, with more demanding performance and accuracy requirements, but the separation between computation and readable data is the same idea.

The model still computes an answer that depends on Lin’s question. The confidentiality promise concerns who can read the data. It rests on the chosen cryptographic scheme, secure parameters, a correctly implemented protocol, and protection of Lin’s device and key.[2]

New ideas need protection from existing power

Suppose Lin later publishes her findings. At that point, she chooses to make them public and defend them. Before that point, a powerful observer could act on half-formed questions, mistaken drafts, or an abandoned line of inquiry. Those are different kinds of exposure.

New ideas often challenge institutions that benefit from an existing consensus. Lin may be wrong, or she may be early. Forcing her to reveal every draft to those institutions gives established power a chance to intervene before an alternative can take shape.

Our concern is that a small number of AI operators could become the place where people do much of their private thinking. If those operators can observe the whole process, their power extends beyond deciding what to publish. They can learn which alternatives people are trying to imagine.

A highly centralized AI service could become a gatekeeper to knowledge and a record of private intellectual life. In our view, this creates an authoritarian risk: a digital Big Brother with access to the ideas people have not yet chosen to say aloud. That risk grows if the infrastructure owner, model operator, and political authority act together.

Fully Homomorphic Encryption offers a way to put a limit on that informational power even when the most capable computers remain centralized. Lin could rent computation without automatically handing the operator the contents of her inquiry.

This is why we want privacy built into the service design. It should remain useful when ownership, leadership, or political conditions change. The protection of a new idea should not depend entirely on the current operator’s goodwill.

Our ambition is to preserve a floor of freedom and privacy even when the strongest computing systems are concentrated in a few hands. Cryptography could make private thought less dependent on permission from whoever controls those systems.

Let multiple organizations ask a question together

Extend the example. Multiple independent organizations want AI to compare their unpublished findings. Each has information the others need, but none wants to hand all its raw data to the cloud provider or a lead organization. The same idea could support individuals collaborating across institutions.

Our proposed design would use a suitable multiparty encryption protocol: the participants prepare inputs for a shared computation, the cloud processes them in encrypted form, and the agreed participants jointly authorize release of the result. Published multiparty homomorphic encryption research provides relevant methods for collective keys and distributed decryption.[3]

The participants would agree on who may read each result and whose approval is needed. One project might require every organization to approve release; that is a policy choice, not a fixed participation rule. The encryption protocol and key setup must implement the chosen policy. Encrypting separate files with unrelated keys would not, by itself, create a shared computation.

The output also needs an agreement. “Compare our findings” might be acceptable, while “reproduce one participant’s entire research notebook” would defeat the purpose. The participants should decide what a result may reveal before the cloud computes it.

The new possibility is shared access without a single reader of everything. Running a local model protects data within a particular private environment. Encrypted cloud collaboration adds a different possibility: multiple organizations or individuals can use shared, potentially much more capable AI without moving everyone’s private information into one readable pool. Computing can remain shared while authority over disclosure is distributed.

Make every request private, then test for leakage

Suppose Lin uses ordinary requests for routine questions and switches to a special encrypted mode only for her controversial work. The provider may not read that work, but the switch itself says that something is sensitive. Our proposal is to encrypt every request by default, ordinary and sensitive alike. A controversial question should not announce itself merely by taking an exceptional privacy path.

That removes one signal. Other signals need their own treatment. The service may still observe Lin’s account, when she connects, the size of a document, or the number of requested output tokens. A recognizable request pattern can reveal something without revealing the words.

The same distinction answers the question about watching “which neurons activate.” If the internal values are securely encrypted and the execution pattern is fixed, the operator sees encrypted values being processed, not a readable picture of the model’s thoughts. If the implementation exposes which expert was selected, which memory was accessed, or when it stopped, those visible choices may leak information.

We would test this explicitly: choose two categories of private questions, keep the allowed public details matched, and ask an evaluator to distinguish them using only what the server can observe. Reliable success above chance would identify possible leakage to investigate. Such experiments complement the cryptographic analysis; their purpose is to test the whole service around the encryption.

We would repeat these tests with increasingly capable AI evaluators and larger attack budgets. A reliable guess about a question’s topic, political concern, or research direction could already matter, even if the attacker never recovers its exact words. This is why our question concerns the privacy of the complete service, including its visible behavior.

Where post-quantum security fits into Lin’s journey

Lin’s question crosses two places where protection matters. It travels from her device to the service, and it is then used in a calculation. Post-quantum key establishment helps protect communication against future quantum attackers. Fully Homomorphic Encryption protects supported computation while the inputs stay encrypted.

There is a real mathematical connection: NIST’s ML-KEM uses a lattice-based construction, and Learning with Errors—a problem involving noisy mathematical relationships—also supports constructions of Fully Homomorphic Encryption.[4][5] These are different protocols with different keys and purposes.

For Bay Area Secure, that connection creates a practical extension of our PQC work. An organization planning to protect information for many years should also decide who can read it when an AI service uses it. Our security plan brings communication, computation, key control, and result access into the same discussion.

Give an auditor private questions and independent evidence

Lin’s example can also be an evaluation request. An auditor may want to test a model without letting the provider read every test question in advance.

We propose going further: recording code, separate from the model’s generated answer, would capture selected internal calculations and return them encrypted to the authorized auditor. The auditor would verify which model and recording program produced them, then examine the measurements alongside the answer.

This assigns two clear jobs. Fully Homomorphic Encryption protects the contents of questions and records. Independent capture and verification establish where the records came from. The audit essay follows a model that changes behavior when it encounters an audit cue, showing why each job matters.

Encrypted collaboration can also become a route to power

Consider encrypted collaboration among dissidents, distributed activist groups, or organizations challenging an existing authority. It could protect legitimate resistance to censorship. The same capability could help a coalition use powerful AI to manipulate or seize institutions while keeping its coordination hidden.

A sufficiently capable AI might also use such a coalition to expand its own influence or seek social control. This is a possible AI takeover pathway we think deserves investigation: people and AI could coordinate through shared encrypted computation without a central provider able to read the discussion. We are describing a risk hypothesis, not reporting an observed takeover.

The direction of this change is uncertain. It could protect freedom against established power or shelter a new concentration of power. That is precisely why we expect Fully Homomorphic Encryption to become consequential for AI Safety on both sides of the problem.

Our position is that the right to private inquiry should survive disagreement with the inquiry. At the same time, access to money, infrastructure, tools, and consequential external actions should have explicit permissions and accountability. A private conversation and permission to act on the world are separate decisions.

For example, a group may privately analyze a proposal while a shared system still requires independent approval before changing equipment or releasing funds. Research should examine both the protection of thought and the controls around action, including how those controls could themselves be abused.

Make encrypted AI practical—with AI’s help

A useful next experiment would give Lin the same research task through an ordinary model and an encrypted version, then compare answer quality, response time, memory, bandwidth, and the information visible to the operator. It should measure a complete interaction, including output generation and key handling.

EncryptedLLM reports a GPU-accelerated encrypted GPT-2 forward pass. It is a concrete result on part of this path.[6] Our research goal is to find which useful conversations can be supported at an acceptable cost and to publish that cost alongside the privacy conditions.

Today’s cost is a practical obstacle, but the existence of Fully Homomorphic Encryption changes the research task. We have concrete constructions to improve, rather than needing the original breakthrough that established encrypted computation as possible. Our expectation is that this makes the path more tractable: mathematical optimization, better implementations, and hardware improvements can each produce measurable progress.

AI could accelerate that work itself—helping design implementations, explore approximations, and analyze security. This creates a feedback loop worth studying: more capable AI could make private AI computation easier to deploy. We would judge progress by measured improvements at a stated security level, and treat today’s high cost as a research target rather than a permanent barrier.

The purpose remains Lin’s original question: can she use powerful intelligence to develop an idea while keeping the decision to disclose it in her own hands?

The arguments and experiment proposals are Bay Area Secure’s. Examples are hypothetical unless identified as published research. Cited findings belong to their authors.

Sources behind the argument

  1. A Fully Homomorphic Encryption Scheme (opens in a new tab)Craig Gentry · 2009
  2. Homomorphic Encryption Security Guidelines and Parameter Resources (opens in a new tab)HomomorphicEncryption.org · Living resource
  3. Multiparty Homomorphic Encryption from Ring-Learning-with-Errors (opens in a new tab)Mouchet et al. · Proceedings on Privacy Enhancing Technologies · 2021
  4. FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (opens in a new tab)NIST · 2024
  5. Efficient Fully Homomorphic Encryption from (Standard) LWE (opens in a new tab)Zvika Brakerski & Vinod Vaikuntanathan · 2011
  6. EncryptedLLM: Privacy-Preserving Large Language Model Inference via GPU-Accelerated Fully Homomorphic Encryption (opens in a new tab)de Castro et al. · ICML · 2025