Aditya Raj
I am an ML Engineer at Bold Inc., working on LLM inference infrastructure and behavioral determinism in frontier LLMs. I graduated from NIT Patna in 2026 with a B.Tech in Electronics and Communication Engineering.
I write about Engineering at celestimperium.com.
Research

Knowledge Graph-Informed Query Decomposition (KG-IQD): Hybrid KG-RAG Reasoning in Noisy Context
Aditya Raj1, Kuldeep Kurte2
1National Institute of Technology, Patna, 2IIIT Hyderabad
Achieved state-of-the-art results on a custom disaster QA benchmark, outperforming RQ-RAG by 14% and KG by 18%. Developed a neuro-symbolic framework for query decomposition, leveraging knowledge graphs to interrelate points for hybrid RAG-based reasoning over structured and unstructured data.
Entropy of Thinking: Chain-of-Thought as Contextual Stabilization and Associative Retrieval
Aditya Raj
Chain-of-thought in Llama-2-7B functions as an associative retrieval mechanism rather than logical reasoning. Why it matters: we can't just ask a model to be safe and expect it to be safe.
Writing
Raw blogs, LLM-assisted talks and research, written as a conversation with another human, on celestimperium.com.
Achievements
Experience
ML Engineer @ Bold Inc.MeshCore
Ontario, Canada
Dec 2025 – Present
- Research on behavioral determinism in frontier LLMs via 10K+ controlled generations.
- Designed and built MeshCore, an open-source, single-binary, zero-I/O LLM gateway in Go: 50K+ auth RPS at +0.79ms p50 added latency.
- Handles 10K concurrent requests at sub-1ms p99 with zero failures, using lock-free atomic in-memory snapshots.
- Moved data processing to batched, event-filtered queues: 80% fewer API calls and zero HTTP timeouts over 30 days.
- CPU load down from 98.99% to 1.56%, memory from 89% to 43%, cutting costs by more than 50%.
- Designed an ML algorithm for movement and dwell-time tracking on raw MAC IDs, reducing error rates from 4,000% to 30%.
Quant Developer Intern @ QFI Research Capital
Hyderabad, India
May 2025 – July 2025
- Worked on the trade execution part of the trading engine.
- Fixed critical bugs where several metrics were calculated incorrectly.
- Built the complete internal tooling stack for workflow automation and business operations.
Research Intern @ IIIT HyderabadISWC 2025 (In Review)
Hyderabad, India | Advisor: Dr. Kuldeep Kurte, Spatial Informatics Lab
Apr 2025 – July 2025
- Achieved SOTA on a custom disaster QA benchmark, outperforming RQ-RAG by 14% and KG by 18%.
- Developed a neuro-symbolic framework that guides query decomposition using Knowledge Graphs.
- Interrelates points with RAG on sub-queries for robust reasoning over structured and unstructured data.
Research Intern @ IIT Guwahati
Guwahati, India | Advisor: Dr. Arijit Sur, Mentor: Mr. Suklav Ghosh
June 2024 – July 2024
- Developed a GAN-based shape occlusion detection system with a UNet generator.
- Trained on a synthetic dataset of geometric shapes, reconstructing overlapping shapes and occlusions.
Projects
- Inference engine written entirely in C++ with no external libraries, pushing hardware to its peak.
- Qwen3-4B (INT4), batch size 1, on a laptop RTX 5060.
- Decode ~148.6 tok/s (84.9% of the 175 tok/s theoretical limit) vs vLLM's ~110 tok/s (62.8%).
- Prefill ~3,455 tok/s vs vLLM's ~2,450 tok/s with the same config.
- Pipeline parallelism across several free Colab GPUs over TCP, splitting the model by layers.
- Runs a 70GB model from an 8GB PC at 3.2 tokens/sec.
- Go base station for the control plane; weights and activations over a private Tailscale data plane via llama.cpp RPC.
- Tiny codebase: under 3,200 lines, ~270KB.
- Go/FastAPI/PostgreSQL platform with optimized API routing and batch request processing.
- Processes 1K+ invoices/week at $8 per 1K invoices.
- Local vLLM agentic pipeline with custom batching and automatic tool calling for invoice verification.
- Email logs and a dashboard for human-in-the-loop guardrails.
IV Prediction - Indian Option Market
July 2025 – July 2025
July 2025 – July 2025
- Engineered a LightGBM pipeline achieving MSE of 1.3e-5 on sparse options data.
- Used nearest-neighbor TTE estimation and call/put-specific data representation.
Multimodal-Reranker
Mar 2025 – Apr 2025
Mar 2025 – Apr 2025
- Multimodal reranking module for an AI search engine.
- Ollama LLM for semantic filtering and JSON filter extraction from natural queries.
- Fast FAISS (HNSW+IVF) retriever on CLIP/mxbai embeddings with vision-language models.
- Reranks top-k results via cosine similarity, based on user intent and visual semantics.
- OCR pipeline for medieval handwritten Spanish manuscripts.
- TrOCR for transcription with a T5 language model for post-correction, fine-tuned on domain-specific linguistic features.
- Custom text augmentation and similarity-preserving algorithm to improve LM robustness.
- Achieved WER of 0.116, outperforming all competing models.
