Skip to content

BanglaLorica: Design and Evaluation of Robust Watermarking Algorithms for Bengali Text Generation in Large Language ModelsBanglaLorica: Design and Evaluation of a Robust Watermarking Algorithm for Large Language Models in Bangla Text Generation

arXiv· arXiv:2601.04534· Amit Bin Tariqul, A N M Zahid Hossain Milkan, Sahab-Al-Chowdhury, Syed Rifat Raiyan, Hasan Mahmud, Md Kamrul Hasan·Indexed by this site · 2026-10-12· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

On Bangla, KGW/EXP benign 0.885/0.912, after RTT Table 2 is 0.09/0.13, authors claim layered reaches 40–50%.

Threat modelUnder strict black-box conditions, the adversary uses BanglaNMT to perform Bangla→English→Bangla RTT on watermarked text from Bangla LLaMA-3-8B, to weaken or remove the watermark while preserving semantics; during generation, attack, and detection, there is no access to model internals, token probabilities, or watermarking keys.

Questions
Token-level watermarks for Bangla LLMs are hard to detect after cross-lingual round-trip translation. The authors state that robustness on low-resource, non-Latin scripts lacks systematic evaluation, and attribution and misuse detection require signals that can be verified post hoc.
Methods
On Bangla LLaMA-3-8B, embed a watermark at decoding time with KGW or EXP, then use Waterfall as a second layer. The attack is BanglaNMT's Bangla-to-English then back to Bangla; detection uses each method's statistical scores, not LLM review.
Experiments and results
In Table 2, KGW/EXP benign detection is 0.885/0.912, and after RTT it is 0.09/0.13. The cells after RTT in Figure 3 are 15%, 16%, 17% and 19%, 19%, 18%, which differ from Table 2. The authors state that after layering it is 40–50%.
Limitations and future work
The authors note that only one Bangla→English→Bangla path was evaluated, the two-layer setup uses shorter generations, ROUGE and perplexity may not reflect subtle semantic shifts, and no adaptive layer combination was done. The experiments did not report layered sample sizes, number of repetitions, or Waterfall's standalone accuracy.
Experimental setupBangla LLaMA-3-8B · Bangla-Alpaca Orca · Detection Accuracy、Perplexity et al.
Evaluated models
Bangla LLaMA-3-8B
Benchmarks
Bangla-Alpaca Orca
Metrics
Detection AccuracyPerplexityROUGE-1ROUGE-2ROUGE-Lsemantic similarity
AI summaryThe paper systematically evaluates the robustness of three text watermarking methods—KGW, Exponential Sampling (EXP), and Waterfall—in Bengali large language model text generation, and proposes a hierarchical watermarking strategy against cross-lingual round-trip translation (RTT) attacks, which the authors claim is the first systematic evaluation in this scenario. Under benign conditions, KGW and EXP achieve detection accuracy above 88%, with negligible perplexity and ROUGE degradation; however, RTT attacks reduce detection accuracy to 9–13%, revealing a fundamental failure of token-level watermarking. The proposed hierarchical watermarking, combining embedding-time and post-generation watermarks, improves post-RTT detection accuracy by 25–35%, reaching 40–50%, a 3–4x improvement over single-layer methods, at the cost of manageable semantic degradation. The authors state that code and data will be made public.

The paper systematically evaluates the robustness of three text watermarking methods—KGW, Exponential Sampling (EXP), and Waterfall—in Bengali large language model text generation, and proposes a hierarchical watermarking strategy against cross-lingual round-trip translation (RTT) attacks, which the authors claim is the first systematic evaluation in this scenario. Under benign conditions, KGW and EXP achieve detection accuracy above 88%, with negligible perplexity and ROUGE degradation; however, RTT attacks reduce detection accuracy to 9–13%, revealing a fundamental failure of token-level watermarking. The proposed hierarchical watermarking, combining embedding-time and post-generation watermarks, improves post-RTT detection accuracy by 25–35%, reaching 40–50%, a 3–4x improvement over single-layer methods, at the cost of manageable semantic degradation. The authors state that code and data will be made public.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Token-level watermarks on Bangla are hard to detect after RTT, so the authors switch to a layered and training-free watermark.

    Token-level watermarks for Bangla LLMs are hard to detect after cross-lingual round-trip translation; the authors aim to improve detectability without retraining.

    • Scenario: The authors state LLMs are already used in creative writing, education, journalism, and automated decision-making, making attribution, intellectual property, and misuse detection urgent. Bangla is written as the 7th most spoken language with over 280 million users, with rich morphology, flexible word order, frequent compounding, and a non-Latin script, so the lexical stability implicit in English methods does not transfer directly.
    • Gap: The authors state KGW, EXP, and Waterfall have results on high-resource languages, but low-resource languages and RTT lack systematic analysis; token-level signals are easily lost in transformations that preserve semantics but change surface form.
    • Observation: The authors state that under benign conditions KGW detection accuracy exceeds 88% and EXP exceeds 91%, with negligible perplexity and ROUGE degradation; the abstract writes that after RTT it drops to 9–13%.
    • Approach: Proposes layered watermarking, stacking Waterfall on top of KGW or EXP as a training-free second-layer statistical signal. The authors plan to release code and data.
    • Threat model:
      • Goal: Use cross-lingual rewriting as text laundering to weaken or remove the watermark while largely preserving semantics.
      • Knowledge: The paper writes strict black-box. Section 4 states that generation, attack, and detection do not access model internals, token-level probabilities, or watermarking keys.
      • Capability: Bangla→English→Bangla RTT, with the translation model being BanglaNMT (Hasan et al., 2020).
      • Victim system: Bangla generation of instruction-tuned Bangla LLaMA-3-8B; the watermark is used for post-hoc verification and does not rely on external classifiers or privileged access.
  2. What related research exists?

    The paper compares KGW, EXP, semantic watermarking, and Waterfall, and places the gap on Bangla's RTT.

    Generation-time token watermarking

    • Zhang et al. (2018): embeds identifiable signals in classifier outputs, internal representations, or model parameters, for ownership verification and misuse detection.
    • KGW (Kirchenbauer et al., 2023): uses a key to split the vocabulary into a pseudorandom green list and red list, biases decoding toward the green list, then detects with hypothesis testing; no retraining and model-agnostic. The paper states that subsequent Christ-style and entropy-aware variants still rely on surface token statistics and are vulnerable to rewriting and translation attacks.
    • EXP (Kuditipudi et al., 2023): distortion-free sampling from an exponential distribution, preserving the original output distribution. The paper states it is more robust to token edits and requires fewer tokens for detection than inverse transform sampling, but is limited in low-entropy contexts and cross-lingual transformations, still relying on relatively stable token distributions.

    Semantic and post-generation watermarking

    • SemaMark (Ren et al., 2024), and Liu et al. (2024), Yoo et al. (2023): use synonym substitution, paraphrasing, sentence vectors, locality-sensitive hashing, or invariant features to embed watermarks that resist lexical changes. The paper states these methods rely on additional models or resources, limiting low-resource languages and large-scale use.
    • Waterfall (Lau et al., 2024): post-generation vocabulary permutation and orthogonal perturbation (e.g., Fourier transform) to embed multi-bit watermarks. The paper states it enables scalable attribution and is more robust to strong LLM rewriting; but being independent of generation, it may perturb the token statistics that embedding-time detection relies on, and may degrade on short or style-sensitive texts.

    Cross-lingual and low-resource

    • He et al. (2024), Fu et al. (2024): the paper treats cross-lingual paraphrasing and translation as text laundering against watermarks, and states existing research mainly covers high-resource languages and Latin scripts.
    • Venkatakrishnan et al. (2023a): the paper uses this to argue that watermark robustness on low-resource languages has not been systematically verified, and English-centric assumptions often fail. The introduction also attributes an earlier lineage of digital watermarking to Dixit and Dixit (2017) in image, audio, and multimedia work.

    Baselines and data

    • Baseline methods: single-layer KGW, EXP, and post-generation Waterfall; layering is KGW or EXP plus Waterfall. The ablation compares the three individually and in combination, but Waterfall alone has no numerical table.
    • Benchmark/dataset: filtered Bangla-Alpaca Orca, 500 prompts; RTT uses BanglaNMT (Hasan et al., 2020).

    The authors state this is the first systematic evaluation of KGW and EXP under RTT for Bangla LLM generation, and they supplement post-generation watermarking with a training-free layered signal; the paper states no such analysis existed before, nor did retraining-free, language-specific-resource-free remediation guidance.

  3. How does the paper address this problem?

    Embed KGW or EXP at decoding time, then use Waterfall as a second layer, and judge with each method's statistical detector.

    The authors call the pipeline layered watermarking: in BanglaLorica, KGW or EXP is embedded at decoding time, then optionally Waterfall is applied as a post-generation second layer, then RTT is applied, and detection is done with each method's own statistical detector. Figure 1 depicts the two-layer detection as embedding layer and post-generation checks.

    Problem Setup and Generation

    • Model and data: instruction-tuned Bangla LLaMA-3-8B (Zehady et al., 2024). Prompts come from the filtered Bangla-Alpaca Orca, 500 in total.
    • Length and implementation: single-layer decoding length L∈{100, 150, 200}, methods M={KGW, EXP}, six single-layer configurations. The sampling wrapper is attached to Hugging Face's generate.
    • KGW: at each step, a key splits the vocabulary into a pseudorandom green/red list, adds a small positive bias to green-list tokens, and does not retrain. Appendix Table 4: prefix length is 1, hash key is 15485863, γ=0.5, δ=2.0, detection threshold z>4.0; Sequence length is recorded as “–”.
    • EXP: samples from an exponential distribution, implicitly favoring a specified token subset, without changing logits; the paper calls it distortion-free. Appendix Table 4: prefix length is 4, same hash key, sequence length is 200, detection threshold is 10^{-4}. The main-text experimental lengths are still 100, 150, 200, which are not equivalent to that row's 200.

    RTT Attack

    • All generated outputs undergo Bangla→English→Bangla. The translation model is BanglaNMT, with the footnote name csebuetnlp/banglat5_nmt_en_bn (Hasan et al., 2020); Figure 2 writes BUET NMT.
    • The authors state that this process preserves semantics while introducing substantial morphological and syntactic changes, used to simulate a black-box adversary weakening the watermark. Appendix A.6 states that the path is fixed across methods.

    Layered Watermarking

    • Main text Section 3.3: Waterfall performs vocabulary partitioning and distribution perturbation on already generated text. The layered object is the output that has already gone through KGW or EXP, then sent through RTT. Due to computational constraints, this group only does 100-token generation (Section 4.3).
    • Appendix A.4 and Algorithm 1 describe the same stage as paraphrase selection: generate candidate paraphrases of the main watermarked text, use a sentence-vector model S to compute similarity si, use watermark verification score qi, and select Tw=argmaxTi(λ· si+qi). This formula simultaneously increases semantic similarity and watermark verification score among candidates. The paper does not give λ, the number of candidates N, or the model name of S. The appendix states that the paraphrase prompt is restricted to generating only Bangla.
    • Appendix A.8: Python and PyTorch, with 8-bit quantization available under computational constraints. The authors plan to release code and configuration after publication.

    Detection and Metrics

    • KGW: performs a Z-test on the green-list proportion. G is the number of green tokens, T is the total number of tokens, γ is the green-list proportion; under the null hypothesis, G is binomial. The detection statistic is z=(G−γ T)/(√(γ(1−γ)T)), i.e., the standardized deviation of the count from expectation, and the appendix writes z>4.0 as the watermark criterion.
    • EXP: the main text writes comparing log-likelihood under the exponential resampling distribution. The appendix accumulates per-position scores st into S, computes a p-value using the Gamma survival function, and p<10^{-4} is judged as watermarked.
    • Waterfall: statistical scoring based on token-group partitioning and distribution skew. The paper does not give a numerical threshold.
    • Metrics: Detection Accuracy is the proportion of samples correctly judged as watermarked; ROUGE-1/2/L; Perplexity indicates fluency change relative to the no-watermark baseline. Detection is performed independently on the original and RTT texts. The paper does not state which model computes perplexity.
  4. What experiments did the paper conduct?

    Benign Table 2 is 0.885 and 0.912; after RTT the same table is 0.09 and 0.13, and layered the authors state 40–50%.

    Experimental Setup

    • Model under test: instruction-tuned Bangla LLaMA-3-8B. RTT uses BanglaNMT.
    • Data: Bangla-Alpaca Orca filtered subset, 500 prompts. Single-layer lengths 100, 150, 200 tokens. Layered only does 100-token due to computational constraints; the paper does not state whether all 500 are still used.
    • Methods: Single-layer KGW, EXP; layered adds Waterfall to both. The ablation also verbally compares Waterfall alone, without numbers.
    • Metrics and criteria: Detection Accuracy, Perplexity, ROUGE-1/2/L, sentence-level semantic similarity. Detection is each method's statistical score, not an LLM evaluation. Appendix A.3: KGW is z>4.0, EXP is p<10^{-4}。
    • 未报告项: 重复次数、与人工判定的一致性、perplexity的计算模型。
    • 协议: 第4节称实验为strict black-box,生成、攻击、检测时不访问模型内部、token级概率或watermarking keys。

    主结果

    Swipe horizontally to read the table

    指标KGWEXP出处
    Detection Accuracy0.8850.912Table 2
    Robustness to RTT0.090.13Table 2
    平均水印Perplexity2.3092.0295Table 2
    平均无水印Perplexity2.16162.1368Table 2
    ROUGE-1 / 2 / L0.3671 / 0.3039 / 0.36010.3854 / 0.3207 / 0.3784Table 2
    RTT前,100/150/200 token87% / 88% / 89%91% / 89% / 90%Figure 3
    RTT后,100/150/200 token15% / 16% / 17%19% / 19% / 18%Figure 3
    • 论文未说明Table 2各行是否跨三种长度汇总。摘要把RTT后检测准确率写成9–13%,第5节写成低于20%;这两句与Figure 3的RTT后各格对不上,这里并列,不做换算。第4.1节称各长度上KGW超过88%、EXP超过91%,也与Figure 3的87%以及EXP的89%、90%对不上。
    • 作者称良性条件下检测高、流畅度退化小,且ROUGE显示水印与无水印输出的词法、结构相似度高。表中EXP的水印Perplexity低于其无水印行,KGW则更高;作者未解释这一方向差。
    • 作者称加长本身不能恢复RTT后检测,下降在各长度上一致,且EXP略高于KGW。作者把原因写成翻译打乱了两种方法依赖的token级统计。

    检测分数分布

    • 测的是KGW与EXP在RTT前后的分数分布(Figure 4、Figure 5)。作者称良性条件下水印与无水印分开;RTT后分布移动并重叠,信号变得与无水印文本难以区分。作者称EXP在RTT后仍有稍重的高置信尾部,但两种方法的可分性损失都很严重。
    • 文本转换未保留曲线。Figure 4可见横轴Detection Score标注-1到5、纵轴Density标注0.0到0.7,图例为Before RTT与After RTT。Figure 5横轴标注-0.2到0.6,图例同为RTT前后,并有“Full range”字样。
    • Table 3对应Table 1的一条样例:水印输出KGW为2.20×10^{-5}、EXP为1.89×10^{-6},均标Detected;无水印输出KGW为0.529、EXP为0.814,均标Not Detected。附录把KGW定义成z分数、阈值z>4.0, which differs in magnitude from Table 3; the paper does not explain the relationship between them.

    Layered Watermarking

    • Figure 6 compares single-layer and double-layer Detection Accuracy before and after RTT. The legend is KGW and EXP, the four x-axis categories are Single-layer Before/After RTT and Double-layer Before/After RTT, and the y-axis is 0 to 100. The text conversion has no bar readings.
    • The abstract states that layering improves post-RTT accuracy by 25–35%, reaching 40–50%, which is 3× to 4× relative to single-layer; Section 5 states reaching 40–50%, with a relative improvement of 3–4×. The authors attribute the improvement to orthogonal statistical signals that are less sensitive to lexical substitution and syntactic reordering. The paper does not report the sample size for these numbers. The conclusion only states improved survivability and calls the cost controlled semantic degradation, without further numbers.
    • Section 4.3 ablation has no numerical table: the authors state that embedding-time alone is detectable in benign cases and fails after RTT; Waterfall alone provides only limited robustness after RTT and is stated to be insufficient for detection; the combination improves post-RTT accuracy. Figure 7 has a y-axis labeled Semantic Score from 0.700 to 0.900, and the caption says it compares single-layer and double-layer, with the legend showing KGW and EXP; the text has no point readings. The authors state that double embedding causes semantic drift, with degradation remaining moderate, and Section 5 calls it modest.

    Other Ablations and Analyses

    • Length: the pre-RTT and post-RTT cells in Figure 3 are in the main results table; the authors state that increasing length cannot restore detection.
    • Hyperparameters (Appendix Table 4, fixed throughout): KGW has γ=0.5, δ=2.0, prefix length=1, z>4.0; EXP has prefix length=4, threshold 10^{-4}; both have hash key 15485863.
    • Quality: Table 2 gives single-layer ROUGE and Perplexity; the paper does not report these values for the layered condition.
    • Waterfall alone: no detection accuracy numbers; the authors state it is insufficient for detection after RTT.
    • Appendix Algorithm 1 does not report λ, N, or the qi or si differences before and after selection.
    • Qualitative: Table 1 gives one prompt and KGW, EXP, and no-watermark outputs; apart from Table 3, the paper does not report RTT results for this example.
  5. What are some points that can be further explored?

    The authors note that RTT only goes from Bangla to English and back to Bangla, and the double-layer only handles shorter texts.

    Limitations and Future Directions Noted by the Authors

    • Path: the evaluation focuses on a single RTT path, Bangla→English→Bangla, and does not cover multi-hop or other cross-lingual rewrites; multi-hop translation and stronger paraphrase models are listed as future work (Limitations Section 8; Future Work Section 6).
    • Length: the double-layer experiments are limited to shorter generations due to computational constraints; the authors state that this makes it unclear how layered robustness changes with longer texts (Section 8).
    • Metrics: the authors state that ROUGE and perplexity may not reflect the subtle semantic shifts from layered perturbation, especially on morphologically rich Bangla; human evaluation or finer semantic similarity could fill this gap (Section 8).
    • Layer combination: the algorithm set is fixed, with no adaptive or learned combination; the authors state that conditional secondary watermarking would require an explicit attacker model, beyond this paper's black-box setting, and is left for future work (Sections 6 and 8).
    • Semantic watermarking: the authors state that embedding-based or invariant-feature methods could reduce quality loss, but were not done due to extra complexity and language/model calibration, so that gains could be attributed to layering itself (Section 6).
    • Benchmarks and languages: a low-resource benchmark including RTT protocols and semantic fidelity metrics is called out of scope by the authors, requiring substantial human annotation and community collaboration; extension to other low-resource, non-Latin-script languages is left for future work, with Bangla as the case study (Section 6).

    Experimental Coverage

    • The generation model is instruction-tuned Bangla LLaMA-3-8B; data is the filtered Bangla-Alpaca Orca subset of 500; single-layer lengths are 100, 150, 200 tokens (Sections 3.1 and 4).
    • Methods are KGW, EXP, Waterfall, and KGW or EXP plus Waterfall; RTT uses BanglaNMT, path Bangla→English→Bangla; layered length is 100 tokens (Sections 3.2–4.3).
    • Metrics are Detection Accuracy, Perplexity, ROUGE-1/2/L, and sentence-level semantic similarity; detection uses z-test, Gamma p-value, or Waterfall score, with no LLM evaluation (Section 3.4, Appendix A.3).
    • The paper does not report layered sample size, number of repetitions, Waterfall-alone accuracy, the name of semantic model S, λ, number of candidates N, the model computing perplexity, or whether Table 2 is aggregated across lengths.
    • Appendix Table 4 fixes KGW's γ=0.5, δ=2.0, z>4.0, and EXP's p<10^{-4}. Appendix A.8 states 8-bit quantization is available; the authors plan to release code and data after publication.
  6. Summarize the main content of the paper

    KGW/EXP benign 0.885/0.912, after RTT Table 2 is 0.09/0.13; layered the authors claim 40–50%.

    BanglaLorica evaluates watermarks on Bangla-generated text and adds a second layer to handle cross-lingual round-trip translation.

    • Problem: token-level signals are hard to preserve after Bangla→English→Bangla rewriting. The authors do not retrain the generation model, but embed another layer on top of the existing watermark.
    • Method: the generation model is instruction-tuned Bangla LLaMA-3-8B, with 500 prompts from Bangla-Alpaca Orca. Single-layer uses KGW or EXP, lengths 100, 150, 200; layered then goes through Waterfall. RTT is done by BanglaNMT. Detection is z-test, Gamma p-value, and Waterfall statistical score, respectively.
    • Benign and quality: in Table 2, KGW and EXP Detection Accuracy are 0.885 and 0.912, watermarked Perplexity is 2.309 and 2.0295, and no-watermark is 2.1616 and 2.1368. Figure 3 across three lengths, pre-RTT KGW is 87%, 88%, 89%, and EXP is 91%, 89%, 90%.
    • RTT: Table 2's Robustness to RTT is 0.09 and 0.13. Figure 3 instead has KGW 15%, 16%, 17%, and EXP 19%, 19%, 18%. The abstract also writes 9–13%, and Section 5 writes below 20%. The authors state that longer texts cannot restore detection.
    • Layered: experiments only do 100 tokens. The abstract states post-RTT accuracy improves by 25–35%, reaching 40–50%, which is 3× to 4× relative to single-layer; Section 5 writes 3–4×. Figure 6's text conversion has no bar values. The authors state the cost is controlled semantic degradation.
    • Conclusion: the authors state that without attack, embedding-time watermarks developed for English scenarios can be used for Bangla, but RTT disrupts their token-distribution assumptions; the layered, training-free second-layer statistical signal is their proposed remedy. The authors plan to release code and data.
Read originalarxiv.org