Manuscript Offprint

arXiv:2610.41039

Characterizing Recoverable Expert-Utilization Signatures in Fine-Tuned Mixture-of-Experts LLMs

Fei Wang, Baochun Li, Bo Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Exploiting Structural Memorization for Expert Pathway Recovery in Distributed Fine-Tuning of Mixture-of-Experts LLMs

Fei Wang

University of Toronto

Department of Electrical and

Computer Engineering

Toronto, Ontario, Canada

silviafey.wang@utoronto.ca

Baochun Li

University of Toronto

Department of Electrical and

Computer Engineering

Toronto, Ontario, Canada

bli@ece.toronto.edu

Bo Li

Hong Kong University of Science and Technology

Department of Computer Science and Engineering

Hong Kong, China

bli@cse.ust.hk

Abstract

As Mixture-of-Experts (MoE) large language models become increasingly deployed in distributed computing environments—from federated learning to edge-cloud systems—their unique architectural properties harbor a new, underexplored landscape of security vulnerabilities. In this work, we move beyond traditional textual analysis to uncover structural memorization: a novel vulnerability where a fine-tuned model memorizes not just its training data, but also the specific internal pathway used to process it, creating a consistent and characteristic routing fingerprint unique to the training process. We provide comprehensive empirical evidence that structural memorization is a tangible phenomenon, demonstrating how it emerges consistently even from just a few dataset samples and how its intensity is directly influenced by the selection of trainable modules.

We show that these memorized expert pathways can be stealthily recovered by an adversary through the model's unconditional generation process, with only access to the model's routing and output logits, requiring no prior knowledge of the fine-tuning data or training procedures. In distributed deployments, this vulnerability is amplified as routing information becomes exposed at multiple trust boundaries, including federated aggregation points, edge-cloud interfaces, and multi-tenant monitoring systems. This recovery process exposes a critical blind spot: traditional membership inference metrics adopted by the literature to measure model memorization, when viewed through the lens of expert routing, fail to effectively identify memorized data corresponding to these structural pathways. To better characterize this detection gap, we devise composite metrics that combine reference model tail likelihood with complexity-aware normalization, significantly improving the detection of memorized routing structures. This discovery enables adversaries to pinpoint critical experts shaped by the fine-tuning process, whether dominant or dormant, and execute sophisticated targeted attacks like router manipulation or backdoor injection under realistic distributed threat scenarios where attackers lack training data access but can observe routing patterns across system components.

References (9)