paper-with-me

Papers

Towards an Understanding of Stepwise Inference in Transformers: A Synthetic Graph Navigation Model

2024-02-12 · Mikail Khona, Maya Okawa, Jan Hula, Rahul Ramesh, Kento Nishi, Robert Dick, Ekdeep Singh Lubana, Hidenori Tanaka

Stepwise inference protocols, such as scratchpads and chain-of-thought, help language models solve complex problems by decomposing them into a sequence of simpler subproblems. Despite the significant gain in performance achieved via these protocols, the underlying mechanisms of stepwise inference have remained elusive. To address this, we propose to study autoregressive Transformer models on a synthetic task that embodies the multi-step nature of problems where stepwise inference is generally most useful. Specifically, we define a graph navigation problem wherein a model is tasked with traversing a path from a start to a goal node on the graph. Despite is simplicity, we find we can empirically reproduce and analyze several phenomena observed at scale: (i) the stepwise inference reasoning gap, the cause of which we find in the structure of the training data; (ii) a diversity-accuracy tradeoff in model generations as sampling temperature varies; (iii) a simplicity bias in the model's output; and (iv) compositional generalization and a primacy bias with in-context exemplars. Overall, our work introduces a grounded, synthetic framework for studying stepwise inference and offers mechanistic hypotheses that can lay the foundation for a deeper understanding of this phenomenon.

📄 PDF Abstract BibTeX arXiv:2402.07757

Code (0)

등록된 구현이 없습니다.

Tasks

Diversity

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

Stepwise Extractive Summarization and Planning with Structured Transformers

2020-10-06 · EMNLP 2020 11 · Shashi Narayan, Joshua Maynez, Jakub Adamek, Daniele Pighin 외

We propose encoder-centric stepwise models for extractive summarization using structured transformers -- HiBERT and Extended Transformers. We enable stepwise summarization by injecting the previously generated summary in…

Extractive SummarizationSentenceTable-to-Text GenerationText Generation

Enhancing Agentic Textual Graph Retrieval with Synthetic Stepwise Supervision

2025-10-01 · Ge Chang, Jinbo Su, Jiacheng Liu, Pengfei Yang 외 arxiv

Integrating textual graphs into Large Language Models (LLMs) is promising for complex graph-based QA. However, a key bottleneck is retrieving informative yet compact subgraphs that fit the LLM context. Existing retriever…

Brain-Inspired Stepwise Patch Merging for Vision Transformers

2024-09-11 · Yonghao Yu, Dongcheng Zhao, Guobin Shen, Yiting Dong 외

The hierarchical architecture has become a mainstream design paradigm for Vision Transformers (ViTs), with Patch Merging serving as the pivotal component that transforms a columnar architecture into a hierarchical one. D…

object-detectionObject DetectionSemantic Segmentation

How Does Unfaithful Reasoning Emerge from Autoregressive Training? A Study of Synthetic Experiments

2026-02-01 · Fuxin Wang, Amr Alazali, Yiqiao Zhong arxiv

Chain-of-thought (CoT) reasoning generated by large language models (LLMs) is often unfaithful: intermediate steps can be logically inconsistent or fail to reflect the causal relationship leading to the final answer. Des…

SGR: A Stepwise Reasoning Framework for LLMs with External Subgraph Generation

2026-05-15 · Xin Zhang, Yang Cao, Baoxing Wu, Kai Song 외 arxiv

Large Language Models (LLMs) have demonstrated strong capabilities across diverse NLP applications, such as translation, text generation, and question answering. Nevertheless, they remain limited in complex settings that…

Question AnsweringText Generation