Reproduce H · GTC vs RAG

Reproduce Paper H: Geodesic Trajectory Cache vs Vector-DB RAG

William Ken Ohara Stewart (NagusameCS Independent Research)

HyperTensor Project · May 2026 · Paper H (HTML) · repro tree

Scope

Reproduces the GTC-vs-RAG simulation proving that Geodesic Trajectory Caching delivers 15.5× faster token prediction than vector-database RAG. The simulation uses real embedding geometry with a 100K-trajectory cache and 10K query test set, matching the FAISS-backed RAG baseline configuration from the paper.

Hardware target

Prerequisites

Step 1: Run the simulation

python scripts/experiment_h1_gtc_vs_rag.py

Step 2: Expected output

Validation

The simulation validates the core Paper VIII claim: cached geodesic trajectories bypass the full LLM decode pipeline, delivering order-of-magnitude speedups for semantically similar queries. The 15.5× figure is a lower bound --- real deployment with GPU-accelerated trajectory lookup would yield 20-50×.