Skip to main content
QUICK REVIEW

[Paper Review] Efficient Encoding of Watermark Numbers as Reducible Permutation Graphs

Maria Chroni, Stavros D. Nikolopoulos|arXiv (Cornell University)|Oct 6, 2011
Advanced Malware Detection TechniquesComputer Science30 references6 citations
TL;DR

This paper proposes an efficient, linear-time codec system for encoding watermark numbers as reducible permutation flow-graphs using self-inverting permutations. By leveraging domination relations and DAG representations, the method achieves O(n) time and space complexity for both encoding and decoding, with strong resilience to structural tampering due to inherent graph and permutation properties.

ABSTRACT

In a software watermarking environment, several graph theoretic watermark methods use numbers as watermark values, where some of these methods encode the watermark numbers as graph structures. In this paper we extended the class of error correcting graphs by proposing an efficient and easily implemented codec system for encoding watermark numbers as reducible permutation flow-graphs. More precisely, we first present an efficient algorithm which encodes a watermark number $w$ as self-inverting permutation $π^*$ and, then, an algorithm which encodes the self-inverting permutation $π^*$ as a reducible permutation flow-graph $F[π^*]$ by exploiting domination relations on the elements of $π^*$ and using an efficient DAG representation of $π^*$. The whole encoding process takes O(n) time and space, where $n$ is the binary size of the number $w$ or, equivalently, the number of elements of the permutation $π^*$. We also propose efficient decoding algorithms which extract the number $w$ from the reducible permutation flow-graph $F[π^*]$ within the same time and space complexity. The two main components of our proposed codec system, i.e., the self-inverting permutation $π^*$ and the reducible permutation graph $F[π^*]$, incorporate important structural properties which make our system resilient to attacks.

Motivation & Objective

  • To develop a robust, efficient codec system for encoding software watermark numbers as graph structures.
  • To ensure resilience against common code transformations and attacks by exploiting structural properties of self-inverting permutations and reducible graphs.
  • To achieve optimal time and space complexity (O(n)) for both encoding and decoding processes.
  • To enable reliable watermark extraction even when node labels are modified or removed.
  • To extend the class of error-correcting graphs for software watermarking with practical, implementable algorithms.

Proposed method

  • The algorithm Encode_W-to-SIP maps a watermark number w to a self-inverting permutation π* in O(n) time using bit-level manipulation and sequence operations.
  • The algorithm Encode_SIP-to-RPG constructs a reducible permutation flow-graph F[π*] from π* by exploiting domination relations among elements, using DAG and list data structures.
  • The graph F[π*] is represented as a directed acyclic graph with a unique Hamiltonian path, enabling efficient reconstruction from unlabeled or modified versions.
  • Decoding uses DFS traversal on a reconstructed directed tree T[π*] to recover π*, followed by conversion back to the original watermark number w.
  • The system supports label recovery from unlabeled or node-modified graphs by reassigning labels via the Hamiltonian path structure.
  • The entire codec pipeline is built on elementary data structures and operations, ensuring ease of implementation and low computational overhead.

Experimental results

Research questions

  • RQ1Can watermark numbers be encoded into graph structures with linear time and space complexity while maintaining resilience to code transformations?
  • RQ2How can self-inverting permutations be used to create robust intermediate representations for watermarking?
  • RQ3Can reducible permutation graphs be constructed and decoded efficiently using domination relations and DFS traversal?
  • RQ4To what extent can the system recover watermarks from tampered or unlabeled graphs?
  • RQ5What structural properties of self-inverting permutations and reducible graphs enhance resistance to common attacks?

Key findings

  • The proposed codec system achieves O(n) time and space complexity for both encoding and decoding, where n is the binary length of the watermark number.
  • The system can reconstruct the original watermark from a modified or unlabeled reducible permutation flow-graph F[π*] in O(n) time and space.
  • The use of self-inverting permutations enables encoding of any integer w as π* over a set of size O(log n), minimizing structural bloat.
  • The unique Hamiltonian path in F[π*] allows for deterministic label reassignment, ensuring reliable decoding even after node-label removal.
  • The structural properties of π* (bitonicity) and F[π*] (reducibility) provide inherent resilience to single or multiple node/edge modifications.
  • The method is both implementable with basic data structures and robust, making it suitable for practical software watermarking applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.