paper-with-me

Papers

Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformers

2025-04-29 · Roman Abramov, Felix Steinbauer, Gjergji Kasneci

Transformers have achieved great success in numerous NLP tasks but continue to exhibit notable gaps in multi-step factual reasoning, especially when real-world knowledge is sparse. Recent advances in grokking have demonstrated that neural networks can transition from memorizing to perfectly generalizing once they detect underlying logical patterns - yet these studies have primarily used small, synthetic tasks. In this paper, for the first time, we extend grokking to real-world factual data and address the challenge of dataset sparsity by augmenting existing knowledge graphs with carefully designed synthetic data to raise the ratio $\phi_r$ of inferred facts to atomic facts above the threshold required for grokking. Surprisingly, we find that even factually incorrect synthetic data can strengthen emergent reasoning circuits rather than degrade accuracy, as it forces the model to rely on relational structure rather than memorization. When evaluated on multi-hop reasoning benchmarks, our approach achieves up to 95-100% accuracy on 2WikiMultiHopQA - substantially improving over strong baselines and matching or exceeding current state-of-the-art results. We further provide an in-depth analysis of how increasing $\phi_r$ drives the formation of generalizing circuits inside Transformers. Our findings suggest that grokking-based data augmentation can unlock implicit multi-hop reasoning capabilities, opening the door to more robust and interpretable factual reasoning in large-scale language models.

📄 PDF Abstract BibTeX arXiv:2504.20752

Code (0)

등록된 구현이 없습니다.

Tasks

Data AugmentationKnowledge GraphsMemorizationWorld Knowledge

Similar Papers 제목 키워드 기반

Progress Measures for Grokking on Real-world Tasks

2024-05-21 · Satvik Golechha

Grokking, a phenomenon where machine learning models generalize long after overfitting, has been primarily observed and studied in algorithmic tasks. This paper explores grokking in real-world datasets using deep neural …

Acceleration of Grokking in Learning Arithmetic Operations via Kolmogorov-Arnold Representation

2024-05-26 · Yeachan Park, Minseok Kim, Yeoneung Kim

We propose novel methodologies aimed at accelerating the grokking phenomenon, which refers to the rapid increment of test accuracy after a long period of overfitting as reported in~\cite{power2022grokking}. Focusing on t…

Data AugmentationDecoderTransfer Learning

Connect Later: Improving Fine-tuning for Robustness with Targeted Augmentations

2024-01-08 · Helen Qu, Sang Michael Xie

Models trained on a labeled source domain (e.g., labeled images from wildlife camera traps) often generalize poorly when deployed on an out-of-distribution (OOD) target domain (e.g., images from new camera trap locations…

Contrastive LearningDomain AdaptationTime SeriesTime Series Classification

Domain Adaptive 3D Pose Augmentation for In-the-wild Human Mesh Recovery

2022-06-21 · Zhenzhen Weng, Kuan-Chieh Wang, Angjoo Kanazawa, Serena Yeung

The ability to perceive 3D human bodies from a single image has a multitude of applications ranging from entertainment and robotics to neuroscience and healthcare. A fundamental challenge in human mesh recovery is in col…

Data AugmentationDomain AdaptationHuman Mesh Recovery

Out-of-Domain Robustness via Targeted Augmentations

2023-02-23 · Irena Gao, Shiori Sagawa, Pang Wei Koh, Tatsunori Hashimoto 외

Models trained on one set of domains often suffer performance drops on unseen domains, e.g., when wildlife monitoring models are deployed in new camera locations. In this work, we study principles for designing data augm…