Split long sequences into bite-sized chunks, and suddenly your Transformer can eat 100x more data
Enhanced Transformer architecture with Smart sequence splitting for in-context learning of dynamical systems
Original Problem π:
In the meta-learning settings, a series of related tasks are presented to an agent which adapts its behavior to act optimally with respect to that class of tasks.
In-context identification paradigm for estimating meta-models describing classes of dynamical systems faced limitations in handling long context sequences, providing uncertainty estimates, and managing non-contiguous contexts.
Solution in this Paper π οΈ:
β’ Probabilistic framework: Outputs mean and standard deviation of predicted outputs
β’ Non-contiguous context handling: Processes arbitrary initial conditions for query sequences
β’ Recurrent patching: Splits long context sequences into patches processed by RNN
β’ Architecture changes:
Modified decoder output layer for mean and standard deviation
Additional layer for handling initial conditions
Context split into patches, processed by RNN before encoder
Key Insights from this Paper π‘:
β’ Transformer-based meta-models can be adapted for system identification tasks
β’ Probabilistic outputs enable uncertainty quantification in predictions
β’ Recurrent patching allows processing of significantly longer context sequences
β’ Fine-tuning improves performance on out-of-distribution inputs
Results π:
β’ Context length increased from 400 to 40,000 samples
β’ RMSE approaches noise floor (0.1) with longer contexts


