Foundations of Large Language Models

Abilities and Limitations of Large Language Models: A Formal Language Learning Perspective

Seminar Inspired by Michael Hahn's prior course: theory-25

The rise of large language models (LLMs) has drawn researchers from theory and empirical machine learning into a shared inquiry: what are the abilities and limitations of these models? A common thread across both perspectives is the use of formal languages to study LLMs, theoretically, to ask which languages or tasks are learnable, and empirically, to test whether these predictions hold in practice and to probe other phenomena of LLMs beyond learnability. The seminar is a chance to engage with LLMs from both angles, useful whether your interests lean toward formal methods or applied machine learning.

Our pursuit of understanding LLMs is divided into three axes:

In each axis, controlled formal languages help us derive precise claims about the abilities and limitations of LLMs, something that is otherwise difficult with natural language.

Artifact

(LLM)

Environment

(Formal language)

"An ant, viewed as a behaving system, is quite simple. The apparent complexity of its behavior over time is largely a reflection of the complexity of the environment in which it finds itself." – Herbert Simon in The Sciences of the Artificial, 1996

Logistics

  • Instructors: Bishwamittra Ghosh, Krishna P. Gummadi.
  • Class: Weekly, Thursday, 2–3:30 pm, Room 112, Max Planck Institute for Software Systems, Kaiserslautern.
  • Office hours: Weekly, Friday, 2–3:30 pm, Room 112.
  • Email: fllm26instructors@mpi-sws.org.
  • Report submission: Moodle.
  • Intended audience: PhD and Master's students in computer science.
  • Format: Weekly seminar sessions in which students present and discuss the papers listed below.
  • Prerequisites:
    • Required: No strict course prerequisites, but students must demonstrate mathematical maturity and a strong willingness to engage with technical, proof-based computer science content (formal language theory, computational complexity, linear algebra, and basic probability).
    • Recommended: Prior knowledge of theoretical computer science (automata theory, circuit complexity) and deep learning architecture fundamentals.

Grading

Students pass the seminar with a combined score of at least 50% across all three components.

Syllabus

Date Topic Reading Presenter Material
22 October 2026 Short intro and Q&A — — Slides
29 October 2026 No class — —
5 November 2026 Generation in the Limit Kleinberg, Jon, and Sendhil Mullainathan. “Language Generation in the Limit.” In Proc. NeurIPS 2024, pp. 66058–66079. Muhammad Umer, Baris Akdogan* LLM review
12 November 2026 Model of a Transformer Weiss, Gail, Yoav Goldberg, and Eran Yahav. “Thinking Like Transformers.” In Proc. ICML 2021. Sanika Patil, Golbahar AbbasiHormozi, Hasib Aslam
19 November 2026 Predicting Length Generalization Zhou, Hattie, et al. “What Algorithms Can Transformers Learn? A Study in Length Generalization.” In Proc. ICLR 2024. Adnan Mohammed (433512), Disha Tarun Patil, Faizkhan Pathan
26 November 2026 Recovering the Learned Program Friedman, Dan, Alexander Wettig, and Danqi Chen. “Learning Transformer Programs.” In Proc. NeurIPS 2023. Ramin Shahbazi*
3 December 2026 Difficulty of Learning Liu, Bingbin, et al. “Exposing Attention Glitches with Flip-Flop Language Modeling.” In Proc. NeurIPS 2023. Rushikesh Santosh Kulkarni, Shrushti Sachin Sabale
14 January 2027 Implicit World Models Vafa, Keyon, et al. “Evaluating the World Model Implicit in a Generative Model.” In Proc. NeurIPS 2024. Parth Salat, Maham Sami
21 January 2027 Learning Modes Ghosh, Bishwamittra, et al. “Fine-Tuning vs. In-Context Learning in Large Language Models: A Formal Language Learning Perspective.” In Proc. ACL 2026. Adnan (434470)
28 January 2027 Memorization & Learning Ghosh, Bishwamittra, et al. “Understanding the Interplay between Memorization and Learning in Large Language Models.” In Proc. NeurIPS 2026. Dhiraj Udhani, Ishita Nag

* Student is not enrolled.

Further Reading (optional)

Axis 1: No assumption about the computational model

Axis 2: A simplified model of the transformer

Axis 3: LLMs in practice