context-free-grammars

Tag

Cards List
#context-free-grammars

An expressivity analysis of hierarchical modelling in deep transformers via bounded-depth grammars

arXiv cs.CL · 2026-06-17 Cached

This paper provides a theoretical analysis of deep transformers' ability to model hierarchical structures using bounded-depth context-free grammars, constructing explicit positional-attention transformers that encode grammatical states in linearly separable subspaces.

0 favorites 0 likes
#context-free-grammars

Efficient Guided Generation for Large Language Models

Papers with Code Trending · 2023-07-19 Cached

This paper presents an efficient method for guiding LLM text generation with regular expressions and context-free grammars with minimal overhead, implemented in the open-source Python library Outlines.

0 favorites 0 likes
← Back to home

Submit Feedback