LessWrong (30+ Karma)

[Linkpost] “Inferring the model dimension of API-protected LLMs” by Ege Erdil


Listen Later

This is a linkpost for https://arxiv.org/abs/2403.09539

A new paper by Finlayson et al. describes how to exploit the softmax bottleneck in large language models to infer the model dimension of closed-source LLMs served to the public via an API. I'll briefly explain the method they use to achieve this and provide a toy model of the phenomenon, though the full paper has many practical details I will elide in the interest of simplicity. I recommend reading the whole paper if this post sounds interesting to you.

Background

First, some background: large language models have a model dimension that corresponds to the size of the vector that each token in the input is represented by. Knowing this dimension _ d_{text{model}} _ and the number of layers _ n_{text{layers}} _ of a dense model allows one to make a fairly rough estimate _ approx 10 n_{text{layers}} d_{text{model}}^2 _ of the [...]

---

Outline:

(00:33) Background

(01:44) The method of attack

(03:39) Results

(06:43) What will labs do about this?

The original text contained 2 footnotes which were omitted from this narration.

---

First published:

March 18th, 2024

Source:

https://www.lesswrong.com/posts/wQz2cgxPaAkssFkGX/inferring-the-model-dimension-of-api-protected-llms

Linkpost URL:
https://arxiv.org/abs/2403.09539

---

Narrated by TYPE III AUDIO.

...more
View all episodesView all episodes
Download on the App Store

LessWrong (30+ Karma)By LessWrong


More shows like LessWrong (30+ Karma)

View all
The Daily by The New York Times

The Daily

113,041 Listeners

Astral Codex Ten Podcast by Jeremiah

Astral Codex Ten Podcast

130 Listeners

Interesting Times with Ross Douthat by New York Times Opinion

Interesting Times with Ross Douthat

7,230 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

531 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

16,229 Listeners

AI Article Readings by Readings of great articles in AI voices

AI Article Readings

4 Listeners

Doom Debates by Liron Shapira

Doom Debates

14 Listeners

LessWrong posts by zvi by zvi

LessWrong posts by zvi

2 Listeners