Adi Gabay

Adi Gabay

M.Sc. student in Computer Science
The Hebrew University of Jerusalem

I'm a Master's student in Computer Science at the Hebrew University of Jerusalem and a member of the NLP and Databases research labs, advised by Prof. Gabriel Stanovsky and Dr. Liat Peterfreund.

My research focuses on the reasoning and learning abilities of large language models: how they reason, where they fall short, and how to build evaluations that reveal what drives their performance.

Publications

Beyond Memorization: Distinguishing Between Pattern-Based and Epistemic Reasoning in LLMs Using Epistemic Puzzles

Adi Gabay, Gabriel Stanovsky, Liat Peterfreund

EMNLP 2026Main Conference

ACL PDF arXiv Code

Epistemic reasoning requires agents to infer the state of the world from partial observations and information about other agents’ knowledge. Prior work evaluating LLMs on epistemic puzzles often frames failures as memorization rather than reasoning. We argue that this dichotomy is too coarse for newer models: memorization is a limiting case of pattern-based reasoning, where a model matches a task to a familiar template and applies the corresponding solution. We introduce a two-dimensional benchmark over Dynamic Epistemic Logic (DEL) puzzles, separating narrative familiarity from inference complexity, which allows us to distinguish pattern-based from epistemic reasoning. We find that models are substantially more robust to surface form changes than prior work suggested, yet consistently struggle in asymmetric settings where familiar patterns no longer apply and success requires tracking fragmented epistemic states.

@inproceedings{gabay-etal-2026-beyond,
    title = "Beyond Memorization: Distinguishing Between Pattern-Based and Epistemic Reasoning in {LLM}s Using Epistemic Puzzles",
    author = "Gabay, Adi  and
      Stanovsky, Gabriel  and
      Peterfreund, Liat",
    booktitle = "Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing",
    month = oct,
    year = "2026",
    address = "Budapest, Hungary",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.emnlp-main.2119/",
    pages = "48199--48218"
}

Education

M.Sc. in Computer Science The Hebrew University of Jerusalem
B.Sc. in Computer Science The Hebrew University of Jerusalem

Service

Organizing Committee, ISCOL 2026 Israeli Seminar on Computational Linguistics