返回 Papers
AI 底层逻辑 / 经典论文

AI Consent / Preference:目的绑定数据架构

重要说明: 本文是学习与作品集材料, 不构成法律、合规、隐私、审计或监管意见。正式项目必须由 Legal、Privacy、Compliance、Security、Data Governance、Model Risk、Product 和 Operations 共同确认适用要求。

231ai-foundations/papers/116-ai-consent-preference-purpose-bound-data-architecture.md

AI Consent / Preference / Purpose-Bound Data Architecture 解读

面向对象: AI Product Architect / Platform PM / Senior BA / Privacy Architect / Data Governance Lead。 核心问题: AI 不能把“同意过条款”解释成任意数据复用。金融零售 AI 必须把 consent、preference、purpose limitation 变成运行时可执行、可撤销、可证明的产品和架构能力。 学习目标: 能设计 purpose catalog、consent event model、preference center、data-use policy、RAG/tool enforcement、withdrawal/re-consent lifecycle 和 audit evidence。

重要说明: 本文是学习与作品集材料, 不构成法律、合规、隐私、审计或监管意见。正式项目必须由 Legal、Privacy、Compliance、Security、Data Governance、Model Risk、Product 和 Operations 共同确认适用要求。


Source Anchors

SourceLink用途
NIST Privacy Frameworkhttps://www.nist.gov/privacy-framework用 privacy risk management 语言组织 purpose、control、communication 和 evidence。
NIST AI RMFhttps://www.nist.gov/itl/ai-risk-management-framework用 Govern / Map / Measure / Manage 把 consent enforcement 纳入 AI risk lifecycle。
FTC Safeguards Rulehttps://www.ftc.gov/business-guidance/resources/ftc-safeguards-rule-what-your-business-needs-know作为金融客户信息保护、访问控制、服务提供商监督和安全计划锚点。
CFPB Personal Financial Data Rightshttps://www.consumerfinance.gov/personal-financial-data-rights/用于客户授权、数据访问、撤销和开放银行数据权利的产品架构讨论。
ISO/IEC 42001https://www.iso.org/standard/42001用 AI management system 的思路落地政策、角色、监控、变更和持续改进。

Consent is not a universal permission. In financial AI, it must be purpose-specific, revocable, evidence-backed, and coordinated with legal basis, product terms, privacy, security, customer trust, and operational controls.


1. Thesis

AI consent architecture answers:

Can this AI capability use this data, for this person, in this channel,
for this purpose, at this time, with this model, tool, memory, log,
vendor and evidence boundary?

Privacy-by-design asks whether personal data is collected and protected responsibly. Consent / preference / purpose-bound data architecture makes the answer executable at runtime.

It connects purpose catalog, consent/preference events, legal basis, product terms, data classification, RAG filters, tool authorization, memory/log policy, withdrawal workflow and evidence dashboards.


2. Why It Matters

AI systems multiply data-use contexts. The same transaction can appear in customer service, fraud triage, marketing personalization, RM copilot, RAG search, eval sets, prompt logs, memory and vendor telemetry.

Traditional consent records often answer only whether a customer accepted terms, an employee acknowledged a policy, or a user opted into marketing.

Production AI needs finer answers:

QuestionWhy it matters
Which purpose?Dispute support does not automatically permit marketing personalization.
Which capability?Chat explanation, eval, memory write and tool action have different risks.
Which scope?Account summary, 90-day transactions and full customer 360 are different grants.
Which time window?Consent expires, sessions expire, product terms change and tokens are revoked.
Which withdrawal effect?Revocation must stop future use and trigger downstream propagation where required.
Which evidence?A customer, auditor or regulator may ask what was shown, accepted, used or denied.

3. Core Concepts

ConceptDefinitionAI architecture implication
PurposeBusiness reason for data useCatalog and map to allowed AI actions.
ConsentRecorded authorization where appropriateGranular, versioned, revocable and auditable.
PreferenceUser/employee choice shaping treatmentEnforced across channels and AI features.
Legal basisLegal/contractual processing basisCoordinated with consent, not hidden behind it.
ScopeData, action, object and channel boundaryBound to token, retrieval, tool and log policy.
ExpiryTime limit for grant or preferenceAffects sessions, tokens, indexes and caches.
WithdrawalRevocation or opt-out eventPropagates to policy, AI stores and evidence.
Re-consentFresh authorization after material changeTriggered by new data, action, vendor, model or purpose.

Important nuance: consent can be weak if bundled, vague, coercive, stale or hard to withdraw. It does not override security controls, fair treatment obligations, legal holds or customer harm controls. Employee AI may require workforce notice, role policy and monitoring boundaries. Purpose limitation must be enforced by systems, not only by prompt instruction.


4. Purpose Catalog

The purpose catalog is the product-language bridge between privacy policy, legal basis, data governance and AI runtime controls.

Purpose IDBusiness meaningAllowed AI useProhibited use
customer_service_account_helpHelp authenticated customers understand account activityRAG policy, transaction lookup, fee explanationMarketing targeting, training without review
payment_dispute_supportPrepare and manage card disputesSelected transaction read, dispute draft, customer-confirmed submitAutomated denial, unrelated profiling
relationship_manager_copilotHelp RM prepare customer meetingPortfolio summary, policy lookup, note draftUnapproved advice, cross-client leakage
marketing_personalizationTailor offers and contentPreference-aware segmentation, approved recommenderUse of opted-out data, vulnerable-customer pressure
open_banking_data_sharingShare customer-authorized data with third partyTokenized API access within authorized scopeSecondary AI training, unrelated enrichment

Purpose records need owner, risk tier, data classes, allowed channels, legal basis, consent requirement, retention, vendor boundary, eval allowance, evidence requirement and re-consent triggers.


5. Architecture Diagram

Customer / Employee UI
  -> consent and preference center
  -> consent event store
  -> purpose catalog + legal basis registry
  -> policy decision point
  -> AI orchestration layer
       -> RAG retriever with purpose and ACL filters
       -> tool gateway with scope and object checks
       -> memory service with write allowlist
       -> log/evidence service with retention policy
       -> vendor/model gateway with data-use constraints
  -> policy decision log
  -> evidence store and dashboards

Runtime decision:

identity + purpose + consent_state + preference_state + data_class
+ action + channel + model + vendor + object_scope + time
=> allow / deny / minimize / step_up / reconsent_required / human_review

Design principle:

The model can request data, but the policy plane decides whether the data, tool, memory and log use is allowed.


Minimum event fields:

FieldExample
event_idcns_evt_01H...
subject_idcustomer, employee or representative
actor_idwho captured or changed the state
purpose_idpayment_dispute_support
scopeaccounts, transactions, channel, action
statusgranted, denied, withdrawn, expired, superseded
legal_basis_refpolicy/legal register reference
notice_versiontext and locale shown to user
capability_versionAI feature version at time of grant
effective_at / expires_atauthorization window
withdrawal_effectstop future use, purge derived stores, retain evidence
evidence_refUI snapshot, API trace, signature, case id

Event sourcing is useful because consent is a history of what was offered, accepted, narrowed, renewed, withdrawn and enforced.


7. Financial Retail Case

Scenario: A mobile banking AI assistant helps a customer understand a card transaction and prepare a dispute.

Allowed flow:

  1. Customer signs in with strong authentication.
  2. Assistant explains it can read selected transactions for dispute support.
  3. Customer grants purpose-specific access to the selected card and last 90 days of transactions.
  4. RAG retrieves dispute policy documents filtered by region and product.
  5. Tool gateway allows transactions.read.selected_account_90d.
  6. Assistant drafts a dispute but cannot submit until customer confirms the exact transaction and claim.
  7. Submission creates evidence with notice version, consent event, action hash and tool result.

Blocked flow:

  • The same grant cannot be reused for marketing segmentation.
  • The assistant cannot write persistent memory saying “customer likely fraud risk”.
  • A new feature that sends transaction data to a new vendor requires change review and potentially re-consent.
  • Withdrawal stops future AI access and triggers propagation to session, token, RAG cache and personalization store according to policy.

8. PM / BA / Architect Checklist

RoleQuestions to force clarity
PMWhat user value requires this data use, and what will the user believe they agreed to?
BAWhich business events create, change, expire or withdraw consent/preference state?
ArchitectWhere is purpose enforced: UI, token, policy engine, RAG, tool, memory, log and vendor gateway?
PrivacyIs consent appropriate, or is another legal basis and notice model required?
SecurityCan a revoked grant still work through cached tokens, indexes, logs, exports or vendor paths?
Data ownerWhich fields are allowed for this purpose, and which derived artifacts inherit restrictions?
OperationsHow will agents handle withdrawal, complaints, disputes and re-consent conversations?

9. Code-Lite Experiment

Use this as a portfolio demo for a policy decision function.

request:
  purpose_id: payment_dispute_support
  action: transactions.read
  object_scope: {account_id: card_456, lookback_days: 90}
  ai_capability: dispute_assistant:v2
consent_state:
  status: granted
  scopes: [transactions.read.selected_account_90d, dispute.draft.create]
  expires_at: 2026-08-31T23:59:59Z
  notice_version: consent-dispute-v4
decision = policy.evaluate(request, consent_state, preference_state, data_policy)
if allow: issue purpose_bound_token(ttl=15m, scope=granted_scope)
if minimize: return masked_or_summarized_fields_only()
if reconsent_required: show_capability_change_notice()
if deny: deny_and_log(policy_reason)

Test cases: allow selected account read within 90 days; deny full customer 360 export; deny marketing after withdrawal; require re-consent for a new vendor; minimize logs with hashes and policy decisions instead of raw PAN or prompt payload.


10. Pitfalls

PitfallWhy it failsBetter design
One global AI consentToo vague and not purpose-specificPurpose-specific grants with versioned notices
Prompt-only enforcementModel can be tricked or misroute dataPolicy engine plus RAG/tool enforcement
Preference center not connected to runtimeChoices look real but do not affect AIEvent-driven preference propagation
Consent without withdrawal operationsUser control is cosmeticRevocation, token invalidation, purge and evidence workflow
Consent used as legal shortcutConflicts with legal basis and customer expectationsCoordinate with legal, privacy and product terms
No capability-change triggerOld consent silently covers new AI behaviorRe-consent on material data, action, vendor or model change
Evidence overcollectionLogs become a privacy riskManifests, hashes, encrypted vaults and retention rules

11. Interview Questions

  1. How would you explain why consent is not a universal permission in financial AI?
  2. How do you design a purpose catalog for customer service, marketing, RM copilot and open banking?
  3. What fields belong in a consent/preference event schema?
  4. How do you enforce purpose limitation in RAG and tool calls?
  5. What happens when a customer withdraws consent while an AI workflow is running?
  6. When does a new AI capability require re-consent?
  7. How do you prove that AI did not use opted-out data for personalization?
  8. How do you balance evidence retention with data minimization?

30 秒回答:

I treat consent as a runtime control, not a checkbox. For financial AI, every data use maps to a purpose, scope, subject, channel, time window, capability version and evidence record. The policy layer enforces that state across RAG, tools, memory, logs and vendors.

2 分钟回答:

I would start with a purpose catalog and a consent/preference event model. Each AI capability declares purpose, data classes, allowed actions, legal basis, consent requirement and re-consent triggers. At runtime, the orchestration layer calls a policy decision point before retrieval, tool use, memory write or logging. The decision uses identity, purpose, consent state, preference state, object scope, expiry, vendor and risk tier. Withdrawal propagates to token revocation, session controls, RAG tombstones, personalization suppression and audit evidence, so the system can prove what was allowed, denied, minimized, withdrawn or re-consented.