arXiv · 2609.34449
CORTEX: Learning to Share and Specialize in Dense Language Models
Abstract
Large language models are trained on heterogeneous data mixtures, where different knowledge domains require both shared knowledge and specialization. Existing modular approaches typically impose explicit components or discover modules through interpretability analysis after training. In this work, we propose CORTEX, a learning dynamics-inspired framework that learns internal modularization within dense language models. CORTEX partitions trainable matrices into parameter groups and learns module assignments from domain-conditioned gradient and cross-domain gradient similarity. We introduce the selective lesion score and module-domain mutual information to characterize the target-domain lesion effects and alignment, and analyze how module assignment affects the trade-off between assignment bias and update magnitude. Experiments with 160M, Qwen3-8B, and Qwen3-32B backbone models show that CORTEX achieves the highest synthetic-domain exact match and largest average perplexity reduction, while remaining competitive on real-domain evaluations and forming identifiable modules.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Chuiyang Meng, Ming Tang, Vincent W. S. Wong. 2026-09-28. CORTEX: Learning to Share and Specialize in Dense Language Models. https://arxiv.org/abs/2609.34449
Cite the original work for its findings. Save a collection to share your selection of sources.