An all-transistor physical-learning transformer can be trained to perform in-context learning
summary
The gist
The gist An all-transistor physical-learning transformer can be trained to perform in-context learning by explicitly restoring bidirectional information flow in a double or dyadic circuit to enable
In short
The paper shows how a physical circuit, modeled using MOSFETs, can be trained to act as a transformer for in-context learning tasks. It achieves this by explicitly restoring bidirectional information flow in a double circuit, which allows training with the necessary cross-entropy loss. This enables the system to learn associative recall tasks that are hard for standard neural networks.
Key concepts
- Physical Learning Paradigm
- This is a machine learning method where an analog physical system handles both the forward calculation and back-propagation of errors. The circuit settles into a steady state, and error signals are injected to find a new state that minimizes energy (power dissipation). This allows for precise gradient reconstruction.
- Restoring Bidirectional Flow
- Ideal circuits often block error signals from flowing backward. To fix this, the authors add extra elements to a double or dyadic circuit. This setup uses the mean of node voltages for forward computation and the difference for the error signal, mimicking how automatic differentiation works in complex systems.
- Cross-Entropy Loss Training
- Standard training often uses mean squared error, but this system requires cross-entropy loss to succeed in learning. The authors create a novel floating circuit element based on the MOSFET sub-circuit used for softmax to generate the specific nudges needed for this loss function during training.
Terminology used across episodes
This episode discusses
- An all-transistor physical-learning transformer can be trained to perform in-context learning · Paper Radio
- Equilibrium Propagation: Bridging the Gap Between Energy-Based Models and Backpropagation
- A universal approximation theorem for nonlinear resistive networks
- Attention Is All You Need
- Equilibrium Propagation for Non-Conservative Systems
- Machine Learning Without a Processor: Emergent Learning in a Nonlinear Electronic Metamaterial
- Neural Machine Translation by Jointly Learning to Align and Translate
- Adam: A Method for Stochastic Optimization
- Symbolic Discovery of Optimization Algorithms
- Data Distributional Properties Drive Emergent In-Context Learning in Transformers
- The mechanistic basis of data dependence and abrupt learning in an in-context classification task
- In-context Learning and Induction Heads
- Training End-to-End Analog Neural Networks with Equilibrium Propagation
- Supervised learning in physical networks: From machine learning to learning machines
- Dual Propagation: Accelerating Contrastive Hebbian Learning with Dyadic Neurons
- Scaling Equilibrium Propagation to Deep ConvNets by Drastically Reducing its Gradient Estimator Bias
- Training a Predictive Coding Network on ImageNet using Equilibrium Propagation
- Analog Implementation of the Softmax Function
- Understanding and Embracing Imperfection in Physical Learning Networks
- Language Models are Few-Shot Learners
- Using Fast Weights to Attend to the Recent Past
The paper
An all-transistor physical-learning transformer can be trained to perform in-context learning · Read on arXiv
Michael C. Abbott, Benjamin B. Machta
Yale Physics & QBio
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Today's paper: "An all-transistor physical-learning transformer can be trained to perform in-context learning".
Jane: The gist An all-transistor physical-learning transformer can be trained to perform in-context learning by explicitly restoring bidirectional information flow in a double or dyadic circuit to enable training with cross-entropy…
Tom: First, who's behind it and why it matters.
Paper summary: Tom: So let’s talk more about this paper, "An all-transistor physical-learning transformer can be trained to perform in-context learning." We already touched on how they claim that standard physical learning systems struggle with associative tasks and how these struggle compared to transformers > Page one - <ref:2610.12571#pg3>.
Jane: Right. The main thesis seems to be that they are going beyond just equilibrium propagation by explicitly restoring the bidirectional information flow in a double or dyadic circuit, which is necessary because ideal voltage multipliers are non-reciprocal > Page two - <ref:2610.12571#pg3>.
Lu: They argue that this restoration allows them to construct an attention mechanism by exploiting the exponential current law of subthreshold MOSFET devices, which is a natural way to replace the dot product with something more analogous to Bahdanau attention > Page two - <ref:2610.12571#pg3>.
Meng: So they're taking an MLP structure and making it work as a transformer by fixing the multiplication problem through this circuit modification > Page two - <ref:2610.12571#pg3>. I wonder if that’s feasible when you have to deal with these very specific transistor dynamics.
Lalam: Lalam confirms that in simulations, this circuit can be trained to perform a simple in-context learning task, even though it uses realistic reverse components which only transmit an approximate gradient > Page one - <ref:2610.12571#pg3>. It shows the system can learn something meaningful despite the imperfections.
Tom: That’s cool because it means we don't need perfect physics just to start training on these complex tasks; we just need a nudge in the right direction > Page one - <ref:2610.12571#pg3>. But they stress that this specific training requires cross-entropy loss, not mean squared error > Page one - <ref:2610.12571#pg3>.
Jane: So, if you’re listening who doesn’t read this paper, what does it really mean? It means AI can learn tasks that require associative recall and context in a way traditional neural networks couldn't achieve > Page one - <ref:2610.12571#pg3>.
Lu: It suggests that the architecture itself has potential when implemented in an analog physical system, but you just have to build the right circuit structure to unlock that potential > Page two - <ref:2610.12571#pg3>. It’s not just about brute force computation.
Meng: From a production side, I have to wonder about the cost of building those custom circuit elements—they sound like they add complexity that might make them too expensive for real-world deployment > Page one - <ref:2610.12571#pg3>. What breaks at scale is often the bespoke parts.
Lalam: Lalam has seen the literature, and they connect this to how it changes what we need in terms of hardware design for AI > Page two - <ref:2610.12571#pg3>. It’s about designing circuits that inherently support learning rather than just computation > Page two - <ref:2610.12571#pg3>.
Jane: So, if you’re listening who doesn’t read this paper, the big idea is that analog systems can be trained to do complex things without needing perfect physics all the time > Page one - <ref:2610.12571#pg3>.
Conclusion: Tom: So to wrap up, this paper on "An all-transistor physical-learning transformer can be trained to perform in-context learning" shows that by fixing the flow issue in a double or dyadic circuit, you can build a transformer architecture that learns associative recall tasks > Page two - <ref:2610.12571#pg3>.
Jane: And the authors are Michael C. Abbott and Benjamin B. Machta, and what this means is that we might see physical systems move from just being computation engines to being learning agents capable of understanding context > Page one - <ref:2610.12571#pg3>.
Lu: It pushes the idea that the architecture matters more than just the material it's made of; it’s about how you structure those interactions to enable complex learning > Page two - <ref:2610.12571#pg3>. If this principle is true, we should be designing circuits to support relational reasoning from the start.
Meng: I still see a lot of work left in terms of making this practical and scalable enough to actually ship something that doesn't just sit in a lab > Page one - <ref:2610.12571#pg3>. The complexity of the custom circuit elements is still a big deployment concern for me.
Lalam: Lalam is confident that the core mechanism works, but they show that if you want to do in-context learning, you need to train those specific key and query resistors > Page three - <ref:2610.12571#pg3>. That’s a necessary condition for achieving that specific capability.
Tom: So the paper on "An all-transistor physical-learning transformer can be trained to perform in-context learning" is about taking the architecture and showing how to make it work physically > Page two - <ref:2610.12571#pg3>. It’s about proving that this approach can handle associative recall tasks > Page one - <ref:2610.12571#pg3>.
Jane: And for someone listening, it means we are looking at a future where AI systems are fundamentally shaped by the physical laws they obey, not just digital software on top of them > Page one - <ref:2610.12571#pg3>. We're seeing how to connect the dots between physics and machine learning in a way that enables context awareness > Page one - <ref:2610.12571#pg3>.
More episodes
- 2610.05441-The sublevel Flood bifiltration: towards scalable 2-parameter persistent homology
- 2610.08816-The Cost of Long Memory: State, Context, and Stability Complexity in Sequence Models
- 2610.08820-Task-Oriented Key-Layer KV Communication for Efficient Latent Multi-Agent Collaboration
- 2610.08822-A Vehicle-Integrated Approach to Digital Twin Deployment for Bridges Through Drive-By Sensing
- 2610.12500-Acoustic Biomarkers for Alzheimer's Disease Detection from Spontaneous Speech
- 2610.09020-Neighborhood Smoothing for Calibration
- 2610.08977-SNR-Gated LSTM-Conditioned Diffusion Model for MIMO Channel Estimation
- 2610.09051-A Self-Pruning Transformer: Extreme KV-Cache Compression with Universal Attention
- 2610.12474-TTS-Q: Perception-Guided Post-Training Quantization of Text-to-Speech Diffusion Transformers
- 2610.12494-Algebraic Integer Quantization for Machine Learning Applications