paper-with-me

홈 › Papers

Optimality and NP-Hardness of Transformers in Learning Markovian Dynamical Functions

2025-10-21 · Yanna Ding, Songtao Lu, Yingdong Lu, Tomasz Nowicki, Jianxi Gao arxiv

Transformer architectures can solve unseen tasks based on input-output pairs in a given prompt due to in-context learning (ICL). Existing theoretical studies on ICL have mainly focused on linear regression tasks, often with i.i.d. inputs. To understand how transformers express ICL when modeling dynamics-driven functions, we investigate Markovian function learning through a structured ICL setup, where we characterize the loss landscape to reveal underlying optimization behaviors. Specifically, we (1) provide the closed-form expression of the global minimizer (in an enlarged parameter space) for a single-layer linear self-attention (LSA) model; (2) prove that recovering transformer parameters that realize the optimal solution is NP-hard in general, revealing a fundamental limitation of one-layer LSA in representing structured dynamical functions; and (3) supply a novel interpretation of a multilayer LSA as performing preconditioned gradient descent to optimize multiple objectives beyond the square loss. These theoretical results are numerically validated using simplified transformers.

📄 PDF Abstract BibTeX arXiv:2510.18638

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

The Global Convergence Analysis of the Bat Algorithm Using a Markovian Framework and Dynamical System Theory

2019-03-27 · Si Chen, Guo-Hua Peng, Xing-Shi He, Xin-She Yang

The bat algorithm (BA) has been shown to be effective to solve a wider range of optimization problems. However, there is not much theoretical analysis concerning its convergence and stability. In order to prove the conve…

Effect of memory in non-Markovian Boolean networks

2016-07-13

One successful model of interacting biological systems is the Boolean network. The dynamics of a Boolean network, controlled with Boolean functions, is usually considered to be a Markovian (memory-less) process. However,…

Sobolev Acceleration and Statistical Optimality for Learning Elliptic Equations via Gradient Descent

2022-05-15 · Yiping Lu, Jose Blanchet, Lexing Ying

In this paper, we study the statistical limits in terms of Sobolev norms of gradient descent for solving inverse problem from randomly sampled noisy observations using a general class of objective functions. Our class of…

Value Functions for Temporal Logic: Optimal Policies and Safety Filters

2026-05-01 · Oswin So, William Sharpless, Sylvia Herbert, Chuchu Fan arxiv

While Bellman equations for basic reach, avoid, and reach-avoid problems are well studied, the relationship between value optimality and policy optimality becomes subtle in the undiscounted infinite-horizon setting, part…

Combinatorial Pure Exploration with Continuous and Separable Reward Functions and Its Applications (Extended Version)

2018-05-04 · Weiran Huang, Jungseul Ok, Liang Li, Wei Chen

We study the Combinatorial Pure Exploration problem with Continuous and Separable reward functions (CPE-CS) in the stochastic multi-armed bandit setting. In a CPE-CS instance, we are given several stochastic arms with un…