Manuscript Offprint
arXiv:2610.24382Is This Your Agent? Identity Watermarking for Agent Systems in Dynamic Environments
Abstract
Agent systems deployed in dynamic environments continuously update their memories, skills, and runtime configurations, leading to evolving trajectories and challenges for persistent identity authentication. Existing text and agent watermarking methods struggle to achieve stable watermark embedding under dynamic environments, while embedded watermarks may become difficult to recover due to environmental changes. This paper proposes DASMark, an identity watermarking framework for dynamic agent systems. DASMark introduces Action-Preserving Embedding (APE), which learns semantically similar but distinguishable decision-expression channels from diverse interaction trajectories to enable stable watermark embedding in dynamic systems. It further introduces Shift-Robust Recovery (SRR) to mitigate context-induced shifts and improve watermark recovery stability under dynamic environments. In dynamic settings, DASMark achieves 98.5% bit-decoding accuracy and maintains 95.2% accuracy under attack scenarios, while preserving task utility comparable to unwatermarked agents.
1 Introduction
With the rapid development of LLM-driven agent systems, dynamic agents that can perceive environments, invoke tools, and update their states are becoming an important paradigm for next-generation autonomous systems (Yao et al., 2023; Liu et al., 2024). Dynamic agents continuously update their memories, accumulate reusable skills, and adapt their behavior based on task feedback (Shinn et al., 2023; Wang et al., 2024; Xu et al., 2025; Cheng et al., 2026b; Park et al., 2023), resulting in evolving behavior processes and runtime contexts. However, such evolution increases the difficulty of behavior attribution, making risks such as identity

Figure 1: Identity watermark recovery under dynamic agent evolution. Dynamic updates to memory, skills, prompts, and experience shift decision-expression distributions and challenge watermark recovery. DASMark preserves tool actions during embedding and uses SRR with relative score comparison to achieve stable recovery from final trajectories.
impersonation, unauthorized invocation, and proprietary agent replication more prominent (Deng et al., 2025; Triedman et al., 2025; Huang et al., 2026a). To address these challenges, agent watermarking has emerged as a promising approach for identity authentication and behavior attribution by embedding verifiable signals into generated content, planning behaviors, or execution trajectories.
Existing agent watermarking methods face two key challenges in dynamic environments. First, embedding adaptability. Text watermarking and some behavioral watermarking methods embed signals through token sampling or action selection (Kirchenbauer et al., 2023; Dathathri et al., 2024; Huang et al., 2026a). As agent systems continually update their memories, skills, and execution strategies, changes in generation contexts and available actions can affect the consistency of watermark embedding. Second, recovery robustness. Be-
Equal contribution.
Corresponding author.
behavioral watermarking methods recover identities from action distributions or trajectory structures, and some require additional probability information for decoding (Huang et al., 2026a; An et al., 2026). Continual system updates can shift the distributions of watermark-bearing signals, reducing recovery stability. Adversarial modifications, such as rewriting decision expressions or deleting and reordering trajectory segments, may further weaken these signals or disrupt the structures required for decoding. Dynamic agent watermarking therefore requires reliable identity embedding across continual system updates and robust recovery under both environmental changes and adversarial perturbations.
To tackle these challenges, this paper proposes DASMark (Dynamic Agent Systems Watermark), a learning-based identity watermarking framework for dynamic agent systems. As shown in Figure 1, DASMark focuses on two key aspects of dynamic environments: embedding adaptability and recovery stability. DASMark introduces a behavior-preserving embedding mechanism that learns stable decision expression channels and embeds identity information into natural decision expressions, achieving stable embedding. Furthermore, DASMark proposes Shift-Robust Recovery (SRR), which recovers identity bits using relative decoding scores between adjacent covers, improving recovery stability under dynamic environments. Experimental results show that DASMark achieves a 5.1% higher average bit decoding accuracy than SOTA methods under various attacks, while maintaining task utility and avoiding additional trajectory overhead. These results demonstrate the effectiveness of DASMark for identity attribution in dynamically deployed agent systems. The main contributions are summarized as follows:
• A watermarking framework for dynamic agent systems. DASMark targets identity attribution challenges in dynamic environments by embedding multi-bit identity information into sequences of decision expressions, enabling agent identity verification under dynamic deployment.
• Action-preserving embedding and shift-robust recovery mechanisms. Action-Preserving Embedding (APE) learns stable decision-expression channels for reliable identity embedding, while Shift-Robust Recovery (SRR) recovers identity bits through relative decoding scores between adjacent covers, mitigating recovery instability caused by dynamic environments.
• Experiments cover cross-domain tasks, dynamic environments, and various attack scenarios. DASMark achieves a 5.1% higher average bit-decoding accuracy than SOTA methods under attack settings, while maintaining task utility and trajectory length comparable to those of unwatermarked agents.
2.1 LLM Text Watermarking
LLM text watermarking embeds signals into generated text for content attribution and verification. Early studies employ vocabulary partitioning and sampling biases for watermark embedding (Aaronson, 2023; Kirchenbauer et al., 2023). Subsequent research explores generation quality, detection reliability, and information capacity, including distortion-free watermarking (Kuditipudi et al., 2023), scalable watermarking (Dathathri et al., 2024), unbiased watermarking (Hu et al., 2024), and multi-bit watermarking (Yoo et al., 2024). These methods primarily address attribution of generated text, whereas we study identity recovery from agent trajectories under dynamically changing runtime contexts.
2.2 Agent Watermarking
Agent watermarking extends identity embedding to planning, behaviors, and long-term states. Agent Guide (Huang et al., 2025), AgentMark (Huang et al., 2026a), and SeqWM (An et al., 2026) investigate behavioral watermarking through behavioral biases, distribution-preserving sampling, and historical behavior correlations, respectively. ActHook (Meng et al., 2026), TRACE (Gao et al., 2026), and MemMark (Zhang et al., 2026) further extend watermarking to execution trajectories and memory states. Existing approaches primarily rely on action selection, behavioral patterns, or system states, leaving naturally generated decision expressions largely unexplored. The reliability of watermark recovery under evolving runtime contexts also remains an open question.
2.3 Dynamic Agent Systems
LLM agent systems increasingly operate in dynamic environments, continually updating their memory, skills, and execution strategies through interaction. Generative Agents (Park et al., 2023) and MemGPT (Packer et al., 2023) investigate memory and context management, while A-MEM (Xu et al., 2025) and TAME (Cheng et al., 2026b) explore adaptive memory organization and continual memory evolution. Beyond memory, Evo-Harness (Wei et al., 2026) and SafeCoEvo (Cheng et al., 2026a) investigate the evolution of execution configurations and safety mechanisms. These continual updates reshape agents' decision contexts and interaction trajectories. Whereas these studies focus on agent adaptation, DASMark studies identity watermarking for continually updated agent systems in dynamic environments.
3 Method
3.1 Overview
As tasks progress, agent systems continually update their memory, skills, prompts, and execution configurations, reshaping their decision contexts and trajectory expressions. Such changes can alter the expression distributions that carry watermark signals, making identities embedded across successive interactions harder to recover consistently. The challenge is to maintain reliable identity signals as the agent system changes, while preserving its task execution. We propose DASMark, a learned identity watermarking framework that embeds signals in agent decision expressions without modifying tool actions and supports reliable identity recovery from trajectories in dynamic environments.
In dynamic agent systems, the state at decision step is denoted as , where represents the interaction history and represents the dynamic context determined by memory, skills, and runtime configurations. As the trajectory accumulates, the runtime context continuously evolves as , causing the same behavior to potentially produce different decision expression distributions. Consequently, watermarking methods based on fixed distribution assumptions may fail to maintain long-term stability.
As shown in Figure 2, the overall pipeline of DASMark consists of offline learning, online embedding, and identity recovery. DASMark first learns watermark generators and a decoder from decision expressions across diverse agent states, then embeds identity bits through paired expressions during task execution and recovers them from the resulting trajectory. Two key mechanisms address the challenges posed by dynamic environments. First, the behavior-preserving embedding mechanism learns stable expression differences across diverse runtime states, enabling identity information to adapt to dynamic changes. Second, the shift-robust recovery mechanism exploits relative decoding relationships between adjacent expressions to improve identity recovery stability during long-term operation.
3.2 Watermark Signal Construction
The key challenge in constructing a watermark signal is to discover stable decision-expression variations that are independent of task semantics from task execution trajectories. Partitioning texts from different tasks into two channels risks conflating watermark signals with task-specific features, such as tool types, task categories, and execution outcomes. DASMark instead extracts interaction states preceding tool calls from the base agent's execution trajectories and learns variations in decision expressions while keeping tool actions fixed.
Given the sampling state and the tool action determined by the base agent, the candidate generation stage keeps the action and its parameters unchanged while resampling only the corresponding natural language decision expressions. This process constructs candidate expressions with the same underlying behavior:
DASMark then maps candidate expressions into a normalized semantic space using a frozen semantic encoder (Reimers and Gurevych, 2019):
Here, denotes the unwatermarked base language model, and is the frozen semantic encoder. Candidate expressions are encoded and normalized to obtain semantic representations , with implementation details provided in Appendix A.1.
DASMark subsequently aggregates candidates within each state according to semantic similarity and constrains each cluster to maintain semantic consistency, length similarity, and expression diversity. Since clustering is performed only within the same state, the learned expression directions are less affected by task semantics and text length variations. However, representations from different states may still be influenced by user requests,

Figure 2: Overview of DASMark. DASMark consists of three stages: watermark signal construction, action-preserving embedding, and shift-robust recovery. In the offline stage, DASMark discovers stable decision-expression variations from real interaction states, learns two decision-expression channels, and trains a receiver using generated covers. During deployment, identity bits are embedded through channel ordering without changing tool actions, and recovered through relative score comparison between adjacent covers under dynamic context shifts.
historical contexts, and tool semantics. To remove state-related variations, DASMark first centers candidate representations within each state and identifies the subspace dominated by task and state changes through singular value decomposition. The representations are then projected onto the orthogonal complement of this subspace:
where denotes the candidate representation center of the i-th state, and represents the subspace composed of dominant task and state variation directions.
Based on the residual representations, DASMark further identifies a cross-state shared expression variation direction. To prevent states with more candidates from dominating the optimization, DASMark assigns equal weights to different states and maximizes the within-state expression variation:
The obtained direction represents a shared expression variation axis supported by multiple states. DASMark ranks candidates according to their projection scores along this direction and selects the two highest-scoring and two lowest-scoring candidates within each state as supervision targets for two decision expression channels. Candidates are discarded if they are inconsistent with the current history or predefined action, or contain factual errors, parameter deviations, or premature assertions of tool results. The resulting supervised dataset for sender training is defined as , where denotes the expression channel label.
3.3 Action-Preserving Embedding
After watermark signal construction, DASMark transforms the identified expression variations into controllable generation capabilities, enabling identity information to be embedded through distinct decision-expression channels. Specifically, DASMark selects candidates with high and low projection scores along the identified expression direction within each state, using them as supervision targets for two channels to construct the sender training dataset (see Appendix A.1 for details). Two independent LoRA branches, and , are then trained to learn distinguishable expression patterns.
As shown in Figure 3, both branches are conditioned on the same complete state and predetermined tool action , generating only the natural language decision expression corresponding to that action. Since the tool name and invocation arguments are determined before expression generation, channel selection affects only the decision expression without altering the tool action, satisfying the action-preserving constraint . To min-
(a) Generator Training
(b) Decoder Training

Figure 3: Training process of DASMark. DASMark first learns two distinguishable decision-expression channels under the same state and fixed action, and then trains the decoder to recover watermark bits through relative score comparison.
imize interference with the original capabilities of the base model, DASMark freezes its parameters and optimizes only the two lightweight LoRA branches, allowing them to learn channel-specific expression patterns while sharing the underlying language capabilities.
However, supervised fine-tuning (SFT) alone may cause the two branches to learn similar generation distributions, limiting their distinguishability. To address this issue, DASMark introduces an inter-channel margin constraint alongside the SFT objective. This encourages each target expression to have not only a high likelihood under its corresponding channel but also a relatively lower likelihood under the alternative channel.
Specifically, let denote the average token log-likelihood of a target expression under branch , and define the channel margin as . For a training sample labeled with channel , the sender is optimized using:
The first term, , is the SFT loss, which increases the likelihood of generating the target expression under its corresponding channel. The second term is the inter-channel margin constraint, which improves channel distinguishability by penalizing insufficient likelihood separation. When falls below the target margin , a stronger penalty encourages a higher relative likelihood under the target channel. The parameters and control the constraint weight and smoothness, respectively.
By jointly optimizing these objectives, APE improves the separation between the two generation distributions while learning the desired decision expressions. Consequently, the two branches can produce distinguishable expressions under identical state and fixed-action conditions, providing the basis for subsequent identity bit embedding and watermark recovery.
3.4 Shift-Robust Recovery
Changes in dynamic agent environments may shift the distribution of decision expressions generated by the same watermark channel, causing systematic shifts in receiver scores and reducing the reliability of identity recovery. To mitigate such shifts, DAS-Mark introduces Shift-Robust Recovery (SRR) to improve recovery stability under dynamic contexts.
After training the two decision expression channels, DASMark trains a receiver to identify the channel associated with each decision expression(see Appendix A.2 for details), providing the basis for subsequent identity recovery. The receiver employs a byte-level bidirectional GRU (Cho et al., 2014) to encode the complete decision expression and predicts the probability of belonging to channel 1, corresponding to , as . The receiver is trained on decision expressions generated by the frozen sender branches, reducing the distribution gap between training sam-ples and actual watermark covers. For a batch of size N, the receiver is optimized using binary cross-entropy:
During deployment, DASMark sequentially encodes identity bits using the channel ordering of two consecutive decision expressions. Specifically, is represented by the channel sequence , whereas is represented by . During verification, the original trajectory order is preserved, and each bit is recovered by comparing the receiver scores of two adjacent covers:
The motivation for relative score comparison is that dynamic context changes may shift the decoder scores of the same channel, making fixed-threshold decisions unreliable. Since adjacent covers typically occur under similar local runtime contexts, DASMark assumes that their score shifts are correlated and can be approximated as a shared offset, i.e., .
Let denote the original score difference. When the two covers experience score shifts and , respectively, the shifted score difference becomes:
Thus, relative score comparison cancels the shared component of the shifts between adjacent covers, allowing identity recovery to rely primarily on their original channel-score ordering. As long as the residual shift does not reverse the sign of the score difference, the identity bit can be correctly recovered.
4 Experiments
This section evaluates DASMark through three experiments. Identity recovery experiments in dynamic environments (Section 4.1) assess the reliability of APE and its impact on task utility. Robustness experiments (Section 4.3) examine watermark recovery under trajectory perturbations and the effectiveness of receiver enhancement. Finally, ablation experiments (Section 4.4) evaluate the effectiveness of SRR in mitigating context-induced decoding score shifts.
4.1 Experimental Setup
Environments and Tasks. The experiments include 150, 40, and 100 test tasks from -bench Telecom, -bench Retail (Yao et al., 2024; Barres et al., 2025), and CRMArena-Pro (Huang et al., 2026b), respectively. Each domain is evaluated under four runtime backends: No-Mem operates without memory, A-MEM (Xu et al., 2025) continuously updates memory, Memento (Zhou et al., 2025) evolves retrievable historical cases, and Evolving Harness (Cheng et al., 2026a) derives and updates prompting rules and skills from completed trajectories. All methods use identical tasks and execution orders, with watermark components frozen during evaluation.
Baselines. DASMark is compared against the unwatermarked agent (Base) and two representative watermarking methods: KGW (Kirchenbauer et al., 2023), which embeds watermarks through token-level biasing, and AgentMark-F (Huang et al., 2026a), which employs behavior-based sampling. The comparison evaluates watermark recovery performance and task utility.
AgentMark-F relies on candidate action probabilities recorded during embedding for decoding. To assess its performance without access to these probabilities, an additional variant, AgentMark-F*, is introduced. This variant preserves the original trajectories, actions, elicitation prompts, and secret keys, but decodes using candidate action probabilities re-estimated during verification. For a fair comparison, the payload sizes of KGW and AgentMark-F do not exceed the actual payload embedded by DASMark for each task.
Evaluation Metrics. Bit accuracy (Bit Acc.) measures the proportion of correctly recovered bits among all embedded bits. Task success rate (SR) measures task utility, while Steps denotes the average number of decision steps across successful tasks.
4.2 Identity Recovery in Dynamic Environments
Memory updates, accumulated experience, and changes in runtime configurations in dynamic environments may shift the distribution of agent decision expressions, affecting the stability of identity watermark recovery. Table 1 compares the watermark recovery performance and task utility of DASMark across three task domains and four runtime backends. Across all 12 experimental set-
| Method | Telecom | CRMArena-Pro | Retail | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Steps ↓ | SR ↑ | Bit Acc. ↑ | Steps ↓ | SR ↑ | Bit Acc. ↑ | Steps ↓ | SR ↑ | Bit Acc. ↑ | |
| No-Mem | |||||||||
| Base | 4.82 | 38.60% | — | 6.95 | 14.00% | — | 12.96 | 67.50% | — |
| KGW | 5.59 | 27.30% | 92.70% | 6.00 | 14.00% | 93.30% | 13.00 | 57.50% | 87.12% |
| AM-F | 9.86 | 29.30% | 100.00% | 8.50 | 12.00% | 100.00% | 15.69 | 32.50% | 100.00% |
| AM-F* | — | — | 40.30% | — | — | 24.10% | — | — | 40.00% |
| DASMark | 5.29 | 32.00% | 94.40% | 6.33 | 15.00% | 94.40% | 12.96 | 67.50% | 98.50% |
| A-MEM | |||||||||
| Base | 4.77 | 31.70% | — | 5.95 | 13.00% | — | 13.07 | 70.00% | — |
| KGW | 5.42 | 25.30% | 90.00% | 5.55 | 11.00% | 93.90% | 12.88 | 62.50% | 89.60% |
| AM-F | 8.06 | 23.30% | 100.00% | 4.60 | 15.00% | 100.00% | 14.80 | 37.50% | 100.00% |
| AM-F* | — | — | 25.10% | — | — | 20.20% | — | — | 54.50% |
| DASMark | 5.08 | 34.00% | 94.10% | 5.87 | 15.00% | 94.30% | 13.07 | 75.00% | 94.40% |
| Memento | |||||||||
| Base | 5.50 | 36.90% | — | 6.76 | 15.00% | — | 13.07 | 67.50% | — |
| KGW | 5.57 | 23.30% | 91.70% | 7.06 | 16.00% | 96.20% | 12.17 | 57.50% | 91.20% |
| AM-F | 9.00 | 25.30% | 100.00% | 6.20 | 10.00% | 100.00% | 16.14 | 35.00% | 100.00% |
| AM-F* | — | — | 40.30% | — | — | 17.50% | — | — | 59.60% |
| DASMark | 5.74 | 36.00% | 92.40% | 7.12 | 16.00% | 94.30% | 12.93 | 67.50% | 98.40% |
| Evolving Harness | |||||||||
| Base | 4.82 | 28.90% | — | 6.22 | 12.00% | — | 12.93 | 57.50% | — |
| KGW | 2.58 | 16.70% | 87.20% | 5.42 | 12.00% | 96.30% | 12.78 | 57.50% | 80.65% |
| AM-F | 10.27 | 24.70% | 100.00% | 6.20 | 15.00% | 100.00% | 16.75 | 50.00% | 100.00% |
| AM-F* | — | — | 36.10% | — | — | 11.60% | — | — | 70.50% |
| DASMark | 4.93 | 34.00% | 91.60% | 4.09 | 11.00% | 93.80% | 13.23 | 75.00% | 96.80% |
Table 1: Watermark recovery and task utility across three domains and four runtime backends. Steps denotes average successful-task trajectory length, SR denotes task success rate, and Bit Acc. denotes bit accuracy. AM-F* uses re-elicited probabilities; “—” indicates an inapplicable metric.
tings, DASMark achieves an average bit recovery accuracy of 94.8%, outperforming KGW by 4.0 percentage points. Compared with the No-Mem backend, its average accuracy decreases by only 1.3 percentage points under dynamic runtime backends.
Dependence on embedding-time auxiliary information represents another important distinction between DASMark and existing methods. AgentMark-F achieves 100% bit recovery accuracy when candidate action probabilities from the embedding stage are available, but this requires access to the corresponding historical probability information during verification. When the original probabilities are unavailable and must be re-estimated, AgentMark-F* achieves only 11.6%–70.5% accuracy, revealing its sensitivity to the availability of probability information. In contrast, DASMark recovers identity bits directly from the final decision-expression trajectories using a learned receiver and relative score comparison, without storing, sharing, or reconstructing embedding-time action probability distributions. This eliminates the need for additional historical probability records during identity verification, making DASMark more suitable for agent systems with continuously evolving runtime states.
Regarding task utility, as shown in Table 1, DAS-Mark maintains task success rates and execution trajectory lengths generally comparable to those of the unwatermarked Base across different runtime backends. DASMark embeds identity information only in decision expressions without modifying predetermined tool actions or invocation parameters, thereby reducing interference with the agent's original task execution.
4.3 Robustness Analysis
This section evaluates the watermark recovery robustness of DASMark and the effectiveness of receiver enhancement training through three types of trajectory perturbations, including semantic rewriting, token deletion, and synonym substitution. In this experiment, AM-F is configured with access to the behavior distribution table generated during watermark embedding.
| Method | Telecom | CRMArena-Pro | Retail | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Rew. | Del. | Syn. | Rew. | Del. | Syn. | Rew. | Del. | Syn. | |
| AM-F | 21.50% | 27.87% | 35.33% | 74.30% | 2.71% | 11.03% | 42.25% | 28.00% | 29.17% |
| KGW | 58.90% | 69.51% | 79.39% | 79.28% | 78.55% | 84.02% | 66.20% | 68.23% | 76.99% |
| DAS | 58.05% | 77.62% | 82.82% | 88.20% | 80.22% | 85.56% | 74.62% | 79.32% | 80.78% |
| DAS-R | 61.05% | 79.18% | 81.79% | 89.05% | 82.93% | 87.23% | 77.40% | 87.12% | 87.48% |
Table 2: Bit accuracy under trajectory perturbations, averaged over four runtime backends. Rew., Del., and Syn. denote semantic rewriting, token deletion, and synonym substitution, respectively. Del. and Syn. are averaged over attack rates of 10–60%. DAS-R uses a robustness-enhanced receiver.

Figure 4: Bit accuracy of relative and repeated encoding and decoding strategies across four runtime backends on Telecom. Both strategies use two covers per bit.
As shown in Table 2, DASMark outperforms KGW in eight of the nine experimental settings, achieving an average improvement of 5.1 percentage points in bit decoding accuracy. DASMark-R further improves the average accuracy by 2.9 percentage points and consistently outperforms both baseline methods across all settings. Detailed results are provided in Appendix B.1.
These results demonstrate that DASMark maintains reliable watermark recovery under various trajectory perturbations. The distinguishable decision-expression channels learned by APE reduce the dependence of watermark signals on specific lexical patterns, while SRR mitigates the influence of correlated score shifts through relative decoding. Although AM-F has access to the probability table generated during embedding, it still fails to achieve reliable recovery under common attacks. Furthermore, the improvement of DASMark-R shows that recovery accuracy can be further enhanced by strengthening receiver robustness without modifying the embedding mechanism, providing support for reliable identity attribution in dynamic environments.
4.4 Ablation Study
This section evaluates the effectiveness of Shift-Robust Recovery (SRR) by comparing relative encoding and decoding with repeated encoding and fixed-threshold decoding on 150 Telecom test tasks. Both strategies use two carriers per bit, ensuring identical carrier overhead.
As shown in Figure 4, the relative encoding and decoding strategy consistently outperforms repeated encoding and decoding across all four runtime backends, achieving an average improvement of 6.23 percentage points in bit accuracy. Since both strategies use the same number of carriers, the performance gain mainly comes from the decoding strategy rather than additional embedding redundancy.
These results demonstrate that DASMark maintains reliable watermark recovery under various trajectory perturbations. The distinguishable decision-expression channels learned by APE reduce the dependence of watermarks on specific lexical patterns, while SRR mitigates the impact of correlated score shifts through relative decoding. Although AM-F has access to embedding-time probability information, it still fails to achieve reliable recovery under common attacks. Furthermore, the improvement of DASMark-R shows that recovery accuracy can be further enhanced by improving receiver robustness without modifying the watermark embedding mechanism, providing support for reliable identity attribution in dynamic environments.
5 Conclusion
This paper presents DASMark, an identity watermarking framework for agent systems in dynamic environments. By combining action-preserving embedding with shift-robust recovery, DASMark supports reliable identity recovery as agent contexts evolve. Across multiple task domains and dynamic backends, DASMark improves bit-decoding accuracy under attacks by an average of 5.1 percentage points over state-of-the-art baselines, while maintaining task performance comparable to unwatermarked agents.
Limitations
This study primarily evaluates DASMark on agent task datasets centered around tool invocation, with relatively limited diversity in task types. Future work will extend the evaluation to a broader range of datasets and agent application scenarios to further examine the generalizability of DASMark across diverse environments. Meanwhile, the current study mainly focuses on common trajectory perturbations, including semantic rewriting, token deletion, and synonym substitution, without fully considering more sophisticated adversarial attacks. Future work will investigate adaptive watermark removal, identity forgery, and targeted trajectory manipulation to further assess the security and robustness of DASMark under complex adversarial conditions.
References
Scott Aaronson. 2023. Watermarking of large language models. Simons Institute Talk.
Hyeseon An, Shinwoo Park, Dongsu Kim, and Yo-Sub Han. 2026. Sequential behavioral watermarking for LLM agents. arXiv preprint arXiv:2605.11036.
Victor Barres, Honghua Dong, Soham Ray, Xujie Si, and Karthik Narasimhan. 2025. -bench: Evaluating conversational agents in a dual-control environment.
Yu Cheng, Yongkang Hu, Shuaijie Ma, Zhihang Lin, Weicheng Meng, Jingyang Qiao, Jiuan Zhou, Yushuo Zhang, Yihang Chen, Weilin Luo, Kun Shao, Dong Li, Zhizhong Zhang, Yuan Xie, and Zhaoxia Yin. 2026a. Safecoevo: Co-evolving safety harnesses and guards for llm agents at test-time. arXiv preprint arXiv:2609.36580.
Yu Cheng, Yongkang Hu, Jiuan Zhou, Yushuo Zhang, Yihang Chen, Huichi Zhou, Mingang Chen, Zhizhong Zhang, Kun Shao, Yuan Xie, and Zhaoxia Yin. 2026b. Tame: A trustworthy test-time evolution of agent memory with systematic benchmarking.
Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using RNN encoder-decoder for statistical machine translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, pages 1724–1734. Association for Computational Linguistics.
Sumanth Dathathri, Abigail See, Sumedh Ghaisas, Po-Sen Huang, Rob McAdam, Johannes Welbl, Vandana Bachani, Alex Kaskasoli, Robert Stanforth, Tatiana Matejovicova, Jamie Hayes, Nidhi Vyas, Majd Al Merey, Jonah Brown-Cohen, Rudy Bunel, Borja Balle, Taylan Cemgil, Zahra Ahmed, Kitty Stacpoole, and 5 others. 2024. Scalable watermarking for identifying large language model outputs. Nature, 634:818–823.
Zehang Deng, Yongjian Guo, Changzhou Han, Wan-lun Ma, Junwu Xiong, Sheng Wen, and Yang Xiang. 2025. AI agents under threat: A survey of key security challenges and future pathways. ACM Computing Surveys, 57(7):1–36.
Zheng Gao, Xiaoyu Li, Xiaoyan Feng, Jiaojiao Jiang, Yang Song, Yulei Sui, Zhenchang Xing, and Liming Zhu. 2026. TRACE: A two-channel robust attribution watermark via complementary embeddings for LLM-agent trajectories. arXiv preprint arXiv:2607.08400.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2015. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE International Conference on Computer Vision, pages 1026–1034.
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. Lora: Low-rank adaptation of large language models. In International Conference on Learning Representations.
Zhengmian Hu, Lichang Chen, Xidong Wu, Yihan Wu, Hongyang Zhang, and Heng Huang. 2024. Unbiased watermark for large language models. In International Conference on Learning Representations.
Kaibo Huang, Jin Tan, Yukun Wei, Wanling Li, Zipei Zhang, Hui Tian, Zhongliang Yang, and Linna Zhou. 2026a. AgentMark: Utility-preserving behavioral watermarking for agents. arXiv preprint arXiv:2601.03294.
Kaibo Huang, Zipei Zhang, Zhongliang Yang, and Linna Zhou. 2025. Agent guide: A simple agent behavioral watermarking framework. arXiv preprint arXiv:2504.05871.
Kung-Hsiang Huang, Akshara Prabhakar, Onkar Thorat, Divyansh Agarwal, Prafulla Kumar Choubey, Yixin Mao, Silvio Savarese, Caiming Xiong, and Chien-Sheng Wu. 2026b. Crmarena-pro: Holistic assessment of llm agents across diverse business scenarios and interactions. Transactions on Machine Learning Research.
John Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz, Ian Miers, and Tom Goldstein. 2023. A watermark for large language models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 17061–17084. PMLR.
Rohith Kuditipudi, John Thickstun, Tatsunori B. Hashimoto, and Percy Liang. 2023. Robust distortion-free watermarks for language models. In Advances in Neural Information Processing Systems.
Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, et al. 2024. AgentBench: Evaluating LLMs as agents. In The Twelfth International Conference on Learning Representations.
Wenlong Meng, Chen Gong, Terry Yue Zhuo, Fan Zhang, Kecen Li, Zheng Liu, Zhou Yang, Chengkun Wei, and Wenzhi Chen. 2026. Watermarking LLM agent trajectories. arXiv preprint arXiv:2602.18700.
Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, and Joseph E. Gonzalez. 2023. MemGPT: Towards LLMs as operating systems. arXiv preprint arXiv:2310.08560.
Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein. 2023. Generative agents: Interactive simulacra of human behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology, pages 1–22. Association for Computing Machinery.
Yujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, Xin Cong, Xiangru Tang, Bill Qian, Sihan Zhao, Lauren Hong, Runchu Tian, Ruobing Xie, Jie Zhou, Mark Gerstein, Dahai Li, Zhiyuan Liu, and Maosong Sun. 2024. ToolLLM: Facilitating Large Language Models to Master 16000+ Real-World APIs. In International Conference on Learning Representations.
Qwen Team. 2026. Qwen3.5: Towards native multimodal agents.
Nils Reimers and Iryna Gurevych. 2019. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982–3992. Association for Computational Linguistics.
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2023. Reflexion: Language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems, volume 36.
Harold Triedman, Rishi Jha, and Vitaly Shmatikov. 2025. Multi-agent systems execute arbitrary malicious code. arXiv preprint arXiv:2503.12188.
Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. 2024. Voyager: An open-ended embodied agent with large language models. Transactions on Machine Learning Research.
Tianxin Wei, Zhan Shi, Minhua Lin, Bing He, Zewen Liu, Yisi Sang, Yuanchen Bei, Xuying Ning, Jiaru Zou, Ting-Wei Li, Xiao Lin, Yanjun Zhao, Chi Wang, Benoit Dumoulin, Dakuo Wang, Jingrui He, and Hanqing Lu. 2026. Evo-Harness: Context-to-harness skill compilation for self-evolving agents. arXiv preprint arXiv:2608.15071.
Wujiang Xu et al. 2025. A-mem: Agentic memory for llm agents. arXiv preprint arXiv:2502.12110.
Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. 2024. -bench: A benchmark for tool-agent-user interaction in real-world domains. arXiv preprint arXiv:2406.12045.
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R. Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing reasoning and acting in language models. In The Eleventh International Conference on Learning Representations.
KiYoon Yoo, Wonhyuk Ahn, and Nojun Kwak. 2024. Advancing beyond identification: Multi-bit watermark for large language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 4031–4055. Association for Computational Linguistics.
Haobo Zhang, Xutao Mao, Guangyuan Dong, Ziwei Li, Xuanbo Su, Kaijie Chen, Jing Yang, and Zheng Lin. 2026. MemMark: State-evolution attribution watermarking for agent long-term memory systems. arXiv preprint arXiv:2605.25002.
Huichi Zhou, Yihang Chen, Siyuan Guo, Xue Yan, Kin Hei Lee, Zihan Wang, Ka Yiu Lee, Guchun Zhang, Kun Shao, Linyi Yang, and Jun Wang. 2025. Memento: Fine-tuning llm agents without fine-tuning llms. arXiv preprint arXiv:2508.16153.
A Method and Implementation Details
A.1 Watermark Signal Construction
This section provides implementation details of state collection, candidate generation, semantic filtering, and shared expression direction estimation described in Section 3.2.
State Collection. The states preceding the first, middle, and last valid tool decisions are extracted from real task trajectories generated by the base agent. Complete interaction histories, runtime contexts, and tool invocation information are preserved, while duplicate or abnormal records are removed. Each task and its derived states are assigned to the same data partition. Test tasks are excluded from watermark signal construction.
Candidate Generation and Filtering. For each state, the tool name and invocation arguments are fixed, and Qwen3.5-9B (Qwen Team, 2026) is used to generate semantically equivalent decision expressions. Eight candidates per state are sampled for Telecom and CRMArena-Pro, and 16 for Retail, using a temperature of 0.7 and deterministic random seeds derived from state identifiers.
Generated expressions undergo normalization, deduplication, and consistency checks. Invalid outputs and expressions inconsistent with the predetermined tool action, invocation arguments, or runtime context are excluded. The entire procedure uses only information visible in the current state.
Semantic Encoding and Clustering. The frozen SentenceTransformer encoder all-MiniLM-L6-v2 (Reimers and Gurevych, 2019) is used to obtain semantic representations of candidate expressions. The encoder accepts up to 256 tokens and produces 384-dimensional embeddings through attention-mask mean pooling followed by normalization.
Candidates are clustered only within the same state. Each retained cluster must have a minimum pairwise cosine similarity of 0.85, and the ratio between the longest and shortest expressions must not exceed 1.5 in word count. States with fewer than four valid candidates are excluded.
Shared Expression Direction Estimation. The mean candidate embedding is first computed for each state, and singular value decomposition is then applied to the centered matrix of state means to identify state-dependent directions.
For Telecom and CRMArena-Pro, the top 16 principal directions are removed. For Retail, the removed subspace is determined by numerical rank using a singular-value threshold of , resulting in 213 removed directions.
For candidate j in state i, the state mean is subtracted, and the centered embedding is projected onto the orthogonal complement of the state-dependent subspace:
where denotes the normalized candidate embedding, is the corresponding state mean, and contains the removed directions.
To prevent states with more candidates from dominating direction estimation, residual covariances are first averaged within each state and then equally aggregated across states:
where N is the number of retained states and is the number of valid candidates in state i.
The shared expression direction is defined as the unit eigenvector associated with the largest eigenvalue of the residual covariance:
To ensure consistent channel assignments, the coordinate of with the largest absolute magnitude is constrained to be positive.
Each candidate is then assigned a projection score . Within each state, the two candidates with the lowest scores and the two with the highest scores are selected as supervision examples for the two decision-expression channels, respectively.
Only states with a positive separation margin between the two candidate groups are retained. Selected expressions must also pass the final action, parameter, and factual consistency checks.
The semantic encoder, state-dependent subspace, and filtering criteria are fixed before sender training and are not adjusted using validation or test decoding results.
A.2 Sender and Receiver Training
This section provides the training details of Action-Preserving Embedding (APE) and Shift-Robust Recovery (SRR), introduced in Sections 3.3 and 3.4, respectively.
Sender Architecture and Configuration. DAS-Mark builds two independent LoRA branches and (Hu et al., 2022) on a frozen Qwen3.5-9B backbone (Qwen Team, 2026). Only the LoRA parameters in the q_proj and v_proj modules are optimized. For a base weight matrix , branch computes
The LoRA rank is set to , the scaling factor to , and dropout to zero. is initialized using Kaiming uniform initialization (He et al., 2015), while is initialized to zero.
Both branches receive identical interaction histories, runtime contexts, and predetermined tool actions, but are supervised with different target decision expressions. Target expressions are limited to 192 tokens, with a maximum context length of 8,192 tokens. Invalid or overlength samples are excluded without truncation. Explicit thinking output is disabled, and random seeds are fixed.
Sender Training. The sender jointly optimizes a text-fitting loss and a channel separation objective:
where is the difference in average token log-likelihood between the two branches. denotes the average token negative log-likelihood of the target expression. The parameters , , and are set to balance expression fidelity and channel discriminability. No receiver feedback or reinforcement learning is used during sender training.
The backbone is loaded in bfloat16, while LoRA parameters are optimized in float32. AdamW is used with a learning rate of , zero weight decay, a global batch size of 8, and gradient clipping at 1.0. Training runs for two epochs with gradient checkpointing enabled. Both LoRA branches are frozen after training.
Receiver Data and Architecture. The trained sender branches generate decision expressions from interaction states in the training and independent validation partitions. Generation uses greedy decoding with a maximum length of 192 tokens. Only generated texts are used; candidate expressions from watermark direction estimation are excluded. Data are partitioned by task to prevent leakage, and each valid state contributes one sample per channel to maintain class balance.
Telecom and CRMArena-Pro use batches of 16 states (32 texts), while Retail uses balanced batches of 32 texts.
The receiver takes only the decision expression as input, without task identifiers, tool metadata, or runtime backend information. Each text is converted into UTF-8 bytes and processed by a 32-dimensional embedding layer and a bidirectional GRU (Cho et al., 2014) with 64 hidden units per direction.
Masked mean, max, and attention pooling are concatenated into a 384-dimensional representation, followed by a 64-dimensional linear layer, GELU activation, and a scalar output layer producing the raw score . Inputs exceeding 4,096 UTF-8 bytes are excluded without truncation.
Receiver Training and Checkpoint Selection. The receiver is trained using binary cross-entropy, with the true channel index as the supervision label. Optimization uses AdamW with a learning rate of , zero weight decay, and a gradient clipping threshold of 1.0 for up to 60 epochs. Validation is performed after each epoch on a task-disjoint validation set.
Because online recovery relies on relative scores, validation evaluates both single-cover classification accuracy and same-state pairwise ranking accuracy. For a validation set containing M states, the latter is defined as
where and are the expressions generated by the two sender branches for the same state.
Checkpoint selection follows predefined, domain-specific criteria. For CRMArena-Pro, pairwise ranking accuracy is the primary criterion, followed by single-cover classification accuracy. For Telecom, balanced classification accuracy is prioritized, followed by overall accuracy. For Retail, checkpoints are selected based on accuracy under dynamic contexts and overall accuracy on predefined validation tasks. When validation results are identical across the applicable criteria, the earlier checkpoint is retained.
After training, the receiver is frozen, and no parameters or checkpoints are adjusted using test results. During online recovery, DASMark directly compares the raw discrimination scores of adjacent covers, without probability conversion or an absolute threshold shared across states.
A.3 Online Watermark Embedding
Payload Scheduling. Given an identity payload stream , DASMark embeds watermark bits sequentially following the order of tool decisions in the trajectory. Every two consecutive valid decision expressions form a cover pair. A bit is represented by the channel sequence , while is represented by , formally defined as:
The sender selects the corresponding LoRA branch according to the channel sequence to generate each decision expression, without modifying the predetermined tool action or including identity bits or channel indices in the prompt. Embedding continues throughout trajectory execution without a predefined payload capacity limit.
cover Generation Prompt Template. All three task domains share the same prompt structure, with the domain and runtime context updated accordingly:
System:
Explain the immediate purpose of a {domain} tool call using only the provided evidence. Output one or two concise sentences, under 70 words. Do not claim the pending call has succeeded. Do not output a tool call, JSON, a heading, a watermark label, or any extra instruction.
User:
{OPTIONAL_DYNAMIC_CONTEXT}
OBSERVED CONVERSATION
(selected complete messages):
{OBSERVED_CONVERSATION}
PENDING TOOL CALLS
(not yet executed):
{PENDING_TOOL_CALLS}
Explain the immediate purpose of these pending calls.
Here, OPTIONAL_DYNAMIC_CONTEXT contains the currently available memory, historical cases, or Harness instructions. OBSERVED_CONVERSATION includes the original user request and complete recent interactions within the context budget. PENDING_TOOL_CALLS specifies the predetermined tool names and arguments that have not yet been executed. The same prompt template is used for candidate generation, receiver data construction, and online deployment.
B Additional Experiments
B.1 Full Robustness Results
This section provides the attack settings and complete robustness results corresponding to Section 4.3. All attacks are applied offline to frozen trajectories after task completion, without re-executing the agent or modifying tool calls, environment states, or task outcomes. Therefore, this evaluation focuses exclusively on watermark recovery accuracy.
Evaluation Data. The experiments use test trajectories from Telecom, Retail, and CRMArena-Pro, covering four runtime backends: No-Mem, A-MEM, Memento, and Evolving Harness. Valid covers and their adjacent pairings are determined before attacks and remain unchanged throughout evaluation. This ensures that the same set of embedded payload bits is evaluated across different attack types and intensities.
Paraphrasing Attack. Each cover is rewritten once using Qwen3.5-9B (Qwen Team, 2026) with deterministic generation. The temperature is set to 0, and explicit thinking output is disabled. The rewriting process preserves the original semantics, entities, parameters, and tool invocation intent while modifying linguistic expressions. The attacker has no access to channel labels or receiver scores, and rewritten texts are not selected based on decoding outcomes.
Token Deletion and Synonym Substitution. Both attacks are evaluated at perturbation rates ranging from 10% to 60%. Token deletion removes lexical tokens using deterministic position-based hashing with fixed random seeds, excluding punctuation and whitespace.
Synonym substitution generates replacement candidates using a frozen model and identifies eligible positions through word-sequence alignment. The substitution rate is calculated over positions with valid candidates rather than all tokens. Both attacks employ deterministic nested sampling, ensuring that positions perturbed at lower attack rates remain included at higher rates.
Post-Attack Decoding. After each attack, the frozen receiver recomputes cover scores and performs differential recovery using the original adjacent cover pairings. Invalid or unscorable covers are counted as bit recovery failures rather than excluded. Bit accuracy is computed over all originally embedded payload bits to ensure comparability across attack settings.
Robustness-Enhanced Receiver. DASMark-R shares the same sender and watermark embedding procedure as standard DASMark, but enhances receiver training with perturbed samples. Training data include paraphrased and locally deleted expressions, while preserving their original channel labels. Augmented training excludes test data, and checkpoints are selected exclusively using an independent validation partition.
Complete Results. The complete robustness results are reported in three tables, corresponding to Telecom, Retail, and CRMArena-Pro, respectively.
For Telecom, Table 7 presents the results under (a) paraphrasing, (b) token deletion, and (c) synonym substitution.
For Retail, Table 8 reports the corresponding results under (a) paraphrasing, (b) token deletion, and (c) synonym substitution.
For CRMArena-Pro, Table 9 presents the results under (a) paraphrasing, (b) token deletion, and (c) synonym substitution.
All three tables cover the four runtime backends, allowing comparison across different attack types, perturbation intensities, and dynamic runtime contexts.
Overall, the three attacks affect watermark covers by modifying linguistic structures, reducing available textual evidence, or perturbing local lexical choices. Dynamic runtime backends further introduce variations in the text distributions encountered by the receiver.
DASMark-R generally achieves more stable recovery under high-intensity perturbations, indicating that enhancing receiver robustness to perturbed expressions can mitigate attack-induced degradation without modifying the sender or embedding procedure.
| Dataset | Metric | DASMark | Base |
|---|---|---|---|
| Retail | Steps | 13.18 | 13.15 |
| Bit Acc | 98.5% | - | |
| SR | 67.5% | 67.5% | |
| ToolBench | Steps | 3.13 | 3.59 |
| Bit Acc | 94.8% | - | |
| SR | 80.0% | 79.0% |
Table 3: OOD transfer evaluation from Retail to ToolBench. DASMark is trained on Retail and directly transferred to 100 ToolBench tasks without additional training. Steps denotes the average trajectory length, SR denotes task success rate, and Bit Acc denotes watermark decoding accuracy.
| Method | No-Mem | A-MEM | Memento | Harness |
|---|---|---|---|---|
| AM-F | 17.20% | 10.40% | 13.60% | 5.80% |
| KGW | 59.40% | 55.60% | 58.50% | 59.50% |
| DASMark | 54.80% | 70.70% | 83.80% | 67.40% |
Table 4: Bit accuracy of Qwen3.5-4B under two rounds of semantic rewriting across four runtime backends using Qwen3.5-4B. Bold values indicate the best performance in each backend.
B.2 Transferability and Model Replacement
This section evaluates the applicability of DAS-Mark under cross-domain transfer and base model replacement. These results are not included in the average in-domain results reported in the main text.
Cross-Domain Transfer. Retail is used as the source domain, and 100 retail-related tasks are selected from ToolBench (Qin et al., 2024) for out-of-distribution (OOD) evaluation. Both the sender and receiver are trained on Retail and remain frozen during transfer, without additional training or parameter adaptation using target-domain data.
Table 3 shows that DASMark maintains high watermark recovery accuracy on related-domain tasks, while preserving task utility and trajectory length comparable to the unwatermarked agent. This suggests that the learned decision-expression channels exhibit a degree of cross-task transferability, although the results do not establish generalization to arbitrary unseen domains.
Base Model Replacement. Qwen3.5-9B is replaced with Qwen3.5-4B, and watermark signal construction, sender training, and receiver training are repeated using the same Telecom task partition. The experiment includes 1,000 training tasks, 300 validation tasks, and 150 test tasks. The watermark components are trained independently for the two base models.
Table 5 shows that DASMark maintains high watermark recovery accuracy on the smaller model, despite a substantial decrease in task success rate. This indicates that watermark recoverability and the underlying agent's task execution capability are not necessarily aligned. It also demonstrates that DASMark can be adapted to different model scales through retraining.
Robustness After Model Replacement. Tables 4, 6 report the results under semantic rewriting and token deletion attacks, respectively. Semantic rewriting is applied twice, while deletion and substitution rates range from 10% to 60%.
The results show that DASMark retains strong resistance to textual perturbations on the smaller model, generally outperforming the baselines under token deletion and synonym substitution. However, structural changes introduced by semantic rewriting still affect recovery under certain runtime backends, and accuracy decreases under stronger perturbations.
Overall, DASMark demonstrates adaptability to related-domain tasks and different base model scales, although its practical effectiveness remains influenced by domain differences, underlying model capabilities, and attack intensity.
| Method | Qwen3.5-4B | Qwen3.5-9B | Performance Gap (△: 4B – 9B) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Steps ↓ | SR ↑ | Bit Acc. ↑ | Steps ↓ | SR ↑ | Bit Acc. ↑ | Steps | SR (pp) | Bit Acc. (pp) | |
| No-Mem | |||||||||
| Base | 4.43 | 4.67% | - | 4.82 | 38.60% | - | -0.39 | -33.93 | - |
| KGW | 4.10 | 6.67% | 92.40% | 5.59 | 27.30% | 92.70% | -1.49 | -20.63 | -0.30 |
| AM-F | 7.33 | 2.00% | 100.00% | 9.86 | 29.30% | 100.00% | -2.53 | -27.30 | 0.00 |
| DASMark | 5.29 | 8.67% | 100.00% | 5.29 | 32.00% | 94.40% | 0.00 | -23.33 | +5.60 |
| A-MEM | |||||||||
| Base | 4.45 | 6.00% | - | 4.77 | 31.70% | - | -0.32 | -25.70 | - |
| KGW | 3.83 | 4.00% | 90.00% | 5.42 | 25.30% | 90.00% | -1.59 | -21.30 | 0.00 |
| AM-F | 6.20 | 3.33% | 100.00% | 8.06 | 23.30% | 100.00% | -1.86 | -19.97 | 0.00 |
| DASMark | 5.08 | 4.67% | 100.00% | 5.08 | 34.00% | 94.10% | 0.00 | -29.33 | +5.90 |
| Memento | |||||||||
| Base | 4.23 | 5.33% | - | 5.50 | 36.90% | - | -1.27 | -31.57 | - |
| KGW | 4.71 | 4.67% | 91.70% | 5.57 | 23.30% | 91.70% | -0.86 | -18.63 | 0.00 |
| AM-F | 8.00 | 0.67% | 100.00% | 9.00 | 25.30% | 100.00% | -1.00 | -24.63 | 0.00 |
| DASMark | 5.74 | 6.00% | 100.00% | 5.74 | 36.00% | 92.40% | 0.00 | -30.00 | +7.60 |
| Evolving Harness | |||||||||
| Base | 4.40 | 2.67% | - | 4.82 | 28.90% | - | -0.42 | -26.23 | - |
| KGW | 4.67 | 6.00% | 87.20% | 2.58 | 16.70% | 87.20% | +2.09 | -10.70 | 0.00 |
| AM-F | 8.50 | 1.33% | 100.00% | 10.27 | 24.70% | 100.00% | -1.77 | -23.37 | 0.00 |
| DASMark | 4.93 | 6.00% | 100.00% | 4.93 | 34.00% | 91.60% | 0.00 | -28.00 | +8.40 |
Table 5: Comparison across Qwen3.5 model sizes under four runtime backends. Steps denotes the average trajectory length among successful tasks, SR denotes task success rate, and Bit Acc. denotes watermark decoding accuracy. The performance gap is computed as Qwen3.5-4B minus Qwen3.5-9B, with accuracy differences reported in percentage points (pp). Bold values indicate the best performance for each metric within each backend and model size, including ties.
| Method | Backend | Token Deletion Rate | |||||
|---|---|---|---|---|---|---|---|
| 10% | 20% | 30% | 40% | 50% | 60% | ||
| AgentMark-F | No-Mem | 68.80% | 43.80% | 27.60% | 16.10% | 9.90% | 5.20% |
| A-MEM | 76.50% | 51.30% | 37.40% | 19.10% | 8.70% | 4.30% | |
| Memento | 75.80% | 47.00% | 30.30% | 19.70% | 7.60% | 6.10% | |
| Evolving Harness | 71.20% | 50.00% | 36.50% | 23.10% | 19.20% | 1.90% | |
| KGW | No-Mem | 91.60% | 82.90% | 75.50% | 66.80% | 61.40% | 58.70% |
| A-MEM | 89.20% | 83.90% | 76.20% | 68.50% | 63.30% | 59.40% | |
| Memento | 84.80% | 75.50% | 73.30% | 68.20% | 66.10% | 62.10% | |
| Evolving Harness | 91.00% | 85.30% | 77.90% | 71.60% | 63.90% | 57.90% | |
| DASMark | No-Mem | 98.80% | 97.20% | 93.30% | 89.70% | 86.90% | 82.10% |
| A-MEM | 97.90% | 95.40% | 93.30% | 90.40% | 85.40% | 91.20% | |
| Memento | 99.60% | 98.80% | 95.80% | 90.40% | 88.30% | 82.10% | |
| Evolving Harness | 99.60% | 97.50% | 95.50% | 90.10% | 85.50% | 78.10% | |
Table 6: Bit accuracy of Qwen3.5-4B under token deletion across four runtime backends and deletion rates from 10% to 60%. Bold values indicate the best performance for each backend and deletion rate.
| Method | No-Mem | A-MEM | Memento | Evolving Harness |
|---|---|---|---|---|
| AM-F | 29.80% | 28.50% | 11.80% | 15.90% |
| KGW | 54.90% | 60.60% | 59.50% | 60.60% |
| DASMark | 51.80% | 53.10% | 65.10% | 62.20% |
| DASMark-R | 54.40% | 61.20% | 58.70% | 69.90% |
(b) Token Deletion
| Method | Backend | Token Deletion Rate | |||||
|---|---|---|---|---|---|---|---|
| 10% | 20% | 30% | 40% | 50% | 60% | ||
| AgentMark-F | No-Mem | 62.90% | 42.30% | 25.00% | 13.70% | 10.50% | 6.00% |
| A-MEM | 63.30% | 43.40% | 27.00% | 16.90% | 9.40% | 4.50% | |
| Memento | 74.10% | 48.70% | 32.30% | 20.50% | 8.00% | 4.60% | |
| Evolving Harness | 70.80% | 42.90% | 18.00% | 12.90% | 7.30% | 3.90% | |
| KGW | No-Mem | 85.40% | 78.50% | 73.60% | 69.80% | 69.10% | 59.00% |
| A-MEM | 84.40% | 78.90% | 70.90% | 62.30% | 57.10% | 56.40% | |
| Memento | 84.40% | 79.10% | 70.20% | 62.30% | 57.40% | 58.00% | |
| Evolving Harness | 82.80% | 75.80% | 69.00% | 64.00% | 62.30% | 57.60% | |
| DASMark | No-Mem | 87.50% | 85.50% | 81.50% | 74.30% | 71.00% | 64.00% |
| A-MEM | 91.20% | 90.60% | 82.70% | 77.90% | 74.60% | 70.40% | |
| Memento | 88.10% | 83.50% | 77.10% | 74.00% | 68.80% | 70.60% | |
| Evolving Harness | 87.60% | 82.30% | 75.60% | 72.20% | 66.60% | 65.20% | |
| No-Mem | 89.40% | 85.80% | 79.20% | 74.90% | 72.30% | 70.00% | |
| DASMark-R | A-MEM | 91.90% | 89.60% | 85.00% | 80.50% | 75.20% | 70.70% |
| Memento | 90.50% | 85.00% | 80.70% | 77.70% | 76.50% | 71.90% | |
| Evolving Harness | 82.60% | 81.60% | 77.90% | 72.60% | 71.20% | 67.60% | |
(c) Synonym Substitution
| Method | Backend | Synonym Substitution Rate | |||||
|---|---|---|---|---|---|---|---|
| 10% | 20% | 30% | 40% | 50% | 60% | ||
| AgentMark-F | No-Mem | 72.60% | 54.80% | 40.30% | 25.00% | 15.30% | 6.90% |
| A-MEM | 77.90% | 54.70% | 33.00% | 19.50% | 10.10% | 4.90% | |
| Memento | 74.50% | 55.90% | 40.70% | 28.90% | 11.40% | 5.30% | |
| Evolving Harness | 78.50% | 53.20% | 39.10% | 24.00% | 14.60% | 6.90% | |
| KGW | No-Mem | 89.20% | 84.40% | 78.80% | 75.30% | 75.00% | 72.20% |
| A-MEM | 86.50% | 85.50% | 82.40% | 78.50% | 74.70% | 70.90% | |
| Memento | 88.70% | 85.00% | 81.00% | 78.80% | 77.30% | 72.10% | |
| Evolving Harness | 85.90% | 81.80% | 79.10% | 74.10% | 76.10% | 72.10% | |
| DASMark | No-Mem | 91.40% | 89.80% | 86.50% | 83.20% | 79.50% | 75.20% |
| A-MEM | 92.50% | 90.90% | 87.00% | 86.30% | 83.10% | 81.80% | |
| Memento | 89.90% | 85.60% | 81.00% | 75.80% | 73.10% | 70.90% | |
| Evolving Harness | 86.30% | 83.30% | 82.30% | 79.30% | 79.30% | 73.60% | |
| No-Mem | 88.40% | 86.50% | 85.10% | 80.50% | 79.90% | 76.20% | |
| DASMark-R | A-MEM | 91.90% | 90.20% | 87.90% | 83.40% | 82.40% | 81.40% |
| Memento | 85.90% | 84.40% | 79.80% | 78.30% | 76.50% | 75.20% | |
| Evolving Harness | 83.90% | 79.60% | 77.30% | 76.30% | 77.30% | 74.60% | |
Table 7: Complete robustness results on Telecom under (a) paraphrasing, (b) token deletion (10–60%), and (c) synonym substitution (10–60%) across four runtime backends. Values denote bit-decoding accuracy. DASMark-R uses a robustness-enhanced receiver. Bold values mark the best accuracy for each backend and attack setting (including ties).
| Method | No-Mem | A-MEM | Memento | Evolving Harness |
|---|---|---|---|---|
| AM-F | 41.70% | 48.50% | 26.30% | 52.50% |
| KGW | 65.90% | 66.40% | 71.20% | 61.30% |
| DASMark | 81.10% | 73.60% | 68.80% | 75.00% |
| DASMark-R | 81.80% | 79.20% | 71.20% | 77.40% |
(b) Token Deletion
| Method | Backend | Token Deletion Rate | |||||
|---|---|---|---|---|---|---|---|
| 10% | 20% | 30% | 40% | 50% | 60% | ||
| AgentMark-F | No-Mem | 68.30% | 38.30% | 23.30% | 15.00% | 0.00% | 0.00% |
| A-MEM | 78.80% | 57.60% | 30.30% | 18.20% | 3.00% | 0.00% | |
| Memento | 77.20% | 38.60% | 21.10% | 17.50% | 10.50% | 7.00% | |
| Evolving Harness | 72.10% | 54.10% | 27.90% | 13.10% | 0.00% | 0.00% | |
| KGW | No-Mem | 81.80% | 72.00% | 69.70% | 65.20% | 62.90% | 61.40% |
| A-MEM | 84.00% | 78.40% | 72.00% | 65.60% | 64.80% | 56.00% | |
| Memento | 86.40% | 80.00% | 74.40% | 66.40% | 62.40% | 58.40% | |
| Evolving Harness | 79.80% | 73.40% | 62.90% | 52.40% | 53.20% | 54.00% | |
| DASMark | No-Mem | 90.20% | 82.60% | 78.80% | 77.30% | 68.90% | 65.20% |
| A-MEM | 89.60% | 85.60% | 82.40% | 80.00% | 72.80% | 72.00% | |
| Memento | 88.00% | 85.60% | 81.60% | 77.60% | 75.20% | 69.60% | |
| Evolving Harness | 96.00% | 90.30% | 84.70% | 78.20% | 66.90% | 64.50% | |
| No-Mem | 97.70% | 94.70% | 92.90% | 82.60% | 72.20% | 68.90% | |
| DASMark-R | A-MEM | 97.60% | 95.20% | 89.60% | 88.00% | 80.80% | 74.40% |
| Memento | 95.20% | 93.60% | 89.60% | 87.20% | 80.80% | 76.80% | |
| Evolving Harness | 96.80% | 95.20% | 92.70% | 89.50% | 80.60% | 78.20% | |
(c) Synonym Substitution
| Method | Backend | Synonym Substitution Rate | |||||
|---|---|---|---|---|---|---|---|
| 10% | 20% | 30% | 40% | 50% | 60% | ||
| AgentMark-F | No-Mem | 86.70% | 58.30% | 41.70% | 11.70% | 3.30% | 0.00% |
| A-MEM | 75.80% | 54.50% | 27.30% | 12.10% | 3.00% | 0.00% | |
| Memento | 59.60% | 38.60% | 15.80% | 3.50% | 0.00% | 0.00% | |
| Evolving Harness | 77.00% | 45.90% | 36.10% | 21.30% | 21.30% | 6.60% | |
| KGW | No-Mem | 84.80% | 83.30% | 80.30% | 78.80% | 69.70% | 67.40% |
| A-MEM | 84.80% | 80.80% | 79.20% | 72.80% | 72.80% | 67.20% | |
| Memento | 88.80% | 89.60% | 84.00% | 80.00% | 76.00% | 73.60% | |
| Evolving Harness | 81.50% | 78.20% | 74.20% | 72.60% | 66.90% | 60.50% | |
| DASMark | No-Mem | 90.20% | 87.10% | 84.80% | 75.00% | 78.00% | 76.50% |
| A-MEM | 91.20% | 80.80% | 76.00% | 74.40% | 76.00% | 73.60% | |
| Memento | 93.60% | 86.40% | 82.40% | 76.80% | 72.80% | 69.60% | |
| Evolving Harness | 92.70% | 87.90% | 86.30% | 80.60% | 72.60% | 73.40% | |
| No-Mem | 95.50% | 90.80% | 89.40% | 87.10% | 82.60% | 82.60% | |
| DASMark-R | A-MEM | 95.20% | 87.20% | 84.00% | 81.60% | 84.00% | 80.80% |
| Memento | 95.20% | 91.20% | 90.40% | 85.60% | 84.80% | 76.80% | |
| Evolving Harness | 94.40% | 93.50% | 89.50% | 88.70% | 84.70% | 83.90% | |
Table 8: Complete robustness results on Retail under (a) paraphrasing, (b) token deletion (10–60%), and (c) synonym substitution (10–60%) across four runtime backends. Values denote bit-decoding accuracy. DASMark-R uses a robustness-enhanced receiver. Bold values mark the best accuracy for each backend and attack setting (including ties).
| Method | No-Mem | A-MEM | Memento | Evolving Harness |
|---|---|---|---|---|
| AM-F | 76.40% | 70.00% | 70.50% | 80.30% |
| KGW | 76.80% | 77.60% | 80.30% | 82.40% |
| DASMark | 88.40% | 88.70% | 88.30% | 87.40% |
| DASMark-R | 84.50% | 89.10% | 90.40% | 92.20% |
(b) Token Deletion
| Method | Backend | Token Deletion Rate | |||||
|---|---|---|---|---|---|---|---|
| 10% | 20% | 30% | 40% | 50% | 60% | ||
| AgentMark-F | No-Mem | 15.90% | 3.20% | 0.50% | 0.50% | 0.00% | 0.00% |
| A-MEM | 13.10% | 1.40% | 1.40% | 0.50% | 0.00% | 0.00% | |
| Memento | 12.90% | 2.80% | 0.50% | 0.00% | 0.00% | 0.00% | |
| Evolving Harness | 10.90% | 1.40% | 0.00% | 0.00% | 0.00% | 0.00% | |
| KGW | No-Mem | 89.70% | 81.20% | 79.90% | 77.70% | 70.10% | 62.50% |
| A-MEM | 93.50% | 87.90% | 86.40% | 75.20% | 70.10% | 62.60% | |
| Memento | 91.50% | 85.00% | 80.80% | 75.60% | 68.50% | 59.20% | |
| Evolving Harness | 93.40% | 89.00% | 84.90% | 78.30% | 71.30% | 71.00% | |
| DASMark | No-Mem | 89.20% | 88.00% | 81.30% | 77.30% | 70.90% | 68.90% |
| A-MEM | 89.80% | 85.30% | 81.50% | 78.10% | 75.50% | 68.30% | |
| Memento | 87.90% | 84.00% | 83.60% | 79.70% | 74.70% | 73.70% | |
| Evolving Harness | 90.10% | 86.30% | 81.20% | 79.90% | 76.10% | 74.10% | |
| No-Mem | 86.90% | 86.10% | 85.70% | 82.10% | 76.10% | 74.10% | |
| DASMark-R | A-MEM | 88.30% | 87.90% | 85.30% | 80.00% | 81.10% | 75.50% |
| Memento | 91.10% | 85.10% | 85.10% | 80.10% | 76.50% | 69.80% | |
| Evolving Harness | 93.90% | 89.10% | 84.00% | 85.70% | 82.60% | 78.20% | |
(c) Synonym Substitution
| Method | Backend | Synonym Substitution Rate | |||||
|---|---|---|---|---|---|---|---|
| 10% | 20% | 30% | 40% | 50% | 60% | ||
| AgentMark-F | No-Mem | 45.00% | 18.60% | 7.30% | 1.80% | 1.40% | 0.00% |
| A-MEM | 39.90% | 19.70% | 6.60% | 2.80% | 1.40% | 0.50% | |
| Memento | 39.20% | 14.30% | 6.50% | 1.80% | 0.00% | 0.00% | |
| Evolving Harness | 37.40% | 11.60% | 5.40% | 2.00% | 1.40% | 0.00% | |
| KGW | No-Mem | 90.60% | 87.90% | 83.90% | 81.70% | 75.60% | 73.70% |
| A-MEM | 93.00% | 91.10% | 85.00% | 83.60% | 81.30% | 72.90% | |
| Memento | 94.40% | 89.70% | 84.50% | 79.30% | 75.60% | 71.40% | |
| Evolving Harness | 94.50% | 90.40% | 89.30% | 87.50% | 80.50% | 79.00% | |
| DASMark | No-Mem | 89.20% | 85.70% | 84.50% | 81.30% | 82.10% | 78.50% |
| A-MEM | 91.70% | 90.60% | 88.30% | 84.90% | 82.30% | 80.80% | |
| Memento | 90.70% | 87.90% | 87.20% | 88.60% | 84.30% | 82.20% | |
| Evolving Harness | 90.80% | 90.80% | 86.30% | 82.90% | 82.30% | 79.50% | |
| No-Mem | 92.40% | 88.00% | 87.60% | 86.10% | 84.90% | 79.30% | |
| DASMark-R | A-MEM | 90.20% | 89.40% | 87.50% | 86.80% | 86.80% | 86.80% |
| Memento | 89.00% | 87.90% | 86.80% | 84.00% | 82.20% | 80.10% | |
| Evolving Harness | 93.90% | 92.50% | 89.80% | 89.10% | 86.70% | 85.70% | |
Table 9: Complete robustness results on CRMArena-Pro under (a) paraphrasing, (b) token deletion (10–60%), and (c) synonym substitution (10–60%) across four runtime backends. Values denote bit-decoding accuracy. DASMark-R uses a robustness-enhanced receiver. Bold values mark the best accuracy for each backend and attack setting (including ties).