IP Library Granted Patent US 12,361,284
Granted Patent B2
US 12,361,284 · App. 17/371,823 · Granted Jul 15, 2025

Machine learning apparatus and method for machine learning by using tensor including plurality of axes as input

Inventor: Ryo Ishizaki (Kawasaki, JP)
Assignee: Fujitsu Limited
G06N3/08G06F18/211G06F18/213G06F18/29
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,361,284
App. No.
17/371,823
Granted
Jul 15, 2025
Kind
B2
Abstract

A non-transitory computer-readable recording medium having stored therein a machine learning program executable by one or more computers, the machine learning program including an instruction for generating a tensor comprising a first axis, a second axis, and a third axis, the first axis and the second axis representing relationships of a plurality of nodes included in graph information including data representing attributes of the plurality of nodes in the hierarchical structure, the third axis representing separately first data included in a first layer of the hierarchical structure and second data included in a second layer of the hierarchical structure, and an instruction for training a machine learning model by using the tensor as an input.

Claims (41)

1. A non-transitory computer-readable recording medium having stored therein a machine learning program executable by one or more computers, the machine learning program comprising:

an instruction for collecting, from a memory, graph information including a plurality of nodes and data representing attributes of the plurality of nodes, the attributes being a hierarchical structure,

an instruction for generating a tensor being three dimensional structured data and comprising a first axis, a second axis, and a third axis, the first axis and the second axis representing relationships of the plurality of nodes included in the graph information, the third axis representing separately first data included in a first layer of the hierarchical structure and second data included in a second layer of the hierarchical structure, and

an instruction for training a machine learning model by using the tensor being the three dimensional structured data as an input, wherein

the generating of the tensor comprises generating the third axis representing the attributes by synthesizing, for each combination of a value of the first data and a value of the second data, the first data and the second data such that the first data and the second data according to the combination are distinguished from each other, and

the training comprises inputting a core tensor obtained by performing tensor decomposition of the tensor into the machine learning model, updating a parameter of a neural network of the model, and updating a parameter of the tensor decomposition.

2. The non-transitory computer-readable recording medium according to claim 1 , wherein

the generating of the tensor comprises generating the third axis by synthesizing, for each combination of nodes selected from the plurality of nodes, the first data and the second data related to one node of the combination such that the first data in the third axis is distinguished from the second data in the third axis.

3. The non-transitory computer-readable recording medium according to claim 2 , wherein

the generating of the tensor comprises performing an arithmetic operation, by using a vectorization operator, on information of a second slice of the second axis extracted from a first slice extracted from the first axis.

4. The non-transitory computer-readable recording medium according to claim 1 , the machine learning program further comprising an instruction for outputting a result of determination obtained by inputting a tensor including a first axis, a second axis, and a third axis that are generated, based on other graph information, into the machine learning model after the training.

5. The non-transitory computer-readable recording medium according to claim 1 , wherein

the first layer is an upper layer compared with the second layer.

6. A machine learning apparatus comprising:

a memory that stores graph information including a plurality of nodes and data representing attributes of the plurality of nodes, the attributes being a hierarchical structure; and

a processor coupled to the memory, the processor being configured to:

perform collection of the graph information from the memory,

perform generation of a tensor being three dimensional structured data and comprising a first axis, a second axis, and a third axis, the first axis and the second axis representing relationships of the plurality of nodes included in the graph information, the third axis representing separately first data included in a first layer of the hierarchical structure and second data included in a second layer of the hierarchical structure, and

perform training of a machine learning model by using the tensor being the three dimensional structured data as an input, wherein

the generation of the tensor comprises generating the third axis representing the attributes by synthesizing, for each combination of a value of the first data and a value of the second data, the first data and the second data such that the first data and the second data according to the combination are distinguished from each other, and

the training comprises inputting a core tensor obtained by performing tensor decomposition of the tensor into the machine learning model, updating a parameter of a neural network of the model, and updating a parameter of the tensor decomposition.

7. The machine learning apparatus according to claim 6 , wherein

the generation includes generating the third axis by synthesizing, for each combination of nodes selected from the plurality of nodes, the first data and the second data related to one node of the combination such that the first data in the third axis is distinguished from the second data in the third axis.

8. The machine learning apparatus according to claim 7 , wherein

the generation includes performing an arithmetic operation, by using a vectorization operator, on information of a second slice of the second axis extracted from a first slice extracted from the first axis.

9. The machine learning apparatus according to claim 6 , wherein the processor is further configured to output a result of determination obtained by inputting a tensor including a first axis, a second axis, and a third axis that are generated, based on other graph information, into the machine learning model after the training.

10. The machine learning apparatus according to claim 6 , wherein:

the first layer is an upper layer compared with the second layer.

11. A computer-implemented method for machine learning comprising:

performing collection, from a memory, of graph information including a plurality of nodes and data representing attributes of the plurality of nodes, the attributes being a hierarchical structure,

performing generation of a tensor being three dimensional structured data and comprising a first axis, a second axis, and a third axis, the first axis and the second axis representing relationships of the plurality of nodes included in the graph information, the third axis representing separately first data included in a first layer of the hierarchical structure and second data included in a second layer of the hierarchical structure, and

performing training of a machine learning model by using the tensor being the three dimensional structured data as an input, wherein

the generation of the tensor comprises generating the third axis representing the attributes by synthesizing, for each combination of a value of the first data and a value of the second data, the first data and the second data such that the first data and the second data according to the combination are distinguished from each other, and

the training comprises inputting a core tensor obtained by performing tensor decomposition of the tensor into the machine learning model, updating a parameter of a neural network of the model, and updating a parameter of the tensor decomposition.

12. The method according to claim 11 , wherein

the generation includes generating the third axis by synthesizing, for each combination of nodes selected from the plurality of nodes, the first data and the second data related to one node of the combination such that the first data in the third axis is distinguished from the second data in the third axis.

13. The method according to claim 12 , wherein

the generation includes performing an arithmetic operation, by using a vectorization operator, on information of a second slice of the second axis extracted from a first slice extracted from the first axis.

14. The method according to claim 11 , further comprising outputting a result of determination obtained by inputting a tensor including a first axis, a second axis, and a third axis that are generated, based on other graph information, into the machine learning model after the training.

15. The method according to claim 11 , wherein:

the first layer is an upper layer compared with the second layer.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 9, 2021
From: ISHIZAKI, RYO
To: FUJITSU LIMITED
Reel/Frame 056805/0402 →
Priority Claims (1)
JP 2020-171167 · Oct 9, 2020 · national
Continuity (1)
Related Publication 20220114442A1 · Apr 14, 2022
References Cited (18)
US 9317567B1 · Lu et al. · 2016 [cited by applicant]
US 9934462B1 · Healey · 2018 [cited by examiner]
US 10861213B1 · Holzer · 2020 [cited by examiner]
US 11829867B2 · Iwakura · 2023 [cited by examiner]
US 20150261846A1 · Hall · 2015 [cited by examiner]
US 20190130270A1 · Nicol et al. · 2019 [cited by applicant]
US 20200151580A1 · Horesh · 2020 [cited by examiner]
US 20210240439A1 · Ge · 2021 [cited by examiner]
US 20220092336A1 · Yu · 2022 [cited by examiner]
US 20220415059A1 · Smolyanskiy · 2022 [cited by examiner]
US 20230069986A1 · Tamiya · 2023 [cited by examiner]
US 20230342595A1 · Wang · 2023 [cited by examiner]
US 20240211539A1 · Nakao · 2024 [cited by examiner]
CN 112292816A · 2021 [cited by examiner]
CN 110993094B · 2023 [cited by examiner]
CN 117876551A · 2024 [cited by examiner]
JP 2019164753A · 2019 [cited by applicant]
JP 2019191781A · 2019 [cited by applicant]