Skip to main content

Zero Knowledge & New Model Validity

As AI models become more powerful, ensuring data accountability during model extraction is paramount. Explore Zero Knowledge systems and New Model Validity techniques to mitigate risks and build trust in AI.

Zero Knowledge & New Model Validity

Contents

In this guide

Jump to the part you need.

Zero Knowledge & New Model Validity

Key Takeaway 1Model extraction attacks are increasingly sophisticated, posing a significant threat to AI intellectual property and data privacy.

Key Takeaway 2Zero Knowledge (ZK) proofs offer a promising solution, allowing model validation without revealing underlying data or model parameters.

Key Takeaway 3Establishing New Model Validity (NMV) frameworks is crucial to maintain trust and transparency in deployed AI systems and ensure they haven't been compromised.

Key Takeaway 4A combination of ZK proofs, robust NMV, and continuous monitoring is essential for a comprehensive defense against model extraction attacks.

The Growing Threat of Model Extraction

The rapid advancement of artificial intelligence has unlocked unprecedented capabilities, but it also introduces novel security challenges. One of the most concerning is model extraction, an attack where malicious actors attempt to recreate a proprietary AI model by querying it repeatedly. This isn't merely about stealing intellectual property; it’s about compromising the integrity of the system, potentially leading to biased outcomes, data breaches, or the deployment of rogue AI agents. Recent studies show a 600% increase in reported model extraction attempts in the last year, fueled by the accessibility of sophisticated attack tools. These attacks exploit the inherent vulnerabilities in many AI deployments, where models are often exposed through APIs without adequate protection. The risk is particularly acute for models trained on sensitive data, such as financial records, healthcare information, or personally identifiable information (PII). Traditional security measures, like access control and encryption, are often insufficient to prevent model extraction. Attackers don't need to break into the system; they simply query it, analyze the responses, and build their own replica. This has prompted researchers to explore more advanced techniques, with Zero Knowledge proofs emerging as a leading contender.

Understanding Zero Knowledge Proofs

Zero Knowledge (ZK) proofs are a cryptographic technique that allows one party (the prover) to convince another party (the verifier) that a statement is true, without revealing any information beyond the truth of the statement itself. In the context of AI, ZK proofs can be used to demonstrate that a model possesses certain properties – such as fairness, accuracy, or adherence to specific constraints – without disclosing the model’s internal parameters or the data it was trained on. For example, a ZK proof could demonstrate that a fraud detection model correctly identifies fraudulent transactions with a certain level of accuracy, without revealing the specific rules or patterns the model uses. This is achieved by constructing a cryptographic proof that verifies the model’s behavior on a set of test inputs, without revealing the inputs or the model's internal workings. The core benefit of ZK proofs is their ability to establish trust without requiring the sharing of sensitive information. This is particularly valuable in scenarios where data privacy is paramount, or where intellectual property needs to be protected. Several ZK frameworks, like zkSync and StarkWare, are gaining traction in the AI security space, offering promising solutions for model validation and secure AI deployments.

New Model Validity: A Framework for Continuous Assurance

While ZK proofs offer a powerful defense against model extraction, they are not a silver bullet. Attackers can still attempt to manipulate the verification process or exploit vulnerabilities in the ZK implementation. This is where New Model Validity (NMV) comes into play. NMV is a framework for continuously monitoring and validating the behavior of deployed AI models to ensure they haven’t been tampered with or replaced by a malicious replica. This involves establishing a baseline of expected behavior for the model and then regularly checking whether its current behavior deviates from that baseline. Key components of an NMV framework include: * Input Fuzzing: Generating a diverse set of inputs to test the model’s robustness and identify potential vulnerabilities. * Output Monitoring: Tracking the model’s outputs for unexpected changes or anomalies. * Performance Metrics: Monitoring key performance indicators (KPIs) such as accuracy, latency, and fairness. * Attribution Analysis: Tracing the model’s decisions back to its underlying data and parameters to identify potential sources of bias or manipulation. By combining ZK proofs with a robust NMV framework, organizations can create a layered defense against model extraction attacks, ensuring the integrity and trustworthiness of their AI systems.

Didit Helps: Securing the AI Lifecycle

Didit's identity verification platform is extending its capabilities to address the challenges of AI model security. We’re integrating ZK-based techniques into our verification workflows to provide a new level of assurance for AI deployments. Here's how Didit helps: * Secure Data Provenance: Establishing a verifiable chain of custody for training data, ensuring its authenticity and integrity. * ZK-Enabled Model Validation: Leveraging ZK proofs to demonstrate the fairness, accuracy, and robustness of AI models without revealing sensitive information. * NMV Integration: Integrating with existing NMV frameworks to provide continuous monitoring and validation of deployed models. * Real-Time Threat Detection: Monitoring API queries for suspicious activity that may indicate a model extraction attempt.

Ready to Get Started?

Protecting your AI models from extraction attacks is no longer optional—it's a business imperative. Contact Didit today to learn how our innovative security solutions can help you build trust, maintain compliance, and unlock the full potential of artificial intelligence. [https://didit.me/](https://didit.me/) [https://business.didit.me](https://business.didit.me/)

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.