# US 2023/0409806 A1 · Permutation invariance for representing linearized tabular data

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

- Number: US 2023/0409806 A1
- Document ID: US20230409806A1
- Status: Published application
- Kind: A1
- Application number: 17/807,461
- Filed: 2022-06-17
- Published: 2023-12-21
- Earliest claimed: 2022-06-17
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sarthak Dash; Sugato Bagchi; NANDANA MIHINDUKULASOORIYA; Alfio Massimiliano Gliozzo
- Web page: https://patentgrep.com/patent/US20230409806A1

## CPC

- G06F 40/157: using dictionaries or tables
- G06F 40/18: of spreadsheets (form-filling G06F40/174)
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An embodiment for encoding permutation-invariant representations of linearized tabular data. The embodiment may receive input including tabular data and linearize a column or row within the received tabular data. The embodiment may automatically assign an increasing sequence of position identifiers to each non-delimiting tokenized cell in the linearized column or row until a header delimiter is reached. The embodiment may, in response to reaching the header delimiter, automatically assign a monotonically increasing sequence of position identifiers for each non-delimiting tokenized cell positioned after the header delimiter, restarting from an integer corresponding to 1 greater than the position identifier assigned to the header delimiter for each non-delimiting tokenized cell positioned after cell delimiters. The embodiment may automatically assign a static position identifier for each of the cell delimiters in the linearized column or row and output an encoded permutation-invariant representation of the linearized column or row.

## Claims

### Claim 1

A computer-based method of encoding tabular data with permutation invariance, the method comprising:
receiving input including tabular data and linearizing a column or row within the received tabular data;
automatically assigning an increasing sequence of position identifiers to each non-delimiting tokenized cell in the linearized column or row until a header delimiter is reached;
in response to reaching the header delimiter, automatically assigning a monotonically increasing sequence of position identifiers for each non-delimiting tokenized cell positioned after the header delimiter, restarting from an integer corresponding to 1 greater than the position identifier assigned to the header delimiter for each non-delimiting tokenized cell positioned after cell delimiters;
automatically assigning a static position identifier for each of the cell delimiters in the linearized column or row, the static position identifier being 1 greater than a highest position identifier assigned to the non-delimiting tokenized cells; and
automatically outputting an encoded permutation-invariant representation of the linearized column or row.

### Claim 2 (depends on 1)

The computer-based method of claim 1, further comprising inputting the encoded permutation invariant representation into a pretrained transformer model to generate a final vector.

### Claim 3 (depends on 2)

The computer-based method of claim 2, further comprising using the generated final vector as an input for performing table search functions.

### Claim 4 (depends on 2)

The computer-based method of claim 2, further comprising using the final vector as an input for performing for table question-answering functions.

### Claim 5 (depends on 2)

The computer-based method of claim 2, further comprising using the final vector as an input for performing table interpretation functions.

### Claim 6 (depends on 2)

The computer-based method of claim 2, further comprising using the final vector as an input in a down-stream table analytics function carried out in a supervised setup.

### Claim 7 (depends on 2)

The computer-based method of claim 2, further comprising using the final vector as an input for performing a down-stream table analytics function carried out in a zero-shot setting.

### Claim 8

A computer system, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more computer-readable tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more computer-readable memories, wherein the computer system is capable of performing a method comprising:
receiving input including tabular data and linearizing a column or row within the received tabular data;
automatically assigning an increasing sequence of position identifiers to each non-delimiting tokenized cell in the linearized column or row until a header delimiter is reached;
in response to reaching the header delimiter, automatically assigning a monotonically increasing sequence of position identifiers for each non-delimiting tokenized cell positioned after the header delimiter, restarting from an integer corresponding to 1 greater than the position identifier assigned to the header delimiter for each non-delimiting tokenized cell positioned after cell delimiters;
automatically assigning a static position identifier for each of the cell delimiters in the linearized column or row, the static position identifier being 1 greater than a highest position identifier assigned to the non-delimiting tokenized cells; and
automatically outputting an encoded permutation-invariant representation of the linearized column or row.

### Claim 9 (depends on 8)

The computer system of claim 8, further comprising inputting the encoded permutation invariant representation into a pretrained transformer model to generate a final vector.

### Claim 10 (depends on 9)

The computer system of claim 9, further comprising using the generated final vector as an input for performing table search functions.

### Claim 11 (depends on 9)

The computer system of claim 9, further comprising using the final vector as an input for performing for table question-answering functions.

### Claim 12 (depends on 9)

The computer system of claim 9, further comprising using the final vector as an input for performing table interpretation functions.

### Claim 13 (depends on 9)

The computer system of claim 9, further comprising using the final vector as an input in a down-stream table analytics function carried out in a supervised setup.

### Claim 14 (depends on 9)

The computer system of claim 9, further comprising using the final vector as an input for performing a down-stream table analytics function carried out in a zero-shot setting.

### Claim 15

A computer program product, the computer program product comprising:
one or more computer-readable tangible storage medium and program instructions stored on at least one of the one or more computer-readable tangible storage medium, the program instructions executable by a processor capable of performing a method, the method comprising:
receiving input including tabular data and linearizing a column or row within the received tabular data;
automatically assigning an increasing sequence of position identifiers to each non-delimiting tokenized cell in the linearized column or row until a header delimiter is reached;
in response to reaching the header delimiter, automatically assigning a monotonically increasing sequence of position identifiers for each non-delimiting tokenized cell positioned after the header delimiter, restarting from an integer corresponding to 1 greater than the position identifier assigned to the header delimiter for each non-delimiting tokenized cell positioned after cell delimiters;
automatically assigning a static position identifier for each of the cell delimiters in the linearized column or row, the static position identifier being 1 greater than a highest position identifier assigned to the non-delimiting tokenized cells; and
automatically outputting an encoded permutation-invariant representation of the linearized column or row.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising inputting the encoded permutation invariant representation into a pretrained transformer model to generate a final vector.

### Claim 17 (depends on 16)

The computer program product of claim 16, further comprising using the generated final vector as an input for performing table search functions.

### Claim 18 (depends on 16)

The computer program product of claim 16, further comprising using the final vector as an input for performing for table question-answering functions.

### Claim 19 (depends on 16)

The computer program product of claim 16, further comprising using the final vector as an input for performing table interpretation functions.

### Claim 20 (depends on 16)

The computer program product of claim 16, further comprising using the final vector as an input in a down-stream table analytics function carried out in a supervised setup.
