DUOW: decision-uncertainty watermarking to protect multi-agent routing from policy cloningDecision Uncertainty-Oriented Watermarking (DUOW): Securing Multi-Agent Routing Against Policy Cloning
DUOW embeds watermarks among equivalent routes: at full embedding, ToolBench utility is 99.2%, and DBBench recovers 74.65% under 90% erasure.
Attackers aim to obtain the target routing agent or a functionally equivalent copy: they can obtain parameters via leaks or insider disclosure, or collect behavior from public APIs and logs for knowledge distillation or imitation learning. The owner embeds the watermark before deployment; verification is black-box, only querying public APIs and auditing decision logs.
- Multi-agent routing policies are written into execution logs, and attackers can use them for knowledge distillation or imitation learning. The authors claim that existing token-level and action-level watermarks either harm task fidelity or are difficult to preserve across heterogeneous platforms and after policy distillation.
- DUOW scores candidates at the external decision layer by both semantic alignment and runtime utility, uses an adaptive threshold to judge decision margin, and rewrites routing only between the top two equivalent candidates to write bits. Extraction relies only on decision logs and the private key, and recovers the payload by majority voting over repeated cycles.
- At full embedding across four benchmarks, U is no lower than 99.2%. DBBench recovers 74.65% under 90% erasure. For Llama3.1-8B at 60% embedding, the U-ER on ToolBench is 27.59% for DUOW and 9.86% for AgentMark. Average per-step latency is 0.043 ms.
- The authors claim that capacity depends on functional overlap, with no embeddable steps in the worst case, and verification is unreliable when boundaries are distinct. Future work includes multi-objective reinforcement learning and cross-step encoding. The experimental router is Gemma-3-12B-it; the paper does not report the number of tasks or repetitions.
- Evaluated models
- Gemma-3-12B-it
- Benchmarks
- ToolBenchDBBenchGorilla-HFGorilla-TF
- Metrics
- Decision Match Rate ΦRelative Decision Utility US-ERU-ERO-VRembedding latency
The paper proposes DUOW—a watermark for decision uncertainty to protect routing policies in multi-agent systems (MAS) from cloning, without modifying model parameters or outputs. It operates at the external decision layer, identifying functionally redundant routing decisions via a pluggable scorer and redirecting among equivalent alternatives to embed ownership signals; on four MAS routing benchmarks, ownership can be reliably verified even with up to 90% log erasure, with an average per-step latency of 0.043 ms and total embedding overhead below 0.54 ms.
Paper analysis
What problem does this paper attempt to solve?
Routing policies are cloned via logs; DUOW writes ownership signals among functionally equivalent candidates.
Multi-agent routing policies are cloned via execution logs, requiring embeddable verifiable ownership signals without modifying the model's internals.
- Scenario: The authors claim that routing policies determine which agent executes subtasks, are costly to optimize, and are core intellectual property of the MAS. Logs are used for billing, monitoring, and debugging, but also expose the decision process; the authors claim that observing behavior alone may allow low-cost policy cloning.
- Existing Shortcomings: The authors claim that token-level perturbations interrupt deterministic execution and cause long-range drift through closed-loop feedback. Probability-level methods require internal candidate distributions for verification; action-level methods are tied to static tool definitions and are hard to transfer when endpoints change. The authors claim these watermarks are external perturbations that are easily removed during distillation.
- Observation and Approach: Candidate agents often have overlapping capabilities. DUOW scores in the external decision layer, finds routing steps with decision margins, and only rewrites choices among equivalent candidates to write ownership bits, without modifying parameters or generated outputs.
- Threat Model:
- Goal: Obtain the target routing agent or a functionally equivalent copy without bearing the cost of developing and optimizing a routing policy from scratch.
- Capabilities: Can directly obtain the model or parameters via model leaks, insider disclosure, or other unauthorized access; otherwise, collect task-routing behavior from public interfaces, leaked logs, monitoring records, or interaction histories, then train a proxy model using knowledge distillation or other imitation learning. The introduction calls this black-box policy extraction.
- Victim System: The routing agent in the MAS. Decision logs record queries, timestamps, and selected executor agent IDs over time, and may be given to users, platforms, or third parties.
- Defense and Verification: The owner can rewrite routing before deployment and holds the key and embedding configuration. Verification is assumed to be black-box: cannot see parameters, architecture, or intermediate layers, only query the suspicious system's public API and audit the returned sequential decision logs.
What related research exists?
The authors divide related work into MAS routing, text watermarking, and agent watermarking, and criticize the latter for being difficult to resist distillation.
The authors organize the discussion by MAS routing, text watermarking, and agent watermarking.
MAS and Routing Policies
- Tool Use: ReAct by Yao et al. interleaves reasoning traces with actions; Toolformer by Schick et al. lets LLMs call APIs with token-level commands; ToolLLM by Qin et al. extends orchestration to a large number of real APIs and cross-tool workflows.
- Routing Optimization: FrugalGPT by Chen et al. sends queries to a cascade of LLMs based on task difficulty; Zhai et al. train lightweight Q-value models for step-level action selection; OPTIMA uses Monte Carlo tree search and direct preference optimization to learn routing, reducing black-box communication costs.
- Authors' Connection: The authors use these works to show that as the number of available tools increases, choosing which endpoint at each step becomes key to system performance.
Text Watermarking
- Representative Methods: Kirchenbauer et al. bias token sampling; Kuditipudi et al. do distortion-free watermarking; Liu et al. embed semantically invariant signatures; PostMark by Chang et al. and CodeIP by Guan et al. carry multiple bits.
- Authors' Criticism: The authors claim that natural language relies on semantic redundancy, whereas agents must turn policies into discrete API actions with strict control flow and limited vocabulary, so token-level probability perturbations can break execution logic.
Agent Watermarking
- Probability-Level: Agent Guide and AgentMark modulate time-varying behavior distributions. The authors claim that although AgentMark attempts black-box deployment via distributional guidance, it still requires logit profiles or multiple sampling, and probability shifts are easily smoothed out as noise during distillation.
- Action-Level: AgentWM exploits semantic equivalence of tool paths and biases toward specific implementations; ActHook inserts hook actions into trajectories while preserving original task results. The authors claim that path equivalence is tied to static tool definitions and is hard to transfer when endpoints change or in heterogeneous environments.
- Common Criticism: The authors claim that both families treat ownership as an external perturbation rather than a property of the decision logic, thus relying either on internal state or platform-dependent paths; student models abstract away perturbations when they only see final behavioral traces. They also claim that none of them exploit existing functional redundancy among candidate agents.
Baselines and Benchmarks
- Baseline Methods: The experimental comparison is against AgentMark and the unwatermarked routing Base.
- Benchmarks: ToolBench, DBBench, Gorilla-HF, Gorilla-TF.
The authors position DUOW as: writing ownership into the choice among equivalent candidates, rather than perturbing generated content or execution traces, so that black-box verification remains possible after cloning and log truncation, while maintaining task fidelity.
How does the paper address this problem?
DUOW uses semantic and operational utility scoring to locate decision margins, then rewrites equivalent routes according to an adaptive threshold.
DUOW does not modify the routing LLM's parameters or generated text; it only uses the selection redundancy among functionally near-equivalent candidates in the external decision layer to write ownership bits.
Problem Setting
- Native Routing: The routing agent decomposes user requests into subtasks. At step t, it generates a local query qt from history, the underlying LLM outputs logits over the candidate pool, and greedily selects the maximum; decisions and observations are written to the trajectory. Deployment decision logs save queries, timestamps, and selected agent IDs over time.
- Cannot Directly Use Logits: The routing LLM's cross-entropy only increases the top-1 probability; other logits do not represent the functional competitiveness of downstream agents. The authors therefore believe the native policy does not provide usable decision margins.
- Skip Rule: Not every step has downstream agents with close capabilities. If the margin is insufficient, the original choice is kept, and this 1 bit is deferred to the next step. Multi-bit payloads accumulate along the trajectory.
Plug-and-Play Scoring
- Semantic Alignment: A frozen pretrained encoder maps qt and candidate capability descriptions into the same space; the static score is cosine similarity scaled to [0, 1]. The encoder in experiments is bge-small-zh-v1.5; the method section only describes it as an example of a lightweight text embedding model.
- Operational Utility: Normalized response latency and current load are used according to SLA. The dynamic score is 1 minus the weighted sum of the two, truncated to not be less than 0, to avoid selecting overloaded or slow-responding agents.
- Combined Score: The reference score for each candidate is a convex combination of the semantic and operational scores, with weights summing to 1, adjusted by the owner to emphasize either side. The experimental section does not give numerical values for the semantic, operational, latency, and load weights.
The combined reference score is defined as s̃i,t=wsem· ssemi,t+wope· sopei,t, i.e., a convex combination of the two types of scores.
Adaptive Embedding
- Score Difference: The smaller the difference between the combined scores of the first and second place, the larger the replaceable space, according to the authors. When the score difference is below a threshold, the current bit is written into "choose first or second"; otherwise, it is skipped.
- Reason for Not Using a Fixed Threshold: The authors claim that the score difference only reflects the relative competitiveness of the top two, not the strength of the routing policy's preference for the first. The higher the first-place score, the more likely rewriting affects utility; the lower it is, the larger the available margin.
- Adaptive Threshold: τt=λΔs̃t+α(1−s̃top1,t)2. λ is in [0, 1], α is greater than 0. The first term looks at competitiveness, the second adjusts the threshold based on the first-place score.
- Writing Method: The payload is a bit sequence of length M, with a pointer advancing cyclically. The top two are arranged into logical slots 0 and 1 by UUID; the least significant bit of the hash of the private key and step number is used as a mask, XORed with the current bit to determine the slot. Algorithm 1 gives this process. The paper does not give the M used in experiments.
Extraction and Verification
- Black-Box Extraction: The verifier shares the scoring module and private key, and does not access the suspicious model's internal state. For decision logs returned by public APIs, it recomputes score differences and thresholds step by step; steps satisfying the embedding boundary are treated as carriers.
- Bits and Voting: Carrier steps look at which slot the log choice falls into in the same UUID order, then XOR with the same mask to recover the bit. Because logs may be deleted or truncated, the payload is cyclically repeated along the trajectory during embedding; during extraction, it is bucketed by position modulo M, and majority voting is done within buckets. Algorithm 2 formalizes this process.
What experiments did the paper conduct?
At full embedding, utility is not less than 99.2% across the four benchmarks; DBBench recovers 74.65% under 90% erasure.
Experimental Setup
- Router and Encoder: The routing agent is Gemma-3-12B-it, executing the native policy. The semantic backbone is bge-small-zh-v1.5.
- Benchmarks: ToolBench (multi-step tool calling), DBBench (database routing), and two variants of Gorilla, Gorilla-HF and Gorilla-TF (API scheduling). The paper does not give the number of tasks for each benchmark.
- Comparison: Unwatermarked Base, and AgentMark.
- Cloning Protocol: Collect watermarked trajectories at different embedding rates, fine-tune Qwen2.5-7B-Instruct and Llama3.1-8B-Instruct to imitate the corresponding teacher's watermarked behavior. Table I lists embedding rates from 10% to 60%.
- Metrics: Φ is the proportion of steps where the watermarked policy matches the native choice; lower means more rewriting. U is the ratio of the watermarked policy's task success rate to Base. Cloning uses S-ER on the training distribution, U-ER on unseen tasks, and overall O-VR. Embedding latency is also reported.
- Scan Range: Embedding rates for utility experiments range from 0% to 100%. Log erasure ranges from 10% to 100%, randomly deleting routing steps. The λ, α grid is 0 to 1.0 with step 0.1. The paper does not report the number of repetitions, nor does it state who determines task success.
Main Results
Behavior consistency rate and relative utility at full embedding are as follows. Gorilla-HF's Φ is not separately listed in the main text.
Swipe horizontally to read the table
Benchmark Full Embedding Φ Full Embedding U Source ToolBench 50.8% 99.2% Section V-B, Fig. 3 DBBench 53.0% 99.6% Section V-B, Fig. 3 Gorilla-HF Not reported 99.3% Section V-B, Fig. 3 Gorilla-TF 52.4% 99.2% Section V-B, Fig. 3 - The authors claim that Φ decreases monotonically with embedding rate because more decisions are changed to equivalent candidates; and that the endpoint is slightly above 50%. The Fig. 3 note still calls the same Φ the decision match rate, while also writing that the watermark activation rate (Φ) changes proportionally with embedding density. Point-by-point values in the figure are not listed in the main text.
- The authors claim that the scoring module and adaptive threshold limit rewriting to candidates with close capabilities, so utility is maintained on long tasks. The Fig. 3 note writes that U is not less than 99.2%. Section VI, however, writes utility (≤99.2%), inconsistent with the above table and the 99.6% and 99.3%; here we adopt Section V-B.
- The default configuration λ=α=0.5 is not in the above table: the authors claim that this setting has an embedding rate of 67.9% and utility of 99.80%. Another place in the same section writes that utility is still 100% at that embedding rate.
Log Erasure
- What Was Tested: Randomly delete 10% to 100% of routing steps from trajectories, and compare payload recovery on ToolBench and DBBench. The four configurations are AgentMark and DUOW without error correction, and AgentMark with RLNC, DUOW with repetition voting.
- Results: The authors claim that without error correction, the two are close; at 20% erasure both are about 90%, then decline as erasure increases. With error correction, the authors claim AgentMark fully recovers at erasure rates below 70%, about 60% at 80%, and about 50% at 90%. DUOW at 80% erasure is about 90% on ToolBench and about 95% on DBBench; DBBench at 90% log loss is 74.65%. The main text does not separately list ToolBench's recovery rate at 90% erasure.
- Authors' Interpretation: The authors claim that without error correction, surviving fragments directly determine how many bits can be recovered; AgentMark declines after surviving independent equations are insufficient, while DUOW's statistical voting declines more slowly, and they claim the latter recovers more in verification environments with more severe truncation.
Policy Cloning
- What Was Tested: Student models' S-ER on seen tasks, U-ER on unseen tasks, and O-VR. The comparison named in the main text is Llama3.1-8B at 60% embedding.
- Results: Under that setting, AgentMark's U-ER is 9.86% on ToolBench and 6.90% on DBBench; DUOW is 27.59% and 37.29%. The authors claim that on ToolBench, DUOW's O-VR for Llama3.1 is 92.61% and AgentMark's is 90.92%; that sentence does not state the embedding rate. The authors claim the maximum ∆O-VR on Gorilla-TF is 32.00%; in Table I, that number is in the Llama3.1-8B, Gorilla-TF, 40% column.
- Exceptions and Authors' Interpretation: The authors claim that both have S-ER above 95% on all models, and DUOW's U-ER increases with embedding rate. In Table I's Gorilla-TF, 60% column, Qwen2.5-7B's AgentMark/DUOW S-ER is 86.24%/65.94%, and Llama3.1-8B is 84.40%/66.11%; the same column's ∆O-VR is -14.64% and -12.44%. Qwen2.5-7B's DUOW U-ER on Gorilla-TF is 30.91% at 50% and 5.45% at 60%. The authors believe AgentMark relies on step-level algebraic decoding, and trajectory changes from imitation disrupt alignment; DUOW only rewrites among functionally equivalent agents, so transferability on unseen tasks is higher.
Embedding Latency
- What Was Tested: Four benchmarks, embedding rates 10% to 100%, comparing per-step overhead and cumulative embedding time. The paper says it runs multiple queries for each setting, without giving the number.
- Results: The authors claim DUOW averages 0.043 ms per step, AgentMark about 0.46 ms to 0.48 ms, and claim it is less than one-tenth of the latter. On ToolBench, AgentMark increases from 1.09 ms at 10% to 33.07 ms at 100%, and from 6.83 ms to 22.45 ms between 60% and 70%. DUOW's total embedding time across benchmarks and embedding rates is 0.04 ms to 0.54 ms. The authors claim the peak reduction is 98.92%, occurring on Gorilla-HF. The abstract writes total embedding overhead below 0.54 ms; Table II's ToolBench, 80% column is 0.54 ms.
- Authors' Interpretation: The authors claim the gap comes from structure: AgentMark does perturbation computation each step, while DUOW only computes a few scalars and compares, not relying on the underlying LLM, so overhead does not vary with model size.
Other Ablations and Analysis
- λ=α=0: no watermark embedded, utility 100% (Fig. 4).
- λ=0.5, α=0.1: embedding rate 41.6%.
- λ=α=0.5: embedding rate 67.9%; the same section writes utility 100% and 99.80% respectively.
- λ=0.9, α=0.9: the authors claim embedding rate about 91.9%.
- λ=α=1.0: utility drops to 99.13%, with the upper bound of utility loss from lowest to highest intensity being 0.87%.
- The authors claim that embedding rates increase monotonically and smoothly with λ and α across all four benchmarks (Fig. 4a).
What are some points that can be further explored?
The authors claim that capacity depends on candidate overlap, and copyright verification is unreliable when overlap is insufficient.
Limitations and future directions noted by the authors
- Capacity depends on overlap: Section VI states that embedding capacity is tied to the functional overlap of candidate agents under each query and context; this overlap is not guaranteed and varies unpredictably.
- Worst-case trajectories may have no embeddable steps: The same section states that some steps have multiple close choices while others have only a unique optimum, and the worst-case trajectory may have no embeddable opportunity at all.
- Failure when boundaries are clear: The same section states that in domains with clear functional boundaries, redundancy decreases, DUOW fails, and copyright verification is unreliable.
- Actively constructing redundancy: The same section proposes future work on active redundancy engineering, such as using multi-objective reinforcement learning to explicitly construct multiple optimal solutions while preserving utility.
- Cross-step encoding: The same section proposes distributing watermark bits across the statistics of the entire trajectory so that extraction remains possible when single-step redundancy is scarce.
- Becoming an intrinsic property of the policy: The same section states that watermark protection should ultimately be internalized into the routing policy rather than relying on incidental redundancy in the environment.
Experimental coverage
- The routing model is Gemma-3-12B-it; benchmarks are ToolBench, DBBench, Gorilla-HF, Gorilla-TF (Section V-A).
- Baselines are unwatermarked Base and AgentMark; cloned student models are Qwen2.5-7B-Instruct and Llama3.1-8B-Instruct (Sections V-A, V-D).
- The semantic encoder is bge-small-zh-v1.5. Log erasure compares no error correction, DUOW's repeated voting, and AgentMark's RLNC (Sections V-A, V-D).
- Embedding rate sweep is 0% to 100%, erasure rate is 10% to 100%, grid step for λ and α is 0.1; embedding rates in the cloning table are 10% to 60% (Sections V-B to V-D, Table I).
- The paper does not report the number of tasks per benchmark, the number of queries in the latency experiments, the number of repetitions, payload length M, the judge for task success, or the experimental values of wsem, wope, ωl, and ωc (Sections IV, V).
Summarize the main content of the paper
DUOW watermarks routing at the external decision layer to retain ownership after cloning while maintaining utility.
DUOW is a routing policy watermark placed in the external decision layer of MAS, used to verify ownership solely from decision logs even after the policy is imitated.
- Problem: The routing policy determines which execution endpoint handles subtasks; the authors treat it as core intellectual property. Logs required for billing and debugging expose scheduling trajectories; the authors claim black-box imitation, though difficult for deep reasoning, can replicate behavioral tendencies and execution trajectories. They argue token-level, probability-level, and action-level watermarks either disrupt execution or fail to persist after distillation or endpoint changes.
- Method: Scoring considers both semantic alignment and latency/load, using the difference between the top two scores plus the top score to form an adaptive threshold. Only within the threshold is the selection changed from the first to the second choice, with slots determined by a private key mask and repeated cyclically along the trajectory; verification uses majority voting on congruent positions. Model parameters and generated outputs are not modified.
- Utility: At 100% embedding rate, relative utility U on ToolBench, DBBench, Gorilla-HF, and Gorilla-TF is 99.2%, 99.6%, 99.3%, and 99.2%. At λ=α=0.5, embedding rate is 67.9%; the authors write utility as 99.80% in one place and 100% in another.
- Erasure, cloning, and overhead: DBBench recovers 74.65% under 90% log erasure. With Llama3.1-8B and 60% embedding, DUOW's U-ER is 27.59% on ToolBench and 37.29% on DBBench; under the same settings, AgentMark achieves 9.86% and 6.90%. Average per-step latency is 0.043 ms. In Table I's Gorilla-TF, 60% column, two students' DUOW S-ER values are 65.94% and 66.11%, lower than AgentMark in the same column, with negative ∆O-VR.
- Author conclusions: The authors claim ownership can be embedded in functionally redundant candidate selections, causing cloned policies to inherit the watermark during imitation while maintaining task utility and negligible per-step latency. Section VI also acknowledges that when overlap is insufficient or functional boundaries are clear, there may be no embeddable steps, making verification unreliable.