Research & Blog
TECHNICAL

From Guacamole Cats to AI Risk: How Our Grad School Research Powers AetherLab

How abstract topological data analysis research from grad school became the foundation for detecting AI hallucinations at AetherLab.

Alex Georges, PhD3 min read
Share

During my PhD at UC San Diego, I spent countless hours staring at what my advisor called "guacamole cats", topological data visualizations that looked like abstract feline shapes made of avocado. Little did I know that this seemingly esoteric research into Topological Data Analysis (TDA) would become the foundation for how we detect AI hallucinations at AetherLab.

What is Topological Data Analysis? TDA is the mathematical study of shape and structure in data. While traditional statistics focuses on averages and distributions, TDA reveals the hidden geometric patterns that define how data points connect and relate.

The Guacamole Cat Breakthrough

The nickname came from a particularly memorable visualization where neural network activations formed what looked like a cat made of guacamole dip. But beyond the humor, we discovered something profound: AI models that hallucinate have fundamentally different topological signatures than those producing accurate outputs.

Our key research findings:

  1. Persistent Homology: hallucinations create "holes" in the data topology
  2. Mapper Algorithms: can visualize the "shape" of AI reasoning
  3. Betti Numbers: quantify the complexity of AI decision boundaries

The Academic Foundation

Our work, published in "Topological Signatures of Deep Neural Networks", demonstrated that you could predict model failure modes by analyzing the topological structure of their hidden representations.

"The shape of data tells us more about AI behavior than any individual metric. When models are about to fail, their internal representations literally change shape."

  • From our 2019 paper

From Theory to Practice: Building AetherLab

The transition from academic research to practical application wasn't straightforward. Here's how we transformed abstract mathematical concepts into concrete AI risk tools:

  1. Real-Time Topology Computation. We developed algorithms that compute topological features in milliseconds, not hours.
  2. Hallucination Signatures. Identified specific topological patterns that indicate when AI is "making things up."
  3. Predictive Quality Metrics. Created scoring systems that predict AI failure before it happens.

The Surprising Applications

What started as pure mathematics research has found applications we never imagined:

  • Financial AI Auditing: banks use our topology-based tools to ensure AI trading algorithms aren't hallucinating market patterns
  • Medical Diagnosis Verification: healthcare providers verify AI diagnoses by checking topological consistency with known medical patterns
  • Content Authenticity: media companies detect AI-generated fake news by analyzing topological signatures of article structures
  • Code Generation Safety: development teams ensure AI-generated code is safe by checking topological alignment with secure patterns

The Technical Deep Dive

For the technically inclined, here's how TDA actually works in our platform:

# Simplified TDA hallucination detection
def detect_hallucination(model_output):
    # Extract activation patterns
    activations = get_hidden_states(model_output)
    
    # Compute persistence diagram
    diagram = compute_persistence(activations)
    
    # Calculate topological features
    betti_numbers = calculate_betti(diagram)
    wasserstein_dist = wasserstein_distance(
        diagram, 
        reference_diagram
    )
    
    # Threshold detection
    if wasserstein_dist > HALLUCINATION_THRESHOLD:
        return True, confidence_score
    
    return False, confidence_score

Why This Matters

The intersection of pure mathematics and practical AI safety isn't just academically interesting. It's essential for the future of trustworthy AI. Traditional approaches to AI quality focus on outputs. TDA lets us understand the process by which AI arrives at those outputs.

The competitive advantage. While others are still using basic accuracy metrics, we're detecting problems at the geometric level, catching issues that traditional methods miss entirely. This isn't incremental improvement; it's a fundamentally different approach to AI quality.

From Guacamole Cats to Enterprise Solutions

The journey from those late nights in the UCSD lab, staring at bizarre topological visualizations, to building a production system that protects millions of AI interactions shows how fundamental research enables practical innovation.

The AetherLab difference. Our platform doesn't just check if AI outputs are "correct". It understands the mathematical structure of how AI thinks. This deeper insight enables:

  • Prediction of failures before they happen
  • Understanding why AI makes specific mistakes
  • Guidance on how to fix systematic issues

The Future of Mathematical AI Safety

As AI systems become more complex, the need for sophisticated mathematical tools to understand them only grows. We're now exploring:

  • Quantum Topology: preparing for quantum-classical hybrid AI systems
  • Dynamic TDA: real-time topology tracking as models learn
  • Cross-Modal Topology: understanding how AI connects different data types
  • Adversarial Topology: detecting and preventing topological attacks

The lesson from our journey? Never underestimate the power of pure research. Those "guacamole cats" that made my advisor laugh are now protecting millions of AI interactions daily. Sometimes the most abstract ideas have the most concrete impact.

Interested in the mathematical foundations of AI safety? Explore how AetherLab uses advanced mathematics to ensure AI systems you can trust.

Sources

  1. https://arxiv.org/pdf/1910.08103
topological data analysishallucination detectionresearchmathematics
Share

More from Deep Tech

TECHNICALJul 8, 2026 · 7 min read

Read the NIST Guardrail Proof as a Liability Document

A formally correct extension of Gödel to AI guardrails tells attackers and defenders nothing they didn't already know. Its real payload is what it does to approval paper trails, and the math worth studying is in how guardrail failure actually scales.

Alex Georges, PhDRead →

See what an adversarial assessment finds in your AI system.

AdversarialScan red-teams your text and image surfaces against your break-goals, and the Evidence Pack turns the findings into approval-ready governance evidence.

Ask about the Evidence Pack

Leave your email and we'll walk you through what an Evidence Pack contains for your use case: severity-scored findings, business-impact mapping, and the approval record.