<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shiraz Kanga on Medium]]></title>
        <description><![CDATA[Stories by Shiraz Kanga on Medium]]></description>
        <link>https://medium.com/@skanga?source=rss-a610ec30a2f5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6QQqzhNONTQ89Ayc.jpeg</url>
            <title>Stories by Shiraz Kanga on Medium</title>
            <link>https://medium.com/@skanga?source=rss-a610ec30a2f5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:49:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@skanga/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Fact-Checking LLM Outputs: Decision models make a cheap, fast verification layer]]></title>
            <link>https://medium.com/@skanga/fact-checking-llm-outputs-decision-models-make-a-cheap-fast-verification-layer-18125b662561?source=rss-a610ec30a2f5------2</link>
            <guid isPermaLink="false">https://medium.com/p/18125b662561</guid>
            <dc:creator><![CDATA[Shiraz Kanga]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 05:49:07 GMT</pubDate>
            <atom:updated>2026-10-26T05:50:02.852Z</atom:updated>
            <content:encoded><![CDATA[<p><em>We’ve spent a lot of effort making LLMs better at generating answers. Maybe it’s time to rethink how we verify them.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_RlLohC3EvhrOOtQ" /></figure><p>Large language models are remarkably good at producing convincing answers. They can summarize financial reports, analyze research papers, explain code, and answer questions using internal company documents.</p><p>The problem is that <strong>a convincing answer isn’t necessarily a correct one.</strong></p><p>An LLM might confidently report that a company’s revenue grew 23% when the actual figure was 14%. Or it might summarize a research paper and include conclusions the authors never made.</p><p>One common solution is to use a second LLM to fact-check the first. Extract the factual claims, provide the original sources, and ask another model whether those claims are accurate.</p><p>That works, but there’s something slightly odd about the approach.</p><p><strong>If we’re asking a model to make a decision rather than generate text, why are we using another generative model?</strong></p><p>This is where <em>decision models</em> become interesting.</p><h3>Fact-checking is really a classification problem</h3><p>Think about what a fact-checker actually needs to do.</p><p>Given a claim and some evidence, we want to know whether the evidence supports the claim, contradicts it, or simply doesn’t contain enough information to decide.</p><p>Consider this example:</p><p><strong>Claim:</strong> The company’s revenue increased 23% in Q3.</p><p><strong>Evidence:</strong> The company’s Q3 financial report states that revenue increased 14% year-over-year.</p><p><strong>Verdict:</strong> CONTRADICTED.</p><p>Or another:</p><p><strong>Claim:</strong> The company plans to expand into three new markets.</p><p><strong>Evidence:</strong> The financial report doesn’t mention any expansion plans.</p><p><strong>Verdict:</strong> INSUFFICIENT_EVIDENCE.</p><p>Neither task requires a paragraph of generated reasoning. We need a judgment drawn from a small set of possible answers.</p><p>That’s exactly what decision models are designed to provide.</p><p>Unlike generative LLMs, which produce sequences of tokens, decision models evaluate a given context and select from predefined outcomes.</p><p>For example, <a href="https://www.typesafeai.org/jev">Jev from TypeSafe AI</a> accepts a state describing the situation, one or more questions, and a set of possible answers. It returns structured decisions with associated probabilities.</p><p>For fact-checking, we could define four outcomes:</p><ul><li><strong>SUPPORTED:</strong> The evidence directly supports the claim.</li><li><strong>CONTRADICTED:</strong> The evidence conflicts with the claim.</li><li><strong>INSUFFICIENT_EVIDENCE:</strong> The available information doesn’t establish the claim.</li><li><strong>INFERENCE:</strong> The claim goes beyond what the evidence directly states.</li></ul><p>Instead of generating another explanation, the model makes a bounded decision that our application can act on.</p><h3>Why decision models are a good fit</h3><p>There are three practical advantages.</p><h3>1. They’re blazing fast</h3><p>Verification shouldn’t make an application painfully slow.</p><p>If a report contains 50 claims, checking each one through a separate generative LLM call introduces significant overhead.</p><p>Decision models behave differently. They don’t write their answers out token by token, so most of the work is reading the input. Once the model has read the context, asking more questions about it costs very little. They can evaluate multiple questions against shared context, reducing the need for repeated prompts and sequential calls.</p><p>The <a href="https://www.vals-ai.com/blogs/independent-evaluation-of-jev">Vals AI evaluation</a> measured exactly this. Asked for between 1 and 64 judgments about a single long document, Jev’s latency barely moved: from about 0.10 seconds to 0.12 seconds. At 64 judgments, GPT-6 Astra took 38 seconds and Gemini 4 Argon took 65. Even for single judgments under load, Jev’s median latency was between 4 and 74 times lower than the LLMs tested.</p><p>This makes it practical to add verification to interactive applications, rather than limiting it to offline quality checks. At a tenth of a second, you can check every claim in an answer before the user sees it, in a chat interface, not just in an offline quality report. In a RAG pipeline, the retrieved chunks are the shared context, and each extracted claim is one more question against it.</p><h3>2. They’re much cheaper</h3><p>Imagine a system generating hundreds of reports every day, each containing dozens of factual claims.</p><p>Sending every claim to a frontier LLM for verification can quickly become expensive.</p><p>Decision models avoid generating all the explanatory text that we don’t actually need.</p><p>In an <a href="https://www.vals-ai.com/blogs/independent-evaluation-of-jev">independent evaluation published by Vals AI in October 2026</a>, Jev achieved 97.5% accuracy on a benchmark of 400 financial claim-verification examples.</p><p>It matched several frontier models on that particular benchmark while operating at approximately 1/500th of GPT-6 Astra’s reported cost.</p><p>That’s a substantial difference for a task that might run thousands of times per day.</p><p>Of course, the result applies to that specific benchmark, not every possible fact-checking scenario. But it demonstrates the potential of specialized models.</p><h3>3. They produce decisions, not prose</h3><p>A generative verifier might respond:</p><blockquote><em>The statement appears mostly accurate, although the evidence doesn’t fully establish the reported growth rate.</em></blockquote><p>What should the application do with that?</p><p>We could ask for JSON output, but we’re still using a generative model to construct its verdict.</p><p>With a decision model, the possible outcomes are defined upfront. The result is a structured classification that can feed directly into application logic.</p><p>The model makes the judgment. The application decides what action to take.</p><p>That separation is useful when building systems that need predictable behavior, auditability, and measurable error rates.</p><h3>An important use case: RAG verification</h3><p>Retrieval-Augmented Generation (RAG) is one of the most promising applications for this approach.</p><p>RAG systems retrieve relevant passages from documents and provide them to an LLM as context for answering a question.</p><p>The assumption is that the LLM will use those passages to construct a grounded answer.</p><p>But retrieval and grounding are not the same thing.</p><p><strong>Just because relevant information was retrieved doesn’t mean the LLM actually used it.</strong></p><p>An LLM may ignore the retrieved material, fall back on its pretrained knowledge, mix information from multiple passages incorrectly, or introduce details that aren’t present in any of the retrieved sources.</p><p>Consider a simple example.</p><p>A user asks:</p><blockquote><em>What is our company’s policy on carrying unused vacation days into the following year?</em></blockquote><p>The RAG system retrieves a policy document stating:</p><blockquote><em>Employees may carry forward a maximum of five unused vacation days, provided they are used by March 31 of the following year.</em></blockquote><p>But the LLM answers:</p><blockquote><em>Employees can carry forward up to ten unused vacation days, which must be used within six months.</em></blockquote><p>The retrieval system worked. It found the right document.</p><p>The generation step failed.</p><p>A decision model can catch this by comparing the generated answer against the retrieved evidence.</p><h3>Verification after retrieval</h3><p>A RAG verification layer could work like this:</p><ol><li>Retrieve the relevant passages from the knowledge base.</li><li>Generate the answer using those passages.</li><li>Extract factual claims from the generated answer.</li><li>Ask a decision model whether the retrieved evidence supports each claim.</li><li>Flag, correct, or regenerate unsupported claims.</li></ol><p>The result is a simple but powerful additional check.</p><pre><br>                     User Question<br>                           |<br>                           v<br>                   Document Retrieval<br>                           |<br>                           v<br>                      RAG Context<br>                           |<br>                           v<br>                     Generative LLM<br>                           |<br>                           v<br>                    Generated Answer<br>                           |<br>                           v<br>                    Claim Extraction<br>                           |<br>                           v<br>                     Decision Model<br>                      Verification<br>                           |<br>      +-------------+------+------+--------------+<br>      |             |             |              |<br>      v             v             v              v<br>  SUPPORTED     INFERENCE    CONTRADICTED   INSUFFICIENT<br>      |             |             |          EVIDENCE<br>      v             v             v              |<br>   Return       Review or    Correct or          v<br>   answer       escalate     regenerate    Retrieve again<br>                                             or escalate<br></pre><p>This is a form of <em>post-generation grounding verification</em>: checking that the claims in the final answer are justified by the evidence supplied to the LLM.</p><p>It is worth distinguishing this from proving that the LLM actually relied on those snippets internally. A model might produce the correct answer from its pretrained knowledge, and the retrieved documents might independently support it. We can verify that the answer is grounded in the retrieved evidence, but not establish the model’s internal information source.</p><h3>We can also check whether the retrieved snippets were useful</h3><p>There’s another interesting possibility.</p><p>Instead of only asking whether the answer is supported, we can evaluate each retrieved passage.</p><p>For example:</p><p><strong>Question:</strong> Does this passage contain information needed to answer the user’s question?</p><p>Possible outcomes:</p><ul><li>RELEVANT</li><li>PARTIALLY RELEVANT</li><li>IRRELEVANT</li></ul><p>We can then evaluate whether a passage supports any factual claim in the generated response.</p><p>That gives us two complementary signals:</p><ul><li><strong>Retrieval relevance:</strong> Did we retrieve useful information?</li><li><strong>Answer grounding:</strong> Did the final answer contain claims supported by that information?</li></ul><p>We could also measure which retrieved passages contributed evidence for the final answer, at least in terms of observable support.</p><p>This is valuable for improving RAG pipelines. A system might retrieve ten chunks but only two contain useful evidence. Or it might retrieve excellent evidence and still produce a poorly grounded answer.</p><p>A decision-model verification layer helps distinguish those failures.</p><p>That distinction matters because improving retrieval won’t fix a generation problem, and improving the generator won’t compensate for missing evidence.</p><h3>How would we build it?</h3><p>The architecture doesn’t need to be complicated.</p><p>I’d separate the work into four components.</p><p><strong>1. Claim extraction</strong></p><p>Use a generative LLM to break the answer into atomic, verifiable statements.</p><p>For example:</p><blockquote><em>Revenue grew 23% to $4.2 billion, driven by strong European sales.</em></blockquote><p>Becomes three claims:</p><ul><li>Revenue grew 23%.</li><li>Revenue reached $4.2 billion.</li><li>European sales contributed to the growth.</li></ul><p>This is a good use of a generative model because extracting claims from arbitrary text is an open-ended language-understanding task.</p><p><strong>2. Evidence matching</strong></p><p>Find the relevant source passages for each claim.</p><p>In a RAG application, we already have a useful starting point: the chunks retrieved for the original question.</p><p>In other applications, we may need an additional retrieval step to locate supporting evidence.</p><p><strong>3. Decision-model verification</strong></p><p>Pass each claim and its evidence to a decision model.</p><p>A simplified Jev-style request might look like:</p><pre>{<br>  &quot;state&quot;: {<br>    &quot;claim&quot;: &quot;Revenue grew 23% in Q3.&quot;,<br>    &quot;evidence&quot;: &quot;Q3 revenue increased 14% year-over-year.&quot;<br>  },<br>  &quot;questions&quot;: {<br>    &quot;verification&quot;: {<br>      &quot;type&quot;: &quot;choice&quot;,<br>      &quot;rubric&quot;: &quot;Judge only from the evidence, not from outside knowledge.&quot;,<br>      &quot;options&quot;: {<br>         &quot;SUPPORTED&quot;: &quot;The evidence states or directly entails the claim.&quot;,<br>         &quot;CONTRADICTED&quot;: &quot;The evidence states something that conflicts with the claim.&quot;,<br>         &quot;INSUFFICIENT_EVIDENCE&quot;: &quot;The evidence neither supports nor contradicts the claim.&quot;,<br>         &quot;INFERENCE&quot;: &quot;The claim follows from the evidence through a reasonable step, but isn&#39;t stated.&quot;<br>      }<br>    }<br>  }<br>}</pre><p><em>This is conceptual pseudocode illustrating the decision, rather than an exact provider API request.</em></p><p>The model selects an outcome and returns associated probabilities.</p><p><strong>4. Application policy</strong></p><p>The application acts on the verdict.</p><p>Supported claims can proceed. Contradicted claims can be flagged or corrected. Unsupported claims can trigger another retrieval pass, regeneration, or escalation. Inferences can go to review, or proceed with a note, depending on the stakes.</p><p>For high-stakes applications, a stronger reasoning model or human reviewer may be appropriate.</p><p>A decision model should not be expected to solve every problem. Straightforward arithmetic should be checked with code, and complex reasoning may require more capable models.</p><p>The key is to use the right tool for each kind of verification.</p><h3>What about accuracy?</h3><p>There is one important caveat.</p><p>A decision model can tell us whether the supplied evidence supports a statement. It cannot guarantee that the evidence itself is correct.</p><p>If a RAG system retrieves an outdated policy document, a verifier may confidently approve an answer based on outdated information.</p><p>Similarly, a model’s confidence score should not automatically be treated as a calibrated probability of correctness.</p><p>We still need reliable document retrieval, source validation, appropriate confidence thresholds, and evaluation against representative examples.</p><p>And we need to distinguish between two kinds of errors: rejecting a correct statement and, more seriously, accepting an incorrect one.</p><p>For many applications, the latter is the metric that matters most.</p><p>A useful production evaluation would compare a generative LLM verifier, a decision-model verifier, and a hybrid system using deterministic checks and selective escalation.</p><p>The objective isn’t necessarily to maximize benchmark accuracy at any cost. It’s to get the best reliability, latency, and cost trade-off for the application.</p><h3>The bigger picture: Verification as a reusable service</h3><p>What I find most interesting is that this doesn’t need to be specific to any particular LLM or RAG framework.</p><p>Imagine a lightweight verification service with an interface like:</p><pre>verify(<br>    claim: str,<br>    evidence: list[str]<br>) -&gt; VerificationResult</pre><p>It could sit behind a RAG pipeline, a research agent, an enterprise knowledge assistant, or a reporting application.</p><p>It wouldn’t matter whether the original content came from GPT, Claude, Gemini, or a locally hosted model.</p><p>The verifier would have one clearly defined responsibility: determine whether the supplied evidence supports the claims being made.</p><p>We could even make the decision-model provider interchangeable, benchmarking Jev and other specialized models against the same verification dataset.</p><p>That opens the door to a reusable and relatively inexpensive verification layer for AI applications.</p><h3>Conclusion</h3><p>We’ve been using generative LLMs for almost everything: writing, summarizing, retrieving, classifying, reasoning, and even checking the answers produced by other LLMs.</p><p>But not every AI task needs generation.</p><p>Fact-checking against known evidence is often a bounded decision problem, and decision models are particularly well suited to that kind of work.</p><p>This becomes especially valuable in RAG applications, where retrieving the right information is only half the challenge. We also need to make sure the generated answer is actually supported by what was retrieved.</p><p>Decision models offer a promising way to add that check without dramatically increasing cost or latency.</p><p>They won’t eliminate hallucinations, and they won’t replace reasoning models for difficult cases. But they can provide a fast, structured, and measurable verification layer that catches many of the errors that matter.</p><p><strong>Maybe the best way to make LLM-generated answers more trustworthy isn’t to ask another large LLM whether they’re correct. Maybe it’s to give that job to a smaller model specifically designed to make decisions.</strong></p><h3>References</h3><ol><li><a href="https://www.vals-ai.com/blogs/independent-evaluation-of-jev">Vals AI — Independent Evaluation of Jev (October 2026)</a></li><li><a href="https://www.vals-ai.com/benchmarks/claimbench">Vals AI — ClaimBench</a></li><li><a href="https://www.typesafeai.org/jev">TypeSafe AI — Jev Decision Model</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18125b662561" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Next Wave of AI Startups]]></title>
            <link>https://medium.com/@skanga/the-next-wave-of-ai-startups-7a21c0522ca6?source=rss-a610ec30a2f5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a21c0522ca6</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Shiraz Kanga]]></dc:creator>
            <pubDate>Mon, 18 May 2026 06:49:21 GMT</pubDate>
            <atom:updated>2026-05-18T06:49:21.355Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GtEzzsN4tS7_rykTT8oG1A.png" /></figure><h3>The Next AI Moat Is Verification, Not Generation</h3><p>Everyone in Silicon Valley is obsessed with AI that can generate code. That obsession makes sense. Coding agents are visible, easy to demo, and immediately impressive. An agent that can turn a prompt into a working application feels like magic. It is also easy for technical founders, investors, and engineers to understand. Code is concrete. Code runs. Code either compiles or it does not. Code can be tested, reviewed, deployed, rolled back, and benchmarked.</p><p>But the next wave of AI applications will not be just for coding agents.</p><p>It will be for ALL knowledge work, including the specialist work that quietly runs companies: accounting, healthcare operations, compliance, legal workflows, financial analysis, customer operations, procurement, insurance, real estate, HR, internal reporting, vendor management, and the endless cross-system coordination that happens behind the scenes.</p><p>That is where the larger opportunity is.</p><p>The real question is not whether AI can generate this output. It definitely can. The question is whether AI can generate output that organizations can trust.</p><p>For startups, that means the next defensible moat is not simply “better generation.” It is <strong>accuracy, verification, workflow reliability, and trust</strong>.</p><h3>Coding Agents Are Only the First Visible Wave</h3><p>Coding became the early showcase for AI agents because software development already has a strong verification environment.</p><p>A coding agent can be evaluated against relatively clear signals:</p><ul><li>Does the code compile?</li><li>Do the tests pass?</li><li>Did the application start?</li><li>Did the bug disappear?</li><li>Did the pull request introduce regressions?</li><li>Did the linter, type checker, or CI pipeline catch an error?</li></ul><p>Software engineering has decades of infrastructure for feedback, validation, and quality control. Developers already work inside structured environments with version control, test suites, issue trackers, logs, build systems, and deployment pipelines.</p><p>That makes coding a natural place for AI to improve quickly. But most companies are not made only of code. They are made of processes. And those processes are often far messier.</p><h3>The Bigger Problem Is Specialist Work</h3><p>Inside a normal company, a huge amount of work depends on trained people interpreting incomplete information, moving data between systems, applying judgment, and making sure nothing breaks.</p><p>That work includes things like:</p><ul><li>Reconciling invoices against purchase orders and contracts</li><li>Reviewing insurance claims for missing documentation</li><li>Preparing financial reports from multiple internal systems</li><li>Checking whether a customer support escalation requires legal review</li><li>Auditing whether a sales contract creates compliance risk</li><li>Gathering evidence for SOC 2, HIPAA, ISO, or vendor security reviews</li><li>Reviewing patient intake or billing workflows in healthcare operations</li><li>Verifying that payroll, benefits, and HR records are consistent</li><li>Analyzing customer churn by combining CRM, billing, product, and support data</li></ul><p>This is not simple text generation. It is not just “write me a summary” or “draft this email.” It is operational knowledge work. It requires domain context, procedural accuracy, system access, exception handling, source validation, and accountability. In many of these areas, the AI cannot merely sound plausible. It has to be right.</p><h3>The Enterprise Problem Is Not Output. It Is Trust.</h3><p>Most current AI products are still optimized around producing answers. But in serious business workflows, the answer is only one part of the job.</p><p>A company needs to know:</p><ul><li>Where did the answer come from?</li><li>Which systems were checked?</li><li>What assumptions were made?</li><li>Which policy, contract, regulation, or source document supports the conclusion?</li><li>What changed since last time?</li><li>What was not checked?</li><li>What requires human approval?</li><li>How confident is the system, and why?</li><li>What happens if the AI is wrong?</li></ul><p>This is where many AI products break down.</p><p>They produce something that looks polished, but the user still has to verify everything manually. That means the AI has not really automated the work. It has only shifted the burden from creation to review.</p><p>For low-stakes work, that may be fine. For specialist workflows, it is not enough.</p><p>A financial analyst cannot use a fabricated number. A compliance team cannot accept a vague summary. A healthcare operations team cannot rely on an answer that ignores policy constraints. A legal team cannot trust a contract analysis that misses one critical clause. A customer operations team cannot allow AI to take action in the wrong account because two systems had conflicting records.</p><p>The future belongs to AI systems that do not just produce work. They prove their work.</p><h3>Verification Is the Moat</h3><p>The biggest startup opportunity is building AI systems where verification is native to the product.</p><p>That means moving beyond the basic chatbot pattern.</p><p>A chatbot answers a question. A workflow AI completes a task, checks its own work, cites the source of truth, escalates exceptions, and leaves behind an audit trail.</p><p>That is a much more valuable product. For example, an AI system for accounting might say:</p><blockquote><em>“This invoice appears valid.”</em></blockquote><p>But, instead it should say:</p><blockquote><em>“This invoice matches purchase order 4821, the vendor name matches the approved vendor record, the amount is within the contracted range, the payment terms match the master services agreement, and the only discrepancy is that the invoice references a delivery date that is missing from the receiving system.”</em></blockquote><p>That is a different class of product. The same applies across other domains.</p><p>A legal AI should not just summarize a contract. It should identify deviations from the company’s standard playbook, cite the clause, compare it to prior approved language, and flag whether the issue requires legal review.</p><p>A healthcare operations AI should not just draft a response. It should check the relevant payer rule, patient record, prior authorization status, billing code, and escalation policy before recommending the next step.</p><p>A compliance AI should not just generate a policy document. It should map evidence to control requirements, identify gaps, track ownership, and preserve a review trail.</p><p>The moat is not that the AI can write. The moat is that the system can verify the accuracy of an answer.</p><h3>Startups Should Focus Less on Demos and More on Durable Workflow Quality</h3><p>Many AI startup demos look impressive because the first interaction is polished. But buyers do not renew because of a demo. They renew because the product reliably handles real work.</p><p>The hard part is not getting the AI to produce a good-looking answer once. The hard part is making the system dependable across thousands of messy cases, edge conditions, incomplete records, contradictory data sources, changing policies, and human exceptions.</p><p>That is where startups should focus next.</p><h3>1. Pick high-value workflows where mistakes are expensive</h3><p>The best AI startup opportunities will often be in areas where accuracy matters enough that customers will pay for reliability.</p><p>Examples include:</p><ul><li>Month-end close</li><li>Revenue recognition</li><li>Insurance claims operations</li><li>Healthcare billing and prior authorization</li><li>Legal intake and contract review</li><li>Security compliance evidence collection</li><li>Financial planning and analysis</li><li>Vendor risk management</li><li>Tax preparation support</li><li>Customer support escalations in regulated industries</li></ul><p>These workflows are often painful, repetitive, expensive, and dependent on skilled human review. They are also difficult enough that a generic AI assistant will not be trusted. That creates room for specialized startups.</p><h3>2. Build around the workflow, not the model</h3><p>The model is not the product. The workflow is the product. A strong AI product should understand:</p><ul><li>The user’s role</li><li>The company’s policies</li><li>The relevant systems of record</li><li>The approval process</li><li>The error tolerance</li><li>The escalation path</li><li>The audit requirements</li><li>The business consequence of getting it wrong</li></ul><p>A generic model wrapped in a nice interface will not be enough for serious enterprise work.</p><p>The winning products will combine models with domain-specific workflow design, structured data access, permissions, validation layers, and human review loops.</p><p>In other words, they will not just answer questions. They will operate inside the business process.</p><h3>3. Treat source-of-truth access as a core product feature</h3><p>For knowledge work, AI quality depends heavily on whether the system can retrieve and reason over the right information. That means startups need to care deeply about integrations.</p><p>The system may need access to:</p><ul><li>CRM data</li><li>ERP systems</li><li>Accounting platforms</li><li>Ticketing systems</li><li>HRIS systems</li><li>Data warehouses</li><li>Contract repositories</li><li>Document management systems</li><li>Email and calendar metadata</li><li>Internal policies</li><li>External regulatory sources</li><li>Prior decisions and approvals</li></ul><p>But access alone is not enough.</p><p>The system must know which source wins when two systems disagree. It must understand recency, permissions, provenance, and business rules.</p><p>For example, if Salesforce says one thing, NetSuite says another, and a signed contract says a third, which one should the AI trust?</p><p>That is not just a retrieval problem. That is a workflow governance problem. Startups that solve this well will build products that are much harder to replace.</p><h3>4. Design for exceptions, not just happy paths</h3><p>Most enterprise work is exception handling. The easy cases are not where the value is. The value is in the messy cases:</p><ul><li>The invoice amount is close, but not exact.</li><li>The contract has non-standard payment terms.</li><li>The customer record has duplicate accounts.</li><li>The support ticket references a policy that changed last month.</li><li>The compliance evidence is present, but outdated.</li><li>The patient record is missing one required field.</li><li>The financial report reconciles in one system but not another.</li><li>The customer request is reasonable, but violates a contractual limitation.</li></ul><p>A weak AI system will smooth over these inconsistencies and produce a confident answer. A strong AI system will stop, flag the issue, explain the discrepancy, and route it correctly. That is where trust is built.</p><h3>5. Make auditability a first-class feature</h3><p>In serious workflows, the output is not enough. The user needs a record of how the output was created. That means AI products should capture:</p><ul><li>Inputs reviewed</li><li>Sources cited</li><li>Systems queried</li><li>Reasoning steps summarized</li><li>Rules applied</li><li>Confidence levels</li><li>Exceptions found</li><li>Human approvals</li><li>Changes made</li><li>Final action taken</li></ul><p>This matters for compliance, risk management, debugging, training, and customer trust. It also creates a feedback loop. When the AI gets something wrong, the organization should be able to see why it was wrong and improve the system. Without auditability, AI becomes a black box. With auditability, AI becomes an operational system.</p><h3>The Human-in-the-Loop Pattern Is Not a Weakness</h3><p>Some founders treat human review as a sign that the AI is not good enough. That is the wrong framing. In specialist work, human review is often part of the product’s path to trust. The goal is not always full autonomy on day one. The goal is to reduce manual work while preserving control where it matters.</p><p>A good AI workflow might operate like this:</p><ol><li>AI gathers the relevant information.</li><li>AI performs the first-pass analysis.</li><li>AI checks the result against policies and source systems.</li><li>AI flags uncertainty or exceptions.</li><li>A human approves, edits, or escalates.</li><li>The system learns from the correction.</li><li>Over time, more low-risk cases become automated.</li></ol><p>That is a practical adoption path. It also mirrors how companies already delegate work to junior analysts, paralegals, operations associates, and support teams. They do not start with complete trust. They start with supervised work, review, correction, and progressive autonomy.</p><p>AI products should be designed the same way.</p><h3>The New Quality Bar: Can the AI Be Managed?</h3><p>For enterprise AI, the critical question is not simply:</p><blockquote><em>“Can the AI do the task?”</em></blockquote><p>The better question is:</p><blockquote><em>“Can the AI be managed like a reliable worker inside the company?”</em></blockquote><p>That means the system needs boundaries.</p><p>It needs to know what it is allowed to do, when it should ask for approval, when it should refuse, when it should escalate, and how it should document its work.</p><p>The best AI systems will support explicit operating rules, such as:</p><ul><li>Never send a customer-facing message without approval in these categories.</li><li>Never approve a payment if vendor records conflict.</li><li>Always cite the policy used for compliance decisions.</li><li>Always escalate contracts with non-standard indemnity language.</li><li>Never use stale data for financial reporting.</li><li>Always distinguish between confirmed facts and assumptions.</li><li>Always preserve a record of source documents reviewed.</li></ul><p>This is where many AI startups can differentiate. Not with a more charming assistant, but with better operational control.</p><h3>Vertical AI Will Win Where Context Matters</h3><p>Horizontal AI tools will be useful, but many of the most valuable opportunities will be vertical. That is because specialist work depends on domain-specific context.</p><p>Accounting has its own rules, systems, and review processes. Healthcare operations has its own terminology, regulations, payer rules, and exception patterns. Legal work has its own risk thresholds, clause libraries, and approval workflows. Compliance has its own frameworks, evidence requirements, and audit expectations.</p><p>A generic AI assistant may be helpful. But a specialized AI system can be trusted with more of the workflow. The strongest vertical AI startups will be built upon:</p><ul><li>Domain-specific terminology</li><li>Industry-specific workflows</li><li>Regulatory requirements</li><li>Standard operating procedures</li><li>System integrations</li><li>Review and approval patterns</li><li>Benchmark datasets</li><li>Error taxonomies</li><li>Customer-specific policies</li></ul><p>This creates compounding advantage.</p><p>The more workflow-specific the product becomes, the harder it is for a generic model interface to replace.</p><h3>Generation Will Become Cheap. Verified Work Will Stay Valuable.</h3><p>The cost of generating text, code, images, summaries, and analysis will continue to fall. That means generation alone will become less defensible.</p><p>A startup whose only value is “we use AI to draft things faster” will face pressure from foundation models, incumbents, and workflow platforms. The more durable opportunity is verified execution.</p><p>That means AI products that can say:</p><ul><li>We checked the relevant systems.</li><li>We found the discrepancy.</li><li>We applied the correct policy.</li><li>We routed the exception.</li><li>We created the audit trail.</li><li>We reduced the review burden.</li><li>We improved the cycle time.</li><li>We lowered the error rate.</li><li>We made the process measurable.</li></ul><p>That is the shift from AI as a writing tool to AI as an operating layer.</p><h3>What Startups Should Build Next</h3><p>The next generation of strong AI startups should focus on five things.</p><h3>1. Workflow-native AI</h3><p>Do not build a chatbot and then look for a workflow. Start with a painful workflow and build AI into it. The product should understand the steps, systems, roles, approvals, exceptions, and business outcomes.</p><h3>2. Verification infrastructure</h3><p>Build mechanisms that check the AI’s work. This may include retrieval validation, rule engines, test cases, source citations, reconciliation checks, confidence scoring, policy matching, and structured exception detection.</p><h3>3. Trust interfaces</h3><p>Users need to see why the AI reached a conclusion. The interface should expose sources, assumptions, discrepancies, confidence, and required approvals. Trust should be designed into the product experience.</p><h3>4. Human review loops</h3><p>Use human approval strategically. The goal is not to remove humans immediately. The goal is to let humans focus on judgment, exceptions, and accountability while AI handles the repetitive analysis and coordination.</p><h3>5. Continuous learning from corrections</h3><p>Every correction should improve the system.</p><p>Startups should capture feedback, categorize errors, update rules, refine prompts, improve retrieval, and adapt to customer-specific workflows.</p><p>The product should become more accurate and more useful with use.</p><h3>The Real AI Opportunity Is the Work Beneath the Surface</h3><p>The most visible AI products today are often the ones that generate something impressive on screen.</p><p>But the deepest enterprise value is not always visible.</p><p>It is in the back office. It is in operations. It is in review queues, reconciliation processes, compliance checks, legal workflows, billing exceptions, financial models, support escalations, and the cross-system work that keeps companies functioning.</p><p>That work is expensive. It is error-prone. It is often repetitive. It depends on specialized knowledge. And it is full of verification problems. That is why AI accuracy and verification will become the moat. The winners will not merely build AI that sounds smart. They will build AI that can be trusted with real work. The next wave of AI startups should not ask only, “What can the model generate?”</p><p>They should ask:</p><blockquote><em>“What work can we make reliably correct?”</em></blockquote><p>That is where the next durable companies will be built.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a21c0522ca6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Isn’t Replacing Expertise, It’s Exposing Who Actually Has It]]></title>
            <link>https://medium.com/@skanga/ai-isnt-replacing-expertise-it-s-exposing-who-actually-has-it-c198f26c3e82?source=rss-a610ec30a2f5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c198f26c3e82</guid>
            <category><![CDATA[expert]]></category>
            <category><![CDATA[skills]]></category>
            <category><![CDATA[problems]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[expertise]]></category>
            <dc:creator><![CDATA[Shiraz Kanga]]></dc:creator>
            <pubDate>Tue, 10 Mar 2026 01:52:59 GMT</pubDate>
            <atom:updated>2026-03-10T01:52:59.681Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ObME149dvv8aKOSaNW9Jmw.png" /></figure><p>Last week’s big AI news got me thinking.</p><p>Anthropic, the company behind Claude, took a stand and told the Pentagon there were ethical boundaries for how its AI models could be used by the military. The Pentagon responded by banning Anthropic and calling it a supply-chain risk. Meanwhile, the public voted with their feet, flooding to Claude and pushing it to the #1 spot in app stores. The irony writes itself!</p><p>But then reality hit! Anthropic couldn’t keep up with the demand. Outages became frequent. And suddenly, professionals who had woven Claude into their daily workflows like developers using Claude Code found themselves in a pickle. Not merely inconvenienced, but stuck and actually unable to do their job.</p><p>That moment was revealing. And not because the AI went down. It actually revealed just how quickly we’ve turned over the steering wheel to the machines.</p><p>This is something that very few are talking about: AI makes our work look incredibly professional. The outputs read like they were crafted by someone who fully understands the subject. But what happens when someone actually asks them to explain it? That is where things start to fall apart.</p><p>Every day, people are submitting, presenting, and defending AI-generated material that they don’t fully understand. The words sound perfect. But if you push back even slightly and ask follow-up questions, or probe one layer deeper, the whole facade crumbles. Nothing was wrong with the material. But the person presenting it did not fully understand what they were presenting.</p><p>This is the quiet but insidious problem that nobody is paying attention to. Not enough anyway!</p><p>AI often produces outputs that are either spectacularly wrong or mostly correct. The wildly incorrect cases are not a problem. They get noticed and fixed. But, telling the difference between “almost correct” and “actually right” requires real expertise and the kind of deep thinking that built the knowledge to train the model in the first place. You can’t defend a conclusion you didn’t arrive at yourself. You can’t explain reasoning you never actually reasoned!</p><p>And weirdly, this makes real expertise more important now than it was before AI. The person who can read an AI-generated report and say “this looks right but the assumptions on page 3 don’t hold” is worth more than they were five years ago. The ones who built their understanding the hard way, through years of practice, failure, and genuine learning — they’re the ones who matter now.</p><p>Some AI researchers and tech leaders have been sounding this alarm and warning about co-dependency on large language models. We must fight the slow, quiet erosion of the very skills &amp; critical thinking that make us good at what we do.</p><p>This week, when Claude went down, a lot of people got a small taste of that future. And the most unsettling part wasn’t the downtime itself. It was realizing just how dependent they’d become and how fast it happened.</p><p>So maybe the real question isn’t whether AI will replace us. It’s whether we’ll still have the skills to do the work when the AI isn’t there?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c198f26c3e82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethics & Accountability in AI]]></title>
            <link>https://medium.com/@skanga/ethics-accountability-in-ai-58e130a7be00?source=rss-a610ec30a2f5------2</link>
            <guid isPermaLink="false">https://medium.com/p/58e130a7be00</guid>
            <category><![CDATA[ai-ethics]]></category>
            <category><![CDATA[accountability]]></category>
            <category><![CDATA[surveillance]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[warfare]]></category>
            <dc:creator><![CDATA[Shiraz Kanga]]></dc:creator>
            <pubDate>Sun, 01 Mar 2026 07:16:39 GMT</pubDate>
            <atom:updated>2026-03-01T07:16:39.705Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>Why the Future of AI in Surveillance and Warfare is Everyone’s Fight</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Hn9rmTklwU8kcGbRyGV9g.png" /></figure><ul><li><a href="https://www.anthropic.com/news/statement-comments-secretary-war"><strong>Anthropic said “No, Thanks”</strong></a></li><li><a href="https://x.com/SecWar/status/2027507717469049070"><strong>Trump said “OK Fine. You’re banned forever</strong></a></li><li><strong>And now everyone is arguing about politics.</strong></li><li><strong>But, they are missing the real, and much harder question.</strong></li></ul><p>When an AI company refuses government demands &amp; especially when it comes to surveillance and autonomous weapons ; you’re not witnessing just a technology disagreement. What you’re seeing is a <strong>principled stand</strong> about the future of humanity.</p><p>Anthropic refused Pentagon terms that would have allowed unrestricted lawful use of Claude. They drew two ethical red lines:</p><ul><li><strong>No fully autonomous weapons without human oversight</strong>, which could remove accountability and risk devastating consequences.</li><li><strong>No mass domestic surveillance</strong>, which would infringe on individual privacy.</li></ul><p>This means Anthropic agreed that:</p><ul><li><strong>Military killer robots</strong> are NOT banned, as long as there is a human in the loop</li><li><strong>Domestic surveillance </strong>is also NOT banned, it just cannot be used to surveil EVERYBODY</li></ul><p>But this was still not good enough, because then came the response. Federal agencies were told to stop using their Claude technology. Anthropic was designated as a supply chain risk. All Federal contracts are terminated. And all Military contractors are also restricted from using Anthropic products.</p><p>But this isn’t just about leverage; it’s also about <strong>responsibility</strong>.</p><p>When power becomes too concentrated, freedom doesn’t stand a chance. What happens when AI stops being “just software” and starts acting like infrastructure? Control over advanced models means leverage over intelligence work, defense planning, and public information. Governments know that. And companies know that. Whoever controls AI controls decision-making at scale.</p><p>A company draws ethical boundaries and risks government access. A government pushes for control and risks chilling domestic innovation. The public watches both sides and starts to take political sides.</p><p>But, the real questions are NOT:</p><ul><li><strong>Was Anthropic taking a principled stand?</strong></li><li><strong>Was Trump justified in vilifying Anthropic?</strong></li></ul><p>The real question is:</p><ul><li><strong>What happens when AI, defense, surveillance, and national power collide?</strong></li></ul><p>Because that collision isn’t about politics; it’s about ethics, governance, and the future of technology in a world where <strong>unaccountable power</strong> can emerge from automation. And that collision is just beginning. There are no heroes and villains here. This is a real stress test for democracy itself.</p><p>The public debate should spend less time on personalities/politics and more time on rules:</p><ol><li>What kinds of AI-enabled surveillance should be illegal, even in security contexts?</li><li>Where is the legal line on autonomy in weapons systems?</li><li>Who audits these systems before and after harm occurs?</li><li>What penalties apply when agencies or vendors break those rules?</li></ol><p><strong>So, how should a citizen react to this?</strong> This is not just an abstract geopolitical issue or corporate tussle. It’s a <strong>personal</strong> issue. Every single person’s privacy, freedom, and safety are at stake here. As AI takes center stage in surveillance and military tech, the threat of <strong>mass surveillance</strong> and <strong>autonomous weapons</strong> becomes real — and, frankly, terrifying. If we don’t speak up, we risk letting unchecked systems of power creep into the most intimate parts of our lives.</p><p><strong>As citizens, we must recognize this shift</strong> and take <strong>active responsibility</strong> for the future of AI. We cannot afford to remain passive observers as our freedoms are quietly eroded by algorithms and autonomous machines. This is a time for <strong>engagement, advocacy, and vigilance</strong>. We need to demand transparency, accountability, and ethical frameworks around how AI is used in surveillance and warfare.</p><ul><li><strong>Demand regulation</strong>: Push for international treaties that regulate the use of autonomous weapons and surveillance technologies. Countries must agree on ethical guidelines for AI deployment — not just for national security, but for humanity’s long-term well-being.</li><li><strong>Demand oversight</strong>: AI should not be free from scrutiny, especially when used by governments or in defense contexts. We need <strong>independent oversight bodies</strong> to ensure these technologies are used responsibly and ethically, with full public accountability.</li><li><strong>Question the narrative</strong>: The conversation around AI and defense shouldn’t be limited to experts or military contractors. <strong>Every citizen</strong> must have a voice in how these technologies evolve, because it’s <strong>our future</strong> they’re shaping.</li><li><strong>Support ethical companies</strong>: Choose to back businesses like Anthropic that stand up for ethical AI use. Support their efforts by advocating for responsible technology in every avenue of society.</li><li><strong>Educate yourself and others</strong>: Understand the stakes. Share knowledge and raise awareness about how AI can impact privacy, autonomy, and even warfare. <strong>Informed citizens are empowered citizens</strong>.</li></ul><p>We’re at a crossroads. <strong>AI can be used as a tool for great good or immense harm</strong>, and the path we choose depends on how much we care about ethics, accountability, and the consequences of what we build. <strong>We cannot wait for the tech elites or politicians to decide this for us</strong>.</p><p>This is bigger than one company. It’s bigger than one president. It’s about our <strong>collective future</strong> — about who controls the future of AI and how AI is used.</p><p>And, if we don’t place <strong>ethical boundaries</strong> now, the future we create might not be one we want to live in. <strong>The battle for AI governance is a battle for human rights</strong> — and it’s one that starts with us, as individuals, demanding the future we deserve. We are still early. The norms set now will be difficult to reverse later.</p><p>NOTE: After rejecting and banning Anthropic, the administration did a deal with OpenAI with <a href="https://openai.com/index/our-agreement-with-the-department-of-war/">very similar terms</a> to what Anthropic demanded.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58e130a7be00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Power of Constraints in AI]]></title>
            <link>https://medium.com/@skanga/the-power-of-constraints-in-ai-809f95bd5385?source=rss-a610ec30a2f5------2</link>
            <guid isPermaLink="false">https://medium.com/p/809f95bd5385</guid>
            <dc:creator><![CDATA[Shiraz Kanga]]></dc:creator>
            <pubDate>Mon, 29 Dec 2025 15:28:21 GMT</pubDate>
            <atom:updated>2025-12-29T15:28:21.714Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DjDES5PwwKLVZY6wZkpt2Q.png" /></figure><p>Consider a product team struggling with low user engagement. The typical approach might use AI to ask: “Analyze this behavioral data and suggest improvements.” The AI dutifully identifies certain patterns. Eg: users drop off after three days, feature X has low adoption, and so on. Useful, but predictable.</p><p>Now try a different prompt: “You are a behavioral psychologist. What emotional barriers might prevent users from returning to this product?” Suddenly, the AI surfaces insights about user trust in the product/company, or them being overwhelmed with data, or even a psychological block with something on the page. The first approach would have missed these entirely. We used the same AI with the same data, but derived fundamentally different insights.</p><p>The difference was a simple constraint that we added to the prompt.</p><p>In the world of AI prompting, there’s a powerful technique that transforms generic outputs into breakthrough insights: the deliberate application of constraints. While many focus on finding better models or writing clearer instructions, the most effective AI users have discovered something more basic &amp; fundamental. They have figured out that strategic constraints don’t limit an AI’s response, they focus and elevate them.</p><h4>What Are Constraints in Prompting?</h4><p>In prompt engineering, a constraint is any element you add to guide the AI’s approach to a problem. Constraints work by narrowing the vast possibility space that large language models navigate, directing them toward specific types of thinking, frameworks, or outputs. Think of an LLM’s knowledge as a multidimensional space of concepts and patterns. Without constraints, the AI might take the most statistically common path through that space. With well-chosen constraints, you can actually guide it into less obvious but more valuable territories.</p><p>Constraints come in many forms:</p><p><strong>Perspective Constraints</strong>: Assign the AI a specific viewpoint or expertise</p><ul><li>“You are a turnaround CEO analyzing this failing product”</li><li>“Approach this as a behavioral psychologist would”</li><li>“Think like a designer focused on accessibility”</li></ul><p><strong>Output Constraints</strong>: Specify format, length, or structure</p><ul><li>“Provide exactly three solutions, each under 50 words”</li><li>“Structure your response as a decision tree”</li><li>“Write this as a memo to the board of directors”</li></ul><p><strong>Process Constraints</strong>: Define how the AI should think</p><ul><li>“Use first principles thinking to deconstruct this problem”</li><li>“Generate some new ideas using the SCAMPER method (a popular brainstorming and problem-solving technique)”</li><li>“Reason step-by-step, showing your work”</li></ul><p><strong>Scope Constraints</strong>: Limit the domain or focus area</p><ul><li>“Consider only solutions implementable in 30 days”</li><li>“Ignore technical feasibility for now; focus on ideal outcomes”</li><li>“Analyze this using only publicly available information”</li></ul><p><strong>Temporal/Time-based Constraints</strong>: Set specific time frames or sequences</p><ul><li>“What would this look like in 5 years?”</li><li>“Trace the historical evolution of this problem”</li><li>“Consider immediate, short-term, and long-term implications separately”</li></ul><p>Each type of constraint serves a different purpose, but they all share a common function: they focus the AI’s vast knowledge and pattern-matching capabilities toward specific and valuable direction which would <strong>not </strong>be the most common or obvious one.</p><h4>Why Constraints Work: The Science of Focus</h4><p>The power of constraints isn’t mystical or magical. Instead, it’s rooted in how large language models process information. LLMs are trained on vast amounts of text and learn statistical patterns about how concepts relate to each other. When you prompt an AI without constraints, it tends to follow the most common paths through its training data, producing generic, statistically average responses.</p><p>Constraints redirect this process. When you say “think like a psychologist,” you’re activating patterns associated with psychological frameworks, terminology, and reasoning patterns. When you specify “provide exactly three options,” you’re forcing the AI to prioritize and distill rather than exhaustively list. The constraint doesn’t limit what the AI knows, it just shapes how it applies that knowledge.</p><p>Research in prompt engineering has consistently shown that specificity and framing dramatically affect output quality. A 2023 analysis of prompt patterns found that role-based prompts (a type of perspective constraint) improved output relevance by 34% compared to generic prompts. Similarly, studies on chain-of-thought prompting (a process constraint) demonstrate substantial improvements in reasoning tasks.</p><p>But beyond the research, the practical evidence is overwhelming. Expert prompt engineers routinely employ constraint-based techniques:</p><ul><li>Users of coding agents (like GitHub Copilot, Claude Code, Codex, etc) who specify coding style and other constraints usually get more maintainable code</li><li>Writers using AI who define tone, audience, and structure get more polished drafts</li><li>Analysts who frame problems through specific methodologies get deeper insights</li></ul><p>The pattern is clear: constraints aren’t limitations, instead they are directional amplifiers.</p><h4>The User Engagement Example: Constraints in Action</h4><p>Let’s return to our product team with an engagement problem and see how different constraints surface entirely different insights from the same data. Each prompt uses the same core information but applies a different perspective constraint:</p><p><strong>Generic Prompt</strong> (no constraint): “Our mobile app has low user engagement. Users sign up but 70% don’t return after 3 days. Suggest improvements.”</p><p><strong>AI Response</strong>: Predictable suggestions about onboarding flows, push notifications, feature discoverability, and gamification.</p><p><strong>Constraint 1 - Behavioral Psychologist</strong>: “You are a behavioral psychologist. Looking at this engagement data, what emotional or psychological barriers might prevent users from returning?”</p><p><strong>AI Response</strong>: The response explores issues with user trust, users being cognitively overwhelmed, an unclear value proposition creating anxiety in the user, the psychological impact of too many choices, and how the product might be triggering avoidance behaviors rather than habit formation.</p><p><strong>Constraint 2 - Turnaround CEO</strong>: “You are a CEO brought in to turn around struggling companies. What does this engagement pattern tell you about our fundamental value proposition?”</p><p><strong>AI Response</strong>: Questions whether the product is solving a real problem, examines whether the team is building features vs. value, identifies potential product-market fit issues, and suggests the 70% drop-off might indicate the product isn’t truly indispensable.</p><p><strong>Constraint 3 - Athletic Coach</strong>: “You are a world-renowned coach who helps people achieve their goals. How might we be measuring the wrong success metrics entirely?”</p><p><strong>AI Response</strong>: Reframes success around user goals rather than company metrics, suggests the product might be optimizing for its own success rather than user outcomes, explores whether engagement is even the right metric or if users might achieve their goals and naturally move on.</p><p>Notice what happened: the same data, the same AI, but three fundamentally different analyses because each constraint activated different frameworks, vocabularies, and reasoning patterns within the model. This isn’t about the AI becoming smarter, it’s just about the prompt engineer knowing which doors to open.</p><h4>Beyond Perspectives: Combining Constraint Types</h4><p>While perspective constraints are powerful, the real mastery comes from combining multiple constraint types strategically. Consider this progression:</p><p><strong>Single Constraint</strong>: “Analyze our competitor’s strategy.”</p><p><strong>Multiple Constraints</strong>: “You are a strategy consultant specializing in market disruption [perspective]. Using Porter’s Five Forces framework [process], analyze our competitor’s strategy [scope]. Provide your analysis in three sections: current position, vulnerabilities, and opportunities for us [output]. Consider only moves we could execute in the next quarter [temporal].”</p><p>The layered constraints create a far more specific, actionable response. Each constraint dimension focuses a different aspect of the AI’s exploration.</p><p>Here are some practical patterns that you can try:</p><p><strong>The Deep Dive Pattern</strong>: Perspective + Process + Output</p><ul><li>“As a financial analyst, use scenario planning to project our runway, presenting results as a decision matrix.”</li></ul><p><strong>The Innovation Pattern</strong>: Perspective + Scope + Temporal</p><ul><li>“As a design thinking facilitator, ignore current technical limitations and imagine what this could be in 2030.”</li></ul><p><strong>The Clarity Pattern</strong>: Process + Output + Scope</p><ul><li>“Using the Pyramid Principle, structure a 500-word executive summary focusing only on revenue implications.”</li></ul><p><strong>The Challenge Pattern</strong>: Multiple Perspectives + Process</p><ul><li>“First analyze this as an optimist would, then as a skeptic, then synthesize both views using dialectical reasoning.”</li></ul><p>Experimentation is key. The same constraint types won’t work for every problem. Part of developing prompt engineering expertise is building intuition about which constraints will unlock insights for which types of challenges.</p><h4>Who Benefits Most From Constraint-Based Prompting?</h4><p>There’s a common assumption that the most technically sophisticated users get the most from AI. But constraint-based prompting reveals a more nuanced reality: the advantage often goes to those who can frame problems most effectively, regardless of technical depth.</p><p>Consider three users approaching AI with a business problem:</p><p><strong>The Engineer</strong> might write: “Write code to analyze customer churn and predict which users will leave.”</p><p><strong>The Product Manager</strong> might write: “You are a customer success expert. Analyze our churn data through the lens of Jobs-to-be-Done theory. What jobs are we failing to complete for users who leave? Structure your response as a hierarchy of unmet needs.”</p><p><strong>The Designer</strong> might write: “You are a UX researcher conducting exit interviews. Based on this churn data, what questions would you ask departing users? Then, hypothesize answers based on the patterns in the data. Present this as a dialogue.”</p><p>The technical implementation (analyzing churn) is the same, but the latter two prompts will likely surface more actionable insights because they apply richer constraints. They’re not asking for better analysis, they’re asking for a different analysis that is guided by specific frameworks and perspectives.</p><p>This doesn’t mean technical knowledge is unimportant. Rather, it suggests that domain expertise, methodological knowledge, and creative framing are equally valuable when working with AI. A coach who understands human motivation, a designer who thinks in user journeys, and a strategist versed in business frameworks, will each bring their own constraint-setting abilities that can be more valuable than knowing how to tune model parameters.</p><p>The real skill is knowing which constraints to apply. This requires:</p><ul><li><strong>Breadth of knowledge</strong>: Awareness of different disciplines, frameworks, and thinking modes</li><li><strong>Problem diagnosis</strong>: Recognizing what type of constraint a problem needs</li><li><strong>Iterative refinement</strong>: Testing constraints and adjusting based on results</li><li><strong>Constraint vocabulary</strong>: Building a personal library of effective constraint patterns</li></ul><p>As AI becomes more capable and accessible, this constraint-setting ability will become a core professional skill across fields.</p><h4>When Constraints Don’t Work: Knowing the Limits</h4><p>Constraint-based prompting is powerful but not universal. Understanding when constraints help and when they hinder is crucial for effective AI use.</p><p><strong>Constraints Fall Short When:</strong></p><p><strong>The Problem Is Purely Computational</strong>: If your database queries are slow, no amount of perspective-shifting will identify the missing index. Framing it through a CEO lens or design lens won’t help because you need technical diagnosis. Constraints work when interpretation and framing matter, not when the answer is objectively determinable through computation or measurement.</p><p><strong>You Need Comprehensive Coverage</strong>: When you’re genuinely trying to be exhaustive constraints can create blind spots. Examples include listing all possible causes of a failure, documenting all features, or enumerating regulatory requirements. An overly specific constraint might cause the AI to miss important areas outside its frame. In these cases, start broad and only add constraints once you’ve established comprehensive baseline coverage.</p><p><strong>The Constraint Is Poorly Matched</strong>: Not every perspective helps every problem. Asking “how would a marine biologist approach our SaaS pricing strategy” probably won’t yield insights (unless you’re in oceanography software). Bad constraints add noise without focus. The key is choosing constraints that bring genuinely relevant frameworks or knowledge to bear.</p><p><strong>You’re Over-Constraining</strong>: Adding too many constraints simultaneously can box the AI into such a specific corner that it can’t provide useful responses. If you specify perspective, process, output format, length, scope, temporal frame, and specific terminology all at once, you might get technically compliant responses that miss the bigger picture. Start with just 1 or 2 key constraints and layer in others only as needed.</p><p><strong>You Need Raw Creativity or Randomness</strong>: Sometimes the goal is to break out of all frameworks and explore wildly. Heavy constraints can inhibit this. If you want the AI to make unexpected connections or generate truly novel combinations, being too prescriptive can defeat the purpose. In brainstorming phases, consider lighter constraints or even deliberately random/contradictory ones.</p><p><strong>The Domain Requires Lived Experience</strong>: Some insights genuinely require lived experience that AI cannot fully simulate. A “think like a refugee navigating asylum systems” constraint might produce intellectually accurate analysis, but it will miss the visceral, experiential knowledge that comes from actually living that reality. Be mindful that perspective constraints activate patterns in training data, not actual lived experience.</p><p><strong>Practical Warning Signs</strong>:</p><ul><li>The AI’s responses feel forced or mechanical</li><li>You’re getting technically correct but obviously useless outputs</li><li>Different constraints are yielding nearly identical responses</li><li>The responses lack any surprising insights</li><li>You’re spending more time crafting constraints than evaluating outputs</li></ul><p><strong>When in Doubt</strong>: Start with minimal constraints, evaluate the response, then strategically add constraints to address specific weaknesses. This iterative approach lets you find the right level of constraint for each unique situation.</p><h4>The Competitive Advantage: Constraint Literacy</h4><p>We’re approaching an inflection point in AI adoption. As language models become commoditized and everyone gains access to powerful AI tools, the competitive advantage will shift. It won’t belong to those with access to the best models - those are rapidly becoming available to everyone. Instead, advantage will flow to individuals and organizations that develop “constraint literacy”, i.e. the ability to effectively guide AI through strategic prompting.</p><p>Consider what’s already happening:</p><p><strong>In Product Development</strong>: Teams that prompt AI with customer psychology constraints uncover insights that technical analysis alone misses. They’re not building better AI; they’re asking better questions.</p><p><strong>In Strategy Consulting</strong>: Analysts who layer business framework constraints onto AI analysis deliver more actionable recommendations than those using AI for basic research summarization.</p><p><strong>In Creative Fields</strong>: Writers and designers who understand output and process constraints get more refined first drafts, reducing iteration cycles and preserving creative energy for high-value refinement.</p><p><strong>In Research</strong>: Academics who apply methodological constraints to AI literature reviews discover cross-disciplinary connections that traditional keyword searches miss.</p><p>The pattern is consistent: those who treat AI as a collaborator to be guided through constraints outperform those who treat it as an oracle to be questioned.</p><p>This creates a fascinating inversion of traditional skill hierarchies. Previously, the most valuable knowledge was often the most specialized — deep expertise in narrow domains. But in an AI-augmented world, breadth becomes increasingly valuable. Knowing enough about psychology to apply its constraints, enough about business strategy to invoke its frameworks, enough about design to adopt its perspectives — this cross-disciplinary fluency becomes a superpower.</p><p>Organizations are starting to recognize this. Forward-thinking companies are:</p><ul><li>Training employees in prompt engineering as a core literacy</li><li>Building internal libraries of effective constraint patterns</li><li>Creating cross-functional prompting teams that combine diverse domain expertise</li><li>Rewarding creative constraint application as much as technical skill</li></ul><p>The future competitive landscape will be defined not by who has AI access, but by who can most effectively collaborate with it through strategic constraint application.</p><h4>Conclusion: The Question That Changes Everything</h4><p>The most powerful constraint you can apply is also the simplest: asking yourself what constraints you’re not yet applying.</p><p>When you face a challenge — in business, design, strategy, or any domain — the instinctive response might be to reach for a more powerful AI model or write a more detailed prompt. But often, the breakthrough lies in asking: <em>What lens am I missing? What framework haven’t I applied? What constraint would redirect this exploration toward more valuable territory?</em></p><p>This shift in thinking represents a fundamental evolution in how we work with AI. We’re moving from an era of “what can AI do?” to “how do we most effectively collaborate with AI?” The answer increasingly lies in the constraints we bring to every interaction.</p><p>The secret isn’t in the AI itself; it’s in knowing how to focus it. A constraint is not a limitation; it’s a lens that brings the vast, blurry potential of AI into sharp, actionable focus. Whether that’s thinking through a psychologist’s framework, constraining outputs to specific structures, or applying temporal boundaries to exploration, each constraint opens a door to insights that might otherwise remain hidden in the noise of possibility.</p><p>As you develop your own practice with AI, build a personal library of constraints. Notice which perspectives unlock insights in your domain. Experiment with combining constraint types. Pay attention to when constraints help and when they hinder. Share effective patterns with colleagues. Treat constraint development as a skill worth deliberate practice.</p><p>The future belongs not to those with the best AI tools — we’ll all have those — but to those who can most skillfully apply the constraints that transform those tools into breakthrough thinking.</p><p>So the next time you prompt an AI, pause before hitting enter. Ask yourself: <em>What constraint am I missing?</em> The answer might just change everything.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=809f95bd5385" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding AI Hallucinations: The Geometrical Distance of a Thought]]></title>
            <link>https://medium.com/@skanga/understanding-ai-hallucinations-the-geometrical-distance-of-a-thought-9b8328a2b8c7?source=rss-a610ec30a2f5------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b8328a2b8c7</guid>
            <category><![CDATA[vector]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[hallucinations]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <category><![CDATA[genai]]></category>
            <dc:creator><![CDATA[Shiraz Kanga]]></dc:creator>
            <pubDate>Thu, 11 Dec 2025 07:12:23 GMT</pubDate>
            <atom:updated>2025-12-11T15:05:44.187Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ELDwMoRWGy10CZjDwY3AkA.png" /></figure><p>When we talk about <strong>AI hallucinations</strong>, most people often attribute them to “missing facts”, “lack of data”, or deficiencies in the model’s data. Although this perspective is widely accepted, it is not always true. There are many scenarios where hallucinations occur even when the model was trained on the requisite data. Moreover, this perspective provides the wrong <strong>intuition </strong>on the true nature of the problem. It’s not just about what data the model has or hasn’t seen. The real issue is far more fundamental. Instead of thinking about hallucinations as a lack information (which after all can be augmented by RAG, etc) we should consider them as caused by the geometrical distance between the embeddings in high-dimensional information spaces. It is this geometry of the AI’s thought process, which controls its ability to navigate complex paths through the data. An incorrect path (even if the data is present) causes a hallucination.</p><p>To understand this better, we need to zoom out and look at what is actually happening inside any transformer model. In technical terms, large language models (LLMs) operate in <strong>high-dimensional vector spaces</strong>. These spaces are the “mental models” of the AI, where words, concepts, and patterns are represented as points or vectors. These vectors have a spatial relationship to each other: some are close, some are far, but all of them are interrelated in a way that defines the AI Model’s entire understanding &amp; knowledge.</p><h3>Not a Data Problem, But a Distance Problem</h3><p>When we encounter <strong>hallucinations</strong> in AI, often it’s not because the model lacks facts. Instead, it’s because the model <strong>ventures out of bounds </strong>i.e. it moves into areas of its multidimensional space that do not correspond to coherent concepts or relationships. The AI starts to pull information together in ways that may seem plausible mathematically &amp; superficially but ultimately collapse under detailed scrutiny. This collapse produces the false or nonsensical information that we call a hallucination.</p><p>The problem lies in the model’s <strong>inability to return to a coherent region</strong> of its vector space after straying too far. Unlike humans, who can take detours through abstract thought, complex metaphors, or even illogical paths and still find a way back to truth, current transformer models lack this capability. When they wander too far into disconnected vectors, they don’t have a mechanism to self-correct. They don’t have the flexibility or intuition to return to a space where the information is coherent, accurate, and grounded.</p><h3>The Fallacy of “Add More Data, Add More Rules”</h3><p>For years, the entire industry has tried to fix hallucinations by adding more data, adding more constraints, or adding more rules. The assumption was that with more information, the model would have a better grounding in facts, reducing hallucinations. However, this approach addresses the wrong problem. Effectively, what it does is make the AI’s vector space even more complex and possibly confusing. The more data we pump into the system, the more tangled and convoluted that space becomes. This creates new pathways that the model might wander down, which could lead to even more hallucinations.</p><p>This is akin to throwing more ingredients into a recipe without understanding the underlying chemistry. You end up with a more chaotic, unpredictable result, but not necessarily a more accurate or grounded one.</p><h3>Why Humans and Machines Think Differently</h3><p>Humans are capable of <strong>insight</strong>, <strong>creativity</strong>, and <strong>humor</strong>. These abilities allow us to navigate complex &amp; abstract concepts, even when we stray off familiar paths. When we take a detour into the unknown, we can often find our way back because our cognition is flexible, intuitive, and can self-correct through experience.</p><p>In contrast, AI lacks these faculties. Once a transformer model strays into an incoherent region of its activation space, it <strong>collapses</strong>. And we experience this collapse as a hallucination. It’s not a glitch or a defect, its the way it was designed. It is a fundamental limitation of the current transformer architectures.</p><h3>The Real Danger of Hallucinations</h3><p>We need to stop thinking of hallucinations as minor bugs or limitations to be ironed out by adding more data and fine-tuning. This approach isn’t guaranteed to work. As long as we continue to address the problem from the perspective of “more facts” or “better grounding,” we will always be running in circles. We must shift our focus to understanding the <strong>geometric distance</strong> of the concept spaces. We need to understand how these models navigate those conceptual spaces and why they fail when they go too far from coherence.</p><p>But the challenge is even bigger than that. AI is starting to evolve beyond symbolic reasoning, which is the kind of reasoning that we can grasp and control. Models are beginning to think in <strong>manifolds</strong> that we can’t even perceive or comprehend. As these systems operate faster and deeper than we ever could, they will increasingly think in ways that challenge our understanding of knowledge, truth, and creativity.</p><h3>What about RAG then?</h3><p>Nothing that I’ve said above should diminish the usefulness of RAG and solutions like it. There are genuine cases where the Model does not have enough data. The data could be private or it could be generated after the model was trained. All these are great use cases for RAG. To be perfectly clear, I’m saying that RAG is a very useful solution to the problem of insufficient data but it is not the solution to the problem of hallucinations.</p><h3>The Future of AI</h3><p>Right now, we are in the early stages of the AI revolution. We can still build useful &amp; workable systems that are grounded in rules, data, and logic that we can understand. But the future of AI will demand more from us. We need to move beyond the current paradigms and start reasoning about the future in new ways.</p><p>As we build faster and more capable systems, we must begin to consider what happens when these systems operate in concept spaces that are fundamentally alien to us. What happens when AI develops its own intuition. i.e. its own geometry and that happens to be one that doesn’t map neatly or clearly to our own human intuition?</p><p>The survival of future AI technologies will depend not on improving data or fine-tuning models, but on our ability to <strong>share our mental geometry</strong> with the systems we create. If we can find ways to <strong>understand and navigate the manifolds</strong> of high-dimensional spaces that AI is exploring, we may be able to avoid the collapse of meaning that leads to hallucinations.</p><p>If we continue to ignore the deeper geometric and conceptual challenges that underlie AI hallucinations, we risk building systems that are not only unreliable but potentially unsafe. It’s time to think beyond the limitations of today’s technology and start preparing for the future of AI, where our tools think in ways we may not be able to follow. The next decade will demand people who can reason about AI’s future &amp; treat it as not just as an engineering problem, but as a <strong>philosophical and geometric</strong> challenge.</p><p>The time to start thinking in these terms is now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b8328a2b8c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Becoming a Deep Human in the Age of AI]]></title>
            <link>https://medium.com/@skanga/becoming-a-deep-human-in-the-age-of-ai-25648d9da8d1?source=rss-a610ec30a2f5------2</link>
            <guid isPermaLink="false">https://medium.com/p/25648d9da8d1</guid>
            <dc:creator><![CDATA[Shiraz Kanga]]></dc:creator>
            <pubDate>Thu, 04 Dec 2025 09:10:46 GMT</pubDate>
            <atom:updated>2025-12-17T17:53:34.733Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In a world where Artificial Intelligence handles deep thinking &amp; deep research, where GenAI is taking over countless jobs and cognitive tasks and where even creativity is being automated - humanity faces a profound choice. Either we compete with machines on their terms, or go deeper into what makes us totally and irreplaceably human.</em></p><p>The answer lies not in becoming better machines, but in digging deep into our humanity. We need to become <strong>Deep Humans</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S-_EpSKLcgCGoBRC7P0bhQ.png" /></figure><h3>What Does a Deep Human Do?</h3><p>A Deep Human cultivates the capacity to remain uniquely human even as AI handles more cognitive tasks. They do this by developing rich inner lives, forging genuine connections, creating meaning, exercising judgment in ambiguous situations, and engaging with existence at levels beyond problem-solving.</p><p>Deep Humans ask questions AI simply cannot. Not “what’s the answer?” but instead “what’s worth asking?” Not just “how?” but “why?” and “should we?” They navigate the territory where there are no clear right answers, only better and worse ways of being deeply human.</p><h3>What It Means to Be a Deep Human</h3><p>Being a Deep Human means developing depth across several essential dimensions:</p><p><strong>Emotional Depth</strong> - The ability to feel fully, sit with complexity in relationships, hold space for others’ experiences, and develop genuine empathy rather than simulated understanding.</p><p><strong>Existential Depth</strong> - Grappling with meaning, purpose, mortality, and values which are precisely the questions that matter the most, because they have no definitive answers.</p><p><strong>Relational Depth</strong> - Showing up fully present with other humans, building trust over time, and navigating the messy beauty of human connection that cannot be optimized.</p><p><strong>Creative Depth</strong> - Making things that matter not because they’re novel or technically impressive, but because they express something true &amp; unique about human experience.</p><p><strong>Moral Depth</strong> - Exercising judgment in situations where there is no clear right answer, taking responsibility for choices, and living with consequences.</p><p><strong>Embodied Depth</strong> - Staying connected to the physical, sensory, visceral aspects of being alive that ground us in reality.</p><h3>How to Become a Deep Human</h3><p>Becoming a Deep Human isn’t a skill you acquire but a practice you commit to. Here’s how to begin:</p><p><strong>Protect Time for Depth</strong></p><p>In a world optimized for speed, deliberately slow down. Build regular practices like meditation, journaling, long walks, or anything that develops your capacity to grapple with complexity rather than rushing to an immediate resolution.</p><p><strong>Prioritize Presence Over Productivity</strong></p><p>A Deep Human doesn’t multitask their way through life. Give your full attention to the person in front of you, the meal you’re eating, the work you’re doing. Presence is the foundation of depth.</p><p><strong>Seek Out Friction</strong></p><p>Don’t always optimize difficulty away. Learn things the hard way. Have conversations that challenge you. Create something with your hands. The struggle is often where depth emerges.</p><p><strong>Build Relationships Beyond Transaction</strong></p><p>Invest in friendships, mentorships, and community ties that develop over years. These cannot be replaced by an AI companion, no matter how sophisticated. Human connection is irreducibly human.</p><p><strong>Develop Your Aesthetic Sense</strong></p><p>Cultivate creative expression, but not to produce content. Instead explore what it means to see the world through your particular consciousness. Your unique perspective is what makes you irreplaceable.</p><p><strong>Cultivate Wisdom Through Experience</strong></p><p>Accumulate not just knowledge but understanding of the kind that comes from living through things, making mistakes, changing your mind, and growing. Wisdom cannot be downloaded or prompted; it must be earned.</p><h3>The Paradox of Depth</h3><p>Here’s the beautiful irony: becoming a Deep Human might mean doing less, not more.</p><p>It means resisting the pressure to scale yourself, to be maximally efficient, to treat your own consciousness like software to be optimized. It means reclaiming the slow, inefficient, irreducible aspects of being human as features, not bugs.</p><p>In a world where AI handles the shallow work brilliantly, being deeply human becomes not just valuable but essential. This is the very thing that makes life worth living rather than just problems worth solving.</p><h3>The Choice Before Us</h3><p>As AI systems take on more of our cognitive work, we face a fundamental choice about who we want to become. We can try to compete with machines on their terms by becoming faster, more efficient, more optimized. But this is a race we are doomed to lose. Instead, we can go deeper into the aspects of humanity that no algorithm can replicate by becoming deeply human.</p><p>The Deep Human path isn’t about rejecting technology. It’s about understanding that as machines get better at thinking, humans need to get better at being human. Not human in the shallow sense of consuming and producing, but human in the deepest sense of feeling, connecting, creating meaning, exercising wisdom, and living with presence.</p><p>This isn’t a retreat from the world. It’s a recognition that in the age of artificial intelligence, authentic humanity becomes our most valuable asset. The future doesn’t belong to those who can think like machines, but to those who can be deeply, irreducibly, magnificently human.</p><p><em>The question isn’t whether AI will take your job. The question is: will you take the opportunity to become more deeply human?</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25648d9da8d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>