Guardado en:
Detalles Bibliográficos
Autores principales: Jiang, Yuhua, Cheng, Shuang, Liu, Yihao, Hua, Ermo, Jiang, Che, Sun, Weigao, Cheng, Yu, Gao, Feifei, Qi, Biqing, Zhou, Bowen
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:https://arxiv.org/abs/2510.26083
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911575246372864
author Jiang, Yuhua
Cheng, Shuang
Liu, Yihao
Hua, Ermo
Jiang, Che
Sun, Weigao
Cheng, Yu
Gao, Feifei
Qi, Biqing
Zhou, Bowen
author_facet Jiang, Yuhua
Cheng, Shuang
Liu, Yihao
Hua, Ermo
Jiang, Che
Sun, Weigao
Cheng, Yu
Gao, Feifei
Qi, Biqing
Zhou, Bowen
contents 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 ($\textit{Trigger}$), which treats each input as a self-supervised fine-tuning task and adjusts task-related parameters on the fly; and (2) Specialized Memory Updater ($\textit{Updater}$), 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_26083
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Nirvana: A Specialized Generalist Model With Task-Aware Memory Mechanism
Jiang, Yuhua
Cheng, Shuang
Liu, Yihao
Hua, Ermo
Jiang, Che
Sun, Weigao
Cheng, Yu
Gao, Feifei
Qi, Biqing
Zhou, Bowen
Machine Learning
Artificial Intelligence
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 ($\textit{Trigger}$), which treats each input as a self-supervised fine-tuning task and adjusts task-related parameters on the fly; and (2) Specialized Memory Updater ($\textit{Updater}$), 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.
title Nirvana: A Specialized Generalist Model With Task-Aware Memory Mechanism
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2510.26083