mlsanityData to 7 Oct 2026

Nirvana: A Specialized Generalist Model With Task-Aware Memory Mechanism

arXiv 2510.26083 ↗First posted 30 Oct 2025cs.LG cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) excel at general language tasks but struggle in specialized domains. Specialized Generalist Models (SGMs) address this by preserving broad capabilities while adapting to target domains. However, existing architectures provide limited support for task-guided specialized memory mechanisms. In this work, we introduce Nirvana, an SGM featuring specialized memory, linear-time complexity, and test-time task information extraction. Central to Nirvana are: (1) Task-Aware Memory Trigger (textitTrigger), which treats each input as a self-supervised fine-tuning task and adjusts task-related parameters on the fly; and (2) Specialized Memory Updater (textitUpdater), which dynamically consolidates task-relevant context. Nirvana matches or surpasses LLM baselines on general benchmarks and achieves the lowest perplexity across specialized domains including biomedicine, finance, and law. On the challenging task of Magnetic Resonance Imaging (MRI), we attach lightweight codecs to the frozen Nirvana backbone and fine-tune them on paired k-space signals and images. Nirvana achieves higher-fidelity reconstructions than conventional LLM-based models, with Trigger providing effective domain-specific adaptation. Ablation studies confirm that removing Trigger leads to substantial degradation across all tasks, underscoring its essential role in task-aware specialization. Models are available at https://huggingface.co/collections/YuhuaJiang/nirvana. Code is available at https://github.com/YuhuaJiang2002/Nirvana.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 48 of its 57 references that are in the map. First posted on arXiv 30 Oct 2025.

Builds on

48 of 57 references.

References · 48

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  8. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  9. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  10. 2024Mixtral of Expertscited by 1,785
  11. 2017Decoupled Weight Decay Regularizationcited by 1,722
  12. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
36 more
  1. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  2. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  3. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  4. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  5. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  6. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  7. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  8. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  9. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  10. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
  11. 2018fastMRI: An Open Dataset and Benchmarks for Accelerated MRIcited by 464
  12. 2025MedGemma Technical Reportcited by 398
  13. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
  14. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  15. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
  16. 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 328
  17. 2024Titans: Learning to Memorize at Test Timecited by 303
  18. 2022Memorizing Transformerscited by 219
  19. 2025Lingshu: A Generalist Foundation Model for Unified Multimodal Medical Understanding and Reasoningcited by 217
  20. 2020End-to-End Variational Networks for Accelerated MRI Reconstructioncited by 201
  21. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
  22. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
  23. 2019Online Meta-Learningcited by 137
  24. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 134
  25. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  26. 2025HealthGPT: A Medical Large Vision-Language Model for Unifying Comprehension and Generation via Heterogeneous Knowledge Adaptationcited by 112
  27. 2023Advances and Challenges in Meta-Learning: A Technical Reviewcited by 65
  28. 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 60
  29. 2024Just read twice: closing the recall gap for recurrent language modelscited by 55
  30. 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scalecited by 48
  31. 2021AI-based Reconstruction for Fast MRI -- A Systematic Review and Meta-analysiscited by 38
  32. 2025Sliding Window Attention Training for Efficient Large Language Modelscited by 21
  33. 2024Towards Building Specialized Generalist AI with System 1 and System 2 Fusioncited by 8
  34. 2024A Perspective for Adapting Generalist AI to Specialized Medical AI Applications and Their Challengescited by 8
  35. 2024A Unified Model for Compressed Sensing MRI Across Undersampling Patternscited by 7
  36. 2023Automated Refugee Case Analysis: An NLP Pipeline for Supporting Legal Practitionerscited by 6

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.