Vivien (@vivien000000) profile picture

Blog: https://xitter.cf/t.co/13hAL64HgK, GitHub: https://xitter.cf/t.co/7Ia6aNPO8H, anonymous feedback: https://xitter.cf/t.co/ZpTqMUstZ6

Paris, France
Joined November 2016
New blog post alert! Read on if you are interested in accelerating structured text generation techniques for context-free grammar constraints…🧵
1
3
1
5
1,118
The results: a 10x smaller mask store for the Python grammar and the Mistral 7B tokenizer. Experiments empirically confirm the streamlined mask store produces exactly the same masks as the original mask store and that the masks are neither too lenient nor too strict.
1
2
149
A few thoughts on a recent paper discussing the relationship between formatting constraints and performance for LLMs. It suggests that structured text generation decreases performance in reasoning tasks and seems to contradict earlier empirical results. How can that be? (1/n)
This is not good, "Surprisingly, we observe a significant decline in LLMs’ reasoning abilities under format restrictions." Link: arxiv.org/abs/2408.02442
1
1
1
4
900
Overall, the article brings new experimental data points on an increasingly consequential topic (thanks @zraytam and colleagues!) but additional work is needed to draw practical conclusions on the use or design of structured generation techniques.
1
151
Final comment: the article is somewhat ambiguous about the notion of "JSON mode". Are we talking about guaranteeing any JSON output or enforcing a specific JSON schema? It's a key distinction with significant impacts on performance.
128