Episode Summary
Executive Summary: Practical AI hosts Daniel Weitnack and Chris Benson speak with AI safety founder Ali Khatri about protecting models from harmful or contextually disallowed behavior. Khatri argues that prompt-and-response guardrails see only a model’s boundary and can be costly or slow, while runtime analysis of a model’s internal states could detect risky behavior more efficiently and enable customized, layered safety without modifying the primary model.
Main Topics: AI safety versus security for AI: Khatri distinguishes using AI to solve conventional security problems from securing AI systems themselves. His focus is preventing models from producing harmful content or violating the policies of their deployment context. Context-specific safety requirements: Safety combines broadly disallowed content, such as child-safety violations, with risks specific to an application or organization—for example, financial misconduct in banking or brand-related restrictions in customer service. Limits of prompt-and-response guardrails: Common filters inspect prompts before generation and outputs after it. Khatri says they may miss jailbreaks and other behaviors that arise inside a model, and can add expense, latency, and compute—especially for audio and video systems. Interpretability and runtime model-state monitoring: Mechanistic interpretability seeks to understand model internals. Khatri describes identifying internal subspaces activated during different kinds of generation, then using that information to detect or address risks while a model is running. Low-overhead safety without replacing the primary model: Khatri says his company adds a safety module to off-the-shelf models without requiring customers to modify or retrain them. He presents this as a way to reduce the compute and latency burden of separate guard models. Defense in depth and future adoption: The guest advocates combining model-level monitoring with external filters and system-level controls. He sees model-native runtime safety as important for broader deployment in sensitive and customized use cases, including healthcare.
Key Arguments: Checking inputs and outputs alone provides limited visibility: a prompt may appear innocuous yet trigger a harmful response, and output-only checks act after generation has already occurred. Risk differs by deployment. Organizations need both protections against broadly unwanted content and controls tailored to their own business, regulatory, and product policies. A separate guard model can be expensive and slow, particularly when analyzing generated audio or video; Khatri argues these costs can discourage deployment of adequate protections. Monitoring a model’s internal runtime states could expose signals associated with risky generation that an external filter cannot see, allowing earlier detection and additional options for risk scoring or intervention. Khatri says the approach is designed to work with existing open-weight models without changing the primary model, reducing adoption friction while allowing customer-specific safety policies. Internal monitoring should complement rather than replace conventional controls. The speakers and guest endorse defense in depth, with model-level, prompt/output, and system-level protections working together.
Data Points: Career experience in machine learning for safety and anti-abuse: About 8 years - Khatri’s estimate of his experience in the field. Time at Meta: About 3 years - Khatri says he built infrastructure for safety models used across Facebook. Population served by Meta infrastructure: About half of the world's population - Khatri’s description of the scale of the infrastructure he worked on. Payments protected against fraud at Roblox: About $3 billion - Khatri says he built AI-powered systems to protect this amount in payments. Illustrative primary model size: 8 billion parameters - Khatri uses an off-the-shelf Llama model as an example in comparing safety-compute requirements. Illustrative standalone guard model size: 8 billion parameters - He cites Llama Guard 3 as an example of a guard model used to protect the primary model. Illustrative generated response length: 10 tokens - Assumption in Khatri’s estimate of the inference cost of applying a separate guard model. Estimated guard-model inference for response checking: About 80 billion parameter-inferences - Khatri’s example: an 8-billion-parameter guard model processing a 10-token response. Estimated guard-model inference for prompt and response checking: About 160 billion parameter-inferences - Khatri’s estimate when applying the guard-model checks to both prompt and response. Claimed inference scale of the proposed safety method: About 20 million parameters - Khatri says the method reduces the illustrative safety workload to this scale while monitoring the primary model’s internal states. Claimed reduction in safety cost: About 1,000 times cheaper - Khatri’s characterization of the approach relative to existing safety analysis; presented as the company’s claim.
Pivotal Quotes: "the model needs. Of most companies are similar-ish, but the safety needs are dramatically different." — Ali Khatri: Explaining why safety controls must be tailored to individual organizations rather than supplied as a universal, one-size-fits-all stack. "we want to build model-native safety." — Ali Khatri: Summarizing his vision for extending runtime safety beyond the prompt-and-response data layer and into the model layer. "one product does not miraculously solve everything." — Ali Khatri: Making the case for defense in depth: internal model monitoring should complement, not displace, other safety and security controls.
Implications: For organizations deploying generative AI, safety design should start with both universal and use-case-specific risks, then layer controls rather than rely on a single filter. If internal-state monitoring proves effective at the claimed cost and performance, it could make runtime protection more practical for multimodal and resource-constrained deployments.