paper-with-me

홈 › Papers

Look Ahead or Look Around? A Theoretical Comparison Between Autoregressive and Masked Pretraining

2024-07-01 · Qi Zhang, Tianqi Du, Haotian Huang, Yifei Wang, Yisen Wang

In recent years, the rise of generative self-supervised learning (SSL) paradigms has exhibited impressive performance across visual, language, and multi-modal domains. While the varied designs of generative SSL objectives lead to distinct properties in downstream tasks, a theoretical understanding of these differences remains largely unexplored. In this paper, we establish the first theoretical comparisons between two leading generative SSL paradigms: autoregressive SSL and masked SSL. Through establishing theoretical frameworks, we elucidate the strengths and limitations of autoregressive and masked SSL within the primary evaluation tasks of classification and content generation. Our findings demonstrate that in classification tasks, the flexibility of targeted tokens in masked SSL fosters more inter-sample connections compared to the fixed position of target tokens in autoregressive SSL, which yields superior clustering performance. In content generation tasks, the misalignment between the flexible lengths of test samples and the fixed length of unmasked texts in masked SSL (vs. flexible lengths of conditional texts in autoregressive SSL) hinders its generation performance. To leverage each other's strengths and mitigate weaknesses, we propose diversity-enhanced autoregressive and variable-length masked objectives, which substantially improve the classification performance of autoregressive SSL and the generation performance of masked SSL. Code is available at https://github.com/PKU-ML/LookAheadLookAround.

📄 PDF Abstract BibTeX arXiv:2407.00935

Code (0)

등록된 구현이 없습니다.

Tasks

Self-Supervised Learning

Similar Papers 제목 키워드 기반

Multilayer Lookahead: a Nested Version of Lookahead

2021-10-27 · Denys Pushkin, Luis Barba

In recent years, SGD and its variants have become the standard tool to train Deep Neural Networks. In this paper, we focus on the recently proposed variant Lookahead, which improves upon SGD in a wide range of applicatio…

Towards Understanding Why Lookahead Generalizes Better Than SGD and Beyond

2021-12-01 · NeurIPS 2021 12 · Pan Zhou, Hanshu Yan, Xiaotong Yuan, Jiashi Feng 외

To train networks, lookahead algorithm~\cite{zhang2019lookahead} updates its fast weights $k$ times via an inner-loop optimizer before updating its slow weights once by using the latest fast weights. Any optimizer, …

Characterizing Lookahead Dynamics of Smooth Games

2021-01-01 · Junsoo Ha, Gunhee Kim

As multi-agent systems proliferate in machine learning research, games have attracted much attention as a framework to understand optimization of multiple interacting objectives. However, a key challenge in game optimiza…

EMA-Nesterov: Stabilizing Nesterov's Lookahead for Accelerated Deep Learning Optimization

2026-05-25 · Chung-Yiu Yau, Dawei Li, Athanasios Glentis, Valentyn Boreiko 외 arxiv

Lookahead-based acceleration methods, such as Nesterov's momentum, are widely used in optimization, but they often become unreliable in deep learning training mainly due to stochastic gradient noise and non-convex loss l…

Scaling Speculative Decoding with Lookahead Reasoning

2025-06-24 · Yichao Fu, Rui Ge, Zelei Shao, Zhijie Deng 외

Reasoning models excel by generating long chain-of-thoughts, but decoding the resulting thousands of tokens is slow. Token-level speculative decoding (SD) helps, but its benefit is capped, because the chance that an enti…

GPUGSM8K