What’s new in Simbrain 4
Simbrain 4 is the first major release since Simbrain 3.07. During the long development cycle between those releases, most of the codebase was rewritten or refactored, the project was migrated to Kotlin, unit tests were added, and many new features were introduced.
This page highlights some of the most important additions since the previous tagged release, with an emphasis on new capabilities users are likely to notice right away.
Highlights
- Neuron arrays, weight matrices, and tensors are now deeply integrated into the network system, bringing modern array-based computation into Simbrain’s visual workflow.
- Convolutional neural networks can now be built in the GUI, with tensor displays, kernel views, and receptive-field tracing that make convolutions easier to understand.
- Transformer blocks and modern ML components such as GELU were added, and Simbrain now includes a working tiny language model that can be trained and visually inspected.
- The wand tool adds a new way to interact with networks by painting activations, inducing spikes, pruning weights, or creating connectivity patterns directly on the canvas.
- The connection strategy framework now supports multiple reusable patterns for generating connectivity, including sparse, fixed-degree, distance-based, and one-to-one projections.
- A flexible supervised learning framework supports on-the-fly training through complex pathways with multiple optimizers and initialization strategies.
- Evolution simulations now include graphical displays of genes and chromosomes, making it easier to see what evolved traits are being expressed.
- Odor World was substantially expanded with tilemaps, animated sprites, additional sensors and effectors, and a lightweight 3D view sensor for first-person visual tasks.
- Image World was rewritten around an image processing pipeline, with image albums, filters, and a live editor.
- Text World now provides a unified NLP environment with token embeddings, multiple tokenizers including byte-pair encoding, and support for language-model-style workflows.
- A full simulation environment with dozens of example simulations now replaces the earlier scripting-centered workflow, including “beta” simulations hidden initially but exposable for users who want to try in-progress examples.
Network
- Undo/redo (Finally!)
- The largest architectural change is support for array- and tensor-based neural networks. Neuron arrays and weight matrices make vectorized computation a first-class part of Simbrain while preserving the interactive visual style of earlier versions. Arrays support multiple display modes, direct inspection by zooming, matrix operations, and array-specific rules such as Softmax and Winner Take All.
- Convolutional neural networks were added, including tensor layers, convolution and pooling connectors, flattening into dense layers, CNN training dialogs, and receptive-field tracing that shows exactly which input region contributes to a downstream activation.
- Transformer blocks were added together with support for language-model-style simulations. Simbrain includes a small working language model that can be trained and inspected visually, making concepts like tokenization, embeddings, self-attention, and next-token prediction easier to explore.
- Supervised models allow backpropagation to be applied on the fly between selected source and target layers, including across paths with diverging and reconverging weights. The framework includes multiple optimizers and flexible weight initialization strategies.
- The wand tool provides a fast way to perturb running networks, paint activation patterns, induce spikes, sculpt weights, and dynamically create or prune connections.
- Neuron collections were introduced as a new way of organizing neurons. These are lightweight wrappers on neurons that can overlap.
- Over 20 neuron update rules are now available, including biologically detailed models (Morris-Lecar, Izhikevich, FitzHugh-Nagumo) and modern ML activations like GELU (for transformers), Kuramoto, and Allostatic.
- The connection strategy system has been expanded so users can generate dense, sparse, one-to-one, recurrent, and spatially organized projections while separately controlling topology, weight initialization, and excitatory / inhibitory ratios.
- New subnetwork types including restricted Boltzmann machines
- A classifier object was added, which wraps the Smile machine learning framework.
- Spike responders were reorganized into a dedicated framework with improved support for modeling synaptic dynamics.
Plots
- A new pixel plot was introduced for visualizing neuron arrays and matrices as pixel grids, useful for displaying activation patterns and image data.
- The projection plot was rewritten with support for dimensionality reduction techniques (PCA, t-SNE, Sammon mapping) to visualize high-dimensional network dynamics. New coloring managers enable better visualization of temporal patterns and data relationships.
- Time series plots were updated with improved auto-range capacities for better tracking of dynamic data ranges.
- Raster plots were updated with improved spike visualization and performance.
- Other plot types (bar charts, histograms, pie charts) remain available for data analysis.
Odor World
Odor World has been significantly rewritten and expanded as a platform for embodied agent simulations.
- Zooming and panning support for navigating larger environments
- Tilemap system with Tiled editor integration for creating complex worlds
- Animated sprites for dynamic entity visualization
- New object sensor type provides a simplified alternative to smell sensors for detecting specific entity types by name (e.g., “Swiss cheese”) without requiring full vector-based smell source configuration
- Sensors and effectors for movement (straight movement, turning), speech, hearing, bump detection, and tile sensing enable sophisticated embodied agent behaviors
- NPC behaviors let Odor World entities pursue targets, evade threats, or wander while avoiding obstacles
- A lightweight 3D view sensor uses ray casting to create first-person visual inputs that can be coupled directly to arrays and networks, enabling simple 3D perception experiments without a heavyweight 3D engine
Image World
Image World was completely rewritten (formerly Vision World) with an image processing pipeline architecture.
- Image album system allows loading and cycling through multiple images for training and testing
- Live image editor for on-the-fly modification and experimentation
- Image processing operations including edge detection, Gabor filters, grayscale conversion, thresholding, and resizing for preprocessing visual inputs
- Pipeline system enables chaining multiple operations for complex image transformations
Text World
Text World was completely rewritten with improved NLP capabilities (merged from separate Display and Reader components).
- Token embeddings management with support for custom embeddings and pre-trained models
- Multiple tokenization methods (simple word-based and byte-pair encoding) and embedding types (one-hot, co-occurrence with sliding window, custom pre-trained)
- Bytepair encoding visualization for understanding subword tokenization using the “show token boundaries” feature
- Integration with language model workflows through token embeddings
Other
- The preference framework was rewritten
- The tables and data world have been completely rewritten on top of the Smile framework.
- Windows applications are now signed using SignPath. Thanks to SignPath for supporting signed Simbrain builds.