DKDivij Karanam

Divij Karanam

ML RESEARCH

I make AI work in the real world, on slow internet, small devices and all 22 Indian languages, and I share all my code and data.

About.

01 / Who I am

I am an Electronics & Communication engineering student at IIT Guwahati who builds and measures machine learning systems under real constraints. My work spans tokenizer efficiency for Indian languages, low-communication training over bad networks, IoT protocol benchmarking and on-device ML for products I build.

Currently measuring, verifying and publishing.

  • Hyderabad, India
  • ML Research Engineer
  • B.Tech ECE · 2026

What I build

  • Reproducible benchmarks for ML and networking
  • Tokenizer analysis across 22 Indian languages
  • Low-communication distributed training (DiLoCo)
  • Packet-level network emulators on Linux
  • Mobile ML products: NaturaLens

Currently focused on

Distributed TrainingIndic NLPTokenizersModel CompressionOn-device MLNetwork EmulationBenchmarking

Experience & Education.

Milestones timeline

Research Engineer

VIRTKOM · Part-time · Remote (Atlanta, USA)
Sep 2026 – Present

Research on large-scale LLM pre-training infrastructure for heterogeneous, distributed compute. Focus on deep learning and distributed systems.

App Developer

NaturaLens · Remote (Winnipeg, Canada)
Jul 2026 – Present

Building NaturaLens, a mobile app that identifies wildlife from a photo and keeps a log of what you have found. React Native app, Next.js web and a species database built from GBIF and IUCN data.

Open-Source Contributor

TensorFold · LLM inference engine
Nov 2026

Added Indian-script coverage, covering all 22 scheduled languages, to TensorFold's tokenizer parity suite, verified against 8 major LLM tokenizers. PR #1988 ↗ (under review)

Research Intern

Indian Institute of Technology Guwahati · On-site
Jun 2025 – Jul 2025

Worked under Dr. Anirban Dasgupta, Department of Electronics and Electrical Engineering, building research tools in Python and Tkinter.

B.Tech — Electronics & Communication Engineering

Indian Institute of Technology Guwahati
2022 – 2026

Coursework in probability and stochastic systems, linear algebra, digital signal processing and information theory.

Skills & Tools.

02 / Core competencies
ML & Research
  • JAX
  • Optax
  • Transformers
  • HF Tokenizers
  • tiktoken
  • NumPy
  • pandas
Systems & Networking
  • Python
  • Rust
  • C/C++
  • Linux TCP/IP
  • NFQUEUE
  • MQTT
  • CoAP
Product & Research Tools
  • TypeScript
  • React Native
  • Next.js
  • FastAPI
  • Matplotlib
  • LaTeX

Featured Projects.

03 / Case studies

Published research, with open code and data

NLP Research01

The Token Tax on Indian Languages

How many more tokens the 22 scheduled Indian languages need than English, measured across 14 tokenizers from GPT-4o and Llama 4 to India's own Sarvam-1.

The Problem

LLM cost, context length and speed are all counted in tokens, and tokenizers built on English-heavy data split Indian languages into far more of them.

Key Decisions

Used professionally translated parallel sentences, verified GPT counts against OpenAI's official tiktoken (catching a 46% library over-count), and excluded tokenizers that silently drop text.

3.1×GPT-4o premium
22Languages
−17%Tokens via NFC
  • Python
  • HF Tokenizers
  • tiktoken
  • pandas
  • Bootstrap CIs
  • LaTeX
Distributed ML02

Low-Communication Training over Bad Networks

DDP vs DiLoCo vs hierarchical aggregation for training a transformer across emulated regions, measured over real TCP through a packet-level WAN emulator.

The Problem

Training across distant sites is limited by slow, lossy internet links, and most studies estimate network effects instead of measuring them.

Key Decisions

Built an NFQUEUE emulator with per-region full-duplex links and real MTU, found and fixed a TCP Small Queues artefact, tuned every baseline fairly and validated with a real 4-process run.

379×Less network time
4WAN profiles
INT4Nearly free
  • JAX
  • Optax
  • Linux TCP
  • NFQUEUE
  • iptables
  • Python
IoT Networking03

MQTT, CoAP & HTTP on Bad Networks

A reproducible benchmark of the three main IoT protocols under emulated 4G, 3G, 2G and lossy links, with JSON and CBOR payloads.

The Problem

IoT devices often live on patchy cellular links, but protocol comparisons are usually run on clean networks.

Key Decisions

Packet captures exposed configuration pitfalls (no keep-alive, Nagle, autocorking) that made HTTP look 4× slower than it is; every contaminated run was repeated.

3.4×Less data (CoAP)
21.6kMessages
100%Delivered
  • Python
  • MQTT
  • CoAP
  • CBOR
  • Mosquitto
  • tcpdump

Quick Profile.

04 / At a glance

B.Tech

Electronics & Communication

IIT Guwahati · 2026

Top 2%

IMO

NTSE Scholar

3

Research preprints

Open code & data

Specialist

Codeforces

LeetCode Knight

How I build AI systems

I like testing AI where it usually breaks: slow internet, small devices and Indian languages. I set up those conditions on my own computer, run every test many times and double-check the numbers before I believe them. When I'm done, I share the code and data so anyone can check my work.

05 / Contact

Let's build
AI that
works.

Open to research collaborations, open-source work and ML engineering opportunities.

Based in Hyderabad, India