<?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[AI in GRC - Medium]]></title>
        <description><![CDATA[As we explore the role of AI in GRC, we’ll discuss challenges and learnings from AI product development. - Medium]]></description>
        <link>https://medium.com/ai-in-grc?source=rss----c7ab16599422---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>AI in GRC - Medium</title>
            <link>https://medium.com/ai-in-grc?source=rss----c7ab16599422---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:11:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/ai-in-grc" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Prompt Engineering to Harness Engineering]]></title>
            <link>https://medium.com/ai-in-grc/from-prompt-engineering-to-harness-engineering-439db5a4b180?source=rss----c7ab16599422---4</link>
            <guid isPermaLink="false">https://medium.com/p/439db5a4b180</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agent-harness]]></category>
            <dc:creator><![CDATA[Lior Solomon]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 18:44:59 GMT</pubDate>
            <atom:updated>2026-04-25T18:44:58.262Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Watching the discipline of building with LLMs reinvent itself, in real time, for the third time in three years.</em></p><h3>A field that keeps moving the ground under itself</h3><p>It’s worth pausing to notice how fast the discipline of building with large language models has been rewriting its own definition.</p><p>In 2023, the practice was <strong>prompt engineering</strong>. The job was to coax better output from a fixed model by choosing your words carefully. Whole consultancies were founded on it. Conferences filled rooms with it. A handful of people became genuinely famous for being good at it.</p><p>In 2024 and early 2025, the center of gravity shifted to <strong>context engineering</strong>. The realization, articulated most clearly in Anthropic’s public writing but felt everywhere, was that the prompt is only a thin slice of what the model actually sees. The real craft was in <em>what you put in the window</em>: retrieval, compression, grounding, structured note-taking, multi-agent context sharing. The job stopped being “write a better prompt” and started being “curate a better information environment.”</p><p>We are now, visibly, inside a third shift. The center of gravity is moving again, this time toward what the field is starting to call <strong>harness engineering</strong>.</p><p>The framing is not mine. LangChain has a <a href="https://www.langchain.com/blog/the-anatomy-of-an-agent-harness">post titled “The Anatomy of an Agent Harness.”</a> Phil Schmid has been writing about <a href="https://www.philschmid.de/agent-harness-2026">the importance of agent harnesses in 2026</a>. Anthropic has published at least four pieces on harness design. Aakash Gupta’s framing was blunt: <a href="https://aakashgupta.medium.com/2025-was-agents-2026-is-agent-harnesses-heres-why-that-changes-everything-073e9877655e">2025 was agents. 2026 is agent harnesses.</a></p><p>The question worth asking isn’t whether this is a real shift. It clearly is. The question is what it actually means, and what the next wave of the work looks like for anyone building seriously.</p><h3>What “harness” means, and why the word matters</h3><p>A harness, in this evolving usage, is the runtime environment a language model operates inside. It owns everything that isn’t the model itself: which tools the model can call, how context gets assembled, where memory lives, how policies get enforced, how runs get traced, how failures get retried.</p><p>Phil Schmid has articulated the cleanest analogy: <strong>the model is the CPU, and the harness is the operating system around it.</strong> The model reasons. The harness decides what the model sees, what it can do, and what happens around the reasoning.</p><p>That shift in language tracks a shift in where the interesting engineering actually lives. In a prompt-engineering world, the leverage is in the words. In a context-engineering world, the leverage is in the information pipeline that fills the window. In a harness-engineering world, the leverage is in the surrounding runtime, and almost none of it is the model.</p><p>The progression has a pattern to it. Each era <strong>subsumes the one before it rather than replacing it.</strong> Good prompt engineering is still required; it’s just no longer the whole job. Good context engineering is still required; it’s now a subsystem inside the harness. Each shift has broadened what “building with LLMs” actually means.</p><h3>The shape of a harness, as the field seems to be converging on it</h3><p>The consensus that’s emerging in public writing, across LangChain, Anthropic, Temporal, HumanLayer, Epsilla, and agent-engineering.dev, is that a full agent harness has something like eight layers. No two authors draw the diagram identically, but the layers are recognizable across all of them:</p><figure><img alt="Diagram showing the Agent Harness as eight stacked layers: Input &amp; Trigger, Context Engineering, Orchestration &amp; Planning, Reasoning Core (highlighted, containing Memory, the LLM, and Tools), Policy &amp; Guardrails, State &amp; Session, and Action &amp; Output, with Observability as a sidebar that cuts across all of them." src="https://cdn-images-1.medium.com/max/1024/1*DIeXb60S97QW8ydm0LNSJA.png" /></figure><p>Each layer is the subject of active, visible work across the industry right now. Durable execution in layer 6, protocol standardization (MCP) reshaping layer 2, evals hardening in layer 8, memory systems getting their first real theoretical treatments in layer 4 (the <a href="https://arxiv.org/abs/2601.01885">AgeMem paper</a> and the <a href="https://dl.acm.org/doi/10.1145/3748302">ACM survey</a> are good entry points). None of this is settled. All of it is moving.</p><h3>The pattern beneath the shift</h3><p>If you squint, the three eras tell a consistent story about where the leverage sits.</p><p>Prompt engineering assumed the model was the bottleneck, and the job was to wring more out of it. Context engineering noticed that the bottleneck had moved: the model was plenty capable, but it was operating on impoverished information. The job was to fix the information environment.</p><p>Harness engineering is noticing that the bottleneck has moved again. The model is capable, the information environment is solvable, and the <em>new</em> limit is the runtime. What happens when a step fails at 2am? What does “this agent acted on behalf of this customer” actually mean mechanically? How do you reconstruct a chain of decisions for an auditor six months later? How do you compose ten specialist agents without ending up with ten disconnected scripts? None of that is a prompting problem. None of it is a context problem. It’s plumbing.</p><p>The unglamorous reading of all of this is that <strong>the field keeps discovering that the hard problems in applied AI are the ones operating systems have always had.</strong> Concurrency. State. Policy. Identity. Resource accounting. Observability. Failure recovery. The harness era is, in a real sense, the moment the field has to grow up and take those seriously, not as nice-to-haves, but as the substrate without which nothing composes.</p><p>That is a much less glamorous story than the one about the model. But it is probably the more durable one.</p><h3>Where this gets interesting, and where it’s still unsolved</h3><p>A few of the layers above look, to me, genuinely well-developed in public discourse. Orchestration and durable execution have a strong body of work behind them, much of it from the workflow-engine world adapting to LLM workloads. Observability and evals have credible tools and credible methodologies. The tool layer has a serious protocol (MCP) with a roadmap and adoption.</p><p>A few of the layers are still, honestly, unsolved in public.</p><p><strong>Memory is underspecified.</strong> Most teams use “memory” to mean “a vector store.” That’s not memory; that’s retrieval. Real memory systems have a taxonomy (working, episodic, semantic, procedural), lifecycle policies, and, ideally, a unified read/write/query surface across all of them. Almost nobody has built that yet. The academic work is interesting; the productionization is early.</p><p><strong>Context as live state is underspecified.</strong> Loading “what is true for this customer, right now, under these exceptions, with this scope” as a first-class runtime concept is hard, and most systems today still reduce it to “a big system prompt plus some retrieved docs.” Making that a proper runtime primitive (session-scoped, TTL-bound, tenant-isolated) is a real engineering problem that few have tackled publicly.</p><p><strong>Policy as a gate, not a filter, is underspecified.</strong> Most harnesses today treat policy as something applied to outputs. In a lot of regulated contexts, policy is better understood as an <em>authorization layer</em>, a gate the agent has to pass through before acting. That framing changes what you build.</p><p><strong>An audit fabric is barely discussed.</strong> In most industries, “the log will do.” In others, the log is the product. The infrastructure to make an agent’s decisions reconstructable, attributable, and defensible to an external reviewer is a different thing from application logging. Almost nobody is writing about this, and it will matter.</p><p>I don’t have a clean answer to any of those yet. Neither, I think, does the field. These are the places the next year of work gets interesting.</p><h3>What I think a GRC-native harness actually looks like</h3><p>I spend most of my time thinking about AI in the GRC space, which tends to surface the hard version of each of these problems early. The generic eight-layer picture above applies, but in a regulated context several layers reshape in ways I think are genuinely specific to the domain. Here’s my read.</p><p><strong>Evidence has to be a first-class type, not a file.</strong> In a generic harness, agents produce “outputs”: text, artifacts, tool calls. In a GRC harness, most of what the agent produces is <em>evidence</em>, a structured assertion linked to a specific control, from a specific source, with provenance and a timestamp. Treating evidence as “a document the agent wrote” is the category error that quietly kills most GRC-AI projects. Evidence is a typed object, and the harness has to know that.</p><p><strong>Policy belongs on the <em>front</em> of the action, not the back.</strong> Most general-purpose harnesses treat policy as a filter applied to outputs (“did the model say something it shouldn’t have?”). In GRC, that framing is backwards. The question isn’t “is the output safe to show.” It’s “is the agent authorized to take this action, on this tenant, under this framework, given this exception state, right now.” Policy is an <em>authorization gate</em> that runs before the action, not a content check that runs after. Building it as the latter and calling it the former is one of the most common and most expensive mistakes in this category.</p><p><strong>Identity has three axes, not one.</strong> In a consumer AI product, “who is this?” is one question. In a GRC harness, it’s three: <em>which agent</em> is acting, <em>on behalf of which human</em>, inside <em>which tenant’s</em> boundary. Every layer of the harness has to know all three, and the boundaries between tenants have to be enforced as hard walls rather than convenience. OAuth was designed for humans acting on their own behalf. Agents acting on the behalf of a human, inside a customer boundary, with scoped action permissions that can be revoked in milliseconds, is a different problem, and the industry’s public answers to it are still early.</p><p><strong>Regulatory context is live state, not configuration.</strong> The generic “active reasoning context” problem is hard everywhere, but in GRC it has a specific shape: which frameworks apply to this tenant, what version of each, which controls are in scope, which exceptions are currently active, which policies have been updated since the last audit. That isn’t a config file you load at startup. It’s a live state the agent has to reason <em>inside</em>, and it changes constantly. Most GRC-AI work today still reduces this to a big retrieval step, which is a polite way of saying the problem hasn’t been solved.</p><p><strong>Reversibility should be a property of every tool, not an afterthought.</strong> Anthropic has written about this for general agents, but in regulated contexts it sharpens. Every tool the harness exposes should be designed with an explicit answer to “what happens if we’re wrong about this?” Some actions are recoverable, some aren’t, and the ones that aren’t deserve human-in-the-loop gates by default. An auditor will eventually ask “who approved this, and was that approval well-scoped?” If the answer is “the agent did, because the tool didn’t distinguish reversible from irreversible operations,” that’s a finding.</p><p><strong>The audit fabric is the product, not a logging layer.</strong> Most harnesses today add observability as a cross-cutting concern. Useful, but framed as a debugging tool. In a GRC context, the same substrate has to serve a completely different audience: external reviewers, months or years after the fact, reconstructing exactly what the agent did, on whose behalf, against which policy version, with what evidence. That’s not a log. It’s an evidentiary record, with a different set of guarantees (immutability, chain of custody, decision attribution) than application logging cares about. Treating these as the same layer is tempting and, in my view, wrong.</p><p><strong>Durability has to cover the decision, not just the execution.</strong> The workflow-engine world has taught us how to make an agent’s <em>execution</em> durable: survive restarts, retry failures, resume mid-stream. In GRC, that’s necessary but not sufficient. The harness also has to make the agent’s <em>reasoning</em> durable: why did it choose this action, which evidence supported that choice, which policy version was in effect. “The code ran to completion” is not the same as “the decision can be reconstructed.” An auditor cares about the second one.</p><p>None of these are claims that GRC is special. They are claims that regulated categories surface the hard version of problems the rest of the market is only starting to confront. Healthcare has its own version of this list. Financial services has its own version. Anywhere an external reviewer will later ask <em>“who did what, on whose behalf, under what policy, and how do you know”</em> is a category where the harness stops being infrastructure and starts being the thing that determines whether you have a defensible product.</p><p>Those categories also tend to discover the limits of each era a little earlier than the rest of the market. The prompt era was short there. The context era was short there. The harness era, I suspect, is going to be long, because most of the items in the list above aren’t problems anyone solves in a single quarter.</p><h3>Most of this isn’t an AI engineering problem</h3><p>A point I find myself making in my recent leadership conversation: most of what makes a real agent harness hard isn’t the AI part. It’s the part where it has to plug into an engineering organization that has already made some of architectural decisions, most of them long before “agents” was a meaningful word.</p><p>There is no “buy the agent harness” SKU. The hard problems are old problems in new clothing, and the people who solve them are the people who already know your company’s API surfaces, identity model, transaction boundaries, and deployment topology. That isn’t an AI engineering team alone. It’s the engineering organization writ large.</p><p>A few of the concrete shapes this takes.</p><p><strong>Authorization.</strong> Which agent is allowed to call which API endpoint, on whose behalf, with what scope? Sounds like an AI question; it’s almost entirely a permissions-and-identity question. Standards like OAuth 2.1 cover the delegation flow. They don’t cover agent-to-agent chains, action-level policy scopes, or the audit-grade attestation a regulated context eventually demands. The other half is engineering decisions your organization has already made, decisions that don’t always extend cleanly to a non-human caller. Cross-team project, not a feature inside an AI service.</p><p><strong>Cross-system reversibility.</strong> When an agent’s action spans multiple services and step three fails, you’re back in saga-pattern territory: compensating transactions across service boundaries, run by an orchestrator that survives failure. The harness inherits all of it, plus a new wrinkle: the actor making the decision is non-deterministic, so “retry, compensate, or escalate?” becomes a model decision as well as an architectural one. No library does this for you.</p><p><strong>Identity and tenant boundaries.</strong> Most organizations have an identity story for humans and a separate, messier one for service accounts. Agents are a third category that fits neither, and they have to carry tenant context through every call they make. Retrofitting that into an existing identity model is a platform-engineering problem, not an AI one.</p><p><strong>Observability across the seam.</strong> Once an agent run touches five services, your application traces and your AI traces are two different graphs. Stitching them so a single action is reconstructable end-to-end is a real instrumentation project across services that weren’t built with this in mind.</p><p>The honest message to leadership: the next year of work isn’t “buy an AI platform and integrate it.” It’s “revisit several of our existing distributed-systems decisions in light of agents, build the parts that don’t exist yet, and accept that some of this is platform-level engineering no vendor will do for us.” That framing is uncomfortable because it says the answer isn’t fast or cheap. It’s also true.</p><h3>What I’m watching</h3><p>A short list of open questions I’d be interested to compare notes on with anyone working in this space:</p><ul><li>Does memory become a standardized subsystem the way context assembly has, or does it stay bespoke for another year or two?</li><li>Does MCP’s momentum continue, and do we end up with an agent-side protocol standard as well as a tool-side one?</li><li>Do evals become the primary feedback loop into fine-tuning, or do we end up with something more like a closed-loop online-learning pattern?</li><li>Does “policy as a gate” become a named architectural layer, or does it stay buried inside application logic?</li><li>Is the next era after harness engineering “systems engineering for fleets of agents,” or something else entirely?</li></ul><p>I don’t know. None of us do yet. But the pace at which the field has renamed its own central discipline three times in three years is, at minimum, worth paying attention to.</p><h3>References</h3><p><strong>On the evolution of the discipline</strong></p><ul><li><a href="https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents">Anthropic: Effective context engineering for AI agents</a></li><li><a href="https://www.anthropic.com/research/building-effective-agents">Anthropic: Building Effective AI Agents</a></li><li><a href="https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents">Anthropic: Effective harnesses for long-running agents</a></li><li><a href="https://www.anthropic.com/engineering/harness-design-long-running-apps">Anthropic: Harness design for long-running application development</a></li><li><a href="https://www.anthropic.com/engineering/managed-agents">Anthropic: Scaling Managed Agents</a></li></ul><p><strong>On harness engineering as its own discipline</strong></p><ul><li><a href="https://www.langchain.com/blog/the-anatomy-of-an-agent-harness">LangChain: The Anatomy of an Agent Harness</a></li><li><a href="https://www.philschmid.de/agent-harness-2026">Phil Schmid: The importance of Agent Harness in 2026</a></li><li><a href="https://www.agent-engineering.dev/article/harness-engineering-in-2026-the-discipline-that-makes-ai-agents-production-ready">agent-engineering.dev: Harness engineering in 2026</a></li><li><a href="https://www.humanlayer.dev/blog/skill-issue-harness-engineering-for-coding-agents">HumanLayer: Skill issue, harness engineering for coding agents</a></li><li><a href="https://www.epsilla.com/blogs/2026-04-18-deep-dive-12-reusable-agentic-harness-design-patte">Epsilla: 12 reusable agentic harness design patterns</a></li><li><a href="https://aakashgupta.medium.com/2025-was-agents-2026-is-agent-harnesses-heres-why-that-changes-everything-073e9877655e">Aakash Gupta: 2025 was agents. 2026 is agent harnesses.</a></li></ul><p><strong>On protocols, durable execution, evals, and memory</strong></p><ul><li><a href="https://modelcontextprotocol.io/specification/2025-11-25">MCP Specification 2025–11–25</a></li><li><a href="https://blog.modelcontextprotocol.io/posts/2026-mcp-roadmap/">MCP 2026 Roadmap</a></li><li><a href="https://temporal.io/blog/durable-execution-meets-ai-why-temporal-is-the-perfect-foundation-for-ai">Temporal: Durable execution meets AI</a></li><li><a href="https://www.braintrust.dev/articles/how-to-eval">Braintrust: How to eval</a></li><li><a href="https://arxiv.org/abs/2601.01885">arXiv: Agentic Memory (AgeMem)</a></li><li><a href="https://dl.acm.org/doi/10.1145/3748302">ACM: Survey on memory mechanism of LLM-based agents</a></li></ul><h3>One last thing</h3><p>This isn’t theoretical for me. I lead AI At Drata, we’re building the agent harness from the ground up, in a category where every action eventually meets an auditor. We think this layer, the runtime around the model rather than the model itself, is where the next several years of GRC get decided. And we’re building like we believe it: rethinking memory, identity, policy, and the audit fabric as first-class primitives, not features bolted onto a chatbot.</p><p>If you find this kind of work fascinating, we’re hiring. AI engineers, platform engineers, anyone who looks at the gap between “agents that demo” and “agents that survive an audit” and sees a career’s worth of interesting problems. Come build the future of compliance with us.</p><p>→ <a href="https://drata.com/careers">Open roles at Drata</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=439db5a4b180" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-in-grc/from-prompt-engineering-to-harness-engineering-439db5a4b180">From Prompt Engineering to Harness Engineering</a> was originally published in <a href="https://medium.com/ai-in-grc">AI in GRC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gen AI testing strategies and tools]]></title>
            <link>https://medium.com/ai-in-grc/gen-ai-testing-strategies-and-tools-257383e5cbfb?source=rss----c7ab16599422---4</link>
            <guid isPermaLink="false">https://medium.com/p/257383e5cbfb</guid>
            <category><![CDATA[ai-compliance]]></category>
            <category><![CDATA[gen-ai-revolution]]></category>
            <category><![CDATA[ai-testing]]></category>
            <dc:creator><![CDATA[Lior Solomon]]></dc:creator>
            <pubDate>Fri, 06 Sep 2024 01:34:08 GMT</pubDate>
            <atom:updated>2024-09-05T20:05:46.728Z</atom:updated>
            <content:encoded><![CDATA[<p>As generative AI (Gen AI) systems become more prevalent in software development, traditional testing strategies must evolve. According to a recent survey by Gartner, 80% of software engineering organizations are expected to establish AI engineering best practices by 2025, including testing strategies for Gen AI applications. This blog explores the differences in testing mindsets and provides strategies and tools for effectively testing Gen AI applications. With the global generative AI market projected to reach $186.33 billion by 2031, growing at a CAGR of 34.3%, the need for robust testing methodologies has never been more critical.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCq_zlnfCw9cffYGMr7Zkg.png" /></figure><p>Developing Gen AI applications bears for a fresh new perspective when thinking about software testing.</p><p>When it comes to testing traditional software versus generative AI (Gen AI) systems, there is a significant shift in mindset required. Here are some key differences in the testing mindset:</p><h3>Traditional Software Testing Mindset</h3><ul><li><strong>Deterministic Behavior</strong>: Traditional software is designed to produce deterministic and predictable outputs for a given set of inputs. Testing focuses on verifying that the software adheres to specified requirements and produces the expected outputs.</li><li><strong>Scenario-based Testing</strong>: Testing is often scenario-driven, where test cases are designed to cover specific use cases and edge cases. The goal is to ensure that the software functions correctly under various predefined conditions.</li><li><strong>Defect Identification</strong>: Testing aims to identify defects or deviations from expected behavior, which can be traced back to the code and fixed through traditional debugging techniques.</li><li><strong>Exhaustive Testing</strong>: While not always feasible, the goal is to test as many scenarios as possible to ensure comprehensive coverage and identify potential issues before release.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9sID5D0X5Fqj57MG" /></figure><h3>Gen AI Testing Mindset</h3><ul><li><strong>Non-deterministic Behavior:</strong> Gen AI systems generate diverse outputs based on training data, requiring a different approach to testing.</li><li><strong>Intent-based Testing:</strong> Focus shifts to evaluating whether outputs align with the intended purpose rather than specific outputs.</li><li><strong>Bias and Fairness Evaluation:</strong> Assessing AI systems for potential biases and fairness issues is crucial, given the varied nature of training data.</li><li><strong>Continuous Learning and Adaptation:</strong> Gen AI systems evolve over time, necessitating continuous monitoring and testing.</li><li><strong>Human Evaluation:</strong> Subjective assessment plays a key role in evaluating the quality of Gen AI outputs, especially in complex domains like natural language processing.</li></ul><p>In the following examples, we will explore specific methodologies that address these challenges, demonstrating how they can be applied to ensure the robustness, fairness, and reliability of Gen AI systems. These examples illustrate not only the distinct characteristics of Gen AI testing but also practical applications that can guide teams in implementing effective testing frameworks tailored to these advanced technologies.</p><h4><strong>Non-deterministic Behavior</strong></h4><p>Gen AI systems are designed to produce novel and diverse outputs based on their training data and algorithms. Their behavior is inherently non-deterministic, and the same input can yield different but potentially valid outputs.</p><p><strong>Example</strong>: Diverse Outputs from Same Input</p><p><strong>Scenario</strong>: Automating responses to a security questionnaire.</p><ul><li><strong>Gen AI Response 1</strong>: When asked about data encryption methods, the AI might generate: “We use AES-256 encryption for all sensitive data at rest and in transit.”</li><li><strong>Gen AI Response 2</strong>: For the same question, another output might be: “Our systems implement AES-256 encryption standards to ensure the security of data both during storage and transmission.”</li></ul><p><strong>Explanation</strong>: Although both responses are valid and correct, they differ in wording and detail. This illustrates how the same input can yield different yet acceptable outputs due to the non-deterministic nature of Gen AI systems.</p><h4><strong>Intent-based Testing</strong></h4><p>Instead of testing for specific outputs, the focus shifts to evaluating whether the Gen AI system’s outputs align with the intended purpose or user’s intent. The goal is to ensure that the system produces relevant, coherent, and appropriate responses.</p><p><strong>Example</strong>: Vendor Questionnaire Summarization Pipeline</p><p><strong>Scenario</strong>: The goal is to automate the summarization of vendor responses to a security questionnaire, ensuring that the summaries are concise, relevant, and align with the intended purpose of understanding vendor security practices.</p><p><strong>Input</strong>: Detailed vendor responses to a security questionnaire.</p><p><strong>Gen AI Output</strong>: Summarized responses generated by the AI.</p><p><strong>Evaluation:</strong> Intent-based testing is conducted using LLMs to prompt the system, comparing the original intent (understanding vendor security practices) with the AI’s output to ensure relevance, coherence, and alignment with the intended purpose.</p><p>• <strong>Relevance</strong>: The LLM can check if the AI output covers the most important parts of the vendor’s security practices and leaves out irrelevant details.</p><p>• <strong>Coherence</strong>: The LLM can assess if the summary is logically structured and easy to follow.</p><p>• <strong>Completeness</strong>: LLMs can also check if specific important items are mising from the AI-generated summary.</p><p>• <strong>Conciseness</strong>: You can prompt the LLM to check if the summary is as brief as possible without omitting essential details.</p><p><strong>Bias and Fairness Evaluation</strong></p><p>Testing Gen AI systems involves assessing for potential biases, ethical concerns, and fairness issues that may arise from the training data or the model itself.</p><p><strong>Example</strong>: Ensuring Bias and Fairness in AI-Driven compliance policy mapping to controls</p><p>When creating AI systems for mapping compliance policies to controls, ensuring bias and fairness is crucial. Let’s dive into how we can approach this, using the example of a probability model designed to score the likelihood of a control being mapped to a policy within a compliance framework.</p><p>We could use several different methodologies to help classify what controls can be mapped to a policy. While we went with the option of using a RAG system to provide the recommendation, we wanted to also use a statistical analysis of the likelihood of controls to be mapped to a specific policy. This sounds straightforward, but we must ensure our AI does not favor certain industries over others, especially when our customer base skews towards particular sectors.</p><p>For instance, if our AI primarily has data from tech and finance companies, it might inadvertently become biased against healthcare providers, which are less represented in our dataset. This bias can manifest in lower probability scores for mapping controls to policies, leading to inaccuracies and unfair assessments.</p><p>To mitigate bias, we can use data augmentation, adding more healthcare examples through additional data collection or synthetic generation to balance the model’s learning. Additionally, applying fairness constraints, like re-weighting schemes or correction factors, ensures equitable treatment of all industries in probability scoring.</p><h4>Continuous Monitoring</h4><p>Continuous monitoring and user feedback are critical for maintaining and improving AI systems, helping to identify biases and ensure real-world performance. Unlike traditional software, Gen AI evolves with new inputs, making continuous learning essential to adapt to emerging trends and improve accuracy over time. For example, in a compliance use case, if a new policy is introduced based on emerging tech trends, the Gen AI system can learn to recognize and appropriately map controls to that policy even though it was not part of the original training data.</p><p><strong>Testing for Continuous Improvement Strategies:</strong></p><p>1. <strong>Baseline Performance Testing:</strong> Start by measuring the system’s performance on predefined tasks to establish a benchmark for future improvements.</p><p>2. <strong>Incremental Learning Validation:</strong> Regularly test the system’s performance as it learns from new data to ensure updates don’t introduce errors or degrade previous performance.</p><p>3. <strong>Real-Time Feedback Integration:</strong> Implement real-time user feedback loops to help the system adapt to real-world conditions and continuously refine its responses.</p><p>4. <strong>Adaptive Test Suites:</strong> Build test suites that evolve with the system, updating regularly to include new scenarios the AI encounters.</p><p>5. <strong>Continuous Monitoring and Auditing:</strong> Use monitoring tools to track performance and user interactions, with regular audits to catch performance drifts.</p><p><strong>Tools for Continuous Testing:</strong></p><ul><li><strong>Vellum.ai Test Suites:</strong> These provide a framework for unit testing LLMs, allowing us to quickly identify the best prompts and evaluate outputs using various metrics like semantic similarity and business logic.</li><li><strong>Automated Testing with Airflow:</strong> We automate daily test suite runs via Airflow, collecting metrics such as error rates and recall, ensuring any potential regressions are caught early, keeping the Gen AI systems reliable over time.</li></ul><h3><strong>Human Evaluation</strong></h3><p>Generative AI solutions have faced notable failures due to insufficient human testing, which highlights the importance of incorporating human evaluation in AI development processes. Here are some examples of such failures:</p><p><strong>ChatGPT Legal Case Mishap</strong></p><ul><li>Failure Description: An attorney used ChatGPT to research legal precedents, which resulted in the submission of non-existent cases in a legal brief. This incident highlighted the risks of relying solely on AI for critical tasks without human verification.</li><li>Cause: The failure was due to a lack of human validation of AI-generated content, leading to the inclusion of fabricated information in legal documents.</li></ul><p><strong>Air Canada Chatbot Incident</strong></p><ul><li>Failure Description<strong>:</strong> Air Canada’s virtual assistant provided incorrect information about bereavement fares, leading a passenger to purchase a ticket under false assumptions, which resulted in a legal dispute and financial penalties for the airline.</li><li>Cause<strong>:</strong> The failure was due to a lack of human oversight in validating the AI-generated advice, causing the chatbot to give misinformation that misled the customer.</li></ul><p>As generative AI becomes integral to our daily operations, especially in compliance automation, robust testing methodologies are essential for ensuring accuracy, fairness, and adaptability. Unlike traditional systems, Gen AI’s non-deterministic behavior requires intent-based testing, bias evaluation, continuous learning validation, and adaptive test suites to maintain performance.</p><p>At Drata, we’re leading the charge in integrating Gen AI into compliance automation, ensuring smarter, more efficient solutions. Tools like Vellum.ai and automated workflows help us keep these systems reliable, but human oversight remains crucial to avoid errors and maintain trust in critical tasks. Our focus on AI testing ensures that as Gen AI evolves, it continues to meet industry standards and drive meaningful, trustworthy automation.</p><p>references:</p><ul><li><a href="https://www.kingsresearch.com/generative-ai-market-478">Generative AI Market Size, Share, Trends, Growth &amp; Forecast | 2031</a></li><li><a href="https://hatchworks.com/blog/software-development/generative-ai-statistics/">Generative AI Statistics: The 2024 Landscape - Emerging Trends, and Developer Insights | HatchWorks</a></li><li><a href="https://www.cio.com/article/190888/5-famous-analytics-and-ai-disasters.html">12 famous AI disasters</a></li><li><a href="https://www.vellum.ai/blog/introducing-vellum-test-suites">Introducing Vellum Test Suites</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=257383e5cbfb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-in-grc/gen-ai-testing-strategies-and-tools-257383e5cbfb">Gen AI testing strategies and tools</a> was originally published in <a href="https://medium.com/ai-in-grc">AI in GRC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ensuring AI Outputs Resonate with Users Across the Product]]></title>
            <link>https://medium.com/ai-in-grc/ensuring-ai-outputs-resonate-with-users-across-the-product-595268087a0b?source=rss----c7ab16599422---4</link>
            <guid isPermaLink="false">https://medium.com/p/595268087a0b</guid>
            <category><![CDATA[enterprise-software]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Pratik Bhat]]></dc:creator>
            <pubDate>Thu, 30 May 2024 16:05:35 GMT</pubDate>
            <atom:updated>2024-05-30T16:05:22.530Z</atom:updated>
            <content:encoded><![CDATA[<p>Gen AI has created many opportunities with natural language but can also introduce new challenges if outputs fall short or feel disjointed with the rest of the application. While validating the accuracy and usefulness of AI outputs, it’s also important to ensure they resonate appropriately with users within the context of their workflow and align with the product’s voice and tone.</p><p>Let’s dive into how we approach this at Drata: creating user personas and implementing them during AI development.</p><h3>Creating Personas</h3><p>We’re developing personas tied to various use cases of our platform, including Compliance and Risk Analysts, Security Engineers, CISOs and more, that we can use when building AI workflows. There’s a unique opportunity to use the conversational nature of LLMs to create a persona for the model that prioritizes the workflow goals while embodying the product’s voice and tone. We’ll plug in the appropriate persona for each AI feature and make adjustments based on the necessary context.</p><p>The stakes for building trust with users is incredibly high in the GRC (governance, risk, and compliance) space — AI suggestions can significantly impact their security and compliance. At Drata we try to apply a thoughtful approach to the voice and tone of the AI output to ensure an overall consistent user experience that will build trust with the user.</p><h3>How are personas utilized in development?</h3><p>I’ll walk through an example of creating an AI security advisor for a security engineer tasked with monitoring and detecting potential insider threats. <em>*Note: This is a fictitious example inspired by </em><a href="https://docs.anthropic.com/en/prompt-library/career-coach"><em>Anthropic’s Career Coach</em></a><em> and is not something Drata currently offers or plans to offer in our product.</em></p><h4>Step 1: Building Product Guidelines and Personas</h4><p>Our product team is developing guidelines for AI user experiences: <a href="https://www.linkedin.com/in/saimohan/">Sai Mohan</a> works on design guidelines, and <a href="https://www.linkedin.com/in/vitusvrynnpelsey/">Vitus Pelsey</a> defines and evolves our product voice. For each project, teams spend a lot of time understanding the user and their background to determine the optimal in-product experience and the voice of the presented content.</p><p>For example, the user profile is incredibly important when explaining or recommending technical concepts in a workflow. For technical users like a security engineer, being straight to the point and clear is the priority. For a compliance analyst who may not be very technical, a friendly voice that provides extra detail and abstracts the technical components appropriately can go a long way.</p><p>Some questions we’ll ask ourselves to help build the persona:</p><ul><li>Who is the user, and what is their background?</li><li>How does the task relate to their background?</li><li>Is the task time-sensitive?</li><li>What type of user interaction is best suited for the task?</li><li>What is the next step in the user’s workflow?</li></ul><p><strong>Example user and workflow context:</strong></p><ul><li>Users are new-hire security engineers tasked with monitoring and detecting potential insider threats within a 2-day SLA</li><li>They are experienced with technical details and require precise, clear instructions.</li><li>They respond well to straightforward, no-nonsense feedback and appreciate detailed technical guidance.</li><li>They typically need to analyze unusual activities and determine the next steps to mitigate any risks.</li><li>The organization had to resolve unauthorized access from former employees last year</li><li>Migrated to a different SIEM tool, so they may need more guidance on how to use it.</li></ul><h4>Step 2: Prompt engineering</h4><p>We’ll then incorporate the appropriate context from Step 1 into the prompts as System and User roles. <em>Note: </em><a href="https://docs.anthropic.com/en/docs/prompt-engineering"><em>Anthropic</em></a><em> and </em><a href="https://platform.openai.com/docs/guides/prompt-engineering"><em>Open AI</em></a><em> have great guides for prompt engineering. These examples are using Claude 3 Sonnet through AWS Bedrock.</em></p><p><strong>Example Prompt V1:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4uP4AqDQTV0Z9cq7Rs4qIA.png" /><figcaption>this prompt was configured in vellum.ai</figcaption></figure><h4>Step 3: Testing and Feedback loops</h4><p>Every feature we build goes through a rigorous testing process with clear feedback loops, both during and after development. Before releasing a feature, we’ll work with our internal GRC team to evaluate the quality of the output and monitor how they felt in the user interaction. Depending on the feature, feedback can be tracked through CSAT (thumbs up / down), user interaction (did they dismiss, modify, or accept the suggestion), and more. Based on that feature’s criteria, we’ll go back to step 2 to iterate until we’re satisfied with the user experience.</p><p><strong>Example testing:</strong></p><p>Prompt V1 output:</p><blockquote>*Speaking in a clear, authoritative tone* Hello, I’m Alex, an AI security advisor from AI Security Advisors Co. To investigate unusual activity on your internal network, here are the recommended steps:</blockquote><blockquote>1. Review log files from firewalls, proxies, VPNs and other network monitoring tools to identify the source IP addresses, ports, protocols and timestamps of the suspicious traffic.</blockquote><blockquote>2. Check if the activity matches any known threat indicators from updated threat intelligence feeds. Look for connections to malicious IPs, domains, URLs or file hashes.</blockquote><blockquote>3. Analyze network flow data to establish baselines of normal traffic patterns. Identify anomalies like large data transfers, beaconing to external IPs, or connections to rare ports/protocols.</blockquote><blockquote>4. If you suspect compromised hosts, collect volatile data like memory dumps, and acquire disk images for forensic analysis using approved tools.</blockquote><blockquote>5. Isolate any potentially compromised systems from the network by blocking their network access or disabling their accounts.</blockquote><blockquote>6. Escalate the incident to your security operations center and open a high-priority investigation ticket. Provide all evidence collected.</blockquote><blockquote>7. Work closely with the incident response team. Be prepared to participate in the containment, eradication and recovery efforts.</blockquote><blockquote>Let me know if you need any clarification or have additional details to share about the suspicious activity observed. Prompt action is key to minimizing damage from threats.</blockquote><p>The advice is already very structured and detailed, which is probably how the model was trained to talk about security, but the advice is too generic. Generic advice is great for an open-ended chatbot if the user wants to learn more about managing security incidents across various topics. This specific user has tasks at hand and may not have the time to have a detailed conversation with the AI advisor. The goal is to help the user solve the problem of what to do next, so let’s try adding more context about that:</p><p>Prompt V2:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ctVizYscf4fq0lCq6MBHZw.png" /><figcaption>this prompt was configured in vellum.ai</figcaption></figure><p>Output:</p><blockquote>*Speaking as Alex, the AI security advisor from AI Security Advisors Co.*</blockquote><blockquote>Greetings. To investigate unusual activity on your internal network, I recommend following these steps:</blockquote><blockquote>1. Review logs and alerts from your security information and event management (SIEM) system. Look for any anomalies, failed login attempts, unauthorized access attempts, or other suspicious events.</blockquote><blockquote>2. Check if the activity originated from an internal IP address. If so, identify the host and user associated with that IP. Review that user’s recent activity for any other red flags.</blockquote><blockquote>3. If the activity seems to be coming from an external source, check firewall and VPN logs to see if there was any unauthorized access to your network.</blockquote><blockquote>4. Use network scanning tools to search for any rogue devices, unauthorized software, or signs of compromise on hosts involved in the suspicious activity.</blockquote><blockquote>5. Isolate any potentially compromised systems from the rest of the network to prevent further spread.</blockquote><blockquote>6. Collect volatile data like memory dumps and live response data from involved hosts for deeper forensic analysis.</blockquote><blockquote>7. Escalate to your manager and security leadership if you confirm a breach or cannot contain the threat yourself within the 2 day SLA.</blockquote><blockquote>Let me know if you need any clarification or have additional details to provide. Thorough investigation is crucial to quickly identify and mitigate potential insider threats.</blockquote><p>Adding context about the organization’s SLA, tool use, and threat history made the advice more actionable to this new security engineer — building more credibility and trust.</p><h3>Challenges with Scale</h3><p>As with any new technology, expertise and ownership is initially centralized before more teams across an organization adopt it — and this has been especially true with Gen AI. Maintaining a unified product voice and tone across various teams is an inevitable challenge.</p><p>Collaborating with marketing, product, and design to create personas that can be implemented by any team for AI development is a great start for consistency. Many practices like user research, experimentation, and iteration from the traditional SDLC can be applied to Gen AI development to apply those personas consistently across any feature by any team.</p><p><em>About the writers: </em><a href="https://www.linkedin.com/in/liorsolomon/"><em>Lior</em></a><em> is the VP of Data, and </em><a href="https://www.linkedin.com/in/pratikbhat/"><em>Pratik</em></a><em> is the product lead for AI initiatives at Drata.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=595268087a0b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-in-grc/ensuring-ai-outputs-resonate-with-users-across-the-product-595268087a0b">Ensuring AI Outputs Resonate with Users Across the Product</a> was originally published in <a href="https://medium.com/ai-in-grc">AI in GRC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transforming GRC: How we’re approaching AI product discovery]]></title>
            <link>https://medium.com/ai-in-grc/transforming-grc-how-were-approaching-ai-product-discovery-f41914ce24d4?source=rss----c7ab16599422---4</link>
            <guid isPermaLink="false">https://medium.com/p/f41914ce24d4</guid>
            <category><![CDATA[product]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Pratik Bhat]]></dc:creator>
            <pubDate>Wed, 10 Apr 2024 16:17:21 GMT</pubDate>
            <atom:updated>2024-04-10T16:17:21.846Z</atom:updated>
            <content:encoded><![CDATA[<p>Almost every software company is exploring how to adopt and utilize AI — whether it’s powering internal operations or enabling experiences to deliver more value to customers. <a href="https://medium.com/u/76d49556c075">Lior Solomon</a> and I kicked off our AI initiatives at Drata and we want to share some of the challenges and learnings from our work building AI-enabled products. This first post focuses on how a startup like Drata is approaching AI product discovery.</p><p>For context, Drata is the leading security and compliance automation platform that continuously monitors and collects evidence of a company’s security controls, while streamlining compliance workflows. Our mission is to build trust across the cloud.</p><p>In the fast-evolving landscape of governance, risk management, and compliance (GRC), organizations are constantly grappling with an avalanche of information, technical complexity, and the pressing need to make swift, informed decisions. Artificial Intelligence (AI) can be a powerful tool in addressing these multifaceted challenges, transforming how compliance teams operate and ensuring they can stay ahead in a competitive environment.</p><p>Here are some common themes we’ve noticed while talking to customers:</p><p><strong>Navigating Information Overload</strong>: In the vast wilderness of compliance information, AI can be a compass, guiding through the unnecessary and highlighting what truly matters. With AI identifying the relevant information, compliance teams can focus their efforts where it counts.</p><p><strong>From Paralysis to Precision</strong>: The dynamic nature of the security and compliance landscape can leave teams in a state of decision paralysis. Here, AI steps in with real-time insights and actionable recommendations that are context-specific and backed by data.</p><p><strong>Demystifying Technical Complexities</strong>: As security and compliance teams continue to work together, this can introduce a layer of technical complexity that some compliance teams find daunting. AI can abstract away those technical elements, allowing them to leverage their expertise effectively without getting bogged down by technical details.</p><p><strong>Streamlining Content Creation</strong>: Effectively communicating security and compliance measures is vital for building trust. AI aids in crafting clear, concise, and reliable content for external communication, ensuring your message resonates with your audience.</p><p>With a growing emphasis on data privacy and trust, many folks in the GRC community are cautious about embracing AI. As we continue to understand customer pain points, here’s how we’re approaching AI product research &amp; discovery in an agile but safe manner.</p><h4><strong>Step 1: Ideation </strong>💡</h4><p>Our ideation phase is collaborative and customer-focused. We work closely with other PMs to dive into customer research to identify AI-enabled use cases that have promise. We want to understand the customer problems and outline the following:</p><ul><li>High-Level User Journey: Mapping the E2E user experience and uncovering any constraints of a proposed solution.</li><li>Data Journey: Mapping the entire data journey — what data is sent to the AI service(s)? What is the variability in the data? Where is the source? What is the expected output of the service using that data?</li></ul><h4><strong>Step 2: Validation </strong>✅</h4><p>Lior and I build a working E2E POC to validate the feasibility of the project and provide feedback on the proposal. We are firm believers in learning from building and iterating, especially in a space that is evolving so rapidly.</p><p>We use <a href="https://www.vellum.ai/">Vellum</a> as our prompt orchestration and AI workflow tool. It has a low-code / no-code UX that is incredibly versatile. You can piece together LLM prompts, code nodes, templating nodes, conditional nodes, and search nodes with a vector DB all within one workflow. We’re able to build these E2E POCs with little to no assistance within a week!</p><p><em>This is personally my favorite step as I’m able to get my hands dirty and bring our ideas to life in a POC, without burdening our team. As a PM it’s incredibly exciting and rewarding to be able to validate our ideas efficiently.</em></p><p>Having a working POC is crucial for the next step.</p><h4><strong>Step 3: Prioritization </strong>📊</h4><p>We will prioritize projects across various factors including customer value &amp; reach, business impact, differentiation, effort, and more. The POC helps us understand whether an AI-enabled solution is the right fit for the problem based on the following:</p><ul><li>Accuracy: how confident are we that an AI service can provide a consistently accurate output?</li><li>Outcome: What is the purpose of the output? Where does it fit in the customer’s workflow?</li><li>Data quantity and quality: Are the data inputs consistent and reliable? What is the volume of that data? Do we need to synthetically create testing data?</li><li>Horizontal Value: Can we learn and apply this work to enable future projects more efficiently?</li><li>Explainability and privacy: Are we able to sufficiently explain what the service is doing? Are we upholding our AI philosophy?</li><li>Latency: Does latency matter in this workflow? What is the acceptable tradeoff in the quality of the output with the latency?</li><li>Cost: What is the expected usage and cost associated with customers using this feature?</li></ul><h4>Step 4: Drinking our own champagne 🥂</h4><p>As we use the POC to gather feedback from customers, we also created an internal council at Drata consisting of our GRC experts, security &amp; compliance team, and leadership members to review each project. We can easily deploy an AI workflow in Vellum through a Streamlit app so they can give us feedback on the user experience as well as any potential risks before we start development.</p><p>Our approach to AI product discovery and development in the GRC space is iterative, data-driven, and customer-centric. By marrying rigorous validation processes with agile development practices, we are very excited to deliver AI-enabled products to our customers!</p><p><em>Click </em><a href="https://drata.com/blog/tprm-ai"><em>here</em></a><em> to learn more about our first AI product release at Drata.</em></p><p><em>About the writers: </em><a href="https://www.linkedin.com/in/liorsolomon/"><em>Lior</em></a><em> is the VP of Data and </em><a href="https://www.linkedin.com/in/pratikbhat/"><em>Pratik</em></a><em> is the product lead for AI initiatives at Drata.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f41914ce24d4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-in-grc/transforming-grc-how-were-approaching-ai-product-discovery-f41914ce24d4">Transforming GRC: How we’re approaching AI product discovery</a> was originally published in <a href="https://medium.com/ai-in-grc">AI in GRC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trust and Privacy by Design: Drata’s AI Philosophy]]></title>
            <link>https://medium.com/ai-in-grc/trust-and-privacy-by-design-dratas-ai-philosophy-02408bb1a320?source=rss----c7ab16599422---4</link>
            <guid isPermaLink="false">https://medium.com/p/02408bb1a320</guid>
            <category><![CDATA[responsible-ai]]></category>
            <category><![CDATA[compliance-automation]]></category>
            <category><![CDATA[trustworthy-ai]]></category>
            <category><![CDATA[ai-in-data-privacy]]></category>
            <category><![CDATA[ai-ethics]]></category>
            <dc:creator><![CDATA[Lior Solomon]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 16:08:42 GMT</pubDate>
            <atom:updated>2025-01-23T22:45:10.793Z</atom:updated>
            <content:encoded><![CDATA[<p>In the domain of compliance automation, safeguarding client data is not just a priority; it is the essence of trust and service integrity. In this space, the implementation of AI transcends ethical usage; it demands an ironclad guarantee that risks are meticulously managed and that customer data remains confidential and secure.</p><p>Moreover, we understand that regulations and guidance are catching up with the available technology, but the temporary wild west scenario does not offer an excuse for people and organizations to misuse it in a way that negatively impacts society.</p><h3>Prioritizing the Ethical Use of Data in AI</h3><p>While AI offers transformative potential for decision-making and efficiency, our unwavering commitment to risk management and data security forms the bedrock of our customer relationships. This focus on security ensures that AI systems are not only advanced and ethical but also resilient against breaches — upholding our promise to protect our customer’s interests above all else.</p><p>To that end, below are our core principles of trust and safety in AI development:</p><h3>Drata’s Core AI Principles For Product Development</h3><p>These core tenets of fairness, safety, reliability, and privacy guide both our organizational values and AI development practices. By embedding such responsible AI principles across our systems and processes, we uphold robust governance ensuring our solutions empower users ethically.</p><h3>Privacy by Design</h3><p>Protecting sensitive user data is the foundation of trust in AI.</p><p>At Drata, here’s how we’re protecting customer data:</p><ul><li>We anonymize datasets to preserve privacy through strategies like data masking.</li><li>We follow strict access control and encryption protocols aligned to global data regulations.</li><li>We clearly communicate our privacy practices and data management protocols to users.</li></ul><p>Our privacy by design principles reinforce Drata’s commitment to earning user trust through responsible data stewardship.</p><p>In addition, we leverage synthetic data generation to simulate a wide range of compliance scenarios. By training models on this realistic generated data, we strengthen reliability by accounting for diverse situations — all while protecting the privacy of actual user data.</p><h3>Fairness and Inclusivity</h3><p>We believe AI systems should be fair, inclusive, and accessible to all.</p><p>To achieve this, we:</p><ul><li>Carefully curate and preprocess datasets to remove biases.</li><li>Continuously monitor our models for unfair outcomes or exclusions and refine them accordingly.</li><li>Design intuitive interfaces allowing users of all backgrounds to leverage AI meaningfully.</li></ul><p>Our tools provide clear explanations around AI reasoning and guidance for non-experts to support understanding and accessibility.</p><p>In addition, we consciously build solutions suited for diverse business environments — from early-stage startups to mature enterprises. By accounting for varying levels of resources, data maturity, and compliance expertise, we advance inclusivity and accessibility by ensuring the benefits of AI are not exclusively based on company size and scope.</p><p>This emphasis on equitable access is central to our mission of making sophisticated AI solutions inclusive for organizations of all sizes and sectors. We are committed to maximizing AI’s democratization potential through both our technological design and educational outreach focused on marginalized communities.</p><h3>Safety and Reliability</h3><p>As AI permeates decision-critical functions, ensuring these systems are safe, secure, and reliable is imperative. We:</p><ul><li>Subject all AI models to rigorous testing, including evaluation on synthetic datasets reflecting diverse scenarios.</li><li>Enable human oversight mechanisms providing users transparency into AI workings.</li><li>Have well-defined model monitoring procedures to evaluate ongoing performance.</li></ul><p>By prioritizing safety and reliability, we provide assurances to users dependent on AI that these systems will function as intended despite real-world complexities.</p><h3>Our AI Perspective and Related Definitions</h3><p>Underpinning Drata’s mission to <em>Build Trust Across the Cloud</em> is a deep understanding of the evolving role of compliance professionals. In this dynamic environment, Artificial Intelligence (AI) is a vital tool, not just for automation, but as a strategic ally.</p><p>By taking on routine compliance tasks, AI streamlines routine tasks for professionals, allowing them to focus more of their expertise and time on strategic, long-term decision-making; focus on building a culture of security and compliance.</p><p>Before we outline the potential impact of AI on compliance automation, let’s highlight why now is a pivotal moment for its adoption and agree on terminology.</p><p>Artificial intelligence (AI), machine learning (ML), large language models (LLM), and diffusion models have been in development and the focus of academic research for many years. Recent advancements, particularly in Amazon Bedrock’s array of models such as AI21 Labs’ Jurassic, Anthropic’s Claude, Cohere’s Command and Embed, Meta’s Llama 2, Stability AI’s Stable Diffusion, and Amazon’s Titan models, showcase the remarkable progress in AI capabilities.</p><p>These developments, combined with improved training data availability, enhanced computing power, and the expansion of generative AI’s scope, have led to an explosive growth in AI applications. This burgeoning landscape emphasizes the need for organizations to develop strategic plans for engaging and utilizing AI within their operations.</p><p>A clear understanding of the various aspects of AI, including machine learning and generative AI, is also essential for comprehending their impact on industries such as compliance automation. Additionally, this understanding will be pivotal as we later discuss the specific security considerations we have implemented for each aspect of AI in our systems.</p><p>Let’s break down these terms to understand the landscape and lay the groundwork for our discussion on security.</p><h4><strong>Artificial intelligence</strong></h4><p><strong>Artificial intelligence (AI)</strong> is a broad term that encompasses all fields of computer science that enable machines to accomplish tasks that would normally require human intelligence. Machine learning and generative AI are two subcategories of AI.</p><h4><strong>Machine learning</strong></h4><p><strong>Machine learning (ML)</strong> is a subset of AI that focuses on creating algorithms that can learn from data. Machine learning algorithms are trained on a set of data, and then they can use that data to make predictions or decisions about new data.</p><h4><strong>Large language model</strong></h4><p><strong>A large language model (LLM)</strong> is a type of AI program that uses machine learning to perform natural language processing (NLP) tasks. LLMs are trained on large data sets to understand, summarize, generate, and predict new content.</p><h4><strong>Generative AI</strong></h4><p><strong>Generative AI</strong> is a type of machine learning that focuses on creating new data. Often, this relies on the use of large language models to perform the tasks needed to create the new data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NPgYspK3B3aMraoE" /></figure><h3>Responsible AI in Action</h3><p>At Drata, responsible AI extends beyond lofty aspirations into tangible, rigorous governance in practice.</p><p>In this section, we’ll lay out those governance policies and procedures in action through concrete examples across our AI systems and development lifecycle. From tenant-specific machine learning models to strict generative AI content controls to robust data anonymization mechanisms.</p><p>Our aim is not only to build state-of-the-art AI solutions, but to do so in a way that proactively earns customer trust through accountability. By detailing these responsible AI implementations in action, we offer both ethical assurances today and a blueprint for the future stewards of this transformative technology.</p><h3>Dedicated Machine Learning Models for Data-Specific Insights</h3><p>In our steadfast commitment to security and privacy, we at Drata prioritize the sanctity of your data.</p><p>Recognizing the unique nature of each customer’s environment, our machine learning models can be designed to be tenant-specific. This means that when we train our AI systems, we use only your data, ensuring that the insights and intelligence gleaned are exclusive to your organization.</p><p>This approach not only strengthens data privacy but also fortifies the security of your information. By segregating machine learning models and datasets, we eliminate the risk of cross-contamination between different customers’ data. Each customer’s model is a self-contained unit, benefitting solely from their data, thereby maintaining the integrity and confidentiality that you expect and trust.</p><p>While we focus on protecting and utilizing your data responsibly, we also harness the power of AI to enhance the compliance automation services we provide. Our tenant-specific models are more than just a technical feature; they are a promise of personalized security and privacy in the cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*4YrCDoIWiNujaW4f3a8g5Q.png" /><figcaption><em>Flowchart depicting customer-specific (Tenant A and Tenant B) data processing: Each customer’s data is used to train their individual models, leading to distinct and private outputs.</em></figcaption></figure><h3>Enhanced Machine Learning Through Collaborative Data Enrichment</h3><p>In our quest to democratize access to advanced machine learning capabilities, we’ve adopted an innovative shared model approach. This strategy is particularly beneficial for clients who may not have the extensive datasets typically required to train effective AI models independently.</p><p>Here’s how it works:</p><p>We consolidate anonymized datasets from various clients into a central repository. This data pooling strategy is crucial for those with less data, as it allows them to benefit from the ‘collective intelligence’ of a broader dataset. Rigorous anonymization processes are employed to ensure the utmost privacy and compliance with relevant data protection regulations, effectively removing any personal or identifying details from the data.</p><p>The anonymized data then serves as the foundation for a powerful, pre-trained model that all clients can utilize for their unique inference needs. This shared AI model is capable of delivering sophisticated insights and predictions, contributing significantly to each client’s product outputs.</p><p>Such an approach not only enhances model accuracy but also fosters an environment where all clients, regardless of their size or data maturity, can leverage AI to its full potential. And rest assured, the integrity of each client’s sensitive information remains intact, protected by state-of-the-art anonymization techniques.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I-qz6zz6KZFf260o" /></figure><p><em>Diagram showing a shared model framework: Customer A, B, and C’s data is anonymized and pooled in a data warehouse, which then informs a pre-trained model. This model is utilized by all customers for inference, resulting in a unified product output that benefits from collective insights while maintaining individual user privacy.</em></p><p>This approach allows us to eliminate the known cold start for new customers that are looking to utilize the shared knowledge of models that have been used and trained with other customers.</p><p>For example, imagine uploading a policy and getting a recommendation to which controls it should be mapped automatically. An early-stage startup doesn’t necessarily have a compliance team, so they greatly benefit from recommendations generated by our recommendations model trained on past manual mapping done by other customers.</p><h3>Responsible Governance of Generative AI</h3><p>As generative AI powers innovations from content creation to personalization, establishing proper governance is crucial. At Drata, we implement rigorous controls around our generative AI systems:</p><h3>Strict Data Separation</h3><p>In our approach, we leverage a retrieval-augmented generation (RAG) stack, ensuring that each vector database is exclusively allocated for a specific customer. When utilizing our language learning models (LLM) to answer queries based on these vector databases, we employ a segregated version uniquely dedicated to each customer.</p><p>This architecture not only upholds strict data privacy by keeping customer data distinct and secure but also guarantees the generation of high-quality AI outputs, tailored to individual customer needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pSb9ovGSXelnJtwQ" /></figure><p><em>Process flow for a scalable, customer-specific AI model: Documents and images are ingested into a knowledge base, transformed into vector embeddings, and stored in tenant-specific databases. A vector similarity search performs queries across these databases, returning results for a range of product use-cases such as control recommendations, policy guidelines, and security assessments.</em></p><h3>Content Moderation Guardrails</h3><p>We configure multiple guardrails to filter out harmful generative content, including:</p><ul><li>Denied topic lists flagging undesirable categories.</li><li>Thresholds blocking toxic language, insults, and hate speech.</li><li>Tools scanning for violence, sexual material, and more.</li></ul><h3>Regular Audits</h3><p>Both human reviewers and automated tools continuously audit generative content for policy violations we may have missed. This allows us to quickly refine content filters to align with our ethical standards.</p><h3>Geographic Data Restrictions</h3><p>For customers requiring data localization, we provision region-specific generative AI services. This includes configuring certain models to ensure data remains stored within GDPR-compliant regions.</p><p>Through these best practices for data separation, content control, auditing, and geographic restrictions, we safeguard responsible governance over generative AI capabilities.</p><p>Our commitment to ethical AI applies robust security measures not just to raw data, but also the synthetic content produced using that data. Maintaining trust and integrity across the generative pipeline is essential as AI becomes further embedded in critical workflows.</p><h3>Technology Builds Best When Built Together</h3><p>At Drata, responsible and ethical AI is not just a lofty idea but a practical commitment woven through all aspects of our platforms. From tenant-specific machine learning to generative content guardrails to stringent data privacy schemes, we implement comprehensive governance reflecting industry best practices.</p><p>These rigorous controls deliver tangible dividends for our clients. Our focus on fairness and inclusivity promotes accessibility of sophisticated AI regardless of resources. Our obsession with reliable and secure models provides the trust needed to embed AI in critical workflows. And our privacy-preserving data strategies reinforce customer confidence and peace of mind.</p><p>Beyond individual benefits, our responsible AI approach aims to raise the bar for the entire ecosystem. As an emerging leader in compliance automation, the precedents we set can positively influence AI governance across sectors. And our commitment to transparency provides a blueprint for the responsible innovation imperative of our age.</p><p>At its essence, Drata’s pursuit of ethical AI stems from a simple belief: that technology builds best when built together. We consider it both a privilege and duty to steward AI’s development in a way that distributes gains fairly and earns trust broadly. Because only by championing responsible progress for all can we unlock the full potential of what this technology promises. We’re excited to realize that promise in partnership with our customers and community.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02408bb1a320" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-in-grc/trust-and-privacy-by-design-dratas-ai-philosophy-02408bb1a320">Trust and Privacy by Design: Drata’s AI Philosophy</a> was originally published in <a href="https://medium.com/ai-in-grc">AI in GRC</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>