Abstract
Datasets often incorporate various functional patterns related to different aspects or regimes, which are typically not equally present throughout the dataset. We propose a novel partitioning algorithm that utilizes competition between models to detect and separate these functional patterns. This competition is induced by multiple models iteratively submitting their predictions for the dataset, with the best prediction for each data point being rewarded with training on that data point. This reward mechanism amplifies each model's strengths and encourages specialization in different patterns. The specializations can then be translated into a partitioning scheme. We validate our concept with datasets with clearly distinct functional patterns, such as mechanical stress and strain data in a porous structure. Our partitioning algorithm produces valuable insights into the datasets' structure, which can serve various further applications. As a demonstration of one exemplary usage, we set up modular models consisting of multiple expert models, each learning a single partition, and compare their performance on more than twenty popular regression problems with single models learning all partitions simultaneously. Our results show significant improvements, with up to 56% loss reduction, confirming our algorithm's utility.
1 Introduction
Datasets can include multiple sections that adhere to distinct regimes. For instance, in stress-strain tests of materials, the initial phase exhibits elastic behavior, which is reversible. However, if the material is stretched further, it enters a phase of plastic behavior, resulting in permanent changes. Similarly, self-driving cars face unique challenges when navigating construction zones, which may be specific to certain regions of the parameter space, just as they do on highways or country roads. This mixture of functional patterns affects how difficult datasets are for models to learn. Typically, the more diverse the patterns within a dataset, the more challenging it is for a model to achieve high accuracy. In this work, we present a novel partitioning algorithm that detects such functional patterns and, when possible, separates them.
Given these mixed regimes, the modeling task can be viewed in two steps: first, split the domain, then build a model that covers all parts. In practice, these steps are often implemented within a single process, but they can also be separated. The first stepāstandalone domain splittingāis known as clustering. A classic example is k-means (). Most clustering methods group points by an assumed similarity measure. In k-means, spatial proximity defines similarity. K-means iterates between assigning each point to its nearest centroid and updating centroids to the mean of assigned points. Extensions include fuzzy c-means for soft assignments () and game-based k-means, which strengthens competition among centroids for samples (). Clustering has been extensively studied; the surveys by (), (), (), and () provide broader overviews.
A classical approach that unifies domain splitting with modeling is the mixture of experts (MoE), introduced by (). In MoE, a gating network makes soft partitions of the input space and routes samples to local experts. Training is often carried out with the expectation maximization (EM) algorithm. The latent responsibilities decouple gate and expert updates and induce competitive learning, so experts that better explain a sample are rewarded and specialization emerges. The hierarchical MoE by () extends this idea with tree-structured gating, which increases modularity and enables progressively refined splits. Subsequent work explored localized gates based on Gaussian densities, which yield analytic updates for the gate and faster training while preserving competition among experts (). To manage overfitting and model complexity, variational and Bayesian formulations place distributions over parameters, improving regularization and model selection while maintaining competitive allocation of data (; ). Stability in multiclass settings has been analyzed, and remedies such as small learning rates and expectation conditional maximization (ECM) style separate updates have been shown to sustain specialization despite parameter coupling (; ). Beyond neural experts, MoE has been combined with support vector machines (SVMs) and Gaussian processes (GP), including a mixture of GP experts that assign regions of the input space to different GP components. These combinations improve flexibility and scalability for nonstationary data (; ; ; ). Extensions to time series and sequential data augment gates and experts with temporal structure and allow partitions to evolve over time (; ). For an accessible orientation to developments over the past two decades, see the survey of (). () provided a recent efficiency proof by realizing conditional computation at scale. They introduced sparsely gated MoE layers with thousands of feedforward experts and routed only a few per example, which yielded very large capacity at modest computational cost and state-of-the-art results in language modeling and machine translation.
Beyond the classical MoE approach, several ensemble methods pursue localization and specialization without a gating network. The self-organizing map by () uses competitive learning to arrange prototypes on a low-dimensional lattice, which promotes local specialization and is widely used for clustering and visualization. Iterative splitting methods repeatedly partition the dataset and spawn new models when accuracy remains insufficient, so experts emerge that specialize on different regions (). () introduced the one prototype take one cluster paradigm (OPTOC), which creates models as needed and lets them compete for data points, and () adapted it to gene expression clustering.
There is fast-growing work on sparse MoE for large language models (LLMs) that aims to expand capacity without increasing compute per token. As one example, () study routing in transformer-based MoE and propose USMoE that compares token choice and expert choice. Building on (), () integrate MoE into the transformer with a switch feedforward layer, enabling many more parameters at modest per-token compute. Refining this method, () address expert collapse and routing imbalance with winner-takes-all competition based on actual expert activations and with a separate router trained to predict these outcomes, which improves routing and representation diversity. For first-stage retrieval, () combine specialized lexical, local, and global matching experts with competitive training to balance effectiveness and efficiency.
Beyond applications, two recent theoretical studies develop mathematical foundations for MoE, analyzing when they succeed on clustered tasks and linking EM training to mirror descent with convergence guarantees (; ). () explore feature-level rather than sample-level MoE using soft subspace clustering to assign features to multiple specialists rather than clustering samples. () apply multiple choice learning with a winner takes all loss to time series forecasting, and () use sparse MoE variational autoencoders to study unsupervised specialization. () propose hellsemble, an ensemble that partitions data by difficulty and trains specialists on progressively harder subsets. The sequential variant follows a fixed order and passes misclassified instances forward, while the greedy variant selects at each step the model that yields the largest validation gain. In contrast to our approach, hellsemble is largely sequential, with later models correcting earlier errors, whereas our experts operate fully in parallel. () show that classical MoE can yield unintuitive and imbalanced decompositions when the gate and the experts are trained jointly, which weakens specialization. They address this with attentive gating that leverages expert outputs and with data-driven similarity regularization to encourage balanced routing, an important issue they pursue along a different path than we do. () study deep MoE with two expert layers and a gating network for each layer, showing that the layers specialize in different aspects while keeping a fixed expert set and joint training. In another line of work, () design a generic MoE block that can be integrated into diverse architectures and that remains fully differentiable, using dense input-dependent routing rather than discrete selection to make the component plug and play. Finally, () present a competition-based model discovery approach close in spirit to ours, where models compete for data points and the winner discourages others from capturing similar samples to sharpen specialization. Key differences to our work include how the number of models is chosen, since they keep adding models while validation loss improves, whereas we add and drop models using explicit criteria based on the hardest samples and redundancy among specialists. Another difference is the training schedule, as they couple routing and expert optimization, while we separate partitioning because this partitioning enables a wide range of other uses, with analysis of regimes and active sampling as two examples. Furthermore, they evaluate on structurally different tasks than we do.
We propose an alternative to the classical mixture of experts: in our approach, multiple models compete for each data point. The model with the most accurate prediction is rewarded with training on that point, which drives specialization. The resulting expert preferences define a partitioning of the dataset. In this paper, we use that partitioning to build a modular model with one expert per region, and we compare it to a single global model.
Methods such as the iterative splitting of () and the hellsemble framework of () organize competition rather in a sequential split and refine loop than in parallel. While they are highly valuable for growing models, they actually react to residual error and capacity limits as the specialization they induce follows difficulty rather than stable semantic regimes. Our goal is different. We aim to expose regimes that arise from how different learners naturally win on different subsets. A central difference to classical MoE is our two-step design. We first partition the dataset, then we learn the final experts on the induced regions. This separation gives wide freedom in how to design the partitioning. In the present work, the partition is driven purely by competition. Compared to (), we use this freedom to establish flexible adding and dropping modules that adjust the number of experts automatically. The framework also allows for great flexibility regarding the model class hyperparameter settings within the competition.
The partitioning we obtain enables multiple secondary uses, such as facilitating data analysis or enabling efficient sampling strategies. Consider a scenario where sampling is expensive because each data point requires a costly experiment. One could collect data in batches and rerun the partitioning after each batch. After training a separate expert for each region, regions with underperforming experts could be interpreted as harder and thus prioritized for additional sampling. This approach aligns with the paradigm of active learning, where models are deliberately exposed to data points they are most uncertain about in order to improve their weaknesses. Our approach, however, inverts this idea. In our competition-based design, models do not train on their weaknesses but on their strengths: they are rewarded with training on those data points they predict most accurately. This deliberate choice drives specialization and induces the resulting partitioning of the dataset. Rather than seeking to reduce uncertainty, we exploit certainty to create a structured division of the data, which can then support downstream tasks such as expert modeling or targeted analysis.
2 Materials and methods
2.1 Partitioning algorithm
The objective of our approach is to detect functional patterns in datasets and separate them in case they appear separable. To achieve this, we propose competition among multiple models. We intentionally refer to models in a general sense, as our approach is not limited by the type of model used. However, for simplicity, one might consider simple feedforward networks as an example. The models compete for data points, which requires them to specialize in certain functional patterns of the dataset. This specialization can be translated into a partitioning of the dataset.
Given the dataset:
we assume that the input features xi and the output labels yi are known. However, we assume that both the number of partitions and the location of their boundaries are unknown. We start with K models in the competition: Let denote the k-th model prediction, parameterized by Īøk, where Īøk represents the set of model parameters (e.g., weights and biases):
For each data point in the dataset, all models submit their predictions. The prediction error for each model and data point is calculated like this:
Each data point is assigned to the model whose prediction is closest to the true value, formally expressed as:
thereby also defining the subset of the dataset assigned to each model:
As a reward for providing the most accurate prediction, the winning model is allowed to update its parameters using this subset of data points for one training epoch. The corresponding mean squared error, which in the case of neural networks is backpropagated through the network for optimization, is defined as:
The global mean squared error can be expressed as:
However, this global loss is not used for optimization, as there is no trainable gating mechanism; instead, the partitioning of the dataset emerges from the competitive interaction among the networks. Algorithm 1 describes the implementation of this idea. A corresponding flowchart is shown in Figure 1.
Algorithm 1
| Ā procedure main |
| Ā Ā Ā Ā for each epochdo |
| Ā Ā Ā Ā Ā Ā Ā Ā for each modeldo |
| Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Submit predictions for all data points. |
| Ā Ā Ā Ā Ā Ā Ā Ā end for |
| Ā Ā Ā Ā Ā Ā Ā Ā for each datapointdo |
| Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Rank models according to their predictions. |
| Ā Ā Ā Ā Ā Ā Ā Ā end for |
| Ā Ā Ā Ā Ā Ā Ā Ā for each modeldo |
| Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Train for one epoch with all won data points. |
| Ā Ā Ā Ā Ā Ā Ā Ā end for |
| Ā Ā Ā Ā Ā end for |
| Ā end procedure |
Partitioning: best predictions are rewarded with training.
Figure 1
This processāmodels submitting predictions, ranking the predictions, and training the models on the data points for which they provided the best predictionsāis iterated. We call one such iteration an epoch of the algorithm. As the models specialize, we expect the assignments of data points to models to stabilize: a specialized expert will usually submit the best predictions for its domain. After a predefined number of epochs, the assignments of data points to models are considered final. Each model's won data points translate to a separate partition of the dataset. The hyperplanes between the partitions are stored in a support vector machine (SVM), making the partitioning technically available for other applications. Snapshots of the application of the algorithm to a one-dimensional function that we designed as a test dataset are shown in Figure 2. The transition from random predictions at the beginning to specialized experts at the end is clearly visible. The assignments of data points to the specialized experts are translated into the final partitioning.
Figure 2
Since the number of partitions is usually unknown beforehand, the partitioning algorithm includes an adding and a dropping mechanism to dynamically adapt the number of competing models to the dataset. To evaluate whether a new model should be added to the competition, we regularly identify the data points with the poorest predictions in the dataset and train a new model on these points. The new model is added to the competition in case that improves the overall loss. Figure 3 demonstrates the addition of a model that successfully captures a significant portion of the sinusoidal section of a test function, which had previously been unlearned. For more details, see the pseudo-code of the adding mechanism in Appendix Algorithm 2. Conversely, redundant models that do not uniquely capture their own pattern should be eliminated. Such redundancy is indicated by models not winning any data points or by their predictions significantly overlapping with those of other models. The degree of redundancy is assessed by the increase in overall loss if the model were deleted. This factor is regularly checked, and all highly redundant models are removed. Figure 4 demonstrates the removal of the red model, as it only captures data points similarly well as the purple model. Appendix Algorithm 3 provides the corresponding pseudo-code. The adding and dropping mechanism are designed to balance each other. Figure 2 shows exemplary how the number of competing models is adapted to the dataset from initially ten to finally three. This process involves both adding new models to capture previously unlearned patterns and removing redundant ones.
Figure 3
Figure 4
A significant asset of our partitioning algorithm is its ability to extend to a pattern-adaptive model type, architecture, and hyperparameter search without incurring additional costs. So far, competing models have been considered similar in terms of their type, architecture, and hyperparameter settings. However, all three can be randomly varied among the models, as it is reasonable to assume that different patterns may require, for example, wider neural networks or smaller learning rates. Consequently, the algorithm's output can not only be a partitioning but also an optimal configuration of model type, architecture, and hyperparameters for each partition.
2.2 Modular model
Applying the partitioning algorithm to datasets reveals interesting and valuable insights about the dataset's structure, as illustrated in Figure 2. Additionally, the partitioning can be utilized for various other purposes, such as learning the dataset using a divide-and-conquer approach. Traditionally, the entire dataset is used to train and optimize a single model. However, if the partitioning algorithm detects distinct functional patterns, it may be beneficial to have multiple expert models, each learning only one pattern, instead of pressing all patterns into a single model. Therefore, multiple expert models that each learn one partition are combined into a modular model. The SVM, which incorporates the boundaries between the partitions, serves as a switch between the experts. For each data point, the SVM decides which partition it belongs to and, consequently, which expert model to train or test. The structure of the modular model is illustrated with a flowchart in Figure 5. With this approach, we believe that we can reduce model complexity and increase model accuracy for datasets that are structured by multiple distinct functional patterns with little overlap.
Figure 5
To evaluate this approach, we compared the performance of a single model trained on the entire dataset with that of a modular model comprising multiple expert models. We speak of models in general, as the type of model can be varied. In our experiments, we used feedforward neural networks. To ensure a fair comparison, we allowed the single model to have as many trainable parameters (weights and biases) as the combined total of all experts in the modular model. We conducted a hyperparameter optimization for each expert and separately for the single model serving as the baseline. To keep the hyperparameter search space manageable, we limited the search to the most influential parameters and applied reasonable constraints: the number of layers was varied between 2 and 6, the number of neurons per layer between 4 and 10, and the learning rate between 0.0001 and 0.005. All other hyperparameters were fixed at values listed in Appendix Table 2. Within this reduced search space, we performed 100 grid search trials for each expert model and each single model. This process ensures that any advantages or disadvantages are not due to unfitting parameters or outliers. To estimate the stability of both approaches, we repeated each run, whichāpartitioning the dataset, training the modular model including hyperparameter optimization, and training the single model including hyperparameter optimization - ten times.
2.3 Datasets
We designed one-dimensional, section-wise defined functions to serve as test datasets for validating the effectiveness of our approach and its implementation. The anomaly-crest function is illustrated in Figure 2a, and the wave-climb function is depicted in Figure 6a. Due to their section-wise definition, these functions exhibit different local functional patterns, akin to several engineering problems. One such example is modeling the stress-strain curves of materials with porous structures. These materials offer an excellent balance between weight and strength, but their stress-strain curves are typically challenging to model due to the presence of diverse functional patterns. An exemplary stress-strain curve for such a material is shown in Figure 6b. The data for this porous structure's stress-strain curve were generously provided by (), who collected them. We have observed a high robustness of our partitioning approach to variations in the models random initializations. Figures 2, 6 illustrate typical results.
Figure 6
In addition to the one-dimensional datasets, we evaluated our method using 22 popular higher-dimensional real-world datasets from the UCI Machine Learning Repository (). Our tests focused exclusively on regression problems, though our approach can be readily extended to classification problems. Acknowledging that our assumption of distinct and separable characteristics may not apply to all datasets, we tested these 22 additional datasets to assess the frequency and extent to which the modular model, based on the partitioning algorithm, outperforms a single model (; ; ; ; ; ; ; ; E and Cho, ; ; ; ; ; ; ; ; ; ; ; ; ; ). A characterization of all test cases is provided in Appendix Table 3.
3 Results
We evaluated the predictions of both approaches using mean squared error (MSE) and R2. We expected our pipeline of partitioning algorithm and modular model to outperform the single model in some, but not all test cases. This was confirmed: the pipeline showed clear advantages in 6 out of 25 cases. For the two synthetic test functions, the modular model outperformed the single model by orders of magnitude, validating the concept. On the porous structure's stress-strain data, which inspired the test functions, the modular model reduced the test MSE by 54% on average over 10 runs. The modular model also showed strong performance on three real-world datasets. On the energy efficiency dataset, it achieved a 56% reduction in test MSE, on the automobile dataset, 29%, and on the student performance dataset, 10%, all averaged over 10 runs.
Figure 7 shows histograms of test MSE for the modular and single models. Figure 8 shows the same predictions evaluated with R2, offering a more intuitive illustration of the performance. Both figures focus on the six datasets where the modular model had a significant advantage. Each histogram displays results from ten runs per model. The x-axis shows either test MSE or R2; the y-axis shows the number of runs achieving each value. Higher bars on the left indicate better performance.
Figure 7
Figure 8
Table 1 summarizes the six datasets shown in the histograms, listing features, labels, and data points. Appendix Table 3 includes this information for all 25 datasets and is placed in the appendix due to its length.
Table 1
Since training efficiency is key in machine learning, we also compared the training times of the modular model and single model approach. We measured the time required for a 100-trial grid search for hyperparameter tuning. For the modular model, we also included the time to run the partitioning algorithm. Figure 9 presents a bar plot of training times for the six highlighted datasets. The x-axis shows the datasets, the y-axis (log scale) shows computation time in seconds on a standard desktop computer (Intel Core i9-11950H @ 2.60GHz, 64GB RAM, NVIDIA RTX A5000 with 24GB VRAM). Compared to the hyperparameter search, the partitioning algorithm adds negligible time. More impactful is the modular model's use of multiple but smaller models, which speeds up backpropagation. Overall, training times are similar, with a slight advantage for the modular model.
Figure 9
4 Discussion
As introduced in Section 2.1, the partitioning algorithm is based on the competition between multiple models: iteratively, each model is trained on the data points for which it provided the best predictions. The progressive reinforcement of each model's strengths drives their specialization, which we exploit to partition the dataset. Through competition, the models naturally align with distinct functional patterns in the data.
The application of our partitioning algorithm to the anomaly-crest function demonstrates that the competition between multiple models is generally effective for developing specialized experts and separating different functional patterns. The primary value of this partitioning lies in its ability to detect these distinct patterns and provide insights into the dataset's structure. For the anomaly-crest function, the four identified sections clearly differ in their functional characteristics (see Figure 2). In the case of the wave-climb function, the algorithm successfully separates the two sinusoidal sections with different frequencies and amplitudes, as well as a final u-shaped section, which seems reasonable (see Figure 6a). For the porous structure's stress-strain dataset, it is noteworthy that the first hook is identified as a distinct pattern. Subsequently, all sections with concave curvature are captured by the green model, while all sections with convex curvature are captured by the orange model. This partitioning was surprising, but it appears that the models find it easier to learn either concave or convex curvatures exclusively (see Figure 6b). The models themselves detecting which functional patterns can be learned well coherently was exactly what we were aiming for.
One potential concern is that a single model might, due to a lucky initialization, dominate the competition and suppress the emergence of specialized models. On the one hand, our adding mechanism tackles this by relying on relative performance: new networks are iteratively trained on the samples with the least accurate predictions. Because this threshold is relative to the best models performance rather than absolute, a newly initialized model, trained specifically on challenging samples, can always outperform the current model and enter the competition. That said, we do not claim that every dataset can be effectively partitioned using our approach. Some datasets exhibit a single coherent pattern or contain overlapping patterns that resist separation. If a single model consistently outperforms others, it may simply reflect that the dataset is best modeled holistically. In such cases, we view it as a strength of our method that it naturally converges to a single domain, signaling to the user that partitioning is not beneficial and that a unified model may be more appropriate. This behavior aligns with our results: while the modular model was not superior across all datasets, it outperformed the single model on six out of the 25 datasets tested. For the porous structure's stress-strain dataset and the energy efficiency dataset, the modular model achieved a loss reduction of over 50% (see Figure 7). These findings support our hypothesis that for datasets with separable patterns, specialized expert models can offer significant advantages over a single unified model.
Even in cases where the modular model achieves lower average loss than the single model, the histograms show that individual trials can still favor the single model. This variability arises in part from randomness in the partitioning process: although the algorithm tends to converge to similar partitions, some runs produce splits that are more effective than others. More importantly, both approaches are influenced by stochastic factors during training, such as initialization and sample shuffling, which naturally lead to performance variance. Additionally, since we are dealing with standard feedforward neural networks and standard optimization algorithms, we also encounter standard challenges, such as models getting stuck in local minima, which can affect individual outcomes.
In Appendix Section 1, we describe a detailed analysis of the factors contributing to the performance of the modular model. Our findings reveal a correlation between the number of patterns identified by the partitioning algorithm and the modular model's performance: the more distinct patterns in the dataset, the better the modular model performs relative to the single model. This aligns with our expectation that not all datasets are suitable for our approach. The partitioning algorithm should primarily be applied to datasets that are expected to exhibit predominant patterns with minimal overlap. The clearer the patterns, the more effective the modular model is expected to be. Additionally, we examined the impact of our pattern-adaptive hyperparameter search, which optimizes the hyperparameter settings for each pattern. We discovered that tailoring the learning rates to each partition enhances the modular model's performance. However, our results indicate that adjusting the numbers of layers and neurons per layer for each pattern does not provide any significant advantage. Finally, we aimed to verify that the partitioning algorithm identifies substantial patterns rather than merely separating small and challenging snippets. Our results confirm that the more homogeneous the partition proportions, the more successful the modular model tends to be.
While this study exclusively uses feedforward neural networks, our framework is not limited to this model type. Since competition is moderated solely by prediction accuracy, the approach is flexible enough to incorporate a wide range of models, from simple linear regressors to very complex architectures such as large language models (LLMs). This generality opens up opportunities for future experiments with diverse model types, depending on dataset characteristics.
There are numerous potential applications of our partitioning, many of which we may not have yet considered. We found it important to illustrate a path that leads to measurable improvements by leveraging our partitioning results. One application we plan to explore in the future is using the partitioning algorithm for active learning. In the context of expensive data points, the following data collection loop could be advantageous: first, collect a batch of data points; then, apply the partitioning algorithm; and finally, train each partition with a separate model, akin to the modular model approach. Instead of immediately combining their predictions, we could assess each expert's performance and adjust the collection of new data points accordingly. Partitions that are more challenging to learn should receive more data points, while easier partitions should receive fewer. This approach could lead to a more efficient use of the data point budget. The process can be repeated iteratively. For instance, with a budget of 500 data points, we could run this process 10 times, each time distributing 50 data points according to the difficulty of the experts in learning their partitions in the last iteration.
5 Conclusions
In this paper, we introduced a novel partitioning algorithm. To the best of our knowledge, this algorithm is unique in its use of competition between models to generate a general-purpose partitioning scheme, without constraints on the dataset's origin or order. The partitioning is achieved by having multiple models iteratively submit their predictions for all points in the dataset and being rewarded for the best predictions with training on the corresponding data points. This process induces specialization in the models, which is then translated into a partitioning.
We demonstrated that our algorithm is both widely applicable and useful. Its wide applicability was shown by valuable results across datasets of varying dimensionalities, sparsities, and contextsāfrom student education to engineering stress-strain tests. The utility of our algorithm was illustrated in two primary ways: first, the partitioning inherently provides insights into the dataset's structure. For instance, three distinct patterns were detected in the porous structure's stress-strain dataset: an initial hook, convex, and concave parts. Second, certain datasets can be learned more accurately with a modular model based on our partitioning algorithm than with a single model. If a model's accuracy in learning a dataset is unsatisfactory and the dataset is likely structured along predominant patterns with little overlap, we recommend applying our pipeline of the partitioning algorithm and modular model. Particularly in the context of expensive data points, improving the model on this path without adding more data points can be financially beneficial. In the future, we will explore a third application: adapting data collection strategies based on our partitioning algorithm.
Statements
Data availability statement
The data for the section-wise defined functions is available at https://github.com/FunctionalPartitioning/FunctionalPartitioning. The stress-strain curve data for the porous structure is available upon request from (), the original data collectors. All the high-dimensional, real-world datasets used as benchmarks to evaluate the effectiveness of our approach can be obtained from the UCI Machine Learning Repository ().
Author contributions
MT: Writing ā original draft, Software, Validation, Methodology, Visualization, Investigation. MB: Writing ā review & editing. KL: Writing ā review & editing. CC: Writing ā review & editing, Project administration, Conceptualization. RA: Conceptualization, Writing ā review & editing, Supervision, Project administration.
Funding
The author(s) declare that financial support was received for the research and/or publication of this article. MB gratefully acknowledges funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)-Projektnummer 535656357. KL gratefully acknowledges funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) ā Projektnummer 533187597.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declare that no Gen AI was used in the creation of this manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisherās note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/frai.2025.1661444/full#supplementary-material
References
1
AggarwalC. C.ReddyC. K. (2013). Data Clustering: Algorithms and Applications. London: CRC Press. Taylor &Francis Group. 10.1201/b15410
2
AmbekarR. S.MohantyI.KishoreS.DasR.PalV.KushwahaB.et al. (2021). Atomic scale structure inspired 3D-printed porous structures with tunable mechanical response. Adv. Eng. Mater. 23:2001428. 10.1002/adem.202001428
3
ChenK.XieD.ChiH. (1996). A modified hme architecture for text-dependent speaker identification. IEEE Trans. Neural Netw. 7, 1309ā1313. 10.1109/72.536325
4
ChenK.XuL.ChiH. (1999). Improved learning algorithms for mixture of experts in multiclass classification. Neural Netw. 12, 1229ā1252. 10.1016/S0893-6080(99)00043-X
5
ChenS. (2017). Beijing PM2.5. UCI Machine Learning Repository.
6
CortĆ©sA.RehmR.LetzelterV. (2025). āWinner-takes-all for multivariate probabilistic time series forecasting,ā in ICML 2025: The 42nd International Conference on Machine Learning.
7
CortezP. (2014). Student Performance. UCI Machine Learning Repository.
8
CortezP.CerdeiraA.AlmeidaF.MatosT.ReisJ. (2009). Wine Quality. UCI Machine Learning Repository.
9
CortezP.MoraisA. (2008). Forest Fires. UCI Machine Learning Repository.
10
DoG.LeH.TranT. (2025). Sparse mixture of experts as unified competitive learning. arXiv preprint arXiv:2503.22996.
11
DuK.-L. (2010). Clustering: a neural network approach. Neural Netw. 23, 89ā107. 10.1016/j.neunet.2009.08.007
12
DunnJ. C. (1974). Well-separated clusters and optimal fuzzy partitions. J. Cybern. 4, 95ā104. 10.1080/01969727408546059
13
EigenD.RanzatoM.SutskeverI. (2013). Learning factored representations in a deep mixture of experts. arXiv preprint arXiv:1312.4314.
14
EzugwuA. E.ShuklaA. K.AgbajeM. B.OyeladeO. N.JosĆ©-GarcĆaA.AgushakaJ. O. (2021). Automatic clustering algorithms: a systematic review and bibliometric analysis of relevant literature. Neural Comput. Applic. 33, 6247ā6306. 10.1007/s00521-020-05395-4
15
FedusW.ZophB.ShazeerN. (2022). Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. J. Mach. Learn. Res. 23, 1ā39. http://jmlr.org/papers/v23/21-0998.html
16
FeldmesserJ. (1987). Computer Hardware. UCI Machine Learning Repository.
17
FernandesK.VinagreP.CortezP.SernadelaP. (2015). Online News Popularity. UCI Machine Learning Repository.
18
FruytierQ.MokhtariA.SanghaviS. (2024). Learning mixtures of experts with em: a mirror descent perspective. arXiv preprint arXiv:2411.06056.
19
GordonV. S.CrousonJ. (2008). āSelf-splitting modular neural network-domain partitioning at boundaries of trained regions,ā in 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence) (IEEE), 1085ā1091. 10.1109/IJCNN.2008.4633934
20
GuoJ.CaiY.BiK.FanY.ChenW.ZhangR.et al. (2025). Came: competitively learning a mixture-of-experts model for first-stage retrieval. ACM Trans. Inf. Syst. 43, 1ā25. 10.1145/3757737
21
HamidiehK. (2018). Superconductivty Data. UCI Machine Learning Repository.
22
ImranA. A.RahimM. S.AhmedT. (2020). Productivity Prediction of Garment Employees. UCI Machine Learning Repository.
23
JacobsR. A.JordanM. I.NowlanS. J.HintonG. E. (1991). Adaptive mixtures of local experts. Neural Comput. 3, 79ā87. 10.1162/neco.1991.3.1.79
24
JainA. K. (2010). Data clustering: 50 years beyond k-means. Pattern Recognit. Lett. 31, 651ā666. 10.1016/j.patrec.2009.09.011
25
JanosiA.SteinbrunnW.PfistererM.DetranoR. (1988). Heart Disease. UCI Machine Learning Repository.
26
JordanM. I.JacobsR. A. (1994). Hierarchical mixtures of experts and the em algorithm. Neural Comput. 6, 181ā214. 10.1162/neco.1994.6.2.181
27
KawataR.MatsutaniK.KinoshitaY.NishikawaN.SuzukiT. (2025). Mixture of experts provably detect and learn the latent cluster structure in gradient-based learning. arXiv preprint arXiv:2506.01656.
28
KellyM.LongjohnR.NottinghamK. (2024). Uci Machine Learning Repository. Available online at: https://archive.ics.uci.edu
29
KohonenT. (1990). The self-organizing map. Proc. IEEE78, 1464ā1480. 10.1109/5.58325
30
KrishnamurthyY.WatkinsC.GaertnerT. (2023). Improving expert specialization in mixture of experts. arXiv preprint arXiv:2302.14703.
31
LiM.LiW.QiaoJ. (2022). Design of a modular neural network based on an improved soft subspace clustering algorithm. Expert Syst. Appl. 209:118219. 10.1016/j.eswa.2022.118219
32
LimaC. A.CoelhoA. L.Von ZubenF. J. (2007). Hybridizing mixtures of experts with support vector machines: Investigation into nonlinear dynamic systems identification. Inf. Sci. 177, 2049ā2074. 10.1016/j.ins.2007.01.009
33
MacqueenJ. (1967). Some Methods for Classification and Analysis of Multivariate Observations. Oakland, CA: University of California Press.
34
MatzkaS. (2020). AI4I 2020 Predictive Maintenance Dataset. UCI Machine Learning Repository.
35
MeedsE.OsinderoS. (2005). āAn alternative infinite mixture of gaussian process experts,ā in Advances in Neural Information Processing Systems, 18.
36
MoroS.RitaP.ValaB. (2016). Facebook Metrics. UCI Machine Learning Repository.
37
NashW.SellersT.TalbotS.CawthornA.FordW. (1995). Abalone. UCI Machine Learning Repository.
38
NgS.-K.McLachlanG. J. (2004). Using the em algorithm to train neural networks: misconceptions and a new algorithm for multiclass classification. IEEE Trans. Neural Netw. 15, 738ā749. 10.1109/TNN.2004.826217
39
NikolicS.OguzI.PsaltisD. (2025). Exploring expert specialization through unsupervised training in sparse mixture of experts. arXiv preprint arXiv:2509.10025.
40
OldfieldJ.GeorgopoulosM.ChrysosG.TzelepisC.PanagakisY.NicolaouM.et al. (2024). āMultilinear mixture of experts: Scalable expert specialization through factorization,ā in Advances in Neural Information Processing Systems, 53022ā53063.
41
PalechorF. M.la Hoz ManotasA. D. (2019). Estimation of Obesity Levels Based On Eating Habits and Physical Condition. UCI Machine Learning Repository. 10.1016/j.dib.2019.104344
42
PhamQ.DoG.NguyenH.NguyenT.LiuC.SartipiM.et al. (2024). Competesmoe-effective training of sparse mixture of experts via competition. arXiv preprint arXiv:2402.02526.
43
PiwkoJ.RuciÅskiJ.PÅudowskiD.ZajkoA.Å»akP.ZachareckiM.et al. (2025). Divide, specialize, and route: a new approach to efficient ensemble learning. arXiv preprint arXiv:2506.20814.
44
QuinlanR. (1993). Auto MPG. UCI Machine Learning Repository.
45
RezaeeM. J.EshkevariM.SaberiM.HussainO. (2021). Gbk-means clustering algorithm: an improvement to the k-means algorithm based on the bargaining game. Knowl. Based Syst. 213:106672. 10.1016/j.knosys.2020.106672
46
SathishkumarV. E.ChoY. (2020). Seoul Bike Sharing Demand. UCI Machine Learning Repository.
47
SchlimmerJ. (1987). Automobile. UCI Machine Learning Repository.
48
ShazeerN.MirhoseiniA.MaziarzK.DavisA.LeQ.HintonG.et al. (2017). Outrageously large neural networks: the sparsely-gated mixture-of-experts layer. arXiv preprint arXiv:1701.06538.
49
TfekciP.KayaH. (2014). Combined Cycle Power Plant. UCI Machine Learning Repository.
50
TrespV. (2000). āMixtures of Gaussian processes,ā in Advances in Neural Information Processing Systems, 13.
51
TsanasA.LittleM. (2009). Parkinsons Telemonitoring. UCI Machine Learning Repository.
52
TsanasA.XifaraA. (2012). Energy Efficiency. UCI Machine Learning Repository.:
53
UedaN.GhahramaniZ. (2002). Bayesian model search for mixture models based on optimizing variational bounds. Neural Netw. 15, 1223ā1241. 10.1016/S0893-6080(02)00040-0
54
UkorighoO.OwoyeleO. (2025). A competitive learning approach for specialized models: an approach to modelling complex physical systems with distinct functional regimes,ā in Proceedings A (The Royal Society), 20240124. 10.1098/rspa.2024.0124
55
WaterhouseS.MacKayD.RobinsonA. (1995). āBayesian methods for mixtures of experts,ā in Advances in Neural Information Processing Systems, 8.
56
WeigendA. S.MangeasM.SrivastavaA. N. (1995). Nonlinear gated experts for time series: discovering regimes and avoiding overfitting. Int. J. Neural Syst. 6, 373ā399. 10.1142/S0129065795000251
57
WolbergW.StreetW.MangasarianO. (1995). Breast Cancer Wisconsin (Prognostic). UCI Machine Learning Repository.
58
WuS.LiewA.-C.YanH.YangM. (2004). Cluster analysis of gene expression data based on self-splitting and merging competitive learning. IEEE Trans. Inf. Technol. Biomed. 8, 5ā15. 10.1109/TITB.2004.824724
59
XuL.JordanM.HintonG. E. (1994). āAn alternative model for mixtures of experts,ā in Advances in Neural Information Processing Systems, 7.
60
YehI.-C. (2007). Concrete Compressive Strength. UCI Machine Learning Repository.
61
YehI.-C. (2018). Real Estate Valuation. UCI Machine Learning Repository.
62
YuanC.NeubauerC. (2008). āVariational mixture of gaussian process experts,ā in Advances in Neural Information Processing Systems, 21.
63
YukselS. E.WilsonJ. N.GaderP. D. (2012). Twenty years of mixture of experts. IEEE Trans. Neural Netw. Learn. Syst. 23, 1177ā1193. 10.1109/TNNLS.2012.2200299
64
ZhangY.-J.LiuZ.-Q. (2002). Self-splitting competitive learning: a new on-line clustering paradigm. IEEE Trans. Neural Netw. 13, 369ā380. 10.1109/72.991422
Summary
Keywords
partitioning, clustering, unsupervised learning, machine learning, competitive learning
Citation
Tacke M, Busch M, Linka K, Cyron C and Aydin R (2025) Functional partitioning through competitive learning. Front. Artif. Intell. 8:1661444. doi: 10.3389/frai.2025.1661444
Received
07 July 2025
Accepted
16 October 2025
Published
05 November 2025
Volume
8 - 2025
Edited by
Yang Hu, University of Oxford, United Kingdom
Reviewed by
Opeoluwa Owoyele, Louisiana State University, United States
Yingbin Chen, The University of Iowa, United States
Updates
Copyright
Ā© 2025 Tacke, Busch, Linka, Cyron and Aydin.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Marius Tacke marius.tacke@hereon.deRoland Aydin roland.aydin@hereon.de
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.