Sourav Chatterjee (@souravc83) profile picture

Machine Learning Engineer @Linkedin. ex-@Meta. PhD. Engineer. Curious. Politics,science nerd. @CarnegieMellon, @iitmadras Alum.

San Francisco, CA
Joined May 2009
Photo by Sourav Chatterjee (@souravc83)Photo by Sourav Chatterjee (@souravc83)Photo by Sourav Chatterjee (@souravc83)Photo by Sourav Chatterjee (@souravc83)Photo by Sourav Chatterjee (@souravc83)Photo by Sourav Chatterjee (@souravc83)Photo by Sourav Chatterjee (@souravc83)
Yay, my first pkg in now in CRAN.It implements Adaboost 50 times faster than existing pkgs.#rstats #machinelearning cran.r-project.org/web/packa…
10
Overleaf compilation timing out! Best way to end the all nighter before the #neurips deadline.
2
457
A counterpoint to "AI will replace SWE". AI code is way more messy and hacky than other systems. For the past hour, I cant figure out how to get only the assistant's answer from chain.invoke() in langchain! Shouldn't it be obvious? You want me to parse string for this?
45
1/n Late to the party, but I delved deeper into the architecture of StableDiffusion. I had a vague idea that this was a diffusion model, but there is much more than that going on in StableDiffusion. See the architecture diagram in wiki for explanation: en.wikipedia.org/wiki/Stable…
1
65
4/n The U-net then predicts the noise to substract from z_t (in the latent space). After denoising for T steps, the VAE finally projects it to the pixel space.
1
43
5/n the whole idea of engineering the prompt to produce better images, is to use the CLIP embedding of the prompt to guide the denoising process, i.e. in which direction should noise be substracted, to get to the final image
38
[Thread] 1/n In this week's AI paper discussion, lets talk about REFRAG (arxiv.org/pdf/2509.01092), the first paper to come out of Meta's vaunted SuperIntelligence Lab. REGRAG compresses the context tokens in RAG, to improve latency, without perf implications
1
74
5/n Then there is some curriculum learning schedule to progressively feed harder examples. But one neat trick is to use RL to derive a policy, which predicts which tokens to compress, and which not to. % of important tokens are left uncompressed
1
46
6/n Overall, a lot of neat engineering tricks to make LLMs more efficient in RAG applications. A simple and intuitive idea, executed well with great selection of training recipes
42
I feel like this is the direction we will eventually land on
I'm working on super tiny neural networks that perform better than the big ones, it's kinda insane.
58
[Thread]Reading papers from huggingface Daily papers page. Today's paper: Visual Representation Alignment for Multimodal Large Language Models (arxiv.org/pdf/2509.07979) The basic idea is that, in a multimodal LLM, giving some guidance to the visual features helps with performance
1
1
76
5/n They try different layers to align, and discover the 16th layer of a 32 layer LLM is best (seems kinda arbitrary).
1
53
6/n Overall, I think tweaking the vision features is definitely a good direction for multimodal LLM. But how to do it best remains a question. This paper tries a lot of different things, and some parts (like why layer 16?) remain a bit arbitrary. But a great direction overall
49