When one of the first examples is: > GPT-4 feature: ends of phrases related to price increases and the 2/5s of the responses don't have any relation to increase at all: > Brent crude, fell 38 cents to $118.29 a barrel on the ICE Futures Exchange in London. The U.S. benchmark, West Texas Intermediate crude, was down 53 cents to $99.34 a barrel on the New York Mercantile Exchange. -- Ronald D. White Graphic: The AAA an…
Notice that most of the examples have none of the green highlight counter, which is shown for > small losses. KEEPING SCORE: The Dow Jones industrial average rose 32 points, or 0.2 percent, to 18,156 as of 3:15 p.m. Eastern time. The Standard & Poor’s ... OMAHA, Neb. (AP) — Warren Buffett’s company has bought nearly the other sentences are in contrast to show how specific this neuron is.
Extracting concepts from GPT-4
21–30 of 155 posts
Re: Extracting concepts from GPT-4
#22I want to be able to view exactly how my input is translated into tokens, as well as the embeddings for the tokens.
Re: Extracting concepts from GPT-4
#23The worrying part is that first concept in the doc they show/found is "human imperfection". Hope this is just coincidence..
Humans aren't perfect, AI is trained by humans, therefore...
Re: Extracting concepts from GPT-4
#24I want to be able to view exactly how my input is translated into tokens, as well as the embeddings for the tokens.
For your first question: https://platform.openai.com/tokenizer
"how a piece of text might be tokenized by a language model"
"It's important to note that the exact tokenization process varies between models."
Re: Extracting concepts from GPT-4
#25I mean, you just have to compare the couple of interesting features of the OpenAI feature browser [1] and the features of the Anthropic feature browser [2].
[0] https://twitter.com/AnthropicAI/status/1793741051867615494
[1] https://openaipublic.blob.core.windows.net/sparse-autoencode...
[2] https://transformer-circuits.pub/2024/scaling-monosemanticit...
Re: Extracting concepts from GPT-4
#26When one of the first examples is: > GPT-4 feature: ends of phrases related to price increases and the 2/5s of the responses don't have any relation to increase at all: > Brent crude, fell 38 cents to $118.29 a barrel on the ICE Futures Exchange in London. The U.S. benchmark, West Texas Intermediate crude, was down 53 cents to $99.34 a barrel on the New York Mercantile Exchange. -- Ronald D. White Graphic: The AAA an…
Notice that most of the examples have none of the green highlight counter, which is shown for > small losses. KEEPING SCORE: The Dow Jones industrial average rose 32 points, or 0.2 percent, to 18,156 as of 3:15 p.m. Eastern time. The Standard & Poor’s ... OMAHA, Neb. (AP) — Warren Buffett’s company has bought nearly the other sentences are in contrast to show how specific this neuron is.
There are also many top activations not showing increases, e.g.
> 0.06 of a cent to 90.01 cents US.↵↵U.S. indexes were mainly lower as the Dow Jones industrials lost 21.72 points to 16,329.53, the Nasdaq was up 11.71 points at 4,318.9 and the S&P 500
(Highlight on the first comma.)
Re: Extracting concepts from GPT-4
#27Earlier quoted context omitted.
For your first question: https://platform.openai.com/tokenizer
I saw that, but the language makes me think it's not quite the same as what's really being used? "how a piece of text might be tokenized by a language model" "It's important to note that the exact tokenization process varies between models."
Re: Extracting concepts from GPT-4
#28Can someone ELI5 the significance of this? (okay maybe not 5, but in basic language)
We don't really have a good way of understanding how these features are generated inside of the LLMs or how their circuitry is activated when outputting them, or why the LLMs are following those circuits. Because of this, we don't have any way to debug this component of an LLM - which makes them harder to improve. Similarly, if LLMs/AIs ever get advanced enough, we'll want to be able to identify if they're being wilfully deceptive towards us, which we can't currently do. For these reasons, we'd like to understand what is actually happening in the neural network to produce & output concepts. This domain of research is usually referred to as "interpretability".
OpenAI (and also DeepMind and Anthropic) have found a few ways to inspect the inner circuitry of the LLMs, and reveal a handful of these features. They do this by asking questions of the model, and then inspecting which parts of the LLM's inner circuitry "lights up". They then ablate (turn off) circuitry to see if those features become less frequently used in the AIs response as a verification step.
The graphs and highlighted words are visual representations of concepts that they are reasonably certain about - for example, the concept of the word "AND" linking two parts of a sentence together highlights the word "AND".
Neel Nanda is the best source for this info if you're interested in interpretability (IMO it's the most interesting software problem out there at the moment), but note that his approach is different to OpenAI's methodology discussed in the post: https://www.neelnanda.io/mechanistic-interpretability
Re: Extracting concepts from GPT-4
#29Re: Extracting concepts from GPT-4
#30Can someone ELI5 the significance of this? (okay maybe not 5, but in basic language)
LLM based AIs have lots of "features" which are kind of synonymous with "concepts" - these can be anything from `the concept of an apostrophe in the word don't`, to `"George Wash" is usually followed by "ington" in the context of early American History`. Inside of the LLMs neural network, these are mapped to some circuitry-in-software-esque paths. We don't really have a good way of understanding how these features ar…