Integrating model development across computational neuroscience, cognitive science, and machine learning

Padraig Gleeson, Sharon Crook, David A. Turner, Katherine Mantel, Mayank Raunak, Ted Willke, Jonathan D. CohenNeuron 2023

TL;DR

This paper introduces a Model Description Format (MDF) designed to bridge the gap between computational neuroscience, cognitive science, and machine learning. By enabling seamless exchange and translation of computational models across these fields, MDF aims to accelerate scientific discovery and foster interdisciplinary collaboration.

What Problem Does This Paper Address?

The fields of neuroscience, cognitive science, and machine learning (ML) are increasingly intertwined, sharing fundamental questions about intelligence. Historically, progress has been fueled by cross-pollination of ideas and methods. However, the growing complexity of computational models and the proliferation of domain-specific software tools have created a "Tower of Babel" problem. This siloing makes it difficult to share, translate, and integrate models between these disciplines, hindering the fluid exchange of innovations and slowing down progress. For instance, a neuroscientist might use NEURON for biophysically detailed models, while an ML researcher uses PyTorch or TensorFlow for network-level algorithms, with no easy way to connect these efforts.

Methods

The core contribution of this paper is the proposal and initial specification of a Model Description Format (MDF). MDF is designed to be a standardized, machine-readable format for representing computational models. Key aspects of the MDF approach include:

  • Computational Graph Representation: Models are expressed as computational graphs, where nodes represent computational elements (e.g., mathematical operations, neuron models) and edges represent the flow of data and execution.
  • Control Flow Syntax: MDF includes a syntax to specify arbitrary orders of node execution, including conditions, different time scales, cyclic graphs, and hierarchical patterns.
  • Function Ontology: It is augmented with a function ontology that includes standard operators (e.g., from ONNX) and can be extended with domain-specific functions.
  • Focus on Translation: The primary goal is to facilitate transpilation (translation) of models between existing environments, rather than creating a new, general-purpose simulation environment. This prioritizes preserving model structure and functionality.
  • Open-Source Python Library: An open-source Python library is being developed to support MDF, including importers/exporters, visualization tools, and an execution engine for validation.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • The "Tower of Babel" in Computational Modeling: The paper clearly articulates how the specialization of software tools in different scientific domains creates significant barriers to interdisciplinary collaboration and knowledge sharing.
  • MDF as a Universal Translator: MDF is envisioned as a central "hub" that can translate models from various specialized environments (like NEURON, PyTorch, TensorFlow) into a common format, enabling them to be understood and utilized across disciplines.
  • Prioritizing Structure over Execution Efficiency (Initially): The decision to focus on transpilation rather than compilation for the initial MDF specification is a pragmatic choice that emphasizes the ability to represent and exchange models accurately, even if it means sacrificing some immediate execution optimization.
  • Potential for Novel Optimization: By representing models in a standardized graph format, MDF could unlock new optimization strategies, particularly for emerging hardware like quantum computers, which may be well-suited for models involving complex constraint satisfaction and decision-making.

Key Results

The paper presents MDF as a functional prototype. While not reporting quantitative performance metrics in terms of accuracy or speedup, the key results are:

  • Development of an Initial MDF Specification: A formal specification for MDF has been developed and is publicly available.
  • Demonstration of Flexibility: Prototype interpreters have been developed to demonstrate MDF's ability to translate models between different formats (e.g., NeuroML, ONNX) and represent models at various levels of analysis (from detailed neurons to abstract tensor-based models).
  • Community Engagement: The Model Exchange and Convergence Initiative (ModECI) has engaged diverse communities through workshops to gather requirements and guide the development of MDF.

Limitations and Future Work

  • Prototype Status: The current version of MDF is acknowledged as a prototype, intended to demonstrate practicality and serve as a foundation for further development.
  • Focus on Model Specification: The initial focus is on standardizing the structure and execution of models, with procedures for parameterization, training, and data-fitting slated as future targets.
  • Expanding Scope: Future work includes maturing interfaces with existing resources, broadening MDF's scope to include more modeling environments (e.g., The Virtual Brain, Emergent, Nengo, ACT-R, TensorFlow), and integrating with data sharing efforts.
  • Community-Driven Development: ModECI is committed to an open-source, community-driven approach, welcoming participation to broaden MDF's capabilities and scope.

Summary updated

BibTeX
@inproceedings{gleeson2023integrating,
  author = {Padraig Gleeson and Sharon Crook and David A. Turner and Katherine Mantel and Mayank Raunak and Ted Willke and Jonathan D. Cohen},
  title = {{Integrating model development across computational neuroscience, cognitive science, and machine learning}},
  booktitle = {Neuron},
  year = {2023},
  doi = {10.1016/j.neuron.2023.03.037},
}

Loading related content...

Figure