Research question
Does preserving repository-owned speaker–talk relationships improve retrieval enough to justify a dedicated graph backend? The practical comparison is not “graph versus no graph”: it is whether runtime traversal adds value beyond a deterministic lexical index enriched with the same source-derived relationships.
Canonical facts remain versioned repository JSON with stable IDs and explicit source provenance. Graph databases, hosted vector stores, and production index services are optional deployment choices, not sources of truth.
Dataset and evidence boundary
The portable fixture contains 1,612 sanitized documents and 2,560 relationships generated from pinned AI Engineer World’s Fair 2025 and 2026 program snapshots. Each source-derived document retains its upstream path, checksum, JSON pointer, and stable source entity ID.
The frozen questions include exact speaker/talk lookup, topical discovery, event/year filters, multi-hop relations, three caption excerpts, and unanswerable prompts. This distribution overweights graph-related talks and does not represent the full conference portfolio.
Experimental design
Every arm receives the same source-derived corpus, query text, structured filters, and relevance judgments. Retrieval and support decisions are produced before evaluator-only labels are joined. The required benchmark runs offline without paid services.
- Lexical baselines: SQLite FTS5 BM25 and independently normalized field-aware BM25F.
- Entity assistance: source-backed alias/title trigrams fused with BM25F rankings.
- Relationship comparisons: static source-derived speaker–talk projection versus bounded runtime traversal.
- Semantic controls: corpus-fitted 64-dimensional LSI; pinned BGE-small and MiniLM remain optional exploratory arms.
- Safety: unsupported-answer rate, provenance-valid cited evidence, and answerable false abstention are measured separately from ranking quality.
Results
| System | Recall@10 | nDCG@10 | MRR | Multi-hop@10 | Decision |
|---|---|---|---|---|---|
| Loading checked receipt… | |||||
Static relationship projection improves Recall@10 by 0.114 relative to runtime graph traversal while matching its multi-hop success. Runtime traversal has the strongest MRR, indicating better first-hit ordering for some questions, but does not justify a graph backend for the present corpus.
Architecture and evidence gates
Exploratory neural comparison
Pinned BGE-small exact retrieval and MiniLM cross-encoder reranking provide optional research controls. They are excluded from required offline CI and their newly surfaced relevance pool has not yet been fully adjudicated.
Limitations and threats to validity
- The corpus is not the complete AI Engineer knowledge dataset; it largely contains public schedule metadata.
- Only one video contributes transcript excerpts, so transcript retrieval and quotation quality are not broadly tested.
- The original 40-question set is biased toward graph and retrieval talks.
- Cross-event speaker identities, recording links, released artifacts, and rich transcript-derived entities are not yet available.
- Support and traversal policies were debugged against this fixed set; the reported scores are regression evidence, not untouched generalization.
- Latency observations depend on one local machine and are not production performance guarantees.
Read the prioritized source-data requirements → Review the more diverse candidate questions →
Reproducibility and artifacts
git clone https://forge.smol.ai/swyx/bench.git
cd bench
corepack enable
pnpm install --frozen-lockfile
pnpm bench check aie-retrievalThe checked receipt contains the corpus checksum, source receipts, environment, frozen query/judgment checksums, ranking metrics, source-derived vector configuration, and evaluation gates.