paper-with-me

홈 › Papers

Back Attention: Understanding and Enhancing Multi-Hop Reasoning in Large Language Models

2025-02-15 · Zeping Yu, Yonatan Belinkov, Sophia Ananiadou

We investigate how large language models perform latent multi-hop reasoning in prompts like "Wolfgang Amadeus Mozart's mother's spouse is". To analyze this process, we introduce logit flow, an interpretability method that traces how logits propagate across layers and positions toward the final prediction. Using logit flow, we identify four distinct stages in single-hop knowledge prediction: (A) entity subject enrichment, (B) entity attribute extraction, (C) relation subject enrichment, and (D) relation attribute extraction. Extending this analysis to multi-hop reasoning, we find that failures often stem from the relation attribute extraction stage, where conflicting logits reduce prediction accuracy. To address this, we propose back attention, a novel mechanism that enables lower layers to leverage higher-layer hidden states from different positions during attention computation. With back attention, a 1-layer transformer achieves the performance of a 2-layer transformer. Applied to four LLMs, back attention improves accuracy on five reasoning datasets, demonstrating its effectiveness in enhancing latent multi-hop reasoning ability.

📄 PDF Abstract BibTeX arXiv:2502.10835

Code (0)

등록된 구현이 없습니다.

Tasks

AttributeAttribute ExtractionPredictionRelation

Methods 이 논문이 사용한 방법론

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$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Enhancing Temporal Understanding in Video-LLMs through Stacked Temporal Attention in Vision Encoders

2025-10-29 · Ali Rasekh, Erfan Bagheri Soula, Omid Daliran, Simon Gottschalk 외 arxiv

Despite significant advances in Multimodal Large Language Models (MLLMs), understanding complex temporal dynamics in videos remains a major challenge. Our experiments show that current Video Large Language Model (Video-L…

Video Question AnsweringAction Recognition

Reasoning in Large Language Models: A Geometric Perspective

2024-07-02 · Romain Cosentino, Sarath Shekkizhar

The advancement of large language models (LLMs) for real-world applications hinges critically on enhancing their reasoning capabilities. In this work, we explore the reasoning abilities of large language models (LLMs) th…

Question Tokens Deserve More Attention: Enhancing Large Language Models without Training through Step-by-Step Reading and Question Attention Recalibration

2025-04-13 · Feijiang Han, Licheng Guo, Hengtao Cui, Zhiyuan Lyu

Large Language Models (LLMs) often struggle with tasks that require a deep understanding of complex questions, especially when faced with long-range dependencies or multi-step reasoning. This work investigates the limita…

GSM8K

Beyond Emotion Recognition: A Multi-Turn Multimodal Emotion Understanding and Reasoning Benchmark

2025-08-23 · Jinpeng Hu, Hongchang Shi, Chongyuan Dai, Zhuo Li 외 arxiv

Multimodal large language models (MLLMs) have been widely applied across various fields due to their powerful perceptual and reasoning capabilities. In the realm of psychology, these models hold promise for a deeper unde…

Emotion Recognition

Towards Just-in-Time Adaptive Feedback: Enhancing Student Learning via Knowledge-Grounded LLM

2026-05-26 · Younghun Lee, Amir Bralin, Nobel Sanjay Rebello, Dan Goldwasser arxiv

Educational interventions are effective tools for enhancing student learning. While Large Language Models (LLMs) allow for generating adaptive feedback at scale, current studies lack clear methodologies for providing Jus…