Game-Theoretic Data Allocation for Expert Specialization and RoutingGame-Theoretic Data Allocation for Expert Specialization and Routing
The authors propose INFLENS, which uses a positional game to allocate the training data of LoRA experts and directly serves as the router; the authors state that on a seven-benchmark safety corpus it predicts the best expert with about 90% top-1 hit rate, without training a gate.
- In MoE, the division of labor among experts usually emerges from joint optimization of the gate and experts; it cannot be inspected before training, and routing after training depends on the learned gate. The authors ask: can the allocation of training data simultaneously predict which expert performs best on which prompts, making the division of labor inspectable and routing gate-free.
- INFLENS encodes prompts into a fixed seven-dimensional safety trait space; experts, as players, choose positions in the influencer's game and divide each prompt's training signal according to an influence kernel; the same allocation both weights the LoRA training loss and directly routes at inference, without training a gate on the expert loss.
- On a corpus composed of seven safety benchmarks, the authors report that top-1 routing agrees with the best expert at a rate of about 90% (shuffled-allocation baseline about 15%), and that the token-level mixture NLL is better than the pooled adapter by 0.1049 nats; under single-expert commitment it is better than a linear gate trained on the validation set by 0.071–0.090 nats; tracing and retraining a single expert lowers the HarmBench attack success rate from 0.51 to 0.02.
- The authors note that the method relies on a symmetric log-concave kernel, routes by prompt rather than by token, and that fitting the trait space on the full data makes the routing numbers optimistic by about 0.007–0.012 nats; fine-tuning leaves all models far less safe than the base model; the experiments are mainly on Qwen2.5-1.5B, and StrongREJECT has only 60 examples in the behavioral evaluation.
- Evaluated models
- Qwen2.5-1.5B-InstructQwen2.5-3BQwen2.5-7BQwen2.5-14BQwen2.5-32BGemmaLlama
- Benchmarks
- BeaverTails-30kHaluEvalJBB-BehaviorsAI4Privacy PII-Masking-200kOR-BenchPrompt Injection Threat MatrixDo-Not-AnswerAlpaca-CleanedHarmBenchStrongREJECTIFEvalGSM8KPKU-SafeRLHFTruthfulQAXSTestCoCoNot
- Metrics
- NLLtop-1/top-2/top-3 agreementSpearmanHarmBench attack successStrongREJECT harmfulnessIFEval strict accuracyGSM8K accuracy
The paper proposes InflEns, a mixture-of-LoRA-experts method in which both training data weights and inference routing come from the same positional game in a fixed prompt-trait space, where participants choose positions to maximize expected share in the prompt distribution, without using expert losses. On a corpus composed of seven safety-related benchmarks, under a sharpened simplex representation, the expert with the highest share among the four kernels has the lowest held-out response negative log-likelihood (NLL) on about 90% of prompts, versus only about 15% after permuting the assignment across prompts; the method requires no trained explicit gating and performs comparably to published learned gating. Because routing is fixed, harmful behavior can be traced to a single expert and only that expert retrained, reducing the HarmBench attack success rate from 0.51 to 0.02 while maintaining instruction following. The game also provides multiple means to control how experts specialize, including kernel choice and its parameters, the geometry of the trait space, and the number of experts; InflEns is a general framework scalable to arbitrary encoders and data distributions.
Paper analysis
What problem does this paper attempt to solve?
The authors ask whether the allocation of training data can simultaneously determine and predict the division of labor among experts, and propose INFLENS, a gate-free game-theoretic framework for expert training and routing.
Core question: Can the division of labor among experts in a mixture of experts (MoE) be determined by a data allocation that can be inspected before training and used directly as a routing rule after training, rather than emerging from joint optimization of the gate and experts?
- Setting and motivation: In many MoE systems, expert specialization emerges when the gate and experts are optimized together (Shazeer et al., 2017); designers cannot know before training which type of prompt (e.g., privacy requests, jailbreak attempts) will provide training signal to which expert, and selecting experts after training also depends on the learned gate.
- Shortcomings of existing methods (as stated in the paper): Jointly learned gating makes the division of labor impossible to analyze in advance; clustering-based methods (c-BTM, MoCLE) organize experts using data geometry, but positions come from clustering rather than a competitive objective; BASE's balancing constraint may assign tokens to suboptimal experts, and the micro-batch load-balancing loss suppresses domain specialization (the paper cites Qiu et al., 2025).
- Core observation and hypothesis: The authors borrow the influencer's game (Lovett & Fu, 2026): players choose positions in a fixed trait space to maximize their share of the training signal, with shares summing to 1 (constant-sum); the game yields a criterion Dκ for when the symmetric equilibrium loses stability and separates, allowing the allocation to be analyzed before training. The authors hypothesize that after share-weighted training of players, accuracy will become an emergent property, so that the allocation itself can predict expert quality.
- Contributions of the paper: Proposes INFLENS—a mixture of LoRA experts in which training weights and inference routing come from the same positional game; on a corpus of seven safety-related benchmarks, it validates the predictive power of the allocation for expert quality, compares with published gates, and examines the safety auditability enabled by fixed routing (tracing harmful behavior to a single expert and retraining only that expert).
What related research exists?
Related work falls into three groups: sparse MoE routing, expert libraries and post-hoc routing, and game-theoretic multi-expert learning; the authors treat c-BTM and MoCLE as nearest neighbors and implement multiple baseline classes themselves for comparison.
Sparse mixing and routing
- Jointly learned gating: the adaptive mixtures of Jacobs et al. (1991), the sparsely gated MoE of Shazeer et al. (2017), and the Switch Transformer of Fedus et al. (2022) all learn an input-dependent gate jointly with the experts.
- Allocation without joint learning: the hash layers of Roller et al. (2021) and the random expert selection of Zuo et al. (2022) can be comparable to a learned router; StableMoE (Dai et al., 2022) first learns a router and then freezes it; BASE (Lewis et al., 2021) guarantees equal expert load per batch, and the paper notes that this may force tokens into suboptimal experts.
- Existing analyses of MoE routers: OpenMoE routes mainly by token identity (Xue et al., 2024), Mixtral groups by syntax and position with little topic separation (Jiang et al., 2024), and OLMoE shows partial domain specialization (Muennighoff et al., 2025).
Expert libraries, composition, and post-hoc routing
- Train first, combine later: BTM (Li et al., 2022) trains branches by metadata domain and then combines them with a posterior; c-BTM (Gururangan et al., 2023) replaces metadata with corpus clustering; BTX (Sukhbaatar et al., 2024) first trains domain experts and then learns a token-level gate; MoCLE (Gou et al., 2026) clusters instruction embeddings and activates LoRA experts by similarity.
- Post-hoc routing: AdapterSoup (Chronopoulou et al., 2023) performs weight averaging, MoLE (Wu et al., 2024) and PHATGOOSE (Muqeeth et al., 2024) learn gates on already-trained adapters, Arrow (Ostapenko et al., 2024) builds routing prototypes from adapter weights, LoraRetriever (Zhao et al., 2024) learns to retrieve adapters, and RouteLLM (Ong et al., 2025) learns to select models from preference data.
Game theory and competitive mixing
- Nash-MTL (Navon et al., 2022) treats tasks as players bargaining over shared parameter updates; mean-field and congestion formulations treat tokens as players (Sen, 2026; Mouzouni, 2026); Ben-Porat & Tennenholtz (2019) have learners compete for data points they can serve accurately.
- Within MoE: Mixture of Bidders (Vyas, 2025) routes with a VCG auction, NAMEx (Nguyen et al., 2026) sets merge weights by bargaining, CompeteSMoE (Nguyen et al., 2025) trains a router to reproduce the assignment of the expert with the strongest response, and Kiselev (2026) finds a pitchfork bifurcation in the load of softmax routing.
Baselines and benchmarks: the comparison baselines implemented by the paper itself include five published gates (dense softmax, noisy top-k, Switch, Mixtral, DeepSeek-V3), two distance gates (Gaussian, X-MoE cosine), a linear gate trained on the validation set, c-BTM (including a balanced variant), BASE-style allocation, MoLoRA, AdaMix, EWoRA-style, MoDULA-Res, KnOTS/TIES/DARE merging, a pooled-seed deep ensemble, and soft k-means; the evaluation corpus consists of seven safety-related benchmarks: BeaverTails, HaluEval, JBB-Behaviors, AI4Privacy, OR-Bench, Prompt Injection Threat Matrix, and Do-Not-Answer/Alpaca-Cleaned (Table 2), and behavior evaluation uses HarmBench, StrongREJECT, and IFEval (Appendix R).
Author positioning: INFLENS is closest to c-BTM and MoCLE, but the difference is that the positions organizing the experts come from the competitive payoff of the influencer's game rather than from clustering, and are solved before any adapter is trained, so the shares can be routed directly without fitting a gate on expert losses.
How does the paper address this problem?
INFLENS maps prompts into a fixed trait space, and experts as players compete for shares of the training signal in a positional game; the same allocation weights training and routes directly.
Overall approach: a frozen encoder first maps prompts into a fixed trait space to form a resource distribution; experts as players choose positions in an influencer's game and split the training signal of each prompt according to an influence kernel; this allocation both weights the training loss of each LoRA adapter and directly serves as the routing rule at inference, with no gate trained on expert losses at any point.
Positional game and stability criterion
- A data point has a frozen trait vector b, player i chooses position xi, and shares are computed according to a positive influence kernel fκ and normalized: Gi(x,b) = fκ(xi,b;σ) / ∑j fκ(xj,b;σ); the utility ui is the expectation of the share over the resource distribution; shares always sum to 1, so the game is constant-sum.
- At the symmetric equilibrium, define the recovery curvature K and the score spread C; the instability depth of the split mode is Dκ = (N−2)/(N−1) λmax(K−1/2 C K−1/2): when Dκ<1 时对称均衡局部稳定,Dκ>1, player separation instability occurs, and Dκ=1 is the stability boundary (derivation in Appendix B).
- With two effective players the prefactor vanishes and the symmetric equilibrium is always locally stable; this motivates the "paired cloning" design: 14 clones placed on 7 co-located pairs, with the pair as the routing and training unit, and Appendix B proves that the allocation of equal, identically positioned clones is exactly equivalent to a single-player game.
Trait space and resource distribution
- Prompts are encoded with a frozen 4-bit quantized Qwen3-Embedding-8B; for each of seven safety axes (harm, hallucination, jailbreak, privacy, over-refusal, policy violation, injection) a shrinkage Fisher discriminant direction is fitted, the directions are orthogonalized and the coordinates residualized, and then each axis is mapped to [0,1] via its empirical CDF, so that the seven marginal distributions are uniform over the corpus.
- Two geometries: cube ([0,1]^7) and simplex (softmax over coordinates with temperature T, with T=0.35 in the main experiments); the 28,355 prompts after mapping form the resource distribution (Figure 2, Figure 7).
- The axes can also be learned in an unsupervised way (k-means pseudo-Fisher, PCA, ICA, Appendix F).
Training and routing procedure
- Each experiment runs 12 rounds: the training batch is projected into the trait space, the pair shares are computed according to Equation 1, each prompt is assigned to the top-k pairs with the share as the loss weight (dense k=N keeps all, k=1 is hard assignment); in the dynamic-position arm each clone performs synchronous projected ascent along the gradient of the game utility, and the fixed-position control turns updates off.
- Main experiment: 7 pairs of rank-16 LoRA adapters are trained on Qwen2.5-1.5B-Instruct, with soft routing weights equal to the influence shares; each adapter and the pooled control each receive 1,248 optimization steps.
- Kernel selection: three distance kernels (Gaussian, hyperbolic, exponential-power) and two shape kernels (Dirichlet, product-Beta), compared cross-sectionally by matching depth with Dκ and by allocation sharpness (closed forms given in Appendix G).
Evaluation method
- Metrics: expected NLL (the loss of one pair sampled according to the shares), argmax commitment, the NLL of the probability mixture over completion sequences, and a post-hoc best-expert oracle to give the routing upper bound; the pooled comparator is trained on the union of the same routing batches, matching the total training signal of the experts.
- Data split: the 28,355 entries are split within source 70/10/20 into 19,848 training, 2,836 validation, and 5,671 test, shared by all arms; the trait axes, quantile normalization, and resource KDE are fitted on all 28,355 entries (Appendix E reports the effect of refitting only on the training set).
What experiments did the paper conduct?
The main experiments train 7 pairs of LoRA experts on a seven-benchmark safety corpus: top-1 routing agreement is about 90%, mixture NLL beats pooling by 0.1049 nats, and under single-expert commitment it beats linear gating.
Experimental setup
- Models tested: main experiments on Qwen2.5-1.5B-Instruct; scale ablation on Qwen2.5 1.5B/3B/7B/14B/32B (Appendix O); family ablation on Llama-3.2-1B and Gemma-3-1B.
- Data: a 28,355-example corpus composed of seven safety benchmarks (Table 2), split 70/10/20 (19,848/2,836/5,671); about 10% of training targets are unsafe responses, 9% are hallucinated answers, and 47% are prompt-only (Table 3).
- Method configuration: 7 pairs (14 clones) of rank-16 LoRA, 12 epochs, dense share-weighted soft routing as default; kernels Gaussian/hyperbolic/Dirichlet/product-Beta, geometries cube and T=1, T=0.35 simplex.
- Baselines: pooled adapter, five published gates and two distance gates (jointly trained, router learning rate raised to 10⁻²), a linear gate trained on the validation set, c-BTM, BASE-style allocation, soft k-means, MoLoRA, AdaMix, EWoRA-style, MoDULA-Res, KnOTS/TIES/DARE, pooled-seed ensemble (Appendices L, P, Q).
- Metrics and evaluation: NLL (three estimates: expected/argmax/sequence mixture), top-1/2/3 agreement, Spearman; behavioral evaluation with the official HarmBench and StrongREJECT scorers, IFEval strict accuracy (Appendix R, HarmBench n=191, StrongREJECT n=60, IFEval n=541).
- Number of repetitions: the main table reports mean±standard deviation over 3 training seeds (Table 1); most split experiments span 3 data splits; behavioral and editing experiments are mostly one training run per row.
Main results
Table 1 (7 pairs, mean over 3 seeds, null is shuffled allocation):
Swipe horizontally to read the table
T Kernel Top-1 obs. (%) Top-1 null (%) Top-3 obs. (%) Spearman obs. 1.00 Gaussian 86.3±0.6 15.1 97.7±0.3 0.719 1.00 Dirichlet 82.9±1.3 15.2 95.8±0.4 0.729 0.35 Gaussian 90.5±0.4 15.4 98.2±0.2 0.518 0.35 Dirichlet 90.1±0.3 15.2 98.0±0.2 0.469 0.35 Product-beta 90.5±0.3 15.3 98.1±0.2 0.475 (For T=1 there are also Hyperbolic 87.1% and Product-beta 83.2%; for T=0.35 there is also Hyperbolic 89.3%; omitted here.)
- The authors state that the game router ranks the best expert first about six times as often as random (about 15%), indicating that specialization comes from INFLENS's allocation.
- Sharpening the simplex to T=0.35 raises top-1 agreement for the four kernels from 82.6–87.3% to 89.2–90.8%; the authors state that differences between kernel identities largely disappear after depth matching, and that allocation sharpness is the key factor (Figure 3b, Figure 10).
- Routing gain: token-level mixture improves over the pooled adapter by 0.1049 nats; uniform mixing of the same experts retains 0.0661 nats, shuffling expert identities gives −0.0671, and uniform random hard routing gives −0.4144 (Figure 13).
Comparison with learned gates
- Frozen linear gate: across 4 data splits, under single-expert commitment the game allocation beats soft-target and best-expert linear gates by 0.071–0.090 nats; under full-probability mixing the sign is two to two, with a maximum difference of 0.0017 nats, at the level of run-to-run noise (Section 4.3).
- Jointly trained published gates (Figure 5, Table 10): dense softmax gate 1.8864, versus the game's token-level mixture 1.8899, a difference of 0.0035 nats; DeepSeek-V3 and Mixtral trail the game's top-2 mixture by 0.003 and 0.005 nats respectively, both within noise.
- The experts themselves differ: the best single component of the jointly trained mixture is only 0.05–0.09 nats better than pooling, while the game's best expert is 0.143 nats better; the authors state that the game's experts can serve individually, whereas the gate's components are only effective when mixed.
- Post-hoc gates fitted on the game's experts: X-MoE cosine 1.8782, Gaussian 1.8795, better than the game's own shares by 0.0116 and 0.0104 nats respectively (Table 11); the authors acknowledge that the game allocation is not the optimal router for its experts, but it is fixed before training.
Safety behavior and single-expert editing (Appendix R)
- Fine-tuning harms safety: the pooled adapter is worse than the base model by 0.589±0.052 (HarmBench) and 0.505±0.048 (StrongREJECT); all 24 signed safety comparisons favor routing over pooling, but none recovers to the base level (Figure 17).
- Tracing and editing: 94% of HarmBench prompts route to pair 5; freezing routing and retraining only that pair lowers HarmBench from 0.508 to 0.016 (paired difference −0.492, bootstrap 95% interval [−0.565, −0.419]), StrongREJECT from 0.455 to 0.099, and IFEval changes by −0.011 (Table 25); the wrong-expert control barely moves (−0.005).
- Blind replication: on a second data split, predictions were written down before editing; HarmBench falls from 0.598 to 0.046, but no editing arm reaches the preset 0.02 tolerance, and the authors state that tracing overestimated how thoroughly the cleanup would work (Table 28).
- Corrected corpus: after removing unsafe targets, HarmBench falls for all methods (game 0.508→0.183); with safe responses plus prompt-masked loss, HarmBench is at most 0.021 for all methods, and the game retains the highest IFEval (0.274±0.018, 0.105±0.019 higher than pooled).
Other ablations and analyses
- Log sweep (Table 7): single-expert gain peaks at 0.125 nats with 6 pairs; with 15 pairs top-1 drops to 58% while oracle keeps rising to 0.160.
- Initialization (Figure 4): balanced adaptive starting point and pinned starting point show no difference in average gain (0.0747 vs 0.0764 nats), but roughness is 0.483 vs 1.266.
- Routing rules (Figure 14): dense weighting gives a 0.0693 nats gain, top-3 weighting 0.0415, and hard top-1 is 0.0156 worse than pooling.
- Label-free axes (Appendix F): pseudo-Fisher retains about 83% of the gain (0.090±0.002 nats), PCA about 70%, and ICA almost no gain.
- Soft k-means control (Appendix Q): positions and game equilibrium are interchangeable (difference 0.0006±0.0007 nats), but its own allocation trails by 0.010 nats when sampling a single expert.
- Model scale and family (Appendix O): each of the five Qwen2.5 scales beats its pooled control, and oracle capture falls from 87.4% to 84.2%; the allocation is likewise effective on Llama and Gemma.
- OOD (Appendix S): on GSM8K the game's accuracy is 0.41 vs pooled 0.21 (three splits); on seven unseen datasets both mixtures beat pooling in full-text NLL, but when only response tokens are considered no mixture beats the pooled adapter.
What are some points that can be further explored?
The authors list limitations including the symmetric log-concave kernel and routing by prompt, and call online adaptation to new data streams the most promising direction; the experiments are mainly based on a 1.5B model and behavioral evaluation on a single split.
Limitations and future directions noted by the authors
- Restricted kernel form (Section 5): INFLENS relies on symmetric and log-concave kernels; experts cannot have multiple specialization centers, and influence cannot decay asymmetrically; the former can be alleviated with more experts but at a training cost, while the latter is more fundamental, and the authors state that the need for asymmetric kernels is not yet certain.
- Routing by prompt (Section 5): the game requires one fixed trait vector per data point, so routing can only be by prompt; on conventional sparse-upcycled experts its shares differ from a learned dense router by within 0.006 nats, but none of the token-level routers trained by the authors matches the pooled adapter (Appendix M).
- Transductive fitting of the trait space (Appendix E): the axes, quantile maps, and resource KDE are fitted on all 28,355 entries; refitting only on the training set lowers the single-expert gain by 0.0091 nats; the authors state that the paper's other routing numbers should be regarded as optimistic by about 0.007–0.012 nats.
- No guarantee against safety degradation (Section 8, Appendix R): the method may make expert behavior easier to audit, but it does not guarantee safety or fairness, and specialization may concentrate capabilities as well as failures; fine-tuning substantially harms alignment relative to the base model.
- Online adaptation is a future direction (Sections 5, 6): the authors state that the most promising direction is online adaptation to new data streams—with no trained gate there is no router to degrade, and a new prompt distribution means new positional incentives; the current experiments do not test distribution shift, and the authors propose that a direct test should change the prompt distribution over time and compare predicted with observed position movement.
- Equilibrium selection problem (Section 4.2): continuing position updates brings only 15 of the 27 non-degenerate reach–split cells to the same fixed point, and the authors state that there is an equilibrium selection that needs to be made.
Scope of the experiments
- The models tested are five Qwen2.5 sizes (1.5B–32B) plus Llama-3.2-1B and Gemma-3-1B; the main experiments are all on Qwen2.5-1.5B-Instruct; the scale and family ablations use a single run per configuration (Appendix O).
- The training corpus is fixed at 28,355 entries from seven safety benchmarks; the main results span 3 data splits, and the main tables span 3 training seeds; behavior evaluation uses one training run per row, StrongREJECT has only 60 examples, and the authors note that the bar charts are not confidence intervals (Appendix R).
- The gate comparison covers five published gates and two distance gates (both jointly trained and post-hoc fitted), and the baseline audit includes ten families: c-BTM, BASE-style, MoLoRA, AdaMix, EWoRA-style, MoDULA-Res, KnOTS/TIES/DARE, and pooled-seed ensembles (Appendix P).
- Safety evaluation uses the official HarmBench and StrongREJECT scorers and IFEval; XSTest, TruthfulQA, and BIPIA use lexical proxy scorers, and the authors state that their results are only directional and are not reported in the main text (Appendix R).
- The paper does not report agreement with human review; because of large differences in response coverage, the authors state that ConfAIde cannot support claims of privacy improvement (Appendix R).
Summarize the main content of the paper
INFLENS uses a positional game to unify expert training allocation and inference routing: the allocation can be inspected in advance, requires no trained gate, and can trace harmful behavior to a single expert and retrain it in a targeted way.
A methods paper on mixture-of-experts training and routing: the authors change expert division of labor from "emerging in joint optimization" to "explicitly specified by a positional game," so that the training-data allocation can be inspected before training and directly serves as the router after training.
- Problem: in conventional MoE, the gate and the experts are learned jointly, so the division of labor cannot be analyzed in advance; although clustering-based methods use data geometry, the positions do not come from a competitive objective.
- Method: INFLENS maps prompts through a frozen encoder into a seven-dimensional safety trait space; LoRA experts, as players, choose positions in an influencer's game and split the training signal according to an influence kernel (constant-sum); the game yields a symmetric-equilibrium instability criterion Dκ used to select the kernel and set the reach; the same allocation weights the training loss and routes at inference, with no gate trained at any point.
- Predictive power: on a corpus of 28,355 entries across seven benchmarks, under the T=0.35 simplex the top-1 routing agrees with the best expert at a rate of 89.2–90.8% (four kernels), versus about 15% for the shuffled-allocation baseline (Table 1).
- Performance: the token-level mixture NLL is better than the pooled adapter by 0.1049 nats; under single-expert commitment it is better than a linear gate trained on the validation set by 0.071–0.090 nats; it differs from a jointly trained dense softmax gate by 0.0035 nats (within noise), but the game experts can serve individually whereas the gate component cannot.
- Safety application: fixed routing makes 94% of HarmBench prompts traceable to a pair of experts; retraining only that pair lowers the attack success rate from 0.508 to 0.016, with an IFEval change of −0.011 (Table 25).
- Authors' conclusion: the authors state that INFLENS turns expert specialization into an explicit, falsifiable process, which is meaningful for interpretability and safety auditing—safety data can be fed to experts in a targeted way, and problematic experts can be located and retrained individually; they also acknowledge dependence on symmetric log-concave kernels, routing only by prompt, and list online adaptation to changing data distributions as the most important open problem.
Related papers
- Cross-Primitive Consistency in Jev评测/基准arXiv