Multitask Interactions in Recurrent Dynamics across 100 Cognitive Tasks
Organizations: Ernst Strüngmann Institute (ESI) of the Max Planck Society, Germany · Goethe University (GU) Frankfurt, University Hospital, Department for Psychiatry, Psychosomatic Medicine and Psychotherapy, Germany · GU Frankfurt, Cooperative Brain Imaging Center, Germany
Abstract
The brain continually learns tasks with very different computational demands. Recurrent neural networks (RNNs) have been used as dynamical surrogates for studying task solutions, with recent work extending this approach to joint training on multitask batteries. However, it remains unclear how tasks interact as these batteries grow in scale and heterogeneity: under what conditions do they transfer or interfere with one another, and how do these effects relate to task complexity and model structure? We study this question by simultaneously training hierarchical Almost-Linear RNNs (AL-RNNs) on 100 tasks spanning a wide range of cognitive demands. AL-RNNs allow us to vary the amount of nonlinearity in the recurrence, while hierarchical task features provide a low-dimensional interface for task-specific adaptation within shared dynamics. On this task battery, performance improves with both nonlinear capacity and task-feature dimensionality, with the joint hierarchical model outperforming both individually trained models and a single unstructured joint model. Many tasks are individually solvable with linear dynamics, yet cannot be solved together by a shared linear model. Through hierarchical task features, task-specific linear region usage, and task geometry, the trained model provides several related but distinct measures of task similarity that capture how computations are separated and combined within the shared backbone. Across a series of experiments, we relate these representations to individual task complexity, joint solvability, pairwise transfer learning, and leave-one-out adaptation. Together, our experiments characterize task interactions in multitask recurrent learning while demonstrating both the potential and the challenges of reusable dynamical backbones for cognitive computation.
Figures & tables
| Model | Test accuracy (%) | Tasks solved | Parameters | |||
| Nonlinear models | ||||||
| LSTM | 32 | – | 16 | 96.3 0.1 | 94 | 87K |
| GRU | 32 | – | 16 | 95.6 0.7 | 94 | 66K |
| Vanilla RNN | 64 | – | 16 | 93.8 0.4 | 90 | 81K |
| Hierarchical AL-RNN | 64 | 32 | 16 | 96.5 0.3 | 94 | 82K |
| Flat joint | 234 | 16 | – | 80.9 4.3 | 65 | 81K |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Response type | Correct if |
|---|---|
| Angular | |
| Binary | output and target on same side of |
| Scalar / vector | readout error |
| -way categorical | argmax over readout channels matches target |
| Sequence production | at each step |
| Flip-flop | correct sign on every bit channel at each step |
| P | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| 1 | 72.9 | 76.5 | 79.4 | 81.6 | 83.7 | 84.9 | 86.1 | 87.1 | 14.2 |
| 2 | 78.0 | 82.2 | 85.1 | 87.3 | 89.2 | 90.1 | 91.1 | 91.8 | 13.8 |
| 4 | 81.6 | 85.5 | 88.2 | 90.1 | 91.7 | 92.5 | 93.3 | 93.8 | 12.2 |
| 8 | 85.0 | 89.0 | 91.5 | 93.1 | 94.4 | 95.0 | 95.5 | 95.9 | 10.9 |
| 16 | 89.0 | 92.4 | 94.1 | 95.2 | 95.8 | 96.2 | 96.4 | 96.6 | 7.6 |
| Similarity space / pair | ||||||
|---|---|---|---|---|---|---|
| Within-space reproducibility | ||||||
| Hierarchical features | ||||||
| Task geometry | ||||||
| Nonlinear usage | ||||||
| Between-space similarity | ||||||
| Model | Geometry | Task features |
|---|---|---|
| LSTM seed consistency | 0.81 | 0.76 |
| GRU seed consistency | 0.78 | 0.74 |
| AL-RNN–LSTM feature similarity | 0.53 | |
| AL-RNN–GRU feature similarity | 0.57 | |
| Task | Description | Readout |
|---|---|---|
| DelayPro | A direction cue is presented, followed by a delay phase. After delay, the network reports it once the fixation cue is removed [ Yang et al., 2019 ] . | angular |
| DelayAnti | As DelayPro, but the reported direction is opposite to the cued one [ Yang et al., 2019 , Munoz and Everling, 2004 ] . | angular |
| RTGo | The stimulus direction is reported as soon as it appears, with no intervening delay [ Yang et al., 2019 ] . | angular |
| RTAnti | As RTGo, but reporting the direction opposite the stimulus [ Yang et al., 2019 , Munoz and Everling, 2004 ] . | angular |
| PerceptualDM | Noisy directional evidence is presented at varying coherence and the net direction must be integrated out of the noise within a given tolerance level [ Britten et al., 1992 ] . | angular |
| NoiseCleaner | A true direction must be estimated from a stream of noisy angular samples within a given tolerance. | angular |
Multi-Task Learning
Multi-task learning trains models to solve related tasks together by sharing representations, parameters, or supervision.
See all 394 papers