# US 2025/0258647 A1 · Optimized weight, activation, and tile shuffling for hyperdimensional computing in analog in-memory computing

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

- Number: US 2025/0258647 A1
- Document ID: US20250258647A1
- Status: Published application
- Kind: A1
- Application number: 18/438,721
- Filed: 2024-02-12
- Published: 2025-08-14
- Earliest claimed: 2024-02-12
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Charles Mackin; Nanbo Gong; Steven Holmes
- Web page: https://patentgrep.com/patent/US20250258647A1

## CPC

- G06F 7/4915: {Multiplying; Dividing (G06F7/492, G06F7/498 take precedence)}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06F 2207/4814: Non-logic devices, e.g. operational amplifiers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method is provided which includes receiving array information associated with a processing core, the processing core including a plurality of tiles configured for performing one or more multiply-accumulate (MAC) operations. The method includes indexing the tiles, rows of the tiles, or both according to one or more metrics. The method includes performing an ordering based on the one or more metrics, where the ordering includes at least one of: an ordering of weights respectively associated with the rows; and an ordering of weights respectively associated with the tiles.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving array information associated with a processing core, the processing core comprising a plurality of tiles configured for performing one or more multiply-accumulate (MAC) operations;
indexing the tiles, rows of the tiles, or both according to one or more metrics; and
performing an ordering based on the one or more metrics, wherein the ordering comprises at least one of:
an ordering of weights respectively associated with the rows; and
an ordering of weights respectively associated with the tiles.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the ordering of the weights respectively associated with the rows comprises reassigning a row weight associated with a row of circuitry included in a set of tiles to another row of circuitry included in the set of tiles.

### Claim 2

A computing system having a memory having computer readable instructions and one or more processors for executing the computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:
receiving array information associated with a processing core, the processing core comprising a plurality of tiles configured for performing one or more multiply-accumulate (MAC) operations;
indexing the tiles, rows of the tiles, or both according to one or more metrics; and
performing an ordering based on the one or more metrics, wherein the ordering comprises at least one of:
an ordering of weights respectively associated with the rows; and
an ordering of weights respectively associated with the tiles.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the ordering of the weights respectively associated with the rows comprises reassigning a row weight associated with a row of circuitry included in a set of tiles to a row of circuitry included in another set of tiles.

### Claim 3

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations comprising:
receiving array information associated with a processing core, the processing core comprising a plurality of tiles configured for performing one or more multiply-accumulate (MAC) operations;
indexing the tiles, rows of the tiles, or both according to one or more metrics; and
performing an ordering based on the one or more metrics, wherein the ordering comprises at least one of:
an ordering of weights respectively associated with the rows; and
an ordering of weights respectively associated with the tiles.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the ordering of the weights respectively associated with the tiles comprises reassigning at least one weight associated with a tile included in the plurality of tiles to another tile included in the plurality of tiles.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the tile and the other tile are included in a subset of tiles included in the plurality of tiles.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the ordering comprises an ordering of activations respectively associated with the rows, wherein the ordering of the activations comprises:
reassigning a set of activations associated with a row of circuitry included in a set of tiles to another row of circuitry included in the set of tiles; or
reassigning the set of activations to a row of circuitry included in another set of tiles.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the ordering comprises an ordering of activations respectively associated with the tiles, wherein the ordering of the activations comprises:
reassigning a set of activations associated with a tile included in the plurality of tiles to another tile included in the plurality of tiles.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the tile and the other tile are included in a subset of tiles included in the plurality of tiles.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein:
the one or more metrics comprise one or more row metrics; and
indexing the tiles, the rows of the tiles, or both comprises indexing the rows according to the one or more row metrics.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein:
the one or more metrics comprise one or more row metrics; and
the method further comprises calculating one or more tile metrics based on the one or more row metrics,
wherein indexing the tiles, the rows of the tiles, or both comprises indexing the tiles according to the one or more tile metrics.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more row metrics comprise a mean weight of each of the rows.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more row metrics are based on one or more applied activations respectively associated with each of the rows.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more row metrics are based on:
a mean weight of each of the rows; and
one or more applied activations respectively associated with each of the rows.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, wherein each tile of the plurality of tiles comprises an array of resistive elements.

### Claim 15 (depends on 1)

The computer-implemented method of claim 1, wherein the processing core comprises an analog in-memory computing (AIMC) core.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, further comprising:
executing a simulation environment comprising the processing core,
wherein at least one of receiving the array information for the processing core, indexing the tiles, the rows of the tiles, or both, and performing the ordering is performed in the simulation environment.

### Claim 18 (depends on 17)

The computing system of claim 17, wherein the computer readable instructions controlling the one or more processors to perform the ordering of the weights respectively associated with the rows control the one or more processors to further perform operations comprising reassigning a row weight associated with a row of circuitry included in a set of tiles to another row of circuitry included in the set of tiles.

### Claim 19 (depends on 17)

The computing system of claim 17, wherein the computer readable instructions controlling the one or more processors to perform the ordering of the weights respectively associated with the rows control the one or more processors to further perform operations comprising reassigning a row weight associated with a row of circuitry included in a set of tiles to a row of circuitry included in another set of tiles.
