← Search

Hude Liu

4 accepted papers

2026

In-Context Algorithm Emulation in Fixed-Weight Transformers

ICLR 2026poster

We prove that a minimal Transformer with frozen weights emulates a broad class of algorithms by in-context prompting. We formalize two modes of in-context algorithm emulation. In the *task-specific mode*, for any continuous function $f: \mathbb{R} \to \mathbb{R}$, we show the existence of a single-h…

Cited by 0SourcecodeScholar
2025

Attention Mechanism, Max-Affine Partition, and Universal Approximation

NeurIPS 2025poster

We establish the universal approximation capability of single-layer, single-head self- and cross-attention mechanisms with minimal attached structures. Our key insight is to interpret single-head attention as an input domain-partition mechanism that assigns distinct values to subregions. This allo…

Cited by 0SourceScholar