Latest Research notes
When a reranker makes your search worse
I added a reranker to my local RAG stack expecting a free win. On one of three datasets it made search worse. What I checked, and how to test it on your own data.
The AIYatra Blog · free, forever
Every session recapped, plus tutorials, research notes and guest posts from our open-source AI community.
Browse all 60 topicsLatest Research notes
I added a reranker to my local RAG stack expecting a free win. On one of three datasets it made search worse. What I checked, and how to test it on your own data.
Session recap
The same chai agent as a Temporal workflow. Kill the worker that's charging the customer, type nothing, and watch another worker finish the order and charge once. Free and local, no account needed.
Session recap
We build a small LangGraph agent that takes a chai order, charges ₹80 over UPI and sends the order to the kitchen. Then we kill -9 it right after the charge and watch it charge the customer twice. Commands for macOS, Linux and Windows.
Session recap
Four fixes that turn the chai agent into one you can kill anywhere: checkpoints on disk, an idempotency key made once, saved waits for the bank and the customer, and an audit log for free. One fix looks right and still charges twice.
Research notes
An AI Operating System (AI OS) represents the next evolution of how humans interact with computers. Unlike traditional operating systems, it focuses on understanding user intent rather than simply running applications. By combining LLMs, AI agents, memory, and tool integrations, it can coordinate complex tasks with minimal human intervention. Emerging platforms are bringing this concept into personal computing and enterprise workflows. The future of computing is shifting from operating applications to orchestrating intelligence.
Guest post
Memorilla, an open-source memory module that compresses an entire document collection into just 16 learned soft tokens for a frozen LLM instead of pasting retrieved text into the prompt. By conditioning those 16 slots on the user's question and attending over every stored document embedding at once, Memorilla captures indirect, multi-hop connections that standard top-𝑘 retrieval misses while keeping latency flat (~0.74s) and cutting context tokens by up to 4,212x. While it edges out baselines like MemoRAG and RAG-50 across eight benchmarks, the post notes a few practical caveats: much of its benchmark lead comes from task fine-tuning, it cannot tell which of two documents is newer without explicit dates, and it requires self-hosted open-weight models rather than text-only APIs.
Research notes
Inside a tiny Dino-playing network: structured state, teacher-guided training, and the checks behind a reported million-frame run without crashes.
Guest post
EmbeddingGemma 2 is Google’s latest open embedding model for semantic search and retrieval-augmented generation (RAG). Built on Gemma 4, it maps text, source code, images, video, and audio into a shared 768-dimensional vector space. It is released under the Apache 2.0 license and scales from 270 million to 740 million parameters depending on the modalities you enable.
Session recap
SFT with LoRA, DPO and GRPO on a pretrained model — rewards, preferences and the hard question — better at the task, or just better at the reward?
Session recap
Build the loop, the tools and the guardrails — and make your own coding agent that reads, plans, edits, tests and repairs its way to a verified pull request. 100% offline, zero API keys.
Session recap
Tensors, autograd and the training loop — the foundations every AI engineer stands on. We rebuilt nn.Linear from scratch.
Session recap
Vectors to attention — embeddings, Q/K/V projections, LoRA and SVD, the math beneath the models, by hand.
Session recap
Multi-head latent attention, MoE load balancing and RoPE scaling — the DeepSeek-V3 paper, live-coded in PyTorch.
Session recap
Providers, context engineering, MCP extensions and recipes — a full end-to-end run of the open-source Goose agent.
Session recap
Draft-verify-accept in 60 lines of PyTorch, then HF assisted generation and llama.cpp — faster inference, proven lossless.
Session recap
Book-reading series finale: agentic patterns, discussion and reading together — online, open to everyone.
Session recap
Session three of the Hitchhiker's Guide series — agents, tools and workflows, read and debated together.
Session recap
Session two of the reading series — continuing the guided tour through agentic AI, online in the evening.
Session recap
Where the reading journey began — session one of the Hitchhiker's Guide to Agentic AI, online and free.
Session recap
From Attention Is All You Need to running source code — the transformer, line by line, from paper to PyTorch.
Anyone can write for AIYatra. Draft it in our editor, get it reviewed, and see it published here.