-
Notifications
You must be signed in to change notification settings - Fork 0
Retrieval
This page explains the retrieval pipeline and the Metroid-based dialectical search mechanism.
A Metroid is a structured search primitive: it contains a thesis (m1), an antithesis (m2), and a frozen centroid (c).
-
m1is the medoid closest to the query. -
m2is an opposite medoid found via cosine-opposite medoid search. -
cis the frozen centroid betweenm1andm2.
From the centroid c, the system classifies candidates into three zones:
-
Thesis zone: closer to
m1than toc. -
Antithesis zone: closer to
m2than toc. -
Synthesis zone: near
c, balanced between both poles.
CORTEX uses Matryoshka embeddings with protected dimensions (lower dimensions that anchor domain context). The retrieval algorithm progressively frees dimensions to explore antithesis candidates while keeping the centroid frozen.
When no suitable m2 can be found within constraints, the system flags a knowledge gap and may broadcast a P2P curiosity request.
See the Math Appendix for the geometric intuition behind why this approach is necessary in high-dimensional spaces.