Sign in

Ben Lipkin

@benlipkin.bsky.social
1.1K followers 281 following 25 posts

researcher. prev: mit, apple, umich benlipkin.github.io

PostsRepliesMedia
Reposted by Ben Lipkin
Ev Fedorenko @evfedorenko.bsky.social · 30/06/2026
I am so excited about this finding from @pengrui-han.bsky.social and @andreadevarda.bsky.social, also with Jacob Andreas! Perhaps modularity is inevitable in intelligent systems, biological or in silico. :)
0336
Reposted by Ben Lipkin
Greta Tuckute @gretatuckute.bsky.social · 19/08/2025
Humans largely learn language through speech. In contrast, most LLMs learn from pre-tokenized text. In our #Interspeech2025 paper, we introduce AuriStream: a simple, causal model that learns phoneme, word & semantic information from speech. Poster P6, tomorrow (Aug 19) at 1:30 pm, Foyer 2.2!
15110
Reposted by Ben Lipkin
Hope Kean @hopekean.bsky.social · 03/08/2025
Is the Language of Thought == Language? A Thread 🧵 New Preprint (link: tinyurl.com/LangLOT) with @alexanderfung.bsky.social, Paris Jaggers, Jason Chen, Josh Rule, Yael Benn, @joshtenenbaum.bsky.social, ‪@spiantado.bsky.social‬, Rosemary Varley, @evfedorenko.bsky.social 1/8
tinyurl.com
Evidence from Formal Logical Reasoning Reveals that the Language of Thought is not Natural Language
Humans are endowed with a powerful capacity for both inductive and deductive logical thought: we easily form generalizations based on a few examples and draw conclusions from known premises. Humans al...
68133
Reposted by Ben Lipkin
Thomas Hikaru Clark @thomashikaru.bsky.social · 31/07/2025
1/7 If you're at CogSci 2025, I'd love to see you at my talk on Friday 1pm PDT in Nob Hill A! I'll be talking about our work towards an implemented computational model of noisy-channel comprehension (with @postylem.bsky.social, Ted Gibson, and @rplevy.bsky.social).
1177
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Great question! We have not directly compared. SMC offers a test-time approach to steer off-the-shelf models without additional training, whereas diffusion forcing trains autoregressive models to more effectively sample from the global target. These strategies can actually likely be combined.
030
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
And check out the following papers, which set the technical landscape for this work to build on: Lew et al (2023): arxiv.org/abs/2306.03081 Loula et al (2025): arxiv.org/abs/2504.13139
130
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Thanks to Ben LeBrun, @vigly.bsky.social bsky.social, @joaoloula.bsky.social sky.social, @drmaciver.bsky.social aciver.bsky.social, Li Du, Jason Eisner, Ryan Cotterell, Vikash Mansinghka, Tim O'Donnell, @alexlew.bsky.social ky.social, @xtimv.bsky.social Paper Link: arxiv.org/abs/2504.05410
140
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Want to use AWRS SMC? Check out the GenLM control library: github.com/genlm/genlm-... GenLM supports not only grammars, but arbitrary programmable constraints from type systems to simulators. If you can write a Python function, you can control your language model!
161
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Why does AWRS work? Formal and empirical runtime analyses tell a fascinating story. AWRS scales adaptively with the KL divergence between the conditional and base token-level models. As your LM better understands the constraint, AWRS gets faster. As the LM struggles, AWRS closes the gap.
130
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
We tested AWRS SMC on several controlled generation tasks, from text-to-SQL to PDDL goal inference to molecular synthesis. AWRS SMC outperforms baselines by large margins, e.g., see the jump from 3% -> 53% in the goal inference domain with only ~2.5x clock time overhead.
130
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Next, SMC uses the proposed extensions and corresponding weights from AWRS to update importance weights associated with partial sequences (particles). These particles are resampled proportional to their weights, re-allocating computation towards the most promising sequences.
130
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
First, AWRS reformulates the token-level inference problem from exact enumeration to adaptive rejection sampling. This process yields equivalently distributed samples at a fraction of the cost. AWRS then estimates and propagates an importance weight alongside these samples.
140
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
So, what can we do? AWRS SMC is a hierarchical inference framework based on sequential Monte Carlo using a novel stochastic proposal algorithm. By jointly considering local and global signals, AWRS SMC is both probabilistically sound and sample efficient. How does it work?
130
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Problem B: LCD distorts the distribution. Consider this simple LM over the tokens `a` and `b` with the constraint that “strings must end with `a`”. While the distribution on complete strings favors `ba`, autoregressive sampling will favor `ab`. We don’t want this.
140
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Problem A: Token masking is often slow. Must classify all 100,000+ tokens in the vocab at each step. While regular and context-free grammars support low-overhead solutions using tools like Outlines (dottxtai.bsky.social), open-ended constraint enforcement has been harder.
130
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Approach 2: Locally constrained decoding (LCD). At each step, mask the next-token distribution to prevent violations. Pros: All samples are constraint-satisfying. Cons: A) Masking a large vocabulary is slow. B) LCD distorts the sampled distribution. Example:
130
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Approach 1: Sample-verify/Best-of-N. Draw 𝑁 strings from the LM and use the constraint to rank/filter. Pros: Samples 𝑥 ∝ 𝑃 as 𝑁 grows. Cons: 𝑁 required to get a target sample scales exp(KL[𝑃||𝑄]). For difficult constraints, this becomes infeasible. Example:
130
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Consider a prompted language model 𝑄 (a prior) and a constraint function 𝐶 (a likelihood). Our goal is to sample a string 𝑥 from the conditional distribution 𝑃 = 𝑄(·|𝐶(𝑥)=1) (the target posterior). How do people do this now, and why do current approaches fall short?
140
Ben Lipkin @benlipkin.bsky.social · 13/05/2025
Many LM applications may be formulated as text generation conditional on some (Boolean) constraint. Generate a… - Python program that passes a test suite. - PDDL plan that satisfies a goal. - CoT trajectory that yields a positive reward. The list goes on… How can we efficiently satisfy these? 🧵👇
2136
Reposted by Ben Lipkin
João Loula @joaoloula.bsky.social · 25/04/2025
#ICLR2025 Oral How can we control LMs using diverse signals such as static analyses, test cases, and simulations? In our paper “Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo” (w/ @benlipkin.bsky.social, @alexlew.bsky.social, @xtimv.bsky.social) we:
176
Reposted by Ben Lipkin
Kyle Mahowald @kmahowald.bsky.social · 21/04/2025
I might be able to hire a postdoc for this fall in computational linguistics at UT Austin. Topics in the general LLM + cognitive space (particularly reasoning, chain of thought, LLMs + code) and LLM + linguistic space. If this could be of interest, feel free to get in touch!
05930
Reposted by Ben Lipkin
JHU Computer Science @jhucompsci.bsky.social · 21/04/2025
Jason Eisner & Li Du’s “Syntactic and semantic control of large language models via sequential Monte Carlo” with @joaoloula.bsky.social, @benlipkin.bsky.social, @yahyaemara.bsky.social, @alexlew.bsky.social, @xtimv.bsky.social, & more presents an architecture for controlled LM generation: (11/12)
openreview.net
Syntactic and Semantic Control of Large Language Models via...
A wide range of LM applications require generating text that conforms to syntactic or semantic constraints. Imposing such constraints can be naturally framed as _probabilistic conditioning_, but...
152
Reposted by Ben Lipkin
Colton Casto @coltoncasto.bsky.social · 21/04/2025
New paper! 🧠 **The cerebellar components of the human language network** with: @hsmall.bsky.social @moshepoliak.bsky.social @gretatuckute.bsky.social @benlipkin.bsky.social @awolna.bsky.social @aniladmello.bsky.social and @evfedorenko.bsky.social www.biorxiv.org/content/10.1... 1/n 🧵
biorxiv.org
The cerebellar components of the human language network
The cerebellum's capacity for neural computation is arguably unmatched. Yet despite evidence of cerebellar contributions to cognition, including language, its precise role remains debated. Here, we sy...
24918
Ben Lipkin @benlipkin.bsky.social · 10/04/2025
Big thanks to this awesome team: Ben LeBrun, @postylem.bsky.social, @joaoloula.bsky.social, @drmaciver.bsky.social, Li Du, Jason Eisner, Ryan Cotterell, Vikash Mansinghka, Tim O'Donnell, @alexlew.bsky.social, @xtimv.bsky.social
020
Ben Lipkin @benlipkin.bsky.social · 10/04/2025
Link: arxiv.org/abs/2504.05410
arxiv.org
Fast Controlled Generation from Language Models with Adaptive Weighted Rejection Sampling
The dominant approach to generating from language models subject to some constraint is locally constrained decoding (LCD), incrementally sampling tokens at each time step such that the constraint is n...
120
Ben Lipkin @benlipkin.bsky.social · 10/04/2025
New preprint on controlled generation from LMs! I'll be presenting at NENLP tomorrow 12:50-2:00pm Longer thread coming soon :)
1209
Reposted by Ben Lipkin
Greta Tuckute @gretatuckute.bsky.social · 15/12/2024
I defended my PhD at MIT Brain&Cog last week--so much gratitude to my advisor @evfedorenko.bsky.social, as well as my committee @nancykanwisher.bsky.social, @joshhmcdermott.bsky.social and Yoon Kim. Thank you to all my brilliant collaborators and the MIT community. I have loved this journey so much.
5996
Reposted by Ben Lipkin
Alex Lew @alexlew.bsky.social · 08/12/2024
If you're interested in a PhD at the intersection of machine learning and programming languages, consider applying to Yale CS! We're exploring new approaches to building software that draws inferences and makes predictions. See alexlew.net for details & apply at gsas.yale.edu/admissions/ by Dec. 15
Probabilistic and differentiable programming at Yale — fully funded PhD positions starting Fall 2025! Apply by Dec. 15.

Do a PhD at the rich intersection of programming languages and machine learning.
17322
Ben Lipkin @benlipkin.bsky.social · 25/11/2024
If this sounds useful for your work, feel free to reach out, and I’m happy to explore with you how `decoding` can best support your use cases The goal is for this library to be generally useful for researchers across the LLM landscape 7/7
000
Ben Lipkin @benlipkin.bsky.social · 25/11/2024
Check out the tutorial to see some examples in action: github.com/benlipkin/de... The library is fully documented: benlipkin.github.io/decoding/dec... And available for installation on PyPi: pypi.org/project/deco... 6/7
github.com
100
Ben Lipkin @benlipkin.bsky.social · 25/11/2024
Researchers write arbitrary Python code and focus on expressing the core of their algorithms while deferring engineering details to the library With access to the right set of primitives, it becomes simple to express the ideas of many papers in a few dozen lines of code 5/7
100
Ben Lipkin @benlipkin.bsky.social · 25/11/2024
Rather than prescribing a set of strict approaches, `decoding` supports a flexible framework for expressing computation that combines LLMs, external tools, symbolic verifiers, process reward models, LLM-as-judge, and anything else one can conjure up 4/7
100
Ben Lipkin @benlipkin.bsky.social · 25/11/2024
At its simplest, you write a function that takes a string and returns a float, and we handle the rest If you'd like to step things up, we provide simple patterns to enable the efficient construction of powerful algorithms like Backtracking Monte Carlo Tree Search variants 3/7
110
Ben Lipkin @benlipkin.bsky.social · 25/11/2024
Decoding is a library that makes it easy to solve difficult search and sampling problems Built around simple sample-and-rerank patterns that compose with arbitrary user-defined scoring functions and search strategies, a huge space of algorithms becomes easily expressible 2/7
110
Ben Lipkin @benlipkin.bsky.social · 25/11/2024
Lots of folks talking about scaling LLM inference over this last year Internally, I’ve been developing and using a library that makes this extremely easy, and I decided to open-source it Meet the decoding library: github.com/benlipkin/de... 1/7
github.com
GitHub - benlipkin/decoding: Composable inference algorithms with LLMs and programmable logic
Composable inference algorithms with LLMs and programmable logic - benlipkin/decoding
1275
Reposted by Ben Lipkin
Robert Hawkins @rdhawkins.bsky.social · 05/09/2023
✨ Now out in Psychological Review! ✨ We present a new account of relevance that weighs both *epistemic* and *decision-theoretic* utility: statements are relevant if they improve the accuracy of listener’s beliefs *and* their future decision-making. www.tedsumers.info/_files/ugd/2...
34314
Reposted by Ben Lipkin
Anna (Anya) Ivanova @neuranna.bsky.social · 06/11/2023
First post and big news - I am starting as an Assistant Professor in Psychology at Georgia Tech in Jan 2024! www.language-intelligence-thought.net
language-intelligence-thought.net
LIT Lab
Our goal is to understand the relationship between language and human thought. How does the language network in the brain interact with other systems to interpret meaning in the world? Can models...
46711
Reposted by Ben Lipkin
Jennifer Hu @jennhu.bsky.social · 24/10/2023
To researchers doing LLM evaluation: prompting is *not a substitute* for direct probability measurements. Check out the camera-ready version of our work, to appear at EMNLP 2023! (w/ @rplevy.bsky.social) Paper: arxiv.org/abs/2305.13264 Original thread: twitter.com/_jennhu/stat...
1729266
Reposted by Ben Lipkin
Cory Shain @coryshain.bsky.social · 19/10/2023
👋Hi #bsky! Just wanted to let everyone know I'll be arriving at #Stanford in fall of 2024 and I'm looking for awesome people to help me figure out language. I'm new here my network is small, so RTs would be great! 🧵👇
15139
Reposted by Ben Lipkin
Cognitive Science Society @cogscisociety.bsky.social · 07/10/2023
🚀 We've officially landed on Bluesky! Excited to join this vibrant new platform and (re)connect with all of you! 🗣️💬 Help us spread the word by retweeting and following.
315096