メインコンテンツにスキップAWS Startups
コンテンツの言語
現時点では、すべてのコンテンツが翻訳されているわけではありません。
  1. 学ぶ
  2. Prove It, Part 1: Why "probably correct" is not good enough for your AI startup

Prove It, Part 1: Why "probably correct" is not good enough for your AI startup

このコンテンツはいかがでしたか?

Startups winning in the AI era won’t be defined by the most advanced models or largest training datasets, but by trust. The key differentiator is whether users trust them, and whether they can answer “what happens when your AI is wrong?” with mathematical certainty, not just probabilistic assurance. In regulated markets, verification is becoming more important than model capability alone.

You just closed your seed round. Your AI-powered lending assistant went live last week with 200 beta users. On day three, a customer screenshots your chatbot telling them they qualify for a conventional mortgage with 8 percent down. They post it on social media. Your policy requires 20 percent.

Your co-founder sees it first. Your investor sees it second. Your legal counsel sees it third.

This is not hypothetical. It is the lived reality of building AI products in 2026. Three-person teams are shipping products that would have required fifty engineers two years ago, going from idea to MVP in days, not months.

But speed without verification is a liability. Generative AI has made it trivially and dangerously easy to ship something that hallucinates, contradicts your own policies, or gives your customers provably wrong answers. The gap between "we shipped" and "we shipped something trustworthy" is where startups fail.

The root cause is structural. Large language models are stochastic systems. They generate text by predicting the next probable token. This process involves randomness by design: temperature, sampling strategies, and top-k/top-p parameters all introduce variability. The same prompt can produce different answers on different runs. This is what makes LLMs creative and useful. It is also what makes them fundamentally unreliable for tasks that require correctness. Your model was not trying to give bad mortgage advice. It was predicting the most probable next token.

Every AI startup must resolve this tension: how do you build on probabilistic systems while delivering correctness guarantees to your customers, your regulators, and your investors?

What happens when AI gives the wrong answer?

When your AI gives incorrect guidance and a customer acts on it, you own the outcome. If your healthcare AI misstates a coverage decision across a few hundred patient interactions, HIPAA civil penalties range from $137 to $68,928 USD per violation depending on the severity tier, with annual caps reaching $2,067,813 USD per violation category under the latest inflation-adjusted figures. The fines can exceed your total funding before you even know there is a problem. Under the GDPR, fines for serious violations can reach €20 million EUR or 4 percent of total worldwide annual turnover, whichever is higher. For an early-stage startup processing EU customer data, this is not a fine. It is a shutdown. A fintech chatbot that approves a loan for someone who does not qualify creates regulatory liability. An insurance bot that misquotes coverage terms creates a contractual dispute you cannot win.

And beyond the direct penalties, there are second-order costs: the enterprise deal that falls apart because you cannot pass their security review, the SOC 2 audit that stalls because you cannot explain how your AI makes decisions, the Series A investor who asks "what happens when your AI is wrong?" and does not get a satisfying answer.

Why prompt engineering and RAG are not enough

Every startup building with LLMs has a version of the same safety stack: careful prompt engineering, retrieval-augmented generation (RAG), and some amount of manual review. These are good practices. They are also insufficient.

Prompt engineering is heuristic, not provable. You craft instructions that nudge the model toward correct behavior, but there is no guarantee the model follows them. When you upgrade to a newer model version, or adjust your system prompt to handle a new edge case, previously safe behavior can break silently. You are building safety on informal contracts with no enforcement mechanism.

RAG reduces hallucination probability by grounding the model in retrieved documents. This is a real improvement. But the model can still ignore, misinterpret, or selectively use the retrieved context. RAG shifts the probability distribution toward better answers. It does not eliminate the possibility of wrong ones. "Usually correct" is not a compliance strategy.

Manual QA does not scale with your growth. Even aggressive sampling (checking 10 percent of interactions) leaves 90 percent unverified. For a startup handling 100,000 customer interactions monthly, hiring reviewers to sample-check outputs costs hundreds of thousands of dollars annually. That is headcount you do not have on a seed-stage team, and you are still operating on hope for the 90 percent you did not check. This expense is not one-off. The way your customers phrase questions changes over time. The models themselves change beneath you. Previously reliable behaviors can degrade after a routine model update. Careful prompting that worked last month can silently fail next month. You have to continually evaluate, re-test, and adapt your QA process, making it a perpetual cost center rather than a problem you solve once.

The common thread is that all of these approaches reduce risk without providing certainty. When your investor asks "can your AI produce incorrect output?" the honest answer with these tools alone is "probably not, most of the time." That is not the answer that closes a Series A, or that satisfies a regulator.

What is automated reasoning?

Automated reasoning is a field of computer science that uses mathematical logic to provide assurance about what a system will or will not do. Unlike machine learning, which learns patterns from data, automated reasoning uses mathematical logic, theorem proving, and constraint solving to prove that specific properties hold across the infinite space of all possible inputs.

The distinction is critical. When a machine learning model says "this output is 95 percentx likely to be correct," it is making a statistical claim. When an automated reasoning system says "this output is valid," it has constructed a mathematical proof that the output satisfies every constraint you defined. There is no confidence interval. The proof either exists or it does not.

Automated reasoning is not a replacement for large language models (LLMs). Your chatbot still needs a language model to understand customer questions and generate natural responses. What automated reasoning provides is the verification layer on top: LLMs generate, automated reasoning verifies.

Together, they form the complete stack where creativity and correctness coexist. Your AI can still be conversational, helpful, and fast. But automated reasoning ensures it remains within the business and compliance constraints you define.

How AWS uses automated reasoning

AWS has been using automated reasoning in production for years, protecting the infrastructure that startups (and everyone else) run on.

  • Zelkova, the automated reasoning engine that underlies AWS IAM Access Analyzer, uses satisfiability modulo theories (SMT) solving to mathematically verify that your IAM and Amazon Simple Storage Service (Amazon S3) policies work exactly as intended, catching unintended access paths invisible to manual review
  • Cedar, now a CNCF Sandbox project, is the first authorization policy language built from the ground up to be verified with automated reasoning, and it powers Amazon Verified Permissions
  • The Nitro Isolation Engine, the first formally verified cloud hypervisor, ensures tenant isolation for Amazon Elastic Compute Cloud (Amazon EC2) with approximately 260,000 lines of machine-checked proofs
  • s2n-tls, AWS's open-source TLS library, uses formal proofs to verify that its cryptographic operations resist timing side-channel attacks

The point for startup builders is this: the mathematical verification techniques available to you through Amazon Bedrock and Amazon Bedrock AgentCore are not research prototypes. They come from the same engineering discipline that AWS uses to guarantee the durability of S3, the isolation of EC2, and the security of every TLS connection to AWS services. Until recently, accessing this discipline meant building an in-house team of formal methods PhDs, a luxury reserved for organizations with research lab budgets. Bedrock and AgentCore make it a pay-per-use API call.

How can startups use Automated Reasoning?

For startup teams, that same discipline of mathematical verification is now directly available through two products, each addressing a different layer of the AI trust problem. 

Automated reasoning checks in Amazon Bedrock Guardrails uses SMT-based formal logic (the same approach behind Zelkova) to verify that your LLM's output content follows your business rules. First, you define your policies: lending criteria, healthcare protocols, compliance rules, whatever your business requires. Then, the system translates them into formal logic and verifies every LLM response against those rules. When the model says something that contradicts your policy, the system catches it and tells you exactly which rule was violated and why.

For the mortgage scenario at the top of this post, the system would have caught the 8 percent down payment error and suggested the correct value for the LLM to rewrite the answer before it ever reached the user.

Policy in Amazon Bedrock AgentCore uses Cedar (open-source policy language for authorization) to enforce deterministic boundaries on AI agent actions. If you are building agentic applications where your AI makes critical decisions by invoking tools, whether that means accessing sensitive data, writing to external systems, or taking actions on behalf of users, Policy intercepts every agent-to-tool request at the gateway boundary and evaluates it against Cedar policies before execution. The enforcement is deterministic. It operates independently from the agent's reasoning and cannot be bypassed by prompt injection, hallucination, or bugs in your agent code. For a startup in healthcare, fintech, or legal, this means you can tell your regulator exactly what your agent can and cannot do, backed by mathematically validated policy.

The other systems in AWS's formal methods portfolio (the Nitro Isolation Engine, s2n-tls, s2n-quic, Dafny) benefit you indirectly: every EC2 instance you run sits on formally verified isolation, and every TLS connection uses formally verified cryptography. Bedrock Guardrails and Policy in AgentCore are where formal methods enter your application code directly.

Two layers, one principle: formal mathematical verification over stochastic trust.

What this series covers next

This is Part 1 of a three-part series. In Part 2: Formal Logic, Cedar Policies, and the Economics of Verification, we go under the hood: how automated reasoning policies work, how your business rules become formal logic, what the verification pipeline looks like, and the economics of mathematical verification versus manual QA teams. In Part 3: A Step-by-Step Implementation Playbook, we provide a hands-on guide with production-ready code patterns for integrating Bedrock Guardrails AR checks and Policy in AgentCore into your stack.


Harshvardhan Chunawala

Harshvardhan Chunawala

Harshvardhan Chunawala は、米国を拠点とする AWS の Solutions Architect であり、AWS Academy Authorized Educator でもあります。世界中の大企業のリーダー、スタートアップの創業者、C スイートのエグゼクティブと連携し、業界を問わず、AWS 上でスケーラブルかつセキュアなクラウドインフラストラクチャを設計しています。同氏は、AWS Golden Jacket の受賞者であり、複数の Amazon チームと協力し、セキュリティ、衛星、信頼性の高いエージェンティック AI サービスの領域で、最先端のクラウド機能の構築と提供に取り組んでいます。AWS での仕事以外では、10 年を超える経験を持つクラウドセキュリティの分野で世界的に認められたテクノロジスト兼エキスパートです。また、Carnegie Mellon University と連携しており、クラウドコンピューティングと新興テクノロジーの研究および指導に貢献しています。仕事以外では、スカイダイビングと飛行機の操縦を楽しんでいます。

Mike Miller

Mike Miller

Mike Miller は、AWS の Director of AI Product Management であり、ハルシネーションを防ぐための自動推論機能、Amazon Q、Amazon Bedrock など、主要な生成 AI イニシアティブについて助言しています。同氏は、生成 AI アプリケーションを構築するためのノーコードプレイグラウンドである PartyRock の社内版が Amazon の従業員の間で爆発的に人気を博した後、これを一般公開しました。Mike は以前、AWS Machine Learning Thought Leadership チームを率い、AWS DeepLens、AWS DeepRacer、AWS DeepComposer を立ち上げ、世界中のデベロッパーが楽しく魅力的な方法で実践的な機械学習を体験できるようにしました。Mike は 13 年を超える期間にわたって Amazon に在籍しており、AWS に入社する前は Lab126 で Fire TV のプロダクトマネジメントを率いていました。

Rahul Kumar

Rahul Kumar

Rahul Kumar 博士は AWS の Senior Applied Science Manager であり、Rust および C プログラムの検証テクノロジーの構築と、大規模言語モデルと自動推論を組み合わせたニューロシンボリック AI の発展に取り組んでいます。AWS では、Kani モデルチェッカーや「Verify the Safety of the Rust Standard Library」チャレンジなど、オープンソースイニシアティブを推進しています。Brigham Young University で PhD を取得し、以前は Microsoft Research や NASA JPL で形式検証と静的解析に取り組んでいたほか、カリフォルニア工科大学では講師を務めていました。自動推論をより多くの人々が利用できるようにすることに情熱を注いでおり、数学的証明手法が AI のハルシネーションをなくし、ソフトウェアの正当性を保証する方法について講演を行っています。同氏は、ワシントン州シアトルを拠点としています。

Stefano Buliani

Stefano Buliani

Stefano Buliani は、AWS の Automated Reasoning Group の Principal Product Manager であり、Amazon Bedrock ガードレールを通じて生成 AI に形式検証機能を導入する取り組みを主導しています。ソフトウェアエンジニアとしての経歴を持つ Stefano は、AWS に 12 年を超える期間にわたって在籍しており、サーバーレスおよび自動推論チームにおいて、Specialist Solutions Architect および Product Manager の両方を務めてきました。同氏は以前の役割において、AWS Lambda と Amazon API Gateway 上でサーバーレスアプリケーションを構築およびスケールするお客様をサポートしていました。仕事以外では、太平洋岸北西部でアウトドアアクティビティを楽しんでいます。同氏はカナダのバンクーバーを拠点としています。

このコンテンツはいかがでしたか?