Dhruv Sharma (@DhruvComplex) header
Dhruv Sharma (@DhruvComplex) profile picture

MAC Research MSCI. Macroecon, Stat. Phys. and Everything in between. Previously @FabricRisk @Polytechnique, @ENS_ULM. Views own. RT != Endorsements

New York, USA
Joined February 2021
Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)Photo by Dhruv Sharma (@DhruvComplex)
Dhruv Sharma retweeted
why i avoid graph databases the question: "is knowledge graph rag production ready? should we use it?" the answer: after 10 years in ml, i stay away from graph databases. every company i've seen go into the graph world moves back to sql within 4-5 years. the issues are real: hard to hire talent (easier to find postgresql experts) schema definition creates endless debates without clear best practices most use cases need only 1-2 traversals, not complex graph operations even facebook's "graph" was actually a large mysql database. the only company that truly needs graph databases is linkedin for 3-5 degree friendship calculations. even for microsoft's document graph approach - i'd rather use fine-tuned embeddings. a graph is just an adjacency matrix, and fine-tuning can get you close to that similarity definition without the operational complexity. start with your data: let specific use cases justify graph complexity rather than choosing technology first. graph might be 2% better, but traditional approaches working well means that 2% rarely justifies the maintenance cost.
78
81
32
1,022
127,644
Dhruv Sharma retweeted
Making a clear recommendation and being willing to take partial ownership of it is not the same thing as making a decision. The readers don’t know anything, that’s a cop out.
1
1
3
310
Dhruv Sharma retweeted
Love it, Stevie 😘 @AXA | #Ad
333
2,226
458
22,217
3,543,208
One of the most useful ideas in probability and a fundamental technique in combinatorics, popularized by Erdős. It can even solve the hardest IMO problems! Solving IMO 1989 #6 using Probability and Expectation angrystatistician.blogspot.c…
one of the coolest illustrations of linearity of expectation
1
5
1,032
Dhruv Sharma retweeted
My thesis is LLMs significantly boost your motivation to work on something. Getting a shitty prototype fast is immensely motivating Code and time are often not the bottleneck, motivation is the bottleneck.
there is no market for way shittier versions of apps/games/software no matter how fast you and an LLM can "make" it
66
121
35
1,618
123,853
Love this quote from Sir Michael Atiyah: "Algebra is the offer made by the devil to a mathematician. The devil says, 'I will give you this powerful machine...all you need to do is give up your soul: give up geometry...' The danger to our soul is there... when you pass into algebraic calculation,..., you stop thinking geometrically, you stop thinking about meaning.
40
83
17
624
50,849
Dhruv Sharma retweeted
Spectral gaps of diffusion models identify different phases of generalization on manifolds. After a "trivial" phase I, in phase II the particles fit the distribution internal to the manifold. In phase III the score is orthogonal to the manifold and it acts as a projection.
I am very happy to share: " Manifolds, Random Matrices and Spectral Gaps: The geometric phases of generative diffusion" We study the evolving latent geometry of diffusion by analyzing gaps in the Jacobian spectrum with statistical physics methods Paper: arxiv.org/pdf/2410.05898
1
24
1
128
9,066
Rare announcement: after finishing my PhD @berkeley_ai in 2023, and working on forecasting problems @amazon and @technology, I am launching @forecastingco with my dear friend @jodles89! We are building foundation models for time series. Get in touch! theforecastingcompany.com
The Forecasting Company (YC S24) just launched on @ycombinator's Launch YC! ycombinator.com/launches/LUp… Talk to us if you have planning or forecasting problems. @geoffnegiar @jodles89
5
5
5
49
9,230
Dhruv Sharma retweeted
❤️
1,140
23,958
4,169
106,941
4,957,729
+1. I think we are at the point where we need less frameworks and more dedicated libraries to do a few things well with transparent prompting.
New blog post 📰: Understanding what LLM frameworks are doing is difficult (digging through code, docs, etc). I show how intercept API calls with @mitmproxy to quickly understand how popular frameworks work and find interesting results. I walk through examples with Guardrails, LangChain, DSPy, Instructor and Guidance. I illustrate the value of saying "Fuck you, show me the prompt" before starting to use any tool. hamel.dev/blog/posts/prompt/
2
2
1
19
3,626
Slides by Amundi's Thierry Roncalli on Advanced Topics in Portfolio Optimization, Climate and ESG Portfolio Construction and Machine Learning in Asset Management with Tutorials - 1,420 Slides in All Great Weekend Binge Read.... #FinX papers.ssrn.com/sol3/papers.…
2
31
5
163
47,099
Dhruv Sharma retweeted
Mo Salah running down the wing 🎶 Shoutout to @iamjohnoliver on the newest episode of #HotOnes 🔥 🎥: @firstwefeast
26
517
57
4,911
208,289
Argentina's new IMF program document is out. Public debt-to-GDP is on a strongly downward path in the baseline, apparently, but the fan chart suggests debt in a decade could be anywhere between 0% of GDP and 120% of GDP. This is just nonsense macroeconomics.
6
10
1
28
7,845
🚨Newest on the @arxiv 🚨 I present a pedagogical introduction to the works by Rashel Tublin and Yan Fyodorov on random linear systems with quadratic constraints, using tools from Random Matrix Theory and replicas [arxiv.org/abs/2401.03209] @KCLDisorder @kclmathematics @unibait
7
1
15
1,102
Dhruv Sharma retweeted
6
167
16
1,759
72,307
Dhruv Sharma retweeted
The boss personally invited Dáire and his family back to Merseyside 🙌 On the annual International Day of Persons with Disabilities, Dáire returned to Anfield to witness our 4-3 win over Fulham before being welcomed to the AXA Training Centre the following day ❤️ #RedTogether

201
940
214
8,348
649,729
Dhruv Sharma retweeted
"You need to know about the song, then you understand the club..." ❤️ Jürgen Klopp on 60 years of You'll Never Walk Alone 🎶🔴
260
3,347
508
16,045
1,265,094
The hardest part about being an immigrant is not the immigration system but having to choose between pursuing a world class career and seeing your parents grow old
172
728
173
8,258
989,378
You need to unlearn the way you think of training data to get the most out of LLMs. With tabular data/models, you need to get a relatively large (usually >1000 rows) dataset to train an ML model, since it has to learn the concept from scratch. However, LLMs already know how to do most tasks. Finetuning is just the process of extracting specific behavior out of the model. So how do you apply this? 1. Get some high-quality, labeled training data. Even 20 samples will do. (should take < 1 hour to label) 2. Fine-tune your model on that data (use LoRA, it's faster). 3. Generate new training data using that fine-tuned model. 4. Curate the best samples from the generated data. 5. Either continue to fine-tune that model on the curated data, or append that data to your starter dataset and fine-tune a model from scratch. This pattern is relatively unfamiliar to many experienced data scientists. Try it out!
21
72
3
472
113,471