Optimal Model Mesh Topologies Over Context Graphs
CAISAIS 2026 5th International Conference on Artificial Intelligence Science and Applications in Industry and Society (CAISAIS 2026)Presentation by Phillip Kingston and Théo Fagnoni, AppliedAI26 November 2026Ajman University, Ajman, United Arab Emirateshttps://caisais26.ajman.ac.ae/enReferenced Paper: Optimal Model Mesh Topologies Over Context Graphs (Paper 212) Smaller specialized language models can reduce inference costs and support air-gapped deployment, but their financial value depends on whether these benefits outweigh the costs of training, updating, and operating them. We represent organizational context and reviewed execution traces in a Context Graph, whose regions supply training data for a Model Mesh. The Model Mesh topology determines which regions supply training data to each model and which models serve each task family, subject to quality requirements referenced to a frontier language model and deployment constraints. This paper makes three contributions: We formalize Model Mesh topology selection as a lifecycle-cost optimization problem that accounts for training models on overlapping context, updating them when context changes, and the inference cost of tasks that may require calls to multiple models in the mesh. Under the stated model assumptions, we derive split-merge conditions for reducing lifecycle cost, formulate a convex problem for meeting task quality requirements at minimum cost within a fixed topology, obtain an exact model-count rule in a symmetric setting, and prove that general topology selection is NP-hard. We conduct reproducible synthetic studies comparing a Model Mesh with a single model under fixed quality requirements and deployment constraints, identifying when the mesh reduces modeled annual lifecycle cost by more than an order of magnitude and when a single model remains optimal.
Authors
- Théo Fagnoni (ORCID: https://orcid.org/0009-0004-8831-3796)
- Phillip Kingston (ORCID: https://orcid.org/0009-0005-2256-3079)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24557970
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00