← Search

Ting-Han Fan

10 accepted papers

2025

MIR-Bench: Can Your LLM Recognize Complicated Patterns via Many-Shot In-Context Reasoning?

NeurIPS 2025poster

The ability to recognize patterns from examples and apply them to new ones is a primal ability for general intelligence, and is widely studied by psychology and AI researchers. Many benchmarks have been proposed to measure such ability for Large Language Models (LLMs); however, they focus on few-sho…

Cited by 0SourceScholar
2024

Advancing Regular Language Reasoning in Linear Recurrent Neural Networks

NAACL 2024short

In recent studies, linear recurrent neural networks (LRNNs) have achieved Transformer-level performance in natural language and long-range modeling, while offering rapid parallel training and constant inference cost. With the resurgence of interest in LRNNs, we study whether they can learn the hidde…

2024

Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolation

NAACL 2024findings

An ideal length-extrapolatable Transformer language model can handle sequences longer than the training length without any fine-tuning. Such long-context utilization capability relies heavily on a flexible positional embedding design. Upon investigating the flexibility of existing large pre-trained…

2023

Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysis

ACL 2023long

Length extrapolation permits training a transformer language model on short sequences that preserves perplexities when tested on substantially longer sequences.A relative positional embedding design, ALiBi, has had the widest usage to date. We dissect ALiBi via the lens of receptive field analysis e…

2023

Latent Positional Information is in the Self-Attention Variance of Transformer Language Models Without Positional Embeddings

ACL 2023short

The use of positional embeddings in transformer language models is widely accepted. However, recent research has called into question the necessity of such embeddings. We further extend this inquiry by demonstrating that a randomly initialized and frozen transformer language model, devoid of positio…

Cited by 14SourcePDFScholar
2023

Transformer Working Memory Enables Regular Language Reasoning And Natural Language Length Extrapolation

EMNLP 2023long findings

Unlike recurrent models, conventional wisdom has it that Transformers cannot perfectly model regular languages. Inspired by the notion of working memory, we propose a new Transformer variant named RegularGPT. With its novel combination of Weight-Sharing, Adaptive-Depth, and Sliding-Dilated-Attention…

Cited by 0SourceScholar
2022

KERPLE: Kernelized Relative Positional Embedding for Length Extrapolation

NeurIPS 2022accept

Relative positional embeddings (RPE) have received considerable attention since RPEs effectively model the relative distance among tokens and enable length extrapolation. We propose KERPLE, a framework that generalizes relative position embedding for extrapolation by kernelizing positional differenc…

2022

Training Discrete Deep Generative Models via Gapped Straight-Through Estimator

ICML 2022spotlight

While deep generative models have succeeded in image processing, natural language processing, and reinforcement learning, training that involves discrete random variables remains challenging due to the high variance of its gradient estimation process. Monte Carlo is a common solution used in most va…