Sign in

dchiang.bsky.social

@dchiang.bsky.social
30 followers 41 following 26 posts
PostsRepliesMedia
dchiang.bsky.social @dchiang.bsky.social · 30/10/2025
I am recruiting a PhD student to work with me, Peter Cholak, Anand Pillay, and Andy Yang @pentagonalize.bsky.social on transformers and logic/model theory (or related topics). If you are interested, please email me with "FLaNN" in the subject line!
000
Reposted by @dchiang.bsky.social
pentagonalize.bsky.social @pentagonalize.bsky.social · 03/10/2025
Read the cookbook: arxiv.org/abs/2510.00368 Join us for weekly seminars on formal language theory, ML, NLP, and more: flannseminars.github.io
012
Reposted by @dchiang.bsky.social
pentagonalize.bsky.social @pentagonalize.bsky.social · 03/10/2025
Thanks to all the chefs: @ccwatson.bsky.social, @antonxue.bsky.social, @satwik77.bsky.social, @ll4r3n4.bsky.social, @lambdaviking.bsky.social, Emile Dos Santos Ferreira, @anejsvete.bsky.social, @dchiang.bsky.social
122
Reposted by @dchiang.bsky.social
pentagonalize.bsky.social @pentagonalize.bsky.social · 03/10/2025
There is no better way to understand what transformers can do than to get your hands dirty and construct them, weight-by-weight. The Transformer Cookbook provides a guide for anyone aiming to understand the expressive power of transformers on such a formal level.
112
Reposted by @dchiang.bsky.social
pentagonalize.bsky.social @pentagonalize.bsky.social · 03/10/2025
We present The Transformer Cookbook: a collection of recipes for programming algorithms directly into transformers! Hungry for an induction head? Craving a Dyck language recognizer? We show you step-by-step how to cook up transformers for these algorithms and many more!
arxiv.org
The Transformer Cookbook
We present the transformer cookbook: a collection of techniques for directly encoding algorithms into a transformer's parameters. This work addresses the steep learning curve of such endeavors, a prob...
155
Reposted by @dchiang.bsky.social
arXiv cs.LG Machine Learning @cslg-bot.bsky.social · 02/10/2025
Andy Yang, Christopher Watson, Anton Xue, Satwik Bhattamishra, Jose Llarena, William Merrill, Emile Dos Santos Ferreira, Anej Svete, David Chiang: The Transformer Cookbook arxiv.org/abs/2510.00368 arxiv.org/pdf/2510.00368 arxiv.org/html/2510.00368
002
dchiang.bsky.social @dchiang.bsky.social · 23/06/2025
Andy Yang @pentagonalize.bsky.social drove the conceptualization, theory, and experiments of this work. I was just the checker and editor!
000
dchiang.bsky.social @dchiang.bsky.social · 23/06/2025
Paper: arxiv.org/abs/2506.16055 Code: github.com/pentagonaliz...
arxiv.org
Knee-Deep in C-RASP: A Transformer Depth Hierarchy
It has been observed that transformers with greater depth (that is, more layers) have more capabilities, but can we establish formally which capabilities are gained with greater depth? We answer this ...
100
dchiang.bsky.social @dchiang.bsky.social · 23/06/2025
Although there is a lot of wiggle room in defining rounding/precision, our theoretical predictions are confirmed by experiments surprisingly well!
100
dchiang.bsky.social @dchiang.bsky.social · 23/06/2025
The separating languages are very simple: L_k is the language of k blocks of one or more repetitions of a symbol, e.g., L_3 contains strings aba, aabbbbaaaaaa, etc. More blocks require more depth.
100
dchiang.bsky.social @dchiang.bsky.social · 23/06/2025
Further, we show that deeper programs/formulas in C-RASP are strictly more expressive than shallower programs/formulas. Together, these results imply that in the above-defined variant, deeper transformers are strictly more expressive than shallower transformers.
100
dchiang.bsky.social @dchiang.bsky.social · 23/06/2025
C-RASP is a programmer-friendly version of "temporal logic with future-masked counting." We show both are exactly equivalent to soft-attention transformers with fixed precision outside attention but no rounding inside attention (to avoid under/overflow summing over sequence).
100
dchiang.bsky.social @dchiang.bsky.social · 23/06/2025
New on arXiv: Knee-Deep in C-RASP, by @pentagonalize.bsky.social, @cadilhac.bsky.social, and me. The solid stepped line is our theoretical prediction based on what problems C-RASP can solve, and the numbers/colors are what transformers (no position embedding) can learn.
121
dchiang.bsky.social @dchiang.bsky.social · 23/04/2025
arxiv.org/abs/2404.07304
arxiv.org
We're Calling an Intervention: Exploring Fundamental Hurdles in Adapting Language Models to Nonstandard Text
We present a suite of experiments that allow us to understand the underlying challenges of language model adaptation to nonstandard text. We do so by designing interventions that approximate core feat...
010
dchiang.bsky.social @dchiang.bsky.social · 23/04/2025
(Out of the papers that Aarohi @aarsri.bsky.social has published while at Notre Dame, 80% have received an award!)
110
dchiang.bsky.social @dchiang.bsky.social · 23/04/2025
In contrast, on text with variation involving new words or meanings (e.g., "lie" vs. "cap"), far more data is needed, but it leads to a massive breakthrough in performance.
110
dchiang.bsky.social @dchiang.bsky.social · 23/04/2025
On text with character-level variation (e.g., "strategy" vs. "strat"), out-of-the-box performance improves even with a few additional training examples -- but approaches a plateau, suggesting that more data is not the solution.
110
dchiang.bsky.social @dchiang.bsky.social · 23/04/2025
Congratulations to Aarohi Srivastava @aarsri.bsky.social on winning the Best Paper Award at W-NUT at NAACL 2025! This paper applies various interventions simulating noisy text or dialectal variation to discover how different interventions have different effects.
131
dchiang.bsky.social @dchiang.bsky.social · 20/03/2025
If you're submitting an abstract to @colmweb.org, might as well submit it to MSLD too! nlp.nd.edu/msld25/
nlp.nd.edu
Midwest Speech and Language Days 2025
000
dchiang.bsky.social @dchiang.bsky.social · 20/03/2025
Registration at Midwest Speech and Language Days is free, poster printing is free, and we will be able to provide free lodging to a limited number of students. nlp.nd.edu/msld25/
nlp.nd.edu
Midwest Speech and Language Days 2025
000
dchiang.bsky.social @dchiang.bsky.social · 18/03/2025
The abstract submission deadline for Midwest Speech and Language Days is in two days, on March 20! Please submit an abstract! MSLD is non-archival, and submissions of both work-in-progress and previously published work are encouraged. nlp.nd.edu/msld25/
nlp.nd.edu
Midwest Speech and Language Days 2025
200
dchiang.bsky.social @dchiang.bsky.social · 08/03/2025
The meeting will feature keynote addresses by @mohitbansal.bsky.social, @davidrmortensen.bsky.social, Karen Livescu, and Heng Ji. Plus all of your great talks and posters! nlp.nd.edu/msld25
nlp.nd.edu
Midwest Speech and Language Days 2025
041
dchiang.bsky.social @dchiang.bsky.social · 08/03/2025
Midwest Speech and Language Days will be held Apr 15-16 at @NotreDame! Abstract submissions are due Mar 20, and registration deadline is Mar 27. Financial assistance for students (lodging, poster printing) is available. nlp.nd.edu/msld25
nlp.nd.edu
Midwest Speech and Language Days 2025
102
dchiang.bsky.social @dchiang.bsky.social · 23/12/2024
Oops, and @sleyna.bsky.social
000
dchiang.bsky.social @dchiang.bsky.social · 23/12/2024
Oops, should be @pentagonalize.bsky.social
100
dchiang.bsky.social @dchiang.bsky.social · 23/12/2024
showing that arbitrary-precision average-hard attention transformers and poly(n)-precision softmax-attention transformers are in DLOGTIME-uniform TC0.
000
dchiang.bsky.social @dchiang.bsky.social · 23/12/2024
(3) "Transformers in TC0" arxiv.org/abs/2409.13629. Previous work by @lambdaviking.bsky.social, Ashish Sabharwal, and @sleyna.bsky.social has shown that transformers with log(n) precision (where n is the input length) are in the circuit complexity class TC0. This paper improves these results,
arxiv.org
Transformers in Uniform TC$^0$
Previous work has shown that the languages recognized by average-hard attention transformers (AHATs) and softmax-attention transformers (SMATs) are within the circuit complexity class TC$^0$. However,...
110
dchiang.bsky.social @dchiang.bsky.social · 23/12/2024
We study how transformers express formal language *transductions*. For example, unique-hard attention transformers are equivalent to star-free languages. But star-free languages don't have a transduction analogue; they have at least three! Which one is it?
100
dchiang.bsky.social @dchiang.bsky.social · 23/12/2024
(2) With @sleyna.bsky.social, Dana Angluin, Jon Rawski, and Ashish Sabharwal, "Transformers as Transducers" arxiv.org/abs/2404.02040. To appear in TACL.
arxiv.org
Transformers in Uniform TC$^0$
Previous work has shown that the languages recognized by average-hard attention transformers (AHATs) and softmax-attention transformers (SMATs) are within the circuit complexity class TC$^0$. However,...
100
dchiang.bsky.social @dchiang.bsky.social · 23/12/2024
We also show how softmax-attention transformers can simulate many average-hard attention transformers (including Perez et al's well-known average-hard attention transformer simulating a Turing machine). But it's more difficult than often seems to be assumed!
100
dchiang.bsky.social @dchiang.bsky.social · 23/12/2024
New paper and two not-so-new papers on arXiv about transformer expressivity: (1) With @pentagonalize and Dana Angluin, "Simulating Hard Attention Using Soft Attention" arxiv.org/abs/2412.09925
arxiv.org
Simulating Hard Attention Using Soft Attention
We study conditions under which transformers using soft attention can simulate hard attention, that is, effectively focus all attention on a subset of positions. First, we examine several variants of ...
231