# US 2026/0310748 A1 · Systems and methods to efficiently process matrices in llms using singular value decomposition

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0310748 A1
- Document ID: US20260310748A1
- Status: Published application
- Kind: A1
- Application number: 19/173,601
- Filed: 2025-04-08
- Published: 2026-10-08
- Earliest claimed: 2025-04-08
- Assignees: Cornami, Inc.
- Applicants: Cornami, Inc.
- Inventors: Fa-Long Luo; Paul Master
- Web page: https://patentgrep.com/patent/US20260310748A1

## CPC

- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for reducing computation of matrices in an application such as a large language model in ciphertext format and plaintext format. The example method uses singular value decomposition to zero out values in a matrix such as a weight matrix to produce a reduced matrix. The reduced matrix is used to determine two smaller matrices, which are multiplied with each other and the reduced weight matrix. Since multiplication and memory access are performed on smaller matrices, computational resources required are less in the example method. The example method thus reduces the complexity of matrix based calculations.

## Claims

### Claim 1

A method to reduce computation of a matrix by a computer processor, the method comprising:
determining a weight matrix having a first dimension and a second dimension;
eliminating elements of the weight matrix by singular value decomposition to produce a reduced weight matrix of a third dimension by the third dimension by the computer processor;
determining a first reduced matrix of the first dimension and the third dimension;
determining a second reduced matrix of the second dimension and the third dimension; and
multiplying the reduced weight matrix by the first reduced matrix and the second reduced matrix to solve the weight matrix via the processor.

### Claim 2 (depends on 1)

The method of claim 1, further comprising multiplying the first reduced matrix and the second reduced matrix by an input to produce a matrix output from the solved weight matrix.

### Claim 3 (depends on 2)

The method of claim 2, wherein the weight matrix is ciphertext and the input is plaintext.

### Claim 4 (depends on 2)

The method of claim 2, wherein the weight matrix is plaintext and the input is plaintext.

### Claim 5 (depends on 3)

The method of claim 3, wherein the ciphertext is generated via encryption performed via a Fully Homomorphic Encryption (FHE) process.

### Claim 6 (depends on 1)

The method of claim 1, wherein the weight matrix is one of a key matrix, query matrix or a value matrix.

### Claim 7 (depends on 6)

The method of claim 6, wherein the output of the multiplications of the reduced weight matrix is part of inferring a large language model.

### Claim 8 (depends on 6)

The method of claim 6, wherein the output of the multiplications of the reduced weight matrix is part of training a large language model.

### Claim 9 (depends on 1)

The method of claim 1, further comprising adding a reduced scale version of the weight matrix to the results of multiplying the reduced weight matrix by the first reduced matrix and the second reduced matrix to perform quantization.

### Claim 10

A computer system configured to reduce computation of a matrix, the computer system comprising:
a memory storing a weight matrix having a first dimension and a second dimension; and
a processing unit coupled to the memory, the processing unit operable to:
eliminate elements of the weight matrix by singular value decomposition to produce a reduced weight matrix of a third dimension by the third dimension;
determine a first reduced matrix of the first dimension and the third dimension;
determine a second reduced matrix of the second dimension and the third dimension; and
multiply the reduced weight matrix by the first reduced matrix and the second reduced matrix to solve the weight matrix.

### Claim 11 (depends on 10)

The computer system of claim 10, wherein the processing unit includes a plurality of configurable processing cores interconnected with each other, wherein at least some of the processing cores are configured to performing determining and multiplying.

### Claim 12 (depends on 10)

The computer system of claim 10, further comprising an input interface coupled to the processing unit, the input interface accepting an input, wherein the processing unit is operable to multiply the input by the first reduced matrix and the second reduced matrix to produce a matrix output from the solved weight matrix.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the weight matrix is ciphertext and the input is plaintext.

### Claim 14 (depends on 12)

The computer system of claim 12, wherein the weight matrix is plaintext and the input is plaintext.

### Claim 15 (depends on 12)

The computer system of claim 12, wherein the processing unit is operable to generate ciphertext via encryption performed via a Fully Homomorphic Encryption (FHE) process.

### Claim 16 (depends on 12)

The computer system of claim 12, wherein the weight matrix is one of a key matrix, query matrix or a value matrix.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein the output of the multiplications of the reduced weight matrix is performed by the processing unit in inferring a large language model.

### Claim 18 (depends on 16)

The computer system of claim 16, wherein the output of the multiplications of the reduced weight matrix is performed by the processing unit in training a large language model.

### Claim 19 (depends on 10)

The computer system of claim 10, wherein the processing unit is operable to add a reduced scale version of the weight matrix to the results of multiplying the reduced weight matrix by the first reduced matrix and the second reduced matrix to perform quantization.

### Claim 20

A non-transitory computer-readable medium having machine-readable instructions stored thereon, which when executed by a processor, cause the processor to:
determine a weight matrix having a first dimension and a second dimension;
eliminate elements of the weight matrix by singular value decomposition to produce a reduced weight matrix of a third dimension by the third dimension;
determine a first reduced matrix of the first dimension and the third dimension;
determine a second reduced matrix of the second dimension and the third dimension; and
multiply the reduced weight matrix by the first reduced matrix and the second reduced matrix to solve the weight matrix.
