Back to the blog Security

LLM security and privacy — how we protect customer data

How AI Squad protects sensitive data: inference-only LLM architecture, session isolation, and zero retention.

László Sabján
May 20, 2025 4 min read

When people talk about LLM security, the two questions that matter most are reliability and data protection. This piece covers both: how large language models work inside, why they cannot "leak" your data, and what architecture we use at AI Squad to protect customer information.

Hallucination: why LLMs "lie"

LLMs sometimes state things that are not true — plausible but invented detail. This is not deliberate and it is not a programming bug. Large language models are pattern-following systems that try to predict the most likely next piece of text from an enormous amount of training data.

When the model has no accurate information, it does not say "I do not know" — it generates an answer from the most likely text pattern. That is hallucination. The way to manage it: verify the model's answers at every critical point, and be clear with the user that they are reading AI-generated content.

Billions of parameters — but not a database

Large language models are made of billions of parameters. It is important to understand that these parameters are not a database. They do not store specific records — they encode statistical relationships. "Who is registered under account number 482?" cannot be answered from the model's parameters, because no such record is in there.

It is effectively impossible for an LLM to reveal the sensitive data it was trained on directly. Input is transformed through complex mathematics: tokenization, embedding, multi-layer transformation. The LLM does not "retrieve" memorized content — it generates from a statistical pattern.

Real-time processing: how the LLM handles a conversation

When a customer talks to the AI agent, this is what happens:

  1. Transcription — speech-to-text turns the customer's speech into text, which is then split into tokens
  2. Embedding — the tokens become numeric representations that are fed into the model
  3. Processing — the model runs complex mathematics in a temporary computational space and generates the answer
  4. Iteration — the process repeats until the final answer emerges

The critical word is temporary. Every conversation runs in its own isolated computational space. Data does not mix with data from other conversations.

Isolation: every conversation is its own island

In AI Squad's systems every customer interaction is fully isolated. That means:

  • No data from customer A's conversation can reach customer B's context
  • When the conversation ends, the temporary computational space is cleared — nothing persists inside the model
  • The next conversation starts with an unchanged, clean model

Two modes: training and inference

LLMs work in two sharply separated modes:

Training

This is where the model's knowledge is fixed into its parameters. It is a closed process, entirely separate from customer interactions. The model running in production does not learn from customers — its knowledge is fixed.

Inference

This is the mode customer interactions happen in. The model's knowledge is fixed and does not update. Customer data exists only in the temporary context of that one conversation — it never enters the long-term knowledge.

Full isolation in AI Squad's systems

In summary, our approach:

  • Sensitive data exists only in the temporary context of that conversation — nothing persists in the model
  • Every trace disappears when the conversation ends — the computational space is released, the data is gone
  • The next conversation starts with an unchanged model — no bleed-through between conversations
  • The model does not learn from customer interactions — training and inference are entirely separate

This architecture keeps customer data protected even when the model handles sensitive information during a conversation. The protection does not rest on the model's good behavior; it rests on the structure of the system.

We cover our defenses against prompt injection and jailbreaking in a companion piece. The full legal framework of our data protection practice is set out in our Privacy Policy.

If you have questions about the security of our AI systems, get in touch.

László Sabján

Founder, CEO — AI Squad

LinkedIn profile →

Interested in this?

Let us talk about how it would apply in your business.

Book a call

AI voice trends, once a month

New use cases, customer results, industry shifts. One or two emails a month. No spam, unsubscribe anytime.