Better HN
topnewbestaskshowjobs
Log inSign up

martincsweiss

165 karma · joined May 9, 2021 (5y ago) · 62 submissions

Co-founder of Tiptree Systems. Postdoc at Mila with Hugo Larochelle and Chris Pal. x.com/martincsweiss1
Submissions

comment 1w ago · link · parent

I was tech chair for ICCV 2021 (6k+ submissions), so I saw the amount of bad behaviour even before LLMs.

Peer review will be redesigned from the ground up around LLMs. Patches are fine (AI detectors have a place, some bans can be good), but this won't be enough.

comment 1w ago · link · parent

Author here: I was tech chair for ICCV 2021; I had root access to the whole process, so I saw (and scrubbed) its barnacly underbelly. I'm now a postdoc-entrepreneur at Mila with Hugo Larochelle and Chris Pal working on meta-science, multi-agent games, and AI for science.

Academic machine learning is changing and needs better policies. We need to get this right because society needs better ways to build consensus and seek truth.

This essay shares some meta-science analysis I did on academic ML and a few policy ideas.

My hope is to engage in discussion about academic ML policy. I believe that the only way we make progress on this is to sample and refine ideas together.

3.

A Defense of Academic Gatekeeping(lacuna.tiptreesystems.com ↗)

6 points · by martincsweiss · 1w ago · 1 comment

4.

How much does it cost to produce one research paper?(blogs.lse.ac.uk ↗)

2 points · by martincsweiss · 1w ago · discuss

comment 2w ago · link · parent

this comment didn't even age like milk

comment 2w ago · link · parent

Yea, I don’t think that’s going to happen.

comment 2w ago · link · parent

They aren't on par - but people are irrational and the world has a lot of detail. Therefore, it's hard to do credit assignment on why Tesla is making fewer hit products.

comment 2w ago · link · parent

Either that or the pics of him shirtless in Mykonos.

comment 2w ago · link · parent

There's too many confounders to say that JB Straubel is the cause.

Examples: Covid controversies around musk in 2020, Twitter acquisition in 2022, Musk becoming the world richest person in 2021

comment 2w ago · link · parent

That's a lot of money.

comment 2w ago · link · parent

Found a dashboard of ICLR 2027 review scores (built on OpenReview data). The scoring is 1 = strong reject, 4 = strong accept.

- 40,458 papers with ratings - 125,048 reviews - Mean paper score: 2.06 (super low!) - Median paper score: 2.00 - Top 25% cutoff: 2.33 - Top 10% cutoff: 2.67

For what it's worth, I had a paper with 2, 2, 4 and it's in the top 10%, which is wild.

12.

ICLR 2027 review scores for 40,458 papers(shiqiangw.github.io ↗)

1 points · by martincsweiss · 2w ago · 1 comment

comment 2w ago · link · parent

Really? I'm surprised. What do you use it for?

My read on Diffusion LLMs has been that it's cool tech, but only useful for things like like code autocomplete or editing a block of text.

They don't beat autoregressive models on quality per compute, assuming you are serving lots of users and can batch requests.

14.

The Limits of Test-Time Compute for Self-Evaluation(anirudhb11.github.io ↗)

2 points · by martincsweiss · 3w ago · discuss

comment 3w ago · link · parent

I use Codex and Claude Code with piles of project-specific skills and AGENTS.md files.

For my main work at my startup, we're very careful with how these are setup.

Everywhere else, I simmer in chaos.

I also have strong boundaries around generated prose. I don't like making other people read AI slop, but I don't mind having AIs read it.

comment 3w ago · link · parent

That's useful feedback. I added introductory material in response to feedback from a colleague, but I suppose that didn't help "get to the point". I think the audience for my work is experts + experience practitioners, so the accessibility / novelty tradeoff was not a good one.

comment 3w ago · link · parent

Yep, Stochastic Rounding [1]. I actually had "round-to-nearest" in the title of the piece originally. Usually people do that if they don't have the space for fp32 master weights, but it doesn't fix the second moment part of the learning process.

[1] What is New in Stochastic Rounding: a Survey on Theory, Hardware, and Applications, https://arxiv.org/pdf/2603.06060v2

comment 3w ago · link · parent

Thanks for the comment - you're right, of course.

I read a bit more into the history of fp32 master copies, like in Mixed Precision Training (Micikevicius et al., ICLR 2018, https://arxiv.org/abs/1710.03740), it says that an fp16 update is lost once the weight is ~2048× larger than it. I've updated the post with a citation to that paper.

bf16's shorter mantissa moves that to ~512×, which is significant.

The point of the post is narrower: a lot of published fine-tuning code doesn't keep a master copy at all. So what does that do? It gives you a magnitude mask where only the smallest weights (those under 512xlr) are updating. Which I thought was an interesting inductive bias that wasn't really noted.

comment 3w ago · link · parent

I wrote this essay out of curiosity for finetuning, and as part of my Postdoc. I thought folks here who are finetuning models might find it interesting.

And thanks for your feedback, I'll try to post more of what I'm reading, too.

comment 3w ago · link · parent

Yea that's pretty related. In this case, I'm looking at full finetunes (although we don't end up actually finetuning the whole model, just the small weights!)

comment 3w ago · link · parent

If you fine-tune a model with weights stored in bf16 and let torch.optim.AdamW write to them directly, you get interesting behaviour. bf16 can only represent changes to weights if the change is at least ~1/512 of the weight itself, so at small learning rates only the smallest weights can update.

As a result, you have a sparse fine-tuner that trains the small-magnitude weights and freezes the rest, with the cutoff set by your learning rate. This is a thing - I found half a dozen peer-reviewed papers (with thousands of citations) that fine-tune this way, but none of them reference this behaviour.

I dug into one called Quiet-STaR, because (a) it's a cool paper, (b) they released their weights, and (c) their code works! So I diffed their base model and saw that indeed the small-magnitude weights were the only ones updated during their training. Then I reran its recipe with an optimizer that applies every update, and watched it diverge. A higher-precision optimizer needs a 3 to 10 times smaller learning rate to get the same result, and I couldn't achieve a better result.

This started with Barron, Gnanapragasam & Tschannen's "A Fix for Softmax and Cross-Entropy" (Oct 2026). They show that the standard way of computing cross-entropy rounds the correct answer's gradient to exactly zero once the model is confident enough (past a margin of about 5.5 in bf16, which they call the precision cliff), and that this, interacting with Adam, is what produces the "slingshot" loss spikes seen during grokking. Fix the rounding and the spikes go away: something people had studied as training dynamics was rounding.

That made me wonder what else out there is weird like this. This is one, and it runs the other way: their rounding bug adds instability to training; this one hides it.

The code, logs and evaluation results are in mweiss17/quietstar-bf16-adamw, in case you want to check the receipts.

22.

Bf16 might be freezing your weight updates(lacuna.tiptreesystems.com ↗)

19 points · by martincsweiss · 3w ago · 11 comments

comment 3w ago · link · parent

Author here, and Postdoc with Hugo Larochelle and Chris Pal.

I saw the LocalWiki last week, and it inspired me to make a learning tool based on "local" research papers. Many ML researchers write code that relies on a long history of research in ML and applied math. But which papers are you actually building on?

You can paste a GitHub repo and Standing on will read its Python code match pieces of it back to the research papers from which it arose.

nanoGPT, for example has 15 Python files and links to 13 papers including Adam, AdamW, LayerNorm, GELU, FlashAttention, etc. If you go back further, you get Adam and then AdaGrad (2011), Zinkevich's online convex programming (2003) and finally you wind up with Nash (1950) and Kakutani's fixed-point theorem (1941).

It's a very simple symbol table map with 4,800 classes and functions in torch, transformers, diffusers, timm, sklearn and others to the papers they implement. I used Claude and Codex to label the symbols and named each paper's parents, and check them against our ML research map, Lacuna.

We only support python and machine learning papers only for now. You can export to BibTeX, CSV and Markdown.

24.

Show HN: What research is your code standing on?(lacuna.tiptreesystems.com ↗)

6 points · by martincsweiss · 3w ago · 1 comment

comment 1mo ago · link · parent

Yes I’d say so. That and a line of work on compositional generalization in deep learning.

comment 1mo ago · link · parent

I don’t think that’s where we are headed. Humans are the bottleneck but they aren’t replaceable by LLMs. We experience high fidelity multimodal observations all day long, generated by a 13 billion year old gigantic quantum computer. LLMs get a few quantized tokens.

The universe has too much detail for us not to contribute useful information to a human-so scientific process

comment 1mo ago · link · parent

Thurston wrote about this in “On Proof and Progress in Mathematics,” including how his own approach changed from proving theorems to helping a community understand the mathematics.

Nicolas Le Roux, a Lagrange Prize winner / prof / strong mathematician, turned me onto that around the time I finished my PhD in ML last year. I have been thinking about it a lot, lately, for obvious reasons.

At first, it felt silly to grapple with what science is only after finishing a PhD. This publication from OpenAI finally pushed me over the line to publishing an essay about this struggle between AI science and human science: https://news.ycombinator.com/item?id=50253759

123