AI RESEARCH

[R] Graph-Oriented Generation (GOG): Replacing Vector R.A.G. for Codebases with Deterministic AST Traversal (70% Average Token Reduction)

r/MachineLearning

Hey everyone. I’m a 5 YoE full-stack engineer who has been crossing over into AI research. Like many of you, I got incredibly frustrated with Vector RAG hallucinating import paths and losing context when navigating deep codebases. RAG treats strict software architecture like a probabilistic novel. I wanted to see what happened if we treated it like a mathematical graph instead. I wrote a white paper and built a framework around this concept called Graph-Oriented Generation.