Large language models (LLMs) exhibit a strong capacity for in-context learning: Given labeled examples, they can generate good predictions without parameter updates. However, many interactive settings go beyond static prediction to online decision-making, in which effective behavior demands adaptation over long multi-turn horizons in response to feedback, and efficient algorithms in these domains must use compact representations of what they have learned. Recently, continuous transformer architectures with latent chain of thought have shown promise for offline iterative tasks such as directed graph-reachability. Motivated by this, we study whether continuous latent context tokens equip transformers to more effectively realize online learning. We give explicit constructions of constant-depth transformers that implement two foundational online decision-making procedures -- the weighted majority algorithm and $Q$-learning -- by storing their algorithmic state as linear combinations of feature embeddings, using a small number of latent context tokens. We further train a small GPT-2-style transformer with latent contexts using a multi-curriculum objective that does not directly supervise the latent states. On long synthetic online prediction sequences, this model outperforms comparable discrete-state baselines, while comparisons with prompted LLMs show that textual state summaries can also improve adaptation. Our results suggest that continuous latent contexts provide a simple and effective persistent state for transformers to implement online learning algorithms.
Online Transformers with Spiking Neurons for Fast Prosthetic Hand Control
Peter Grünberg Institute(彼得·格林贝格研究所);Forschungszentrum Jülich(于利希研究中心);RWTH(亚琛工业大学)
Transformers是用于大多数序列处理任务的最先进的网络。然而,在Transformers中经常使用的自注意力机制对于每个计算步骤需要大的时间窗口,并且因此使得它们与递归神经网络(RNN)相比不太适合于在线信号处理。在本文中,我们使用滑动窗口注意力机制代替自注意力机制。我们表明,这种机制对于输入和目标之间具有有限范围依赖关系的连续信号更有效,并且我们可以用它来逐个元素地处理序列,这使得它与在线处理兼容。我们在手指位置回归数据集(NinaproDB 8)上测试了我们的模型,并在前臂皮肤上测量了表面肌电图(sEMG)信号,以估计肌肉活动。我们的方法在该数据集的准确性方面设置了新的最先进的技术,同时在每个推理步骤中只需要非常短的3.5 ms的时间窗口。此外,我们使用Leaky-Integrate and Fire(LIF)单元增加了网络的稀疏性,这是一种生物启发的神经元模型,仅在跨越阈值时才在时间上稀疏激活。因此,我们减少了突触操作的数量高达$\times5.3$的一个因素,而不损失的准确性。我们的研究结果为sEMG信号的准确和快速的在线处理提供了很大的希望,以实现平稳的假肢手控制,并且是Transformers和脉冲神经网络(SNN)协整的能量有效的时间信号处理的一步。
Meta AI Research(Meta人工智能研究院);University of California, Berkeley(加州大学伯克利分校);University of California, Los Angeles(加州大学洛杉矶分校)
最近的工作表明,离线强化学习(RL)可以被公式化为序列建模问题(Chen et al.,2021; Janner等人,2021年),并通过类似于大规模语言建模的方法解决。然而,RL的任何实际实例化都涉及在线组件,其中在被动离线数据集上预训练的策略通过与环境的特定任务交互进行微调。我们提出了在线决策Transformers(ODT),一种基于序列建模的RL算法,在一个统一的框架中将离线预训练与在线微调相结合。我们的框架结合自回归建模目标使用序列级熵正则化器,以进行样本有效的探索和微调。从经验上讲,我们表明,ODT是有竞争力的国家的最先进的绝对性能的D4 RL基准,但在微调过程中显示出更显着的收益。
MamTiff-CAD: Multi-Scale Latent Diffusion with Mamba+ for Complex Parametric Sequence
Northwestern Polytechnical University(西北工业大学);National University of Singapore(新加坡国立大学);Shanghai Jiao Tong University(上海交通大学);Nanchang University(南昌大学)
Latent Plan Transformer for Trajectory Abstraction: Planning as Latent Space Inference
Department of Statistics and Data Science, UCLA(统计与数据科学系, UCLA);Salesforce Research(Salesforce 研究);Akool Research(Akool 研究);Xi’an Jiaotong University(西安交通大学);Department of Computer Science, UCLA(计算机科学系, UCLA)
本文提出Latent Plan Transformer(LPT),通过潜在变量推断将规划视为潜在空间推断,从次优轨迹中学习时间一致的抽象并提升长期决策性能。
Understanding the Staged Dynamics of Transformers in Learning Latent Structure
Department of Computing Science, University of Alberta, Edmonton, Canada(计算科学系,阿尔伯塔大学,爱德蒙顿,加拿大);Department of Psychology, University of Alberta, Edmonton, Canada(心理学系,阿尔伯塔大学,爱德蒙顿,加拿大)
Online Time Series Forecasting with Theoretical Guarantees
Carnegie Mellon University(卡内基梅隆大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Guangdong University of Technology(广东技术大学);Johns Hopkins University(约翰霍普金斯大学);University of California San Diego(加州大学圣地亚哥分校)
Hierarchical Latent Structure Learning through Online Inference
Center for Theoretical Neuroscience and Zuckerman Institute(理论神经科学中心和Zuckerman研究所);Columbia University(哥伦比亚大学);Department of Psychiatry, Columbia University Irving Medical Center(精神病学系,哥伦比亚大学伊万杰琳医学中心);New York State Psychiatric Institute(纽约州精神医学研究所);Columbia Data Science Institute(哥伦比亚数据科学研究所)
Bridging MARL to SARL: An Order-Independent Multi-Agent Transformer via Latent Consensus
The Hong Kong University of Science and Technology(香港科学与技术大学);The Hong Kong Polytechnic University(香港理工大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州))