<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Shreejal Trivedi</title><subtitle>Machine learning researcher in computer vision: detection, tracking, camera geometry and edge AI. Paper explainers, interactive reads and projects.</subtitle><link rel="self" type="application/atom+xml" href="https://shreejal.ai/feed.xml"/><link rel="alternate" type="text/html" href="https://shreejal.ai/"/><id>https://shreejal.ai/</id><updated>2026-10-21T00:00:00Z</updated><author><name>Shreejal Trivedi</name><uri>https://shreejal.ai/</uri></author><entry><title>IoU Losses — From 1 − IoU to the 2026 Variants, One Box at a Time</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/iou-losses/"/><id>https://shreejal.ai/reads/iou-losses/</id><published>2026-10-21T00:00:00Z</published><updated>2026-10-21T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>IoU box regression losses worked out: IoU, GIoU, DIoU, CIoU, EIoU, SIoU, WIoU, MPDIoU and the 2025–26 work, what detectors use and which to pick.</summary><category term="loss-functions" label="Loss functions"/><category term="object-detection" label="Object detection"/><category term="evaluation" label="Evaluation and metrics"/></entry><entry><title>Mamba in RT-DETRv4 — What Could Make It Faster</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/mamba-in-rt-detrv4/"/><id>https://shreejal.ai/reads/mamba-in-rt-detrv4/</id><published>2026-10-19T00:00:00Z</published><updated>2026-10-19T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Where Mamba-style blocks could make RT-DETRv4 faster: AIFI is already cheap, the fusion blocks hold the work. An idea with costs, not yet implemented.</summary><category term="state-space-models" label="State space models"/><category term="object-detection" label="Object detection"/><category term="efficient-networks" label="Efficient networks"/><category term="edge-deployment" label="Edge deployment"/></entry><entry><title>Mamba — Selective State Spaces, Step by Step</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/mamba/"/><id>https://shreejal.ai/papers/mamba/</id><published>2026-10-19T00:00:00Z</published><updated>2026-10-19T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Mamba lets each token decide how much to write into a small memory, then computes that recurrence fast on a GPU. Discretisation and a parallel scan.</summary><category term="state-space-models" label="State space models"/><category term="language-models" label="Language models"/><category term="efficient-networks" label="Efficient networks"/></entry><entry><title>Mamba-2 — When a State Space Model Is a Masked Attention Matrix</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/mamba-2/"/><id>https://shreejal.ai/papers/mamba-2/</id><published>2026-10-19T00:00:00Z</published><updated>2026-10-19T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Mamba-2 shrinks the state matrix to one number per step, and the whole layer becomes a single masked matrix, the same shape as linear attention.</summary><category term="state-space-models" label="State space models"/><category term="efficient-attention" label="Efficient attention"/><category term="systems-programming" label="Systems programming"/></entry><entry><title>Mamba-3 — A Better Step, a Turning State, More Work per Byte</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/mamba-3/"/><id>https://shreejal.ai/papers/mamba-3/</id><published>2026-10-19T00:00:00Z</published><updated>2026-10-19T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Mamba-3 fixes what Mamba-2 gave away for speed: a trapezoid step, a rotating state that counts parity, and ~3× the FLOPs per byte when decoding.</summary><category term="state-space-models" label="State space models"/><category term="language-models" label="Language models"/><category term="systems-programming" label="Systems programming"/></entry><entry><title>VMamba — Scanning an Image Four Ways</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/vmamba/"/><id>https://shreejal.ai/papers/vmamba/</id><published>2026-10-19T00:00:00Z</published><updated>2026-10-19T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>A scan reads one token after another, and an image has no first pixel. VMamba reads every feature map four ways, across and down, forwards and backwards.</summary><category term="state-space-models" label="State space models"/><category term="vision-transformers" label="Vision transformers"/><category term="backbone-design" label="Backbone design"/></entry><entry><title>Jev — Thinking Fast, in One Pass</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/jev/"/><id>https://shreejal.ai/reads/jev/</id><published>2026-10-10T00:00:00Z</published><updated>2026-10-12T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Kahneman's System 1 answers fast. TypeSafe named Jev, its 'System One model', after it: one pass, a probability over your own options, no text.</summary><category term="language-models" label="Language models"/><category term="vision-language" label="Vision and language"/><category term="evaluation" label="Evaluation and metrics"/></entry><entry><title>RT-DETR — DETRs Beat YOLOs, Encoder by Encoder</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/rt-detr/"/><id>https://shreejal.ai/papers/rt-detr/</id><published>2026-10-09T00:00:00Z</published><updated>2026-10-09T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>How RT-DETR made a DETR fast enough to beat the YOLOs of 2023 on a T4: attention on the 20 × 20 map only, 300 queries picked from the image, and no NMS.</summary><category term="object-detection" label="Object detection"/><category term="set-prediction" label="Set prediction"/><category term="efficient-attention" label="Efficient attention"/><category term="nms" label="Non-maximum suppression"/></entry><entry><title>RT-DETRv2 — A Bag of Freebies for the Decoder</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/rt-detrv2/"/><id>https://shreejal.ai/papers/rt-detrv2/</id><published>2026-10-09T00:00:00Z</published><updated>2026-10-09T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>RT-DETRv2 keeps v1's network and changes four things: decoder points per scale, a nearest-cell read, augmentation off at the end, a learning rate per size.</summary><category term="object-detection" label="Object detection"/><category term="efficient-attention" label="Efficient attention"/><category term="training-recipes" label="Training recipes"/><category term="edge-deployment" label="Edge deployment"/></entry><entry><title>RT-DETRv3 — More Positives Without Paying at Inference</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/rt-detrv3/"/><id>https://shreejal.ai/papers/rt-detrv3/</id><published>2026-10-09T00:00:00Z</published><updated>2026-10-09T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>RT-DETRv3 adds three training-only helpers so every object gets many teachers, then throws all three away before deployment.</summary><category term="object-detection" label="Object detection"/><category term="set-prediction" label="Set prediction"/><category term="training-recipes" label="Training recipes"/></entry><entry><title>RT-DETRv4 — Borrowing a Foundation Model's Eyes</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/rt-detrv4/"/><id>https://shreejal.ai/papers/rt-detrv4/</id><published>2026-10-09T00:00:00Z</published><updated>2026-10-09T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>A frozen DINOv3 coaches the one feature map every later stage of RT-DETRv4 reads, at a strength set each epoch, and is thrown away before deployment.</summary><category term="object-detection" label="Object detection"/><category term="knowledge-distillation" label="Knowledge distillation"/><category term="training-recipes" label="Training recipes"/></entry><entry><title>RT-DETR-World — Naming Any Object in Real Time</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/rt-detr-world/"/><id>https://shreejal.ai/papers/rt-detr-world/</id><published>2026-10-09T00:00:00Z</published><updated>2026-10-09T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>How RT-DETR-World swaps a fixed list of 80 classes for the names you type, with a frozen DINOv3, a three-layer decoder and a relaxed contrastive loss.</summary><category term="object-detection" label="Object detection"/><category term="vision-language" label="Vision and language"/><category term="contrastive-learning" label="Contrastive learning"/><category term="knowledge-distillation" label="Knowledge distillation"/></entry><entry><title>The Pinhole Camera — A Pixel Is a Ray</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/pinhole-camera/"/><id>https://shreejal.ai/reads/pinhole-camera/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>How a camera turns a point into a pixel: similar triangles, a divide by depth, and one 3×3 matrix called K. And how to turn a pixel back into its ray.</summary><category term="camera-models" label="Camera models"/><category term="projective-geometry" label="Projective geometry"/></entry><entry><title>Where Is the Camera? — R, C and t</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/camera-pose/"/><id>https://shreejal.ai/reads/camera-pose/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Where a camera stands and where it looks: its centre C and its rotation R, and the matrix P = K[R | t] that stores them as t = −RC.</summary><category term="camera-models" label="Camera models"/><category term="projective-geometry" label="Projective geometry"/></entry><entry><title>Points at Infinity — Horizons, Vanishing Points and the Floor</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/points-at-infinity/"/><id>https://shreejal.ai/reads/points-at-infinity/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Lines and points at infinity as 3-vectors, the columns of P as vanishing points, and one 3×3 matrix that maps every floor pixel back to the floor.</summary><category term="projective-geometry" label="Projective geometry"/><category term="camera-models" label="Camera models"/></entry><entry><title>Finding the Camera From Known Points — P by Least Squares</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/camera-resectioning/"/><id>https://shreejal.ai/reads/camera-resectioning/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Six known points and their pixels give back the camera: the straight-line estimate of P, why the numbers are normalised first, and P split into K, R and C.</summary><category term="camera-calibration" label="Camera calibration"/><category term="camera-models" label="Camera models"/></entry><entry><title>Lens Distortion — Bending Straight Lines Back</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/lens-distortion/"/><id>https://shreejal.ai/reads/lens-distortion/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Real lenses bend straight lines. Where the bend sits, the radial and tangential terms in OpenCV's distCoeffs, and why undoing them takes a loop of guesses.</summary><category term="camera-calibration" label="Camera calibration"/><category term="camera-models" label="Camera models"/></entry><entry><title>What calibrateCamera Actually Does</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/camera-calibration/"/><id>https://shreejal.ai/reads/camera-calibration/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>What calibrateCamera does with a checkerboard: a homography per photo, two equations per homography, three tilted photos to pin K down, and a final polish.</summary><category term="camera-calibration" label="Camera calibration"/><category term="projective-geometry" label="Projective geometry"/></entry><entry><title>Epipolar Geometry — A Point Becomes a Line</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/epipolar-geometry/"/><id>https://shreejal.ai/reads/epipolar-geometry/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>A pixel's match in a second camera always lies on one line. The essential matrix from three arrows that lie in one plane, and F, the same rule in pixels.</summary><category term="epipolar-geometry" label="Two-view geometry"/><category term="projective-geometry" label="Projective geometry"/></entry><entry><title>Triangulation — Two Rays That Almost Meet</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/triangulation/"/><id>https://shreejal.ai/reads/triangulation/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Two rays that should cross at the point and never quite do: the point from four rows and one singular vector, and why the angle between the rays matters.</summary><category term="3d-reconstruction" label="3-D reconstruction"/><category term="epipolar-geometry" label="Two-view geometry"/></entry><entry><title>From Matches to Motion — Four Cameras, One Right Answer</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/relative-pose/"/><id>https://shreejal.ai/reads/relative-pose/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Two photos, a few hundred matches and K: F from eight matches, bad matches thrown out by voting, E split into four cameras, one right answer kept.</summary><category term="epipolar-geometry" label="Two-view geometry"/><category term="3d-reconstruction" label="3-D reconstruction"/></entry><entry><title>Stereo Depth — Rectification and Z = fB/d</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/stereo-depth/"/><id>https://shreejal.ai/reads/stereo-depth/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Turn both pictures until their rows agree, and triangulation becomes one division, Z = fB/d. Disparity to metres, error with distance, and the baseline.</summary><category term="stereo-vision" label="Stereo vision"/><category term="epipolar-geometry" label="Two-view geometry"/><category term="3d-reconstruction" label="3-D reconstruction"/></entry><entry><title>From Two Photos to a Point Cloud</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/stereo-point-cloud/"/><id>https://shreejal.ai/reads/stereo-point-cloud/</id><published>2026-10-08T00:00:00Z</published><updated>2026-10-08T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Two photos in, a point cloud out: undo the lens and turn the pictures, search each row for the match, and Q, the 4×4 matrix that is Z = fB/d.</summary><category term="stereo-vision" label="Stereo vision"/><category term="3d-reconstruction" label="3-D reconstruction"/></entry><entry><title>Vision Transformers Today — May 2022 to October 2026, Year by Year</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/vision-transformers-today/"/><id>https://shreejal.ai/reads/vision-transformers-today/</id><published>2026-10-06T00:00:00Z</published><updated>2026-10-19T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>What happened to vision transformers after MAE and CLIP: one dated entry per model from FlashAttention to SF-Mamba, and what the field has settled on.</summary><category term="vision-transformers" label="Vision transformers"/><category term="segmentation" label="Segmentation"/><category term="self-supervised-learning" label="Self-supervised learning"/><category term="efficient-attention" label="Efficient attention"/></entry><entry><title>Attention Before Transformers — Score, Squash, Multiply</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/attention-before-transformers/"/><id>https://shreejal.ai/reads/attention-before-transformers/</id><published>2026-10-06T00:00:00Z</published><updated>2026-10-06T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Bahdanau's soft search, the SE channel gate and the non-local block as one recipe: score each piece of the input, squash the scores, multiply them back in.</summary><category term="attention" label="Attention modules"/><category term="self-attention" label="Self-attention"/></entry><entry><title>Query, Key, Value — Dot-Product Attention from Scratch</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/query-key-value/"/><id>https://shreejal.ai/reads/query-key-value/</id><published>2026-10-06T00:00:00Z</published><updated>2026-10-06T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Section 3.2 of the transformer paper, one token at a time: query, key and value, the softmax as a soft lookup, the √d_k divide, eight heads, the n² cost.</summary><category term="self-attention" label="Self-attention"/><category term="transformers" label="Transformers"/></entry><entry><title>Attention Meets Pixels — Windows, Axes and the First Fully Attentional Networks</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/attention-meets-pixels/"/><id>https://shreejal.ai/reads/attention-meets-pixels/</id><published>2026-10-06T00:00:00Z</published><updated>2026-10-06T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Why a transformer cannot be pointed at pixels, and four tricks that made it possible: blocks, k×k windows, a learned term per offset, one axis at a time.</summary><category term="self-attention" label="Self-attention"/><category term="efficient-attention" label="Efficient attention"/><category term="positional-encoding" label="Positional encoding"/></entry><entry><title>Convolutions Strike Back — Was It the Attention or the Recipe?</title><link rel="alternate" type="text/html" href="https://shreejal.ai/reads/convolutions-strike-back/"/><id>https://shreejal.ai/reads/convolutions-strike-back/</id><published>2026-10-06T00:00:00Z</published><updated>2026-10-06T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>Four 2021–22 papers that mixed convolutions and attention: how much of the transformer's lead was attention, and how much the pyramid, block and recipe.</summary><category term="vision-transformers" label="Vision transformers"/><category term="convolutions" label="Convolutions"/><category term="backbone-design" label="Backbone design"/><category term="training-recipes" label="Training recipes"/></entry><entry><title>Attention Is All You Need — The Transformer, Block by Block</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/attention-is-all-you-need/"/><id>https://shreejal.ai/papers/attention-is-all-you-need/</id><published>2026-10-06T00:00:00Z</published><updated>2026-10-06T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>The 2017 transformer paper end to end: the encoder layer, the masked decoder, the sinusoidal positions, the training recipe, and its 65 M parameters.</summary><category term="transformers" label="Transformers"/><category term="positional-encoding" label="Positional encoding"/><category term="self-attention" label="Self-attention"/></entry><entry><title>DETR — Detection as Set Prediction, No Anchors and No NMS</title><link rel="alternate" type="text/html" href="https://shreejal.ai/papers/detr/"/><id>https://shreejal.ai/papers/detr/</id><published>2026-10-06T00:00:00Z</published><updated>2026-10-06T00:00:00Z</updated><author><name>Shreejal Trivedi</name></author><summary>How DETR turns detection into predicting a set: 100 learned object queries, a one-to-one matching by the Hungarian algorithm, no anchors and no NMS.</summary><category term="object-detection" label="Object detection"/><category term="set-prediction" label="Set prediction"/><category term="transformers" label="Transformers"/></entry></feed>
