TNLearn: An Open Source Python Package for Task-based Neurons
Meng Wang, Tieyun Li, Juntong Fan, Hanyu Pei, Jing-Xiao Liao, Yaodong Yang, Jianwei Ma, Fenglei Fan
Key points
From the paper's conclusion- Introduced TNLearn, an open-source Python package that provides automated construction of task-based neurons and networks.
- TNLearn enables smooth training of task-based networks and has become a PyTorch ecosystem project.
- Facilitates the use of task-based neurons in scientific research and industrial applications with comprehensive documentation and examples.
Abstract
The brain does not rely on a single type of neuron to perform all kinds of tasks; instead, it designs different neurons for different tasks. The concept of task-based neurons represents a paradigm shift compared to task-based architectures. It argues that solving a specific problem requires customized neurons, as task-based neurons capture useful prior knowledge from task-related data. To facilitate the use of task-based neurons in scientific research and industrial applications, we introduce TNLearn, an open-source Python package that provides automated construction of task-based neurons and networks, enabling smooth training of task-based networks. Comprehensive documentation, including technical exposition, API reference, and representative examples, is available online. TNLearn is open-sourced at https://github.com/NewT123-WM/tnlearn and has become a PyTorch ecosystem project.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Introduced TNLearn, an open-source Python package that provides automated construction of task-based neurons and networks.
- TNLearn enables smooth training of task-based networks and has become a PyTorch ecosystem project.
- Facilitates the use of task-based neurons in scientific research and industrial applications with comprehensive documentation and examples.
Readers' thoughts
No reader thoughts yet.
Related papers
- A dataset of differentiable biologically derived single-neuron models.Cell reports methods · 2026
- NeuralRNN: a unified framework for recurrent neural network methods in cognitive neurosciencebioRxiv · 2026
- BrainCoT: A Multi-Task Zero-Shot Brain Signal Foundation Model with Neurometric-Anchored Chain-of-Thought ReasoningarXiv · 2026
- Task-dependent clustering in permutation-aligned neural network weights.Frontiers in cognition · 2026
- netneurotools: a trainee-oriented approach to network neuroscience.Nature protocols · 2026
- Autonomous Continual Learning and Knowledge Transfer via Cortex-Inspired Neural AssembliesarXiv · 2026