paper-with-me

홈 › Papers

Anchor function: a type of benchmark functions for studying language models

2024-01-16 · Zhongwang Zhang, Zhiwei Wang, Junjie Yao, Zhangchen Zhou, Xiaolong Li, Weinan E, Zhi-Qin John Xu

Understanding transformer-based language models is becoming increasingly crucial, particularly as they play pivotal roles in advancing towards artificial general intelligence. However, language model research faces significant challenges, especially for academic research groups with constrained resources. These challenges include complex data structures, unknown target functions, high computational costs and memory requirements, and a lack of interpretability in the inference process, etc. Drawing a parallel to the use of simple models in scientific research, we propose the concept of an anchor function. This is a type of benchmark function designed for studying language models in learning tasks that follow an "anchor-key" pattern. By utilizing the concept of an anchor function, we can construct a series of functions to simulate various language tasks. The anchor function plays a role analogous to that of mice in diabetes research, particularly suitable for academic research. We demonstrate the utility of the anchor function with an example, revealing two basic operations by attention structures in language models: shifting tokens and broadcasting one token from one position to many positions. These operations are also commonly observed in large language models. The anchor function framework, therefore, opens up a series of valuable and accessible research questions for further exploration, especially for theoretical study.

📄 PDF Abstract BibTeX arXiv:2401.08309

Code (0)

등록된 구현이 없습니다.

Tasks

Language Modelling

Similar Papers 제목 키워드 기반

Anchor-based Nearest Class Mean Loss for Convolutional Neural Networks

2018-04-22 · Fusheng Hao, Jun Cheng, Lei Wang, Xinchao Wang 외

Discriminative features are critical for machine learning applications. Most existing deep learning approaches, however, rely on convolutional neural networks (CNNs) for learning features, whose discriminant power is not…

image-classificationImage Classification

Nearest Neighbor Representations of Neurons

2024-02-13 · Kordag Mehmet Kilic, Jin Sima, Jehoshua Bruck

The Nearest Neighbor (NN) Representation is an emerging computational model that is inspired by the brain. We study the complexity of representing a neuron (threshold function) using the NN representations. It is known t…

WASHH: An Anchor-Aware Whale-Guided Selection Hyper-Heuristic for Continuous Optimization and SVC Configuration

2026-05-13 · Yifu Zhao, Xiaofan Zou, Junhao Wei, Yanxiao Li 외 arxiv

Learning-assisted algorithm design often has to make reliable search decisions under small evaluation budgets, where committing to a single metaheuristic can be unreliable. We propose WASHH, a Whale-guided Adaptive Selec…

Fisher Discriminant Triplet and Contrastive Losses for Training Siamese Networks

2020-04-05 · Benyamin Ghojogh, Milad Sikaroudi, Sobhan Shafiei, H. R. Tizhoosh 외

Siamese neural network is a very powerful architecture for both feature extraction and metric learning. It usually consists of several networks that share weights. The Siamese concept is topology-agnostic and can use any…

Classification Of Breast Cancer Histology ImagesDimensionality ReductionDomain GeneralizationHistopathological Image Classification+2

Demonstration-efficient Inverse Reinforcement Learning in Procedurally Generated Environments

2020-12-04 · Alessandro Sestini, Alexander Kuhnle, Andrew D. Bagdanov

Deep Reinforcement Learning achieves very good results in domains where reward functions can be manually engineered. At the same time, there is growing interest within the community in using games based on Procedurally C…

Deep Reinforcement Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)