English

The Mystery of the Pathological Path-star Task for Language Models

Computation and Language 2025-05-21 v2 Machine Learning

Abstract

The recently introduced path-star task is a minimal task designed to exemplify limitations to the abilities of language models (Bachmann and Nagarajan, 2024). It involves a path-star graph where multiple arms radiate from a single starting node and each node is unique. Given the start node and a specified target node that ends an arm, the task is to generate the arm containing that target node. This is straightforward for a human but surprisingly difficult for language models, which did not outperform the random baseline. The authors hypothesized this is due to a deficiency in teacher-forcing and the next-token prediction paradigm. We demonstrate the task is learnable using teacher-forcing in alternative settings and that the issue is partially due to representation. We introduce a regularization method using structured samples of the same graph but with differing target nodes, improving results across a variety of model types. We provide RASP proofs showing the task is theoretically solvable. Finally, we find settings where an encoder-only model can consistently solve the task.

Keywords

Cite

@article{arxiv.2410.13779,
  title  = {The Mystery of the Pathological Path-star Task for Language Models},
  author = {Arvid Frydenlund},
  journal= {arXiv preprint arXiv:2410.13779},
  year   = {2025}
}

Comments

EMNLP 2024 Main at https://aclanthology.org/2024.emnlp-main.695/ See 'Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More More' for a follow-up work