Skip to content
View sandeepvijayarao09's full-sized avatar

Block or report sandeepvijayarao09

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
sandeepvijayarao09/README.md

Sandeep Vijayarao

Applied AI/ML engineer building products with Edge AI and AI routers, and the evaluations that show what actually works.

I ship AI that runs on the device (iOS, Android and macOS apps), build routers that send each request to the right model, local or cloud, and measure both carefully, including when the answer is "this didn't help." MS CS at Northeastern (May 2027). Apple Swift Student Challenge 2026 winner.

Portfolio · Evals portfolio · LinkedIn · [email protected]

Every system I build gets an evaluation study, with baselines, confidence intervals and limits, collected in evals-portfolio. It covers 22 systems, and CI checks every reported number against its source repo.


Selected work

DeviceControlSlm: a small language model for on-device phone and Mac control

  • I trained a ~4.1M-parameter transformer from scratch (my own architecture, tokenizer and weights) and compared it with LoRA-tuned Qwen2.5-0.5B on DeviceControlBench, a benchmark I built.
  • Result:
    • Familiar phrasing (in-distribution): the scratch model wins, 67.2% vs 51.6% (43 vs 33 of 64 tasks, McNemar p = 0.013).
    • New phrasing (held out): the lead disappears, 32.7% vs 36.4% (18 vs 20 of 55, p = 0.82), a statistical tie.
    • Only the scratch model's drop is significant, which points to pretraining as the source of robustness.
  • Method: a held-out phrasing split, a train/test contamination gate, confidence intervals, paired McNemar tests, and a confirmation gate that kept the unsafe-execution rate at 0% for every model.
  • PyTorch LoRA MLX Core ML App Intents

RAG From Scratch: ten retrieval techniques, each measured on BEIR SciFact (nDCG@10)

  • Result, tested with paired bootstrap CIs (Holm-corrected) across three embedding models:
    • LLM query rewriting (HyDE, step-back, decomposition) made retrieval significantly worse, even with a 12B rewriter.
    • A strong reranker made it significantly better: Qwen3-Reranker-4B, +0.044 on dense and +0.110 on BM25.
    • Chunking, RRF, multi-query, contextual retrieval and late interaction made no detectable difference.
  • Method: I checked the baseline (bge-base, 0.759) against a published figure before building anything on it. My first write-up said "seven of ten made it worse" from raw means; the significance tests showed most of that was noise, and I corrected it.
  • CRAG-style document grading scored 0.50 balanced accuracy, which is chance level.
  • Python BEIR bge Qwen3 cross-encoders · interactive guide

Anu: an on-device agent for iOS, and the Swift Student Challenge 2026 winner

  • Gemma 4 E4B runs locally through LiteRT.
  • An on-device router (NLEmbedding nearest-centroid) picks the task type, model and tools for each message. It scores 91.7% on a 60-case eval.
  • It reaches the cloud only as an optional fallback, with personal information scrubbed first.
  • 317 unit tests run in CI.
  • Swift 6 LiteRT Gemma ReAct

NeuroRecursion: agents that keep a frozen brain-computer-interface (BCI) decoder usable across days without new labels (Crusoe × Cerebral Valley hackathon, Oct 2026)

  • Tested on real recordings from human BCI users (FALCON H1), over 7 held-out days.
  • With no labels, the agents beat the frozen decoder on 6 of 7 days: mean velocity R² −0.016 vs −0.062.
  • Few-shot recalibration, which does need labels, still does better at +0.106.
  • Python Nemotron Crusoe Inference

closed-loop-bps: does offline decoding accuracy predict how well a brain-computer interface (BCI) cursor actually works?

  • I built cursor decoders on NLB MC_Maze, replicated the results on MC_RTT, and scored them in a simulated Webgrid task (BPS: bits per second).
  • Result:
    • A lag-augmented Kalman filter reached 3.07 BPS [2.97, 3.16], against a 9.24 BPS oracle.
    • GRUs with higher offline R² (0.85–0.88) reached only 0.47–0.79 BPS.
    • So offline accuracy is a poor guide to closed-loop control.
  • Method: every table and figure is regenerated from committed JSON, and C++/Python parity tests run in CI.
  • PyTorch Kalman filters GRU C++ NLB

Dual LLM Router: a cascade router that decides whether each query goes to GPT-4o-mini or GPT-4o

  • The router scores 92.6% routing accuracy.
  • My follow-up ablation found that a one-line word-count rule gets 89.7%, and the confidence intervals overlap.
  • Almost all of the router's gain comes from length features. The cause is a benchmark artifact, documented in FINDINGS.md.
  • scikit-learn OpenAI

meeting-bot: a local-first meeting notetaker for macOS

  • Whisper transcribes on-device, with speaker attribution, so no audio leaves the Mac.
  • Ships as a signed release with a SwiftUI app, a CLI and a Chrome extension.
  • Whisper SwiftUI Python

More projects

On-device apps

Project What it is
Anu for Android The Android version of Anu, a private assistant that runs on the phone (Kotlin)
Notova for iPhone and Mac Records voice notes, then transcribes and summarizes them on the device (Apple Speech, Foundation Models, MLX Gemma)
Notova for Android The same app on Android, using Gemma 3n through LiteRT-LM and Gemini Nano
Autodoc A macOS menu-bar app that keeps a running work log for each project, using a local Gemma vision model

AI tools

Project What it is
Agent-Certifier A security scanner for AI-agent code: 60 checks, mapped to the OWASP Agentic and LLM Top 10
autofill-pro A Chrome extension that fills job applications in one click: 44 profile fields, tested on 46 job sites and applicant-tracking systems

Hackathons

Project What it is
Omni-Axon Built at the Stanford x DeepMind hackathon. A Gemini orchestrator that routes each request to a direct answer, a saved multi-agent workflow, or a new agent team
omniq Built at the SFTW Harness Engineering hackathon. A governed AI assistant for organizations, on MongoDB Atlas, whose harness improves itself

Open-source contributions

Merged (20):

  • apple/swift-collections (11): fixed a double destroy in UniqueDictionary.updateValue(forKey:with:) (#836), memoizedValue returning another key's value (#835), an empty root left behind after root-key removal in sorted collections (#829), BitSet(bitPattern:) keeping sign-extension bits (#846), a BitSet[members:] trap on ranges ending at Int.max (#847), elements deinitialized when a TrailingElements initializer throws (#848) and a wrong Rope fast path for shared leaves (#858), plus #838 and #831. Also added differential fuzz tests for the hashed and sorted containers (#837, #839).
  • ml-explore/mlx-swift: fixed an asMTLBuffer crash on zero-size arrays (#522). ml-explore/mlx-swift-lm: fixed GLM-OCR on small images by matching smart_resize rounding (#764).
  • keras-team/keras: removed a UnitNormalization graph break under torch.compile (#24159).
  • tensorflow/tflite-micro: int8 SPACE_TO_BATCH_ND padding now uses the output zero point (#3973).
  • huggingface/swift-jinja: added the capitalize string method (#112).
  • NVIDIA/Personal-AI-Router (#199), google/adk-go (#2487), aurelio-labs/semantic-router (#827) and electrikmilk/cherri (#244).

In review (23): Apple (containerization, coremltools, swift-collections, swift-distributed-actors, swift-numerics), swiftlang/swift-subprocess, Google (adk-go, LiteRT, litert-torch), NVIDIA (auto-ontology, llm-router, Switchyard), LiteLLM and Argmax. All PRs


Background

  • AI Developer, Trominosoft (2025): LLM orchestration and retrieval services on GCP and Kubernetes
  • Graduate TA, Northeastern (Computer Vision, Generative AI)
  • AI Intern, Infosys Springboard (2024): quantized 7B-model serving with vLLM
  • Publication: co-author, Real-Time Human Pose Estimation Using MediaPipe, IEEE AISP 2024

Tools I use most: PyTorch · Hugging Face · LoRA/PEFT · vLLM · MLX · LiteRT · Core ML · Swift · Kotlin · Python

Pinned Loading

  1. Anu-iOS Anu-iOS Public

    Anu: voice-first, on-device agentic AI for iOS. Gemma 4 E4B via LiteRT, NLEmbedding task router, ReAct tools, MCP connectors, Siri App Intents. SwiftUI, Swift 6.

    Swift

  2. DeviceControlSlm DeviceControlSlm Public

    A ~4M-parameter language model trained from scratch for on-device iPhone/Mac control, benchmarked against fine-tuned Qwen2.5 with held-out evals.

    Python

  3. dual-llm-system dual-llm-system Public

    Cost-aware LLM router: a TF-IDF + logistic-regression router with a local Gemma 4 E4B fallback classifier, routing between Gemma (local) and Gemini. 95.8% routing accuracy on Eval-1000 vs 89.7% for…

    Python

  4. meeting-bot meeting-bot Public

    Local-first AI meeting notetaker for macOS: on-device Whisper transcription with optional summaries, via a native SwiftUI app, CLI, or Chrome extension.

    Python

  5. neurorecursion neurorecursion Public

    Can a BCI decoder keep working across days without recalibration? Label-free agents around a frozen decoder, tested on real FALCON H1 human data.

    HTML

  6. rag-from-scratch rag-from-scratch Public

    A 15-rung RAG ladder built from scratch, no frameworks. Ten retrieval techniques measured on BEIR SciFact with paired significance tests: LLM query rewriting hurt, a strong reranker helped (+0.044 …

    Python