Portfolio
Design
000
The Deep Dive on Data Frameworks
DATA PRIVACY

The Deep Dive on Data Frameworks

Author

Ayush Banerjee

March 12, 2026 / 12 Min Read

The Deep Dive on Data Frameworks: Securing AI Workflows

We often hear that we shouldn't share confidential business data with public AI models. It's a valid concern—no one wants their proprietary secrets floating around in a foundational model's training set. But does that mean we have to sit on the sidelines while others leverage the incredible speed and insight of LLMs?

In a recent conversation with Mr. Rupam Bhattacharjee, we discussed a fascinating "lightbulb moment" regarding data privacy that dates back to a lecture he gave on data analytics. He announced to his audience that they would be analyzing IBM's HR attrition data live in the session. Naturally, the room went silent. People were shocked—how could a tech giant like IBM let their internal employee data leak onto the public internet?

The answer was simple, yet it's a strategy many of us overlook: Anonymization. Rupam pulled up the data (which is publicly available on GitHub), and the audience quickly realized the "magic" trick. The data didn't contain names, email addresses, or manager details. It was stripped of Personally Identifiable Information (PII) and replaced with simple Employee IDs.

GitHub Repository screenshot #TARS. Github Repository : https://github.com/IBM/employee-attrition-aif360

The "Mask and Map" Strategy

Mr. Rupam highlighted that we can apply this same logic to our daily workflows with tools like ChatGPT or Gemini. It often takes just a few minutes to secure your data before uploading it.

Here is the simple framework we discussed:

1. Identify the PII: Isolate columns like Customer Name, Phone Number, Email, or specific Property Names.

2. Mask or Remove: Delete the contact info. Replace names with generic IDs (e.g., "Customer A" or "Employee 1234").

3. Process with AI: Upload this "clean" dataset to the LLM to get the insights, patterns, or summaries you need.

4. De-Anonymize Locally: Once you have the insights, map those IDs back to your original, private file on your own secure system.

It is a small extra step—anonymizing and then de-anonymizing—but it allows you to explore the world of LLMs without jeopardizing confidentiality. As Rupam noted, simple encryption or masking is often all it takes to turn a risky upload into a secure, powerful analytics session.

Visualizing the Process

I have attached an infographic below that visually breaks down this workflow, showing exactly how to separate your "Structured PII" from the "Unstructured Data" you send to the AI.

How are you currently handling data privacy with AI tools? Are you masking your data, or just avoiding the tools altogether? Let’s discuss in the comments!