Matthew Finlayson's Avatar

Matthew Finlayson

@mattf1n.bsky.social

NLP PhD @ USC Previously at AI2, Harvard mattf1n.github.io

4,557 Followers  |  612 Following  |  61 Posts  |  Joined: 04.10.2023  |  1.7227

Latest posts by mattf1n.bsky.social on Bluesky

Post image

The project was led by Murtaza Nazir, an independent researcher with serious engineering chops. It's his first paper. He's a joy to work with and is applying to PhDs. Hire him!

It's great to finally collab with Jack Morris, and a big thanks to @swabhs.bsky.social and Xiang Ren for advising.

23.06.2025 20:49 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image Post image

Our technical insight is that logprob vectors can be linearly encoded as a much smaller vector. We make prompt stealing both *more accurate* and *cheaper*, by compactly encoding logprob outputs over multiple generation steps, resulting in massive gains over previous SoTA methods.

23.06.2025 20:49 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

We noticed that existing methods don't fully use LLM outputs:
either they ignore logprobs (text only), or they only use logprobs from a single generation step.

The problem is that next-token logprobs are big--the size of the entire LLM vocabulary *for each generation step*.

23.06.2025 20:49 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

When interacting with an AI model via an API, the API provider may secretly change your prompt or inject a system message before feeding it to the model.

Prompt stealing--also known as LM inversion--tries to reverse engineer the prompt that produced a particular LM output.

23.06.2025 20:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

I didn't believe when I first saw, but:
We trained a prompt stealing model that gets >3x SoTA accuracy.
The secret is representing LLM outputs *correctly*

🚲 Demo/blog: mattf1n.github.io/pils
πŸ“„: arxiv.org/abs/2506.17090
πŸ€–: huggingface.co/dill-lab/pi...
πŸ§‘β€πŸ’»: github.com/dill-lab/PILS

23.06.2025 20:49 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I wish the ML community would stop trying to turn every technique into a brand name. Just give the thing a descriptive name and call it what it is.

Forced backronyms like this are counter productive.

11.06.2025 15:10 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

It appears that the only fonts with optical sizes that work with pdflatex are the computer/latin modern fonts. I would kill for a free pdflatex-compatible Times clone with optical sizes so my small text can look good in ArXiv/conference submissions.

04.06.2025 16:05 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Screenshot of inconsistent line height to make way for a superscript.

Screenshot of inconsistent line height to make way for a superscript.

Screenshot of text with consistent line height.

Screenshot of text with consistent line height.

If you are writing a paper for #colm2025 and LaTeX keeps increasing your line height to accommodate things like superscripts, consider using $\smash{2^d}$, but beware of character overlaps.

16.03.2025 02:32 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

This project was made feasible by the excellent open-source LLM training library @fairseq2.bsky.social; I highly recommend giving it a look! It made both SFT and DPO a piece of cake 🍰

25.02.2025 21:58 β€” πŸ‘ 10    πŸ” 3    πŸ’¬ 0    πŸ“Œ 1
Post image

6/ Our method is general, and we are excited to see how it might be used to better adapt LLMs to other tasks in the future.

A big shout-out to my collaborators at Meta: Ilia, Daniel, Barlas, Xilun, and Aasish (of whom only @uralik.bsky.social is on Bluesky)

25.02.2025 21:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

5/ Training on self-demos, our model learns to better leverage the context to answer questions, and to refuse questions that it is likely to answer incorrectly. This results in consistent, large improvements across several knowledge-intensive QA tasks.

25.02.2025 21:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

4/ To obtain self-demos we generate candidate responses with an LLM, then use the same LLM to compare these responses to the gold one, choosing the one that best matches (or refuses to answer). Thus we retain the gold supervision from the original responses while aligning the training data.

25.02.2025 21:55 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image

3/ OOD responses encourage the model to answer questions it does not know the answer to, and since retrievals are added post-hoc, the responses tend ignore or even contradict the retrieved context. Instead of training on these low-quality responses, we use the LLM to generate "self-demos".

25.02.2025 21:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

2/ A popular recipe for adapting LLMs for RAG involves adding retrievals post-hoc to an existing instruction-tuning dataset. The hope is that the LLM learns to leverage the added context to respond to instructions. Unfortunately, the gold responses in these datasets tend to be OOD for the model.

25.02.2025 21:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

🧡 Adapting your LLM for new tasks is dangerous! A bad training set degrades models by encouraging hallucinations and other misbehavior. Our paper remedies this for RAG training by replacing gold responses with self-generated demonstrations. Check it out here: https://arxiv.org/abs/2502.10

25.02.2025 21:55 β€” πŸ‘ 18    πŸ” 1    πŸ’¬ 2    πŸ“Œ 1
The usc style guide list of formats for β€œcardinal” (see main post for list)

The usc style guide list of formats for β€œcardinal” (see main post for list)

The rgb and CMYK colors side by side. The CMYK is considerably pinker

The rgb and CMYK colors side by side. The CMYK is considerably pinker

Putting together an unofficial usc Beamer template, I noticed that the USC style guide lists 4 formats for β€œcardinal red” but each of them is different:

PMS 201 C is #9D2235
CMYK: 7, 100, 65, 32 is #A1003D
RGB: 135, 27, 30 is #991B1E
HEX: #990000

Is this normal? The CMYK is especially egregious.

12.12.2024 17:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If you are registered for NeurIPS it should be available already online.

12.12.2024 17:05 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

NeurIPS should make them available online after one month :)

11.12.2024 06:57 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A diagram demonstrating text generation with beam search. One of the paths reads β€œTaylor Swift is the only person to…”

A diagram demonstrating text generation with beam search. One of the paths reads β€œTaylor Swift is the only person to…”

In Vancouver for NeurIPS but don't have Taylor Swift tickets?

You can still spend the day going through our tutorial reading list:
cmu-l3.github.io/neurips2024-...

Tuesday December 10, 1:30-4:00pm @ West Exhibition Hall C, NeurIPS

09.12.2024 01:43 β€” πŸ‘ 29    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Shout out to our organizers @wellecks.bsky.social @abertsch.bsky.social @hails.computer @uralik.bsky.social @gneubig.bsky.social @abertsch.bsky.social Alex Xie, Konstantin Golobokov, and Zaid Harchaoui

06.12.2024 17:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Panelist photos: Rishabh Agarwal (Google, McGill), Noam Brown (OpenAl), Beidi Chen (CMU), Nouha Dziri (AI2), Jakob Foerster (Oxford, Meta)

Panelist photos: Rishabh Agarwal (Google, McGill), Noam Brown (OpenAl), Beidi Chen (CMU), Nouha Dziri (AI2), Jakob Foerster (Oxford, Meta)

Curious about all this inference-time scaling hype? Attend our NeurIPS tutorial: Beyond Decoding: Meta-Generation Algorithms for LLMs (Tue. 1:30)! We have a top-notch panelist lineup.

Our website: cmu-l3.github.io/neurips2024-...

06.12.2024 17:18 β€” πŸ‘ 27    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

😍 I went cycling there last year, what an amazing place

02.12.2024 06:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

The cover 😍

29.11.2024 18:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Check your data mixture. @hamishivi.bsky.social is probably secretly up-weighting Latin in Dolma

28.11.2024 16:42 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

What's that? A fully open LM competitive with Gemma and Qwen*?

Happy to have helped a bit with this release (Tulu 3 recipe used here)! OLMo-2 13B actually beats Tulu 3 8B on these evals, making it a SOTA fully open LM!!!

(*on the benchmarks we looked at, see tweet for more)

26.11.2024 20:54 β€” πŸ‘ 10    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

These folks have had a huge impact on my research

26.11.2024 18:39 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

#socalnlp is the biggest it's ever been in 2024! We have 3 poster sessions up from 2! How many years until it's a two-day event?? 🀯

22.11.2024 21:50 β€” πŸ‘ 26    πŸ” 3    πŸ’¬ 2    πŸ“Œ 0
LLM360 logo. A long-necked llama in the shape of an O.

LLM360 logo. A long-necked llama in the shape of an O.

Screenshot from Oquonie with a long-necked character.

Screenshot from Oquonie with a long-necked character.

This is niche but the LLM360 logo always reminds me of the 2014 iOS game Oquonie

22.11.2024 19:23 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

And by linear I mean logistic πŸ€¦β€β™‚οΈ

22.11.2024 08:02 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Hottest new research challenge: find the lost LLM head!

22.11.2024 07:30 β€” πŸ‘ 9    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@mattf1n is following 19 prominent accounts