2026

While Large Language Models have achieved state-of-the-art performance in general machine translation, they frequently struggle to adhere to complex stylistic nuances and lexical constraints strictly and often revert to a neutral style. The scarcity of style-specific parallel data hinders existing solutions, whereas standard prompting lacks rigorous verification mechanisms. To bridge this gap, we propose Style-Ruler, an inference-only agentic framework that operationalizes style via unsupervised extraction and neuro-symbolic verification. Style-Ruler orchestrates three specialized agents: (1) a Style-Reverse Analyst (SRA) that mines quantifiable linguistic constraints from monolingual reference texts via unsupervised extraction; (2) a Constraint-Adaptive Translator (CAT) that employs a Style-Chain-of-Thought mechanism to plan stylistic adherence before generation explicitly; and (3) a Sandbox-Augmented Auditor (SAA) that provides heterogeneous feedback through deterministic code execution. These components form a closed-loop refinement mechanism where symbolic logic guides neural generation. Extensive experiments on the GuoFeng Webnovel dataset and WMT24++ benchmark demonstrate the superiority of our approach. Style-Ruler achieves a CSR of 82.4% on stylized translation, surpassing standard Chain-of-Thought prompting by over 50%, while improving BLEU scores by +1.0 on En→Zh.
Current Mixture-of-Experts (MoE) models typically rely on a static Top-k routing mechanism, activating a fixed number of experts for every token regardless of its difficulty. This uniform allocation ignores the inherent variability in linguistic information density that simple functional words require significantly less processing capacity than content-heavy terms. The static routing results in computational waste for easy tokens and potential under-fitting for difficult ones. To address this issue, we propose **CAR**, a Complexity-Aware Routing framework that aligns the computational budget with the intrinsic information density of input tokens. Diverging from previous dynamic methods that rely on unstable heuristics, we ground our routing decision in a dual-signal objective combining Shannon Surprisal and Predictive Entropy to objectively measure token complexity. We implement a decoupled architecture where a Complexity Perception (CP) module utilizes a Recurrent Complexity Memory (RCM) to estimate these signals from a teacher model, guiding a Dynamic Expert Allocator (DEA) to adjust k on the fly. Extensive experiments demonstrate that CAR consistently outperforms both static baselines and SOTA dynamic routing methods. Notably, our approach achieves superior accuracy on reasoning-intensive benchmarks (e.g., boosting MMLU by 0.8 and GSM8K by 1.5 over static routing) while reducing the average number of activated parameters by approximately 10%. Our code is available at https://github.com/Acking646/car.