×marble
all posts
Jun 8, 2026·13 min read

India's DPDP Act and Personalization: What Your Recommender Must Change Before Enforcement Lands

The Digital Personal Data Protection Act 2023 reaches deeper than a consent banner — it restructures how you collect behavioral signal, handle erasure in a live graph, and serve minors. Here's what compliant personalization architecture looks like for India.

Alex Shrestha·Founder, ×marble

India's DPDP Act and Personalization: What Your Recommender Must Change Before Enforcement Lands

TL;DR.

  • India's Digital Personal Data Protection Act 2023 applies to any entity processing personal data of Indian users — including behavioral signals that power recommenders, regardless of where your servers live.
  • Consent under DPDP must be free, specific, informed, unconditional, and unambiguous — passive click-through collection of behavioral data almost certainly fails this bar.
  • The right to erasure requires deletion from every downstream artifact: your event store, feature vectors, pre-computed embeddings, and any graph edges derived from that user's signal.
  • Children's data (under 18) requires verifiable parental consent and bars behavioral advertising outright — most apps' age-gate implementations will not survive scrutiny.
  • If you only remember one thing: purpose limitation is the load-bearing constraint — your personalization pipeline must be able to prove, artifact by artifact, that each derived representation was created for a purpose the user explicitly consented to.

India is now the world's largest internet market by users, and as of 2026 the Digital Personal Data Protection Act 2023 (DPDP Act) is the operative privacy law governing how you handle their data (DPDP Act, Ministry of Electronics & IT, 2023). Most product teams working on personalization have treated DPDP like a distant GDPR cousin — skim the summary, add a consent toggle, wait for enforcement. That posture is wrong on two counts: the rules are stricter than GDPR in specific places that matter for ML-backed recommenders, and the draft rules published for public consultation through 2025 signal aggressive intent from the Data Protection Board once its enforcement arm is stood up.

This post is for engineers and ML practitioners who build recommendation, discovery, or personalization systems serving Indian users. We assume you've read the Act. We're going to focus on what it actually demands from your architecture — not your legal team's checkbox.

What Does the DPDP Act Require from a Personalization Stack?

The four obligations that directly constrain personalization systems are: consent before collection, purpose limitation on use, data minimization in what you store, and data principal rights — access, correction, erasure, and grievance redressal (DPDP Act §§ 6, 8, 12–14). Each has a concrete architectural implication.

Consent under DPDP is not a terms-of-service scroll. Section 6 requires consent to be accompanied by a notice that names the specific personal data being collected, the purpose for which it will be processed, and how the user can withdraw consent and exercise their rights. For a personalization system this means: before you fire a page_view event that feeds your user graph, the user must have been told that their browsing behavior will be used to personalize content recommendations and must have affirmatively opted in. Implied consent from "continued use of the service" is not valid under DPDP.

Purpose limitation bars you from using consent granted for one purpose to power another. If a user consented to personalized content recommendations, you cannot silently use that same behavioral signal to build ad-targeting profiles or train a cross-product model without separate consent. This is the constraint that will break the most existing pipelines — the ambient re-use of behavioral data across ML training jobs is endemic to the industry.

Data minimization means your event collection cannot be "collect everything, figure out what's useful later." Each signal type needs a documented, user-disclosed purpose. Your click events, dwell signals, search queries, scroll depth, and implicit ratings all need individual justification.

Data principal rights — covered in detail below — create operational demands on your serving and storage layers that most teams have not begun to address.

Why Consent for Behavioral Signals Is Harder Than a Banner

The standard cookie consent pattern — show a banner, user clicks "Accept All", log a timestamp — satisfies GDPR's weakest interpretations. It does not satisfy DPDP's consent requirements for behavioral data collection in a personalization context.

The DPDP Act requires consent to be purpose-specific. A single "we use your data to improve your experience" notice does not give informed consent for behavioral signal collection that feeds a knowledge graph, collaborative filtering model, and cross-session preference inference engine. Each distinct use case requires a distinct disclosure. This is not a DPDP novelty — GDPR's Article 5 says the same thing — but India's Act makes it more explicit in its notice requirements under Section 5, which mandates that the notice be "itemised."

In practice this means your consent layer needs to be granular enough that a user can consent to "recommendations based on what you've watched" but not to "training a shared model used across all users." Your backend must honor these granular consents per-signal-type, per-use-case, not as a single boolean per user.

The technical architecture this implies is a consent-aware event router. Every event your instrumentation fires should carry a consent_context — a structured object that records which purposes the user has consented to at the time of the event. Downstream consumers — your feature pipeline, your model training jobs, your graph update service — must check consent_context before ingesting the event. This is not optional auditing; it is the mechanism by which you can demonstrate purpose limitation on a per-event basis if the Data Protection Board asks.

Withdrawal must be as easy as grant

Section 6(4) of the DPDP Act requires that a user can withdraw consent "at any time" and that withdrawal must be "as easy as the manner in which the consent was given." If your user onboarding takes two taps to grant personalization consent, a consent withdrawal path that requires a support ticket is non-compliant. This implies your withdrawal endpoint must be a first-class product feature, not a buried settings page, and it must trigger your deletion pipeline immediately — not on a weekly batch job.

The Erasure Problem: Deleting a User Without Breaking Your Graph

Right to erasure under Section 12(b) of the DPDP Act requires a Data Fiduciary to "cease to retain personal data" and to "cause its Data Processors to do the same" once consent is withdrawn or the specified purpose is fulfilled. For a personalization system backed by a knowledge graph, this is architecturally non-trivial.

A typical graph-based personalization store holds user nodes with edges to: content items (weighted by interaction), inferred preference categories, implicit clusters from collaborative signals, and cross-session session nodes. Deleting the user node removes the explicit representation. It does not remove the graph's structural memory of that user's behavior — edge weights on item-to-category links that were strengthened by this user's interactions remain in the graph. Item embeddings generated by graph neural networks that incorporated this user's traversal paths retain the signal.

The minimum compliant erasure for a graph-based system is:

1. Delete the user node and all direct edges

Straightforward graph operation. Remove the node and all incident edges. In a property graph this is a single Cypher or Gremlin delete with cascade.

2. Invalidate all derived feature vectors

Any user-level feature vector — stored in your feature store, Redis, or a vector index — must be deleted. This includes pre-computed embeddings, pre-computed top-N recommendation lists, and any user-specific cluster assignment.

3. Audit item-level and category-level derived state

If your pipeline updates item or category node weights based on aggregate user interactions, you must determine whether those weights can be traced back to individual user signal in a way that re-identifies the deleted user. If yes — and in sparse interaction matrices this is often possible — you are retaining derived personal data and must handle it accordingly, either by recomputing the affected weights without the deleted user's signal or by documenting a defensible anonymization argument.

4. Handle model weights

This is the hardest part and the same problem CCPA imposes. If a model was trained on a deleted user's data, the weights retain encoded signal from that user. Strict interpretation of DPDP would require retraining without that user's data. Practical mitigation: move to incremental or online learning architectures where a user's contribution to model state is bounded and can be zeroed, or accept a defensible anonymization argument if the dataset is large enough that individual re-identification from weights is not feasible. Document this decision and its rationale.

The operational requirement is a deletion DAG: a dependency graph of every artifact type that receives personal data, with a deletion handler for each node, executed in topological order on every erasure request. This DAG should be tested. Deletion pipeline failures discovered during a Data Protection Board audit are worse than deletion pipeline failures discovered in your own testing.

Significant Data Fiduciary Designation: What Changes at Scale

The DPDP Act creates a tiered regulatory structure. The central government may designate certain entities as Significant Data Fiduciaries (SDFs) based on the volume and sensitivity of personal data processed, the risk to rights of Data Principals, and potential impact on national security and public order (DPDP Act § 10). SDF designation triggers additional obligations including: mandatory appointment of a Data Protection Officer resident in India, mandatory Data Protection Impact Assessments, mandatory periodic audits by a government-recognized auditor, and consent manager interoperability requirements.

For personalization systems, the thresholds that trigger SDF designation matter. The draft rules circulated through 2025 suggested volume thresholds in the range of tens of millions of Indian users for consumer platforms. If you are building at that scale — a streaming service, a consumer app, an e-commerce platform — SDF designation is not hypothetical.

The consent manager framework under SDF rules requires that consent be manageable through a government-registered Consent Manager entity, not just your own in-app UI. This is architecturally significant: it means consent state becomes an external dependency rather than a database column you own. Your pipeline must be able to query a Consent Manager for the current consent state of a user before processing their data. The Consent Manager can be queried at event-ingest time (add latency, but real-time accuracy) or synced periodically (lower latency, risk of acting on stale consent). For personalization systems with sub-100ms serving latency requirements, the sync model with a consent cache is the practical path — but the TTL on that cache must be short enough to catch withdrawals before they create material harm.

Children's Data: The Sharp Edge Most Apps Miss

Section 9 of the DPDP Act imposes strict requirements on processing data of children (under 18) and persons with disabilities. Processing requires verifiable parental consent before any data collection. The Act additionally bars Data Fiduciaries from: processing data in a manner likely to harm a child's wellbeing, tracking or behavioral monitoring of children, and targeted advertising directed at children.

The prohibition on behavioral monitoring is not limited to explicit age-verified child accounts. If you cannot verify that a user is over 18, DPDP's protective standard applies. Most apps' age-gate implementations are a date-of-birth entry field. That is not "verifiable parental consent."

For personalization specifically: if a user's account cannot be affirmatively verified as 18+, you cannot run behavioral personalization on their session. You cannot track their clicks to seed a preference model. You cannot use their watch history to update a collaborative filter. The behavioral advertising prohibition extends to any recommendation that optimizes for engagement metrics when the user may be a minor.

In practice this creates a hard fork in your personalization pipeline at the age verification boundary:

  • Verified adult: full behavioral signal collection with appropriate consent.
  • Unverified or minor: context-only personalization (editorial, categorical, popularity-based) with no behavioral signal collection and no cross-session state.

This is not a soft requirement. Violations related to children's data are among the highest-penalty provisions — the DPDP Act sets penalties up to ₹200 crore (approximately $24M USD at current rates) for breaches involving children's data (DPDP Act Schedule, § 33).

Cross-Border Data Flows: The Pending Constraint

Section 16 of the DPDP Act permits transfer of personal data outside India subject to central government notification of permitted countries and conditions. As of mid-2026, the permitted country list and conditions remain in draft rule status — the government has signaled a positive-list approach (only countries on an approved list can receive Indian personal data) rather than GDPR's adequacy decision model.

For personalization architectures running global infrastructure on AWS, GCP, or Azure: if your event pipeline routes Indian user events to a region not on the permitted list, you are potentially in violation the moment those rules are finalized. The time to audit your data residency architecture is now, not after the list is published.

The practical mitigation is data regionalization: route Indian users' raw personal data to India-region infrastructure, process features and train models in-region, and only export anonymized or aggregated outputs (not individual-level data) to global infrastructure. This is an architecture decision with significant cost and complexity implications and a non-trivial migration timeline — teams that start this work after the permitted country list is published will be scrambling.

How to Audit Your Pipeline for DPDP Compliance

A compliant personalization system under DPDP is not a legal document — it is an engineering artifact with observable properties. Here is how to audit yours:

1. Map every personal data flow. Start from the user's device. Enumerate every event type fired, every API call that carries user identity or behavioral signal, and every system that receives it. This is your data flow graph. Most teams are surprised by how many systems are on it.

2. For each flow, document the consent basis. Which notice did the user receive? When? For which purpose? Is this flow within that purpose? If a flow cannot be mapped to a specific consented purpose, it should not exist.

3. For each derived artifact, document the lineage. Feature vectors, embeddings, graph edges, model weights — all derive from raw events. Your lineage graph must be traversable: given a user's consent withdrawal, you must be able to identify every artifact to delete. If your lineage is not documented, your deletion pipeline is incomplete by definition.

4. Test your deletion pipeline end-to-end. Create a test user, generate behavioral signal across your full stack, execute a deletion request, and verify — not assume — that every artifact type is actually deleted. Automated regression tests for deletion coverage are not a luxury; they are the only way to know your pipeline still works after each infra change.

5. Implement a consent audit log. Every consent grant, modification, and withdrawal event should be written to an append-only log with timestamp, user identifier (pseudonymized), and the specific purposes granted or withdrawn. This is your evidence trail if the Data Protection Board asks.

6. Stress-test your age verification. Run your minor-user code path in a test environment. Verify that no behavioral signal is being collected. Verify that your serving layer is correctly returning the non-personalized path. Verify that no cross-session state is being written for the test user.

Where to Start: What to Build Before Enforcement Lands

The Data Protection Board is still being constituted as of mid-2026, and full enforcement infrastructure will take time to stand up. That is not a reason to wait. The compliance work is architectural — consent-aware event routing, deletion DAGs, data regionalization — and architectural changes take quarters, not weeks.

Build the consent-aware event router first. This is the highest-leverage primitive. If every event carries consent_context at ingest, every downstream system can enforce purpose limitation independently, and your lineage is embedded in the data itself.

Build the deletion DAG second. Map your artifact types, write a deletion handler for each, wire them into a directed acyclic graph that a deletion request can traverse. Treat it as a first-class service, not a script someone runs manually.

Audit your children's data path immediately. The penalty exposure is highest here and the fix is well-defined: a hard fork in your pipeline at the age-verification boundary with no behavioral signal collection on the unverified side. This is achievable in a sprint if you start now.

Engage with the cross-border data rules as a planning assumption. Do not wait for the permitted country list to be finalized before scoping your regionalization work. Model the architecture on the assumption that India-origin personal data must stay in India at the raw level. The permitted list, when published, may relax this — but it may not, and you cannot migrate a global event pipeline in a week.

Research on consent architecture in ML pipelines (Stoyanovich et al., "Responsible Data Management," ACM 2020) and machine unlearning (Cao & Yang, "Towards Making Systems Forget with Machine Unlearning," IEEE S&P 2015) both predate India's DPDP Act, but the engineering problems they describe are exactly the problems DPDP creates operationally. The law is new. The technical literature on how to handle it is not.

The teams that will not be scrambling when the Data Protection Board issues its first enforcement actions are the teams who treated DPDP as an architecture constraint from the start, not a compliance form to fill out. The gap between those two postures is measured in quarters of engineering work. In 2026 you still have time. You will not in 2027.

the product behind these notes

×marble is the personalization graph.

One API. A living knowledge graph per user. Day-zero ready, explainable by construction. We built it so you don't have to.

See ×marble