pctablet505Rahul Kumar, machine learning engineer, India

Big models Small places Real numbers

The model you need rarely fits where it has to run, and the number you are shown is rarely the one that decides. I work on both: vision and sensing on phones, large models on one GPU, and automated trading after costs and tax.

Selected work

The work I would show first

Each card opens the full story: the problem, what I did, the result, and where the number comes from.

All projects →
Headline numbers, Keras master on July 18 against October 15: compiled and eager generation, Python calls per forward, graph breaksHeadline numbers, Keras master on July 18 against October 15: compiled and eager generation, Python calls per forward, graph breaks
Performance and inferenceGoogle · Jul 2026 – Oct 2026

Keras on PyTorch: compiled generation 11.6x faster

Traced why Keras on PyTorch ran about 9x slower than plain PyTorch, and merged the fixes upstream, one root cause each.

Case study · 2 minMerged →
5 901234 123457scanningblur · scuff · glarerestored → read 5901234123457 ✓too damaged → no read, no guess ✗
Computer visionSamsung R&D Institute India · Jul 2022 – Aug 2024

Reading damaged barcodes on phones

Read 90%+ of damaged barcodes correctly on its damaged test set, where a commercial scanning SDK read 70%, with models trained on 10M+ synthetic images.

Case study · 2 minBuilt →
0g1g2g3g4g5g6gat restfree fallfree fall t = 0.45 s → height h = g·t²/2 ≈ 1.0 mimpactsettledtime →
Sensor and behaviour MLSamsung R&D Institute India · Mar 2023 – May 2023

Phone drop detection in under 22 parameters

Replaced a deep-learning drop detector of millions of parameters with sensor features and a model of under 22, saving over 95% of the power.

Case study · 1 minShipped →
₹1 lakh held from 2006, after costs and tax₹5 lakh₹10 lakh20062026NIFTY 500 index fund₹9.9 lakhSelf-held 300-stock basket₹7.9–8.6 lakhIndex fund ahead in 69 of 70 tiers▼ A hand-picked basket of large stocks instead of an index fund · costs and taxes▼ Intraday chart-pattern setups · costs and taxes▼ Order-book signals over seconds to minutes · costs and taxes▼ Trading other public filing feeds on their own · costs and taxes▼ Reinforcement-learning agents trading on daily prices · no edge, or only luck▼ A bigger machine-learning model to rank stocks · no edge, or only luck▼ Buying after a big news-driven jump · no edge, or only luck▼ Commodity price shocks to predict company results · no edge, or only luck▼ Writing options on the index for income · no edge, or only luck▼ Buying stocks announced for addition to a major index · the market got there first▼ An AI model reading company filings to forecast earnings surprises · AI that fell short of the bar▼ An AI model mapping which companies supply which, from annual reports · AI that fell short of the bar▼ A hand-picked basket of large stocks instead of an index fund · costs and taxes▼ Intraday chart-pattern setups · costs and taxes▼ Order-book signals over seconds to minutes · costs and taxes▼ Trading other public filing feeds on their own · costs and taxes▼ Reinforcement-learning agents trading on daily prices · no edge, or only luck▼ A bigger machine-learning model to rank stocks · no edge, or only luck▼ Buying after a big news-driven jump · no edge, or only luck▼ Commodity price shocks to predict company results · no edge, or only luck▼ Writing options on the index for income · no edge, or only luck▼ Buying stocks announced for addition to a major index · the market got there first▼ An AI model reading company filings to forecast earnings surprises · AI that fell short of the bar▼ An AI model mapping which companies supply which, from annual reports · AI that fell short of the bar12 CLOSED
Projects and toolsIndependent · May 2025 – now

RL Alpha Labs

Automated trading on Indian stocks, where a strategy counts only if it beats an index fund after real costs and tax.

Case study · 1 minResearch →
Decode speed, tokens per secondPlain offloading10.77+ gather kernel13.53+ hot-expert cache, peak16.50As shipped14.99Fewer experts (not used)20.48
Performance and inferenceIndependent · 2 Sep 2026

GLM-5.3-Flash on one GPU

Served a 181 GiB mixture-of-experts LLM from one 96 GiB GPU and took decoding from 10.8 to 15.0 tokens/s shipped, 16.5 at peak.

Case study · 2 minPublished →
knownknownnew faceindexfew steps,not every face
Computer visionSamsung R&D Institute India · Mar 2023 – Aug 2024

Recognising many faces at once on edge devices

A multi-face recognition engine at 99.2% accuracy and 30+ FPS on edge devices, with face search cut from 1,200 ms to 87 ms.

Case study · 1 minShipped →
left handright hand← leftright →
Sensor and behaviour MLSamsung R&D Institute India

Who is holding the phone? Behavioural identification

Told which hand holds a phone, right 90%+ of the time over 30+ seconds, and who holds it, without deep learning.

Case study · 1 minShipped →
Keras modelTFPyTorchmodel.export(…, format="litert").tfliteon device
Performance and inferenceGoogle · Dec 2025 – Jul 2026

One call from a Keras model to a phone: LiteRT export

Built the LiteRT export path in Keras and KerasHub: a trained model to a phone-ready file in one call, on TensorFlow and PyTorch.

Case study · 1 minMerged →

Demos lab

Try the ideas in your browser

Rebuilt from scratch with public techniques. Each page shows how it works today; live versions are on the way.

All demos →
5 901234 123457scanningblur · scuff · glarerestored → read 5901234123457 ✓too damaged → no read, no guess ✗
Planned

Damaged barcode reader

Point a camera at a scuffed barcode, or upload a photo, and watch it get found, cleaned up and read, or refused when the damage is too much.

left handright hand← leftright →
Planned

Which hand are you using?

Tap and swipe a few times on your phone and the page guesses which hand holds it: the first signal in telling users apart by behaviour.

head poseyaw 0°yaw 38°attentionattentivelooking away
Planned

Face and attention on camera

Live face landmarks with attention and expression signals from your camera.

Open source

Merged upstream, in the open

Most of the work is in Keras and KerasHub; the rest is fixes across the Python and ML tooling people use every day.

Open source →
100+
merged pull requests in projects I do not own
● live list ↗
38+
projects with at least one merged pull request
● live list ↗
64+
merged in Keras and KerasHub
● live list ↗

Contact

Working on on-device ML, computer vision or fast inference?

I am glad to talk about roles, collaborations and hard problems where a model has to fit.