Do language models have goals? ๐ฏ
When LMs carry out tasks that unfold over thousands of tokens, is it driven by an ๐ฒ๐ ๐ฝ๐น๐ถ๐ฐ๐ถ๐ ๐ด๐ผ๐ฎ๐น ๐ฒ๐ป๐ฐ๐ผ๐ฑ๐ถ๐ป๐ด in its internals? Can we readout and manipulate this encoding?
We investigate these questions in our new paper. ๐งต
Thinking Machines Lab @thinkymachines just released Inkling 2 Mini, a 26B looped transformer. We've partnered with them to serve you white-box access to the model on NDIF today. You can run it and intervene on its internals on NDIF right now, using zero compute of your own.
Good point! Strictly speaking, NRGS is unlikely to be true in purely "linear attn" modules such as Mamba and DeltaNet, where the architecture maintains a single running state. Things will probably become more interesting in hybrids, maybe the LM carries certain kinds of goal in the DeltaNet running state, and re-reads others with attn, with a messy interplay.
Loop introduces another axis and the layer cut-off isn't true anymore (in theory). But if we consider all the computation in a single pass as one state, probably the abstraction transfers (?). Not super sure. We haven't really looked into either yet.
Do language models have goals? ๐ฏ
When LMs carry out tasks that unfold over thousands of tokens, is it driven by an ๐ฒ๐ ๐ฝ๐น๐ถ๐ฐ๐ถ๐ ๐ด๐ผ๐ฎ๐น ๐ฒ๐ป๐ฐ๐ผ๐ฑ๐ถ๐ป๐ด in its internals? Can we readout and manipulate this encoding?
We investigate these questions in our new paper. ๐งต
Transformers *plan* before they generate a token ๐
We found the plan inside a VLM: where to look, what is done, what comes next.
See the plan live: https://t.co/VFZOYKEiqP
(Bonus: code LLMs and image diffusion transformers do it too)
Here is how we investigated it ๐งต๐
New paper!
One way to find jailbreaks is to train a model via RL to attack a target LLM.
We introduce Curriculum of Models: train against a sequence of targets, progressing gradually from easy to hard to jailbreak and ending with the original target model.
New COLM paper: Identifying Introspection From the Inside
When an LLM tells us about its decisions, does it ๐ฌ๐ฏ๐ฐ๐ธ what drives its choicesโor is it guessing?
In our setting, we find that faithful models decide and report with the same layers. Unfaithful ones don't. ๐งต
A builtin sub-circuit (attn heads) in VLMs that encodes image segments to language concepts! And, the model uses these encodings for downstream behavior. Checkout this cool work from @sheridan_feucht et al.
[New preprint] How do images in VLMs align with words? In this work, we found a set of attention heads responsible for OCR. But to our surprise, these heads were actually able to verbalize much more than just text. So, we used them to create a simple logit lens for image tokens!