NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Martin Trimmel

Lund University
3 previous affiliations
5Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Martin Trimmel focuses on the mathematical foundations and structural properties of deep neural networks, with a specific emphasis on geometric complexity, the design of advanced activation functions, and the dynamics of network training. His work investigates how the algebraic and numerical characteristics of model components—ranging from the polyhedral partitions created by ReLU activations to the stability of rational functions—influence the interpretability, expressivity, and calibration of machine learning systems. By bridging theoretical analysis with architectural innovation, his research seeks to address fundamental limitations in gradient-based learning and model overconfidence.

Research Trajectory

Trimmel’s early research, primarily observed in 2021, centered on the geometric and algebraic interpretation of deep neural networks. This work was grounded in the understanding that networks utilizing Rectified Linear Unit (ReLU) activations function as massive piecewise linear (PWL) mappings. In this paradigm, the input space is partitioned into an astronomically high number of polyhedral regions, each associated with a specific linear transformation. Trimmel contributed to the study of The Piecewise Linear Geometry of ReLU Networks by developing methods to extract and analyze the linear terms encoded within these regions. This period of his work utilized Tropical Geometry and the Polyhedral Complexity of Neural Networks to move beyond mere counting of linear regions, focusing instead on the informational content of the coefficients and the symmetries that allow different weight configurations to represent identical network functions.

In 2022, Trimmel’s focus shifted toward the limitations of standard, fixed activation functions. While the ReLU has been widely adopted for its computational efficiency, its non-differentiability at the origin and its tendency to produce "dead" neurons present challenges for gradient stability. This led to an investigation into Smooth Activation Functions for Gradient Stability and Theoretical Analysis, where the goal was to replace static "hinge" functions with more mathematically robust alternatives. A significant portion of this work involved Learnable Activation Functions for Plastic Neural Networks, shifting the learning process from the edges (weights) of the network graph to the nodes (activations) themselves. This research also addressed the practicalities of Hardware Aware Design of Neural Activation Functions, ensuring that novel functions remain efficient for silicon implementation. A recurring technical challenge in this domain is Overcoming Numerical Singularities in Differentiable Symbolic Learning, particularly when employing rational functions that may introduce poles or other instabilities during backpropagation.

Most recently, in 2023, Trimmel has expanded his research into the dynamics of training and the comparative analysis of large-scale mathematical models. This includes exploring the interplay between model calibration and gradient behavior, as well as evaluating the capacity of large language models (LLMs) to serve as repositories of formal mathematical knowledge. This trajectory suggests a broadening interest in how the internal representations of models—whether through training-time temperature adjustments or pre-trained mathematical reasoning—align with formal logic and statistical reliability.

Representative Work

In TropEx: An Algorithm for Extracting Linear Terms in Deep Neural Networks, Trimmel (as first author) introduced a systematic method for analyzing the piecewise linear nature of ReLU-based architectures. While previous literature often focused on the sheer number of linear regions as a proxy for expressivity, TropEx utilizes tropical algebra to extract the actual linear coefficients associated with data-driven paths through the network. This approach allows for a more granular understanding of how information is transformed across the polyhedral partitions of the input space, providing a tool for interpreting the impact of specific linear terms on overall network performance.

Trimmel’s work on the internal structure of models continued with Notes on the Symmetries of 2-Layer ReLU-Networks, where he served as a second author. This research provides a complete characterization of the transformations that leave the function of a fully-connected, two-layer ReLU network unchanged. By identifying the specific weight configurations that result in functional equivalence, the work clarifies the redundancy inherent in neural architectures. The study highlights that beyond well-known scaling and permutation symmetries, additional transformations only emerge in highly degenerate situations, which can be partially mitigated through specific reduction steps.

Addressing the limitations of standard activations, Trimmel led the development of ERA: Enhanced Rational Activations. Rational activation functions (RAFs) have emerged as a powerful alternative to ReLU due to their ability to approximate complex functions with fewer parameters. However, prior RAF formulations often suffered from numerical instability, lack of smoothness, or a requirement for highly specific initialization. Trimmel’s ERA framework mitigates these issues by proposing a "safe" and "true" rational function design that maintains smoothness and stability across various initializations, demonstrating performance competitive with state-of-the-art activations in image classification tasks.

In the domain of training optimization, Trimmel (as first author) proposed How to Keep Cool While Training. This work investigates the relationship between network calibration—the alignment of predicted probabilities with actual outcomes—and the training process. While most calibration research focuses on post-hoc adjustments to reduce overconfidence, Trimmel explores the reverse: how miscalibration itself affects the gradients during training. The proposed "Cooling" method applies temperature-based calibration dynamically during the training phase, which significantly alters gradient behavior and reduces the sensitivity of the model to learning rate selection, thereby improving the overall stability of the optimization process.

Finally, Trimmel participated in a comparative study of mathematical reasoning in LLM vs ITP. This research uses Wiedijk’s list of 100 theorems as a benchmark to compare the mathematical knowledge stored in Large Language Models (LLMs) against that found in Interactive Theorem Provers (ITPs). As a second author, Trimmel contributed to the analysis of whether the vast amounts of mathematical literature ingested by LLMs during pre-training allow them to function as searchable, reliable libraries of formal mathematics. The study represents an early effort to quantify the gap between the statistical pattern matching of LLMs and the rigorous, verified libraries of ITPs, providing insights into the current state of automated mathematical reasoning.

Profile updated

See something wrong? Report a mistake