Computation Graph Fusion for Fewer Table Lookup Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing homomorphic encryption techniques face significant overhead, particularly in table lookup operations, when applied to large amounts of data or complex computations, necessitating optimization for efficient execution.

Innovation Solution

A method and system that optimize computer programs by transforming the computation graph to fuse multiple nodes into a single table lookup operation, automatically determining which nodes can be implemented as such based on their connections in the graph, reducing the number of table lookup operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If homomorphic encryption techniques are applied to large amounts of data or complex computations, then data privacy and security are improved, but computational overhead and execution time increase significantly

Engineering Contradiction:
Improvedata privacyVSAvoidcomputational overhead
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent merges multiple sequential operations (addition, subtraction, scalar multiplication, and table lookup) into a single homomorphic table lookup operation. By combining these operations that were previously executed separately into one unified homomorphic operation, the patent reduces the number of cryptographic operations required, thereby decreasing computational overhead and execution time while maintaining data privacy protection through homomorphic encryption

Inventive Principle:
Principle #5Merging (Combining)

2Adaptability or versatility

If multiple separate operations are performed in homomorphic encryption, then operational flexibility is maintained, but the number of table lookup operations increases

Engineering Contradiction:
Improveoperational flexibilityVSAvoidnumber of table lookup operations
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent combines multiple separate operations (addition, subtraction, scalar multiplication, and table lookup) into a single homomorphic table lookup operation. This merging reduces the total number of table lookup operations required while preserving the functional capabilities of the original separate operations, thus improving productivity without sacrificing operational flexibility

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent implements a universal homomorphic table lookup operation that can perform multiple functions (addition, subtraction, scalar multiplication, and table lookup) within a single operation. This multi-functional approach allows the system to maintain operational flexibility for different computational needs while reducing the overall number of operations required, thereby improving productivity

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20260005832A1Optimizing a computer program for a table lookup operation
Publication Date: 2026.01.01 ZAMA SAS
  • US20260005832A1 patent drawing
  • US20260005832A1 patent drawing
  • US20260005832A1 patent drawing

AI summary

The invention relates to a computer-implemented method (800) of optimizing a computer program for an execution environment that supports a table lookup operation. The computer program is represented as a computation graph, wherein respective nodes of the computation graph represent respective operations. For respective nodes, it is determined whether or not the respective node can be implemented by a table lookup operation. For a node that can be implemented by a table lookup operation, it is determined that one or more further nodes of the computation graph can be fused into the table lookup operation. A transformed representation of the computer program is output wherein the node and the one or more further nodes are fused into a single table lookup operation.