arXiv Machine Learning By Tianyi Zhang, Feiying Chen

Latent Fact Composition under Next-Token Training

Read the original on arXiv Machine Learning →

The paper investigates whether transformers trained to predict every token can answer two‑hop reasoning questions whose intermediate entity is absent from training examples. Using a synthetic corpus where all loss terms are computable, standard transformers and DiscoLoop perform poorly, while the newly proposed Baton family of looped transformers—especially when trained to predict only the answer—solve these questions almost perfectly. Experiments varying design conditions confirm the importance of the Baton architecture, and further analysis of the next‑token loss gradient reveals that the decline in accuracy during second‑hop reasoning is not solely due to dataset‑specific terms.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Computation and Language
Sep 17

Multi-Hop Knowledge Composition is Bound by Pretraining Exposure

Large Language Models struggle with implicit multi‑hop reasoning, correctly answering individual facts but failing to combine them in a single pass. In a controlled setting, the authors show that this failure persists even with high 1‑hop accuracy, indicating it is due to pretraining exposure rather than missing knowledge. They test nine data‑centric augmentation formats and find that only individuals seen in compositional contexts during pretraining enable transfer to unseen questions, proving exposure to such contexts is necessary for implicit multi‑hop reasoning.

By Yannis Karmim, Luis Marti, Djam\'e Seddah, Valentin Barri\`ere
arXiv Computation and Language
Aug 28

Why Knowing Both Hops Is Not Enough: Understanding Two-Hop Generalization in Language Models

Large language models can solve complex multi‑hop tasks but often fail on simple two‑hop queries, even when each hop is individually correct. In a controlled symbolic setting, the authors find that models generalize reliably when the second hop follows the training distribution, but always fail when it deviates. Mechanistic analysis shows that successful generalization relies on consistent intermediate representations across contexts, whereas failures arise from a mismatch between lower‑layer representation construction and upper‑layer mapping to outputs. The study proposes a recurrent‑style training strategy that improves out‑of‑distribution two‑hop generalization.

By Zili Zhang, Yilin Wang, Heng Wang, Herun Wan, Minnan Luo