StackAI
Easy ML Collab
Created on 28th November 2025
•
StackAI
Easy ML Collab
The problem StackAI solves
Artificial Intelligence development today is heavily centralized and controlled by a small number of large corporations. Access to essential resources such as high-quality datasets, pre-trained models, and compute power is restricted, creating significant barriers for independent developers, startups, and open-source communities.
Current ecosystems are closed and proprietary, limiting transparency in how models are built, trained, and evaluated. Collaboration opportunities are fragmented — while developers can version and manage code using tools like Git, there is no standardized versioning or collaboration system for AI models. This results in:
Slow and siloed innovation
Limited reproducibility and traceability of model changes
Lack of community-driven improvements
Difficulty maintaining model iterations and checkpoints
Absence of open governance and shared model development workflows
The absence of a Git-like platform for model version control and lifecycle management is a major bottleneck for scaling responsible and distributed AI advancement.
Challenges we ran into
While developing the core innovation of StackAI — model merging — we encountered significant complexities. AI models are not as straightforward to merge as code branches. Every model contains unique architectures, weight distributions, training datasets, and optimization histories. This introduced several key challenges:
Model Compatibility Issues
Even when two models serve the same task, they may differ in number of layers, neuron alignment, tokenizer settings, or parameter initializations. Ensuring structural compatibility before merging required automated schema analysis and conversion tools.
Performance Degradation Risk
Naively averaging model weights often reduces accuracy instead of improving it. We needed algorithms to selectively merge beneficial parameters while preventing destructive interference.
Hyperparameter & Config Conflicts
Two models come with differing learning rates, batch sizes, loss functions, and optimizer states. Deciding which configurations to preserve — or how to intelligently combine them — demanded a new configuration resolution strategy.
Leveraging Federated Learning Principles
We explored federated averaging and aggregation techniques to combine multiple independently trained models without requiring access to private datasets. But adapting FL for arbitrary AI model repositories required:
custom parameter alignment
dynamic weighting based on evaluation scores
secure aggregation to protect sensitive information
Evaluation & Selection Automation
After merging, testing model performance across diverse benchmarks is computationally heavy. We had to design automatic evaluation pipelines to identify whether the merged model truly gains accuracy or robustness.
Version Traceability
When multiple parent models contribute to a final merged model, lineage must remain transparent. Building a human-readable merge tree with full reproducibility logs was essential.
Technologies used