Zero-shot and in-context learning enable solving tasks without model fine-tuning, making them essential for developing generative model solutions. Therefore, it is crucial to understand whether a pretrained model can be prompted to approximate any function, i.e., whether it is a universal in-context approximator. While it was recently shown that transformer models do possess this property, these results rely on their attention mechanism. Hence, these findings do not apply to fully recurrent architectures like RNNs, LSTMs, and the increasingly popular SSMs. We demonstrate that RNNs, LSTMs, GRUs, Linear RNNs, and linear gated architectures such as Mamba and Hawk/Griffin can also serve as universal in-context approximators. To streamline our argument, we introduce a programming language called LSRL that compiles to these fully recurrent architectures. LSRL may be of independent interest for further studies of fully recurrent models, such as constructing interpretability benchmarks. We also study the role of multiplicative gating and observe that architectures incorporating such gating (e.g., LSTMs, GRUs, Hawk/Griffin) can implement certain operations more stably, making them more viable candidates for practical in-context universal approximation.
Hierarchical Prompting Taxonomy: A Universal Evaluation Framework for Large Language Models Aligned with Human Cognitive Principles
Indian Institute of Technology Kharagpur(印度理工学院Khargapur分校);Rochester Institute of Technology(罗切斯特理工学院);Researcher, Fatima Fellowship(研究员,Fatima fellowship);AI Institute, University of South Carolina(人工智能研究所,南卡罗来纳大学);Amazon GenAI(亚马逊生成人工智能);Stanford University(斯坦福大学);James Silberrad Brown Center for AI, San Diego State University(詹姆斯·西伯拉德·布朗人工智能中心,圣地亚哥州立大学)
School of Computer Science University of St. Gallen(圣加尔登大学计算机科学学院);Donostia International Physics Center(多尼亚国际物理中心);Department of Mathematics, Imperial College(帝国理工学院数学系);School of Physical and Mathematical Sciences Nanyang Technological University(南洋理工大学物理与数学科学学院)
Leveraging the Potential of Prompt Engineering for Hate Speech Detection in Low-Resource Languages
Bangladesh Institute of Governance and Management (BIGM)(孟加拉国治理与管理研究所);Department of Cyber Security Engineering, George Mason University(网络安全工程系,乔治·梅森大学)
Decomposed Prompting: Probing Multilingual Linguistic Structure Knowledge in Large Language Models
Center for Information and Language Processing (CIS)(信息与语言处理中心);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);ScaDS.AI and TU Dresden(ScaDS.AI 和 梅克伦堡-前波美拉尼亚技术大学);Department of Statistics, LMU Munich(统计学系,慕尼黑大学);University of Maryland, College Park(马里兰大学 College Park 分校)
No One Fits All: From Fixed Prompting to Learned Routing in Multilingual LLMs
Department of Computer Science and Information Engineering, National Taiwan University, Taiwan(国立台湾大学计算机科学与资讯工程学系);Institute of Information Science, Academia Sinica, Taiwan(台湾“中央研究院”信息科学研究所);AI Research Center (AINTU), National Taiwan University, Taiwan(国立台湾大学人工智能研究中心)
Prompting Science Report 1: Prompt Engineering is Complicated and Contingent
Generative AI Labs, The Wharton School of Business, University of Pennsylvania(宾夕法尼亚大学沃顿商学院生成式人工智能实验室);WHU–Otto Beisheim School of Management(WHU-奥托·贝希姆管理学院);Glowforge(Glowforge公司)
BayesPrompt: Prompting Large-Scale Pre-Trained Language Models on Few-shot Inference via Debiased Domain Abstraction
University of Chinese Academy of Sciences(中国科学院大学);Tsinghua University(清华大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Deep Recurrent Stochastic Configuration Networks for Modelling Nonlinear Dynamic Systems
Northeastern University(东北大学);China University of Mining and Technology(中国矿业大学);State Key Laboratory of Synthetical Automation for Process Industries(过程综合自动化国家重点实验室);Research Center for Stochastic Configuration Machines(随机配置机器研究中心)
Recurrent Stochastic Configuration Networks for Temporal Data Analytics
State Key Laboratory of Synthetical Automation for Process Industries(流程工业综合自动化国家重点实验室);Northeastern University(东北大学);Research Center for Stochastic Configuration Machines(随机配置机器研究中心);China University of Mining and Technology(中国矿业大学)
Generalized Tensor Models for Recurrent Neural Networks
Moscow Institute of Physics and Technology(莫斯科物理技术学院);Institute of Numerical Mathematics, Russian Academy of Sciences(俄罗斯科学院数值数学研究所);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究所)