paper-with-me

홈 › Papers

Probing In-Context Learning: Impact of Task Complexity and Model Architecture on Generalization and Efficiency

2025-05-10 · Binwen Liu, Peiyu Xu, Quan Yuan, Yihong Chen

We investigate in-context learning (ICL) through a meticulous experimental framework that systematically varies task complexity and model architecture. Extending beyond the linear regression baseline, we introduce Gaussian kernel regression and nonlinear dynamical system tasks, which emphasize temporal and recursive reasoning. We evaluate four distinct models: a GPT2-style Transformer, a Transformer with FlashAttention mechanism, a convolutional Hyena-based model, and the Mamba state-space model. Each model is trained from scratch on synthetic datasets and assessed for generalization during testing. Our findings highlight that model architecture significantly shapes ICL performance. The standard Transformer demonstrates robust performance across diverse tasks, while Mamba excels in temporally structured dynamics. Hyena effectively captures long-range dependencies but shows higher variance early in training, and FlashAttention offers computational efficiency but is more sensitive in low-data regimes. Further analysis uncovers locality-induced shortcuts in Gaussian kernel tasks, enhanced nonlinear separability through input range scaling, and the critical role of curriculum learning in mastering high-dimensional tasks.

📄 PDF Abstract BibTeX arXiv:2505.06475

Code (1)

Binwen6/CS182_PROJECT_2025 공식 구현 pytorch

Tasks

Computational EfficiencyIn-Context LearningMambaregression

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Linear Regression Linear Regression is a method for modelling a relationship between a dependent variable and independent variables. These models can be fit with numerous approaches. The most…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Position-Wise Feed-Forward Layer 설명 없음

Similar Papers 제목 키워드 기반

Probing Linguistic Features of Sentence-Level Representations in Neural Relation Extraction

2020-04-17 · ACL 2020 6 · Christoph Alt, Aleksandra Gabryszak, Leonhard Hennig

Despite the recent progress, little is known about the features captured by state-of-the-art neural relation extraction (RE) models. Common methods encode the source sentence, conditioned on the entity mentions, before c…

RelationRelation ExtractionSentence

Pareto Probing: Trading Off Accuracy for Complexity

2020-10-05 · EMNLP 2020 11 · Tiago Pimentel, Naomi Saphra, Adina Williams, Ryan Cotterell

The question of how to probe contextual word representations for linguistic structure in a way that is both principled and useful has seen significant attention recently in the NLP literature. In our contribution to this…

ARCDependency Parsing

Learning Site-Specific Probing Beams for Fast mmWave Beam Alignment

2021-07-28 · Yuqiang Heng, Jianhua Mo, Jeffrey G. Andrews

Beam alignment - the process of finding an optimal directional beam pair - is a challenging procedure crucial to millimeter wave (mmWave) communication systems. We propose a novel beam alignment method that learns a site…

Domain-Informed Probing of wav2vec 2.0 Embeddings for Phonetic Features

2022-07-01 · NAACL (SIGMORPHON) 2022 7 · Patrick Cormac English, John D. Kelleher, Julie Carson-Berndsen

In recent years large transformer model architectures have become available which provide a novel means of generating high-quality vector representations of speech audio. These transformers make use of an attention mecha…

Speaker Verificationspeech-recognitionSpeech Recognition

A Matter of Framing: The Impact of Linguistic Formalism on Probing Results

2020-04-30 · EMNLP 2020 11 · Ilia Kuznetsov, Iryna Gurevych

Deep pre-trained contextualized encoders like BERT (Delvin et al., 2019) demonstrate remarkable performance on a range of downstream tasks. A recent line of research in probing investigates the linguistic knowledge impli…