Better HN
topnewbestaskshowjobs
Log inSign up

gregdeon

124 karma · joined Sep 7, 2024 (2y ago) · 54 submissions

Submissions

comment 23h ago · link · parent

The best English version I've seen so far was posted by Michael Rubenstein (https://www.math.uwaterloo.ca/~mrubinst/alpoge_claude_grh/). It starts with a nice exposition, followed by 240 pages of details. I don't think it's complete yet, though.

comment 1d ago · link · parent

Huh, TIL! I always thought that the only reason we didn't measure negative pH levels was because our undergrad chemistry lab didn't trust us with acids that strong. Super interesting that it's actually a fundamental property of water.

comment 1d ago · link · parent

I think you have something backwards. The graph shows log-perplexity, with the oldest models getting a log-perplexity of 1 and the newest ones getting closer to 0.7. I don't know what base they're using for their log, but suppose that it's base 2. Then, the oldest models have a perplexity of 2^1 = 2, and the newest models are approaching a perplexity of 2^0.7 = 1.62.

None of the models get a negative perplexity. It's not possible to get a negative perplexity: that would mean you're doing better than predicting the next token with probability 1, which is impossible.

comment 1d ago · link · parent

I just gave the example to show that a sub-exponential algorithm doesn't necessarily break the internet overnight. It's definitely possible that the algorithm they found leads us to eventually discover something even better!

comment 2d ago · link · parent

In particular, the algorithm that falsified the Exponential Time Hypothesis started something like this:

> First, if the number of variables has less than a million digits, solve the problem by brute force. Otherwise, ...

There is absolutely no chance an algorithm like this has any immediately practical consequences.

comment 2d ago · link · parent

The best possible perplexity is 1, and the best possible log-perplexity is log(1) = 0. The only way to achieve this is with a model that always predicts that the next token has probability 1 -- i.e., a perfect model.

A helpful comparison: suppose you have a model that always outputs a uniform distribution over K possible tokens (assigning probability 1/K to each one), and that the next token is indeed one of those K options. This model has perplexity K. So, in some sense a perplexity of K is comparable to narrowing down the answer to one of K possibilities. This includes the special case of K=1, which is the best possible model.

comment 2d ago · link · parent

Sure, and learning to predict those tokens is probably a good way to start training a model. But the hope is also to eventually make a model that's _better_ than what's in that data, right?

comment 2d ago · link · parent

Me too. Perplexity of what? If we want models to be able to reason, call tools, or solve new problems, none of those necessarily have existing data on what the next token should be. A lot of advances in frontier models come from training with RL, which is fundamentally different from next-token prediction and doesn't have a notion of perplexity.

comment 3d ago · link · parent

The proof is written in a programming language called Lean. Very roughly, Lean is set up so that proofs are functions and theorems are types in this language. Verifying that the proof is correct essentially amounts to compiling the program and confirming that it doesn't have any type errors. Several people have compiled the program successfully, so we believe it's correct.

The biggest concern that people have is that there might be a bug in the type checker that the proof is exploiting. But a) it's been compiled with multiple independently-implemented compilers, which are are unlikely to have the same bugs, and b) some of those compilers have themselves been proven to contain no bugs. So, it is exceedingly likely that the proof is legitimate.

Now, whether we can understand the proof is an open question...

comment 3d ago · link · parent

I'm no mathematician, but my understanding is that the Riemann Hypothesis implies that the distribution of prime numbers has a nice, predictable structure. Many existing proofs assume that the Riemann Hypothesis is true to take advantage of that structure. So, now we know that all of those results are true!

One example is the Miller-Rabin test (https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality...), which checks whether a number is prime. Without assuming (a more general version of) the Riemann Hypothesis, this is a probabilistic algorithm: the best we could prove is that it has some small probability of reporting that a prime number is composite. But with it, we can prove that the algorithm is guaranteed to work. (Mind you, there are other deterministic primality testing algorithms that don't rely on Riemann for their correctness proofs.)

I don't know any immediate, more practical implications of solving it. I would love to know if there are any!

comment 3d ago · link · parent

I think so. My understanding is that the proof contains many re-proofs of existing, already known results. It may also contain multiple proofs of intermediate lemmas, as LLMs frequently implement things over again rather than reusing an existing implementation. It's very possible that only a small fraction of the proof contains new mathematics.

comment 3w ago · link · parent

Yeah, I was afraid you would say that.

comment 3w ago · link · parent

This is wild. Is it part of Python's specification, or an implementation detail of CPython?

comment 1mo ago · link · parent

"Security by Obscurity" is being replaced by "Security by Velocity"?

comment 1mo ago · link · parent

Same. My left pinky is so much happier on a Mac keyboard. Command + Shift + Tab on Mac is so much easier than Ctrl + Shift + Tab on Windows.

comment 1mo ago · link · parent

Oh goodness, I forgot that this was lodged somewhere in my brain

comment 1mo ago · link · parent

This was the biggest highlight for me as well. Astounding...

comment 1mo ago · link · parent

The idea is that you can solve 3SUM by solving an instance of Triangles in Sparse Graphs, but 3SUM produces instances where those graphs are lopsided (i.e., tripartite graphs where one of the parts is much smaller than the other two). They found an efficient algorithm for those kinds of instances, and therefore an efficient algorithm for 3SUM.

comment 1mo ago · link · parent

Huh, good point. I wonder if this is the beginning of the end of constant phone upgrades. It used to be that new phones had much better hardware, so software that was only tested on new phones would make an older phone grind to a halt. But if the upgrades are much more incremental, perhaps a phone will last a lot longer?

comment 1mo ago · link · parent

We got an Advance Wars bot? Say more...

comment 1mo ago · link · parent

Wow, this is incredibly cool. I can't believe this stuff hasn't been ported into Excel.

comment 2mo ago · link · parent

Right. And some hardware improvements will speed up both grep and Luna, which won't close the gap.

comment 2mo ago · link · parent

Mine is unfortunately pretty specific to the HPC clusters we use. Maybe I should pick out the more general bits and make them public some day...

comment 2mo ago · link · parent

Bonus: if you write all your tricks in a document, people will love your document. Whenever I offer a new student my CHEATSHEET.md file, their eyes absolutely light up.

comment 2mo ago · link · parent

Interesting! Hoka is extremely popular in my circles. They make excellent running shoes for beginners and decent running shoes for more serious athletes. They're also very popular among folks like service workers and nurses who are on their feet all day. I was very sad to find that they don't fit my feet well.

comment 2mo ago · link · parent

This is exactly how I feel about the recent ChatGPT models. It feels like I'm working with an incredibly enthusiastic junior student who listens to everything I say, checks it against my entire codebase, and thinks through all of the possible connections 1000x faster than I can. But it doesn't spot the ideas first. It actually makes work quite fun, since I can spend so much more time in "idea space" instead of "implementation space".

comment 2mo ago · link · parent

This is a very rough approximation of what the strong bots on chess.com do.

comment 2mo ago · link · parent

Yep. In accessibility research, they call these "situational disabilities". When you need to open a door with your arms full of groceries, you aren't so different from someone who is never able to open a door. Accommodations that help people with permanent disabilities also help other people in the right situations, too.

comment 3mo ago · link · parent

Same here in Canada. The solution is that the machines accept a Canadian quarter to run the press, but an American penny to be pressed. No Canadian currency is harmed!
12