On-Chip Learning via Transformer In-Context Learning

Autoregressive decoder-only transformers have become key components for scalable sequence processing and generation models. However, the transformer’s self-attention mechanism requires transferring prior token projections from the main memory at each time step (token), thus severely limiting their performance on conventional processors. Self-attention can be viewed as a dynamic feed-forward layer whose matrix is input sequence-dependent, similar to the result of local synaptic plasticity. Using this insight, we present a neuromorphic decoder-only transformer model that utilizes an on-chip plasticity processor to compute self-attention. Interestingly, the training of transformers enables them to "learn" the input context during inference. We demonstrate this in-context learning ability of transformers on the Loihi 2 processor by solving a few-shot classification problem. With this, we emphasize the importance of pretrained models, especially their ability to find simple, local, backpropagation-free learning rules enabling on-chip learning and adaptation in a hardware-friendly manner.

Authors

Institutions

Publication Details

Published
2025-04-28
DOI
https://doi.org/10.1109/aicas64808.2025.11173092
Primary Topic
Analog and Mixed-Signal Circuit Design
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On-Chip Learning via Transformer In-Context Learning

Emre Neftci, Jan Finkbeiner
Analog and Mixed-Signal Circuit Design
article

On-Chip Learning via Transformer In-Context Learning

Emre Neftci, Jan Finkbeiner
article en

Abstract

Autoregressive decoder-only transformers have become key components for scalable sequence processing and generation models. However, the transformer’s self-attention mechanism requires transferring prior token projections from the main memory at each time step (token), thus severely limiting their performance on conventional processors. Self-attention can be viewed as a dynamic feed-forward layer whose matrix is input sequence-dependent, similar to the result of local synaptic plasticity. Using this insight, we present a neuromorphic decoder-only transformer model that utilizes an on-chip plasticity processor to compute self-attention. Interestingly, the training of transformers enables them to "learn" the input context during inference. We demonstrate this in-context learning ability of transformers on the Loihi 2 processor by solving a few-shot classification problem. With this, we emphasize the importance of pretrained models, especially their ability to find simple, local, backpropagation-free learning rules enabling on-chip learning and adaptation in a hardware-friendly manner.

RWTH Aachen University (DE)
Openalex Percentile: Top 75%
Analog and Mixed-Signal Circuit Design
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

On-Chip Learning via Transformer In-Context Learning — Emre Neftci, Jan Finkbeiner · (2025) | TGRS Research Map | TGRS