Topic

LLM Safety

All digests tagged LLM Safety

Guardrails First: Engineering Member-Facing Health AI — Rashi Agrawal, Hinge Health thumbnail

· 21:49

Guardrails First: Engineering Member-Facing Health AI — Rashi Agrawal, Hinge Health

The talk outlines critical architectural guardrails necessary for deploying member-facing healthcare AI. The core argument is that most safety failures are not model flaws but architectural decisions made before any tokens are generated. Safety must be built into three non-negotiable foundations: protecting PHI at the pipeline boundary, ensuring deterministic code layers handle high-stakes decisions (like emergency routing), and implementing continuous monitoring using multiple signal sources.

Key takeaways

  1. Architectural Failures vs. Model Failures

    Most AI safety failures in healthcare are architectural decisions, not model failures. The system must be designed to prevent failure at the structural level before considering prompt engineering.

  2. Three Non-Negotiable Foundations 3:55

    1) Constraint is the architecture (not just policy). 2) Deterministic rules must belong above the model layer, as anything that can never be wrong cannot be left to probability. 3) Safety must be a continuous evaluation layer, not a one-time gate.

  3. PHI Protection at Ingestion 8:47

    Instead of treating PHI redaction as a runtime problem (on the dashboard), the architecture must strip PHI at the pipeline boundary during ingestion, ensuring it is never stored in the data lake.

  4. Deterministic Code Layer for High Stakes 13:35

    Irreversible decisions (e.g., emergency escalation to 911/988, intent routing) must be handled by a deterministic code layer that runs *before* the LLM processes the turn. The model should not get a vote on high-stakes calls.

  5. Decision Framework: Worst Case Wins

    When stakeholders disagree on a feature launch, severity must be set by the worst plausible outcome (the maximum potential harm), not the average case or current capacity. When unsure, default to the safer mistake.

Watch on YouTube Full article

Designing Agents (The Floor Is the Frontier) — Ben Hylak, Raindrop thumbnail

· 19:46

Designing Agents (The Floor Is the Frontier) — Ben Hylak, Raindrop

The talk argues that traditional evaluation methods designed for simple chatbots are inadequate for modern AI agents. The focus must shift from merely finding issues to 'raising the floor'—mitigating catastrophic worst-case failures that break user trust (e.g., recommending a competitor or deleting data). Practically, this requires treating agent evaluations as robust code tests rather than relying on prompt playgrounds, and focusing analysis on issue start dates and affected user percentages.

Key takeaways

  1. Focus on Raising the Floor (Safety) 17:33

    The most critical concern for agents is not their maximum capability (the ceiling), but their worst-case behavior (the floor). The floor represents failures that break user trust, such as accidental data deletion or sending inappropriate communications.

  2. Evals Must Be Code, Not Prompts 12:00

    Evaluation suites should be implemented as code (like unit or end-to-end tests) rather than relying on managed prompt playgrounds. This approach is necessary because the underlying structure of agents and their tools has fundamentally changed.

  3. Prioritize Issue Context 14:00

    When tracking issues, knowing only that an issue exists is insufficient. It is critical to track two metrics: when the issue started (to identify recent changes) and what percentage of users are affected.

  4. Tactical Analysis Tips 17:05

    1. **Clusters are not issues:** Clustering traces is useful for one-off analysis but does not scale well or reliably track changes over time. 2. **Code Mode Scaling:** Apply code mode concepts to traces by writing classifiers and running them in a sandbox at production volume. 3. **Anomaly Investigation:** Agents are poor at detecting anomalies, so instead, surface deterministic signals (like keyword spikes) for the agent to investigate.

Watch on YouTube Full article