Science & Analytics

The Scientist

The Signal

Google published controlled experiments proving that reasoning-enabled LLMs hallucinate

In the same cycle, Google launched File Search Tool, a managed RAG system baked into the Gemini API that could commoditize the retrieval pipeline you're maintaining. If you deploy reasoning models or run a custom RAG stack, both your evaluation methodology and your build-vs-buy calculus changed today.

In Play

  1. Google's Dual Play: CoT Hallucination Discovery + Managed RAG

    Google showed reasoning LLMs improve single-hop factual recall but hallucinated intermediate CoT steps propagate to corrupt final answers — a qualitatively new failure mode. Simultaneously, Google shipped File Search Tool as managed RAG in the Gemini API, abstracting embeddings, indexing, and storage. Custom RAG's justification is now domain-specific quality you can demonstrate.

    Ask Clarity
  2. Production AI Security: Breach Data Quantified

    McKinsey's RAG platform Lilli was breached via unauthenticated SQL injection in 2 hours — exposing 46.5M messages, 728K files, and their entire knowledge base. CodeWall's autonomous agent chained 4 low-severity bugs into admin access. Cyber insurers are now pricing policies based on AI deployment posture. Your RAG system's biggest risk isn't prompt injection — it's the boring infrastructure underneath.

    Ask Clarity
  3. Self-Hosted Open-Weight Economics + SaaS Repricing

    Open-weight self-hosted models reportedly deliver 8x cost savings over API inference — driven by vanishing VC subsidies, EU AI Act data sovereignty mandates, and improving open models. Simultaneously, $1T+ in SaaS market cap was erased in one week: ServiceNow dropped 11% despite beating earnings, Microsoft shed $360B. The market is pricing in agent-native architectures replacing per-seat SaaS.

    Ask Clarity
  4. Multi-Agent Architecture Convergence: MoE + Parallel Execution

    NVIDIA shipped Nemotron 3 Super — a 120B open hybrid MoE model with only 12B active parameters, targeting multi-agent workloads. Claude Code launched parallel multi-agent code review with cross-verification. Replit Agent 4 runs parallel agents. The entire industry is converging on sparse MoE + multi-agent parallel execution as the default architecture for agentic systems.

    Ask Clarity
  5. Forecasting Methodology: Wright's Law as a Model Specification Lesson

    Wright's Law — a 23.7% cost reduction per cumulative production doubling — has held for 48 years of solar PV data with remarkable stability. The IEA predicted 2.6%/yr solar cost decline; actual was ~17%/yr — a 7x error sustained over a decade. The root cause was fitting linear trends to a power-law process. If your forecasting models extrapolate linearly where learning curves apply, you're replicating this institutional failure.

    Ask Clarity

Deep Dives

Google's Reasoning Hallucination Mechanism Changes How You Monitor CoT Pipelines

What Google Found — And Why It's Different From Thursday's CoT News

On Thursday, we reported that 97%+ of chain-of-thought reasoning steps are decorative noise — they don't influence the final answer. Today's Google finding is the dangerous complement: when CoT steps do influence answers, hallucinated intermediate facts propagate forward and corrupt the final output.

In controlled experiments, Google showed that reasoning-enabled LLMs act as a computational buffer, generating related facts that help retrieve correct answers for single-hop factual queries. That's the upside. The downside: when the model fabricates an intermediate fact during reasoning, that fabrication becomes a premise for subsequent steps. The hallucinated intermediate looks like valid reasoning, making it harder to catch during human review and more likely to survive quality gates.

This is qualitatively different from direct hallucination. In standard generation, you can fact-check the output. In chain-of-thought, the hallucinated premise is invisible unless you verify every intermediate step.

Methodological caveat: the newsletter describes these as "controlled experiments" but discloses no sample sizes, confidence intervals, or specific models tested. Treat the mechanism as credible but the magnitude as unquantified.


Google's Managed RAG: File Search Tool in Gemini

In the same cycle, Google DeepMind shipped File Search Tool — managed RAG integrated directly into the Gemini API. This isn't a startup's RAG-as-a-service; it's a hyperscaler bundling retrieval infrastructure into its core LLM API, abstracting away embeddings, indexing, and storage. Multimodal retrieval is the stated next phase.

What's conspicuously absent:

  • No retrieval quality benchmarks — no recall@k, MRR, or NDCG on any dataset
  • No latency numbers — critical for production real-time queries
  • No chunking strategy details — fixed-size, semantic, or document-aware?
  • No embedding model specification — Gecko? Proprietary Gemini embedding?
  • No pricing model — cost-per-query and storage economics unknown

The pattern is clear: hyperscalers are commoditizing retrieval. Google bundling RAG into Gemini follows the same playbook as AWS bundling search into OpenSearch. Your custom pipeline's value proposition is domain-specific quality — if you can't demonstrate measurably better retrieval on your corpus than a managed alternative, your ops cost becomes unjustifiable.


The Combined Implication for Your Stack

These two developments create a fork: you can move to managed RAG (lower ops, unknown quality, vendor lock-in) or maintain custom pipelines (full control, higher ops, measurable quality). But regardless of which path you take, you need to add intermediate CoT verification to any pipeline using reasoning-enabled models. Your final-answer-only evaluation is blind to the error source Google just documented.

DimensionCustom RAGManaged RAG (File Search Tool)
Retrieval QualityTunable: domain embeddings, custom chunking, cross-encoder re-rankingPresumably general-purpose — no benchmarks
Ops BurdenHigh: vector DB, embedding updates, index rebuildsNear-zero: fully managed
Vendor Lock-inLow (portable embeddings)High (Gemini API dependency)
CoT VerificationYou build itYou still build it

What to do

  1. Add intermediate chain-of-thought factual verification to any production pipeline using reasoning-enabled LLMs — extract claims from each reasoning hop and ground them against your knowledge base

  2. Carve out 50-100 representative production queries to benchmark File Search Tool against your current RAG stack — measure recall@10, MRR, and latency p95 when API access is available

  3. Map vendor lock-in exposure in your current retrieval stack and ensure embedding models are exportable before deeper Gemini integration

The McKinsey Breach + CodeWall Demo: Production AI Security Isn't an LLM Problem — It's an Infrastructure Problem

McKinsey's RAG Platform Fell to a Textbook Web Vuln

CodeWall's autonomous AI agent found an unauthenticated SQL injection vulnerability in McKinsey's internal RAG platform Lilli — not a sophisticated prompt injection or adversarial ML attack, but a textbook web security flaw. Within two hours, the agent had full read/write access to the production database. The exposed data:

  • 46.5 million chat messages — likely containing sensitive client strategy discussions
  • 728,000 sensitive files
  • McKinsey's entire proprietary RAG knowledge base — the crown jewels of their consulting IP

Details come from the attacker, so some skepticism on exact scope is warranted, though the specificity suggests genuine access.

The lesson isn't about LLM security — it's that AI platforms inherit all the conventional web vulnerabilities of their infrastructure, and internal tools get insufficient security review.

CodeWall's Vulnerability Chaining: A Planning Benchmark

The same CodeWall agent separately demonstrated chaining four individually low-severity bugs on the Jack & Jill hiring platform to achieve admin access — then probed the target's AI defenses. This is architecturally significant: vulnerability chaining is a planning and reasoning problem where the agent enumerates attack surface, evaluates exploitability dependencies, constructs execution sequences, and adapts when steps fail.

For data scientists building risk scoring models, this is a concrete failure case: if your vulnerability prioritization system treats CVSS scores as independent features, you'll systematically miss compound exploit chains where four 'low' bugs combine to 'critical.' Graph-based representations where vulnerabilities are nodes and edges represent chainability would capture this.


The Infrastructure Attack Surface Is Expanding

Beyond these targeted demonstrations, CISA added n8n to its Known Exploited Vulnerabilities catalog — confirming active exploitation of two critical RCE and credential-exposure flaws, with 24,700 instances still exposed. If your team uses n8n for pipeline orchestration (triggering model retraining, moving data between services), the credentials stored in those workflows — database passwords, S3 keys, model registry tokens — make it a high-value lateral movement target.

Meanwhile, cyber insurers are now pricing policies based on AI deployment posture — organizations using AI defensively get lower premiums, while those whose AI introduces new attack surface pay more. Multiple security sources confirm this trend, though no premium differentials or actuarial methodology has been disclosed.


Cross-Source Pattern: The Real Threat Model

Five independent sources this cycle point to the same conclusion: AI system security failures are infrastructure failures, not AI failures. McKinsey fell to SQL injection. n8n fell to unpatched RCE. Perplexity's Comet agent was phished in under 4 minutes. OpenClaw's cottage industry in China deploys agents via untrusted intermediaries with modified configs. OpenAI is reframing prompt injection as social engineering and recommending blast-radius containment over detection.

Your threat model likely covers prompt injection and hallucinated actions. It probably doesn't cover: unauthenticated endpoints on your RAG API layer, compromised deployment chains where third parties modify agent configs, or workflow orchestrators with hardcoded credentials that nobody threat-modeled.

What to do

  1. Run a security audit on your RAG/LLM platform's data layer this sprint — specifically test for SQL injection, unauthenticated endpoints, and excessive database permissions

  2. If using n8n for any pipeline orchestration, patch immediately and rotate all stored credentials — CISA confirmed active exploitation in the wild

  3. Implement blast-radius containment for agent systems: action allowlists, least-privilege tool permissions, confirmation gates for destructive operations

  4. Document your ML model serving security posture for your risk/insurance team — model registries, access controls, data lineage

Self-Hosted Inference Economics: The 8x Claim, SaaS Repricing, and What Actually Changes Your Cost Model

The Cost Gap Is Widening — But the 8x Number Needs Your Workload

Enterprise reports claim self-hosted open-weight models deliver 8x cost savings over API-based inference. Three forces are accelerating this shift: improving open models (Llama 3, Mistral, Qwen closing the quality gap), vanishing VC subsidies (API providers raising prices as free tiers expire), and EU AI Act data sovereignty requirements that may make self-hosting mandatory for certain workloads regardless of cost.

The 8x figure likely holds for high-volume, lower-complexity inference — classification, extraction, summarization — where a fine-tuned 7-13B open model replaces GPT-4-class API calls. For frontier reasoning tasks, the gap narrows or inverts when you factor in GPU procurement, ops overhead, and model update cadence. Run your own numbers — the headline is unreliable without knowing the workload profile.

The question isn't whether to evaluate self-hosted open-weight models — it's whether you can afford not to, given converging cost pressure, regulatory forcing, and disappearing API subsidies.

The SaaS Repricing Signal

Over $1 trillion in software market cap was erased in a single week. ServiceNow dropped 11% despite beating earnings. Microsoft shed $360 billion in a session. The market is pricing in a structural thesis: per-seat pricing, human-centric UIs, and proprietary business logic are being commoditized by agents.

For ML practitioners, this isn't directly a methodology story — it's a market regime change affecting the platforms you build on. Specific implications:

  • Per-seat ML platforms (Databricks notebooks, Snowflake credits, analytics tools priced per data scientist) face pricing model disruption. Expect aggressive monetization pivots and M&A turbulence.
  • Voice AI vendors are pivoting: ElevenLabs, Deepgram, and Bland AI are abandoning self-serve developer APIs for high-touch enterprise deployments with forward-deployed engineers. If your speech pipeline depends on these APIs, expect pricing and support model changes within 12-18 months.
  • The 'data moat' thesis is resurgent: if code moats are collapsing, surviving differentiation is proprietary data, domain-specific eval harnesses, and feedback loops. Your team's ability to rigorously evaluate agent-generated outputs is the moat.

What's Conspicuously Absent: Agent Reliability Metrics

The SaaS repricing narrative assumes agents can replace human SaaS users. What's missing from every source making this claim: any quantitative assessment of agent reliability in production. Demo-grade agent performance and five-nines uptime are separated by an enormous engineering gap. The claim that SaaS applications are "simple CRUD wrappers" that agents can automate dramatically oversimplifies complex state management, compliance, and integration graphs.

The market signal is real (verifiable stock price data). The thesis behind it remains speculative until someone publishes agent task completion rates with confidence intervals across enterprise workflow complexity tiers.

What to do

  1. Run a TCO comparison this quarter: current API inference spend vs. self-hosted open-weight alternatives (Llama 3, Mistral, Qwen) on your actual production workloads — include GPU amortization, ops overhead, and latency constraints

  2. Audit per-seat pricing exposure in your ML tooling stack and build contingency plans for vendor migration or self-hosted alternatives

  3. If using Deepgram, ElevenLabs, or Bland AI APIs, benchmark Whisper-large-v3 and NVIDIA Canary-1B on your audio domains now

The bottom line

Google proved that reasoning-enabled LLMs hallucinate intermediate chain-of-thought steps that propagate into wrong final answers — a failure mode your output-only monitoring can't detect — while McKinsey's RAG platform was breached in 2 hours through a textbook SQL injection that exposed 46.5 million messages. The pattern across 32 sources today: the biggest risks in production AI aren't in your models, they're in the infrastructure layer nobody threat-modeled and the evaluation layer nobody instrumented.