Better HN
topnewbestaskshowjobs
Log inSign up

alexlitz

41 karma · joined Mar 19, 2019 (7y ago) · 13 submissions

Submissions

1.

Kremlinology for LLM Infrastructure(alexlitzenberger.com ↗)

1 points · by alexlitz · 1w ago · discuss

2.

The Emulation Zoo(alexlitzenberger.com ↗)

1 points · by alexlitz · 1w ago · discuss

3.

The Emulation Frontier(alexlitzenberger.com ↗)

1 points · by alexlitz · 1w ago · discuss

4.

Emulating ALiBi with Rope(alexlitzenberger.com ↗)

4 points · by alexlitz · 4mo ago · discuss

comment 8mo ago · link · parent

The buried lede is this, if you have two dimensions and use rope, and hard-max attention you could simply store addresses as a given theta. With RoPE and sufficient precision that pretty easily gets you relative addressing with just one head and absolute with three (treating BOS as a sink getting rotation relative to it with orthogonal unit queries then using the result to counter rotate your own relative position with the complex conjugate). With less precision just add a few more heads with different thetas.

comment 9mo ago · link · parent

> It baffles me that somebody capable of this kind of work would find this surprising.

I should be clear I was not surprised that: 1) It struggled particularly hard with this sort of novel task 2) It tried to "correct" funky things that I was doing 3) It did not fix all my bugs I was surprised that it IIRC did not find even one of the bugs which were relatively simple, and the persistence of how much it got stuck with #2.

comment 9mo ago · link · parent

Yeah that is plausible enough.

comment 9mo ago · link · parent

Yeah basically it is an implementation detail but most of them are zero, there is an equivalent 14 parameter sparse matrix for that.

comment 9mo ago · link · parent

I imagine getting things to be polysemantic in a way that does not interfere would lead to sublinear scaling. Also there are smaller ones that were trained so would still be more like 311/36 ~= 8.6.

comment 9mo ago · link · parent

For one the specific 36 parameter version is impossible without float64 so you might guess the corollary that it is not exactly amenable to being found by gradient descent. I think the question of how you can structure transformers and neural nets in general so that they can both very parsimoniously represent things like this and have it be amenible to learning by gradient descent.

11.

Building a Minimal Transformer for 10-digit Addition(alexlitzenberger.com ↗)

2 points · by alexlitz · 9mo ago · discuss

comment 9mo ago · link · parent

I made a blogpost on my submission (currently the top handwritten one at 36 parameters) https://alexlitzenberger.com/blog/building_a_minimal_transfo...

13.

Monte Carlo Geometry Processing(youtube.com ↗)

2 points · by alexlitz · 4y ago · discuss