Patentes CM
Logo

METHOD FOR PROCESSING AN ELECTROENCEPHALOGRAPHY DATA FILE

Fundación Universidad Francisco de Vitoria

Detalles de la patente

Resumen

The invention provides a method for processing an electroencephalography data file, with the steps of: a. an electroencephalography device produces a data file containing a plurality of channels, b. retrieving the data file and extract at least one temporal window from the temporal range, c. generating one graph for one of the temporal windows, using the data of all the channels in the corresponding temporal window, the graph containing nodes (for channels) and edges (for relation between channels), d. defining a connectivity vector for each node, wherein each element of the connectivity vector equals to the connectivity value of an edge for the pair of nodes which have a connectivity value equal or higher than a connectivity threshold, and equals to zero for the nodes which have a connectivity value lower than a connectivity threshold, e. defining an adjacency matrix containing an adjacency vector for each node, wherein the value of each element of an adjacency vector corresponds to the value of the same element of the equivalent connectivity vector, but adjusted to 1 if this element is greater than zero, f. introducing the set of connectivity vectors and the adjacency matrix as an input in a graph attention network run by the processor, wherein the graph attention network is configured to apply a transformation over each connectivity vector using the adjacency matrix as an input, thus obtaining a final output value for each connectivity vector, g. arranging each final output value in a temporal output vector, so that a temporal output vector is obtained for all the nodes for the temporal window, h. repeating the steps c. to g. for each temporal window, thus obtaining a number of temporal output vectors which corresponds to the number of temporal windows; and i. obtaining a final output vector by using the graph attention network to calculate the mean value of the temporal output vectors.

Reivindicaciones

  1. A method for processing an electroencephalography data file, the method comprising the steps of: a. an electroencephalography device (1) containing electrodes (2) produces a data file containing a plurality of channels, each channel containing data of one electrode for a temporal range, the temporal range being the same for every channel and lasting a plurality of seconds; b. using a processor (5) to retrieve the data file and extract at least one temporal window of the temporal range, each temporal window lasting a subrange of seconds; c. using the processor to generate one graph for one of the temporal windows, using the data of all the channels in the corresponding temporal window, wherein the graph contains nodes (7) and edges (8), each edge (8) connecting a pair of nodes (7), wherein each node (7) refers to an electrode associated to one channel and wherein each edge (8) contains a connectivity value obtained from the data for the corresponding pair of nodes (7) joined by the edge (8); d. using the processor (5) to define a connectivity vector for each node, wherein the connectivity vector has a size of Nx1, N being the number of nodes, and wherein each element of the connectivity vector equals to the connectivity value of an edge for the pair of nodes which have a connectivity value equal or higher than a connectivity threshold, and equals to zero for the nodes which have a connectivity value lower than a connectivity threshold; e. using the processor to define an adjacency matrix (10) containing an adjacency vector for each node, wherein the value of each element of an adjacency vector corresponds to the value of the same element of the equivalent connectivity vector, but adjusted to 1 if this element is greater than zero; f. introducing the set of connectivity vectors and the adjacency matrix (10) as an input in a graph attention network run by the processor, wherein the graph attention network is configured to apply a transformation over each connectivity vector using the adjacency matrix (10) as an input, thus obtaining a final output value for each connectivity vector; g. arranging each final output value in a temporal output vector, so that a temporal output vector is obtained for all the nodes for the temporal window; h. repeating the steps c. to g. for each temporal window, thus obtaining a number of temporal output vectors (20) which corresponds to the number of temporal windows; and i. obtaining a final output vector by using the graph attention network to calculate the mean value of the temporal output vectors (20) wherein the graph attention network has been previously trained by performing steps b. to j. with a dataset which comprises data files of electroencephalography devices and by correcting the output of the graph attention network.
  2. Method according to any of the preceding claims, wherein the subrange of seconds is 2 seconds.
  3. Method according to any of the preceding claims, wherein the step of obtaining the connectivity value for each edge in step c. is performed by dividing the covariance of the data of the pair of nodes of the corresponding edge by the product of the standard deviations of the data of each of the two nodes of the pair of nodes.
  4. Method according to any of the preceding claims, wherein the connectivity threshold is comprised between 0.6 and 0.7.
  5. Method according to any of the preceding claims, wherein the graph attention network comprises a first graph attention layer and a second graph attention layer, wherein the first graph attention layer is configured to receive the adjacency matrix and the connectivity vectors as inputs and comprises two attention mechanisms (13), each attention mechanism being configured to provide an output vector (14) of four values for each connectivity vector, so that the first graph attention layer is configured to provide, for each connectivity vector, a first output vector (15) of eight values obtained by the concatenation of the two output vectors (14) of four values produced by each attention mechanism (13); the second graph attention layer is configured to receive the first output vector (15) and the adjacency matrix as inputs, and comprises four attention mechanisms (16), each attention mechanism being configured to provide an output value (17), so that the second graph attention layer is configured to provide, for each first output vector, a single mean value (18) obtained by calculating the mean value of the four output values (17) produced by each attention mechanism (16); and the graph attention network is further configured to apply a sigmoid transformation to the mean value, thus obtaining the final output value (19) associated to the connectivity vector for the corresponding temporal window.
  6. Method according to claim 5, the step of training the graph attention network uses the output of the second graph attention layer and calculates a loss function as the binary cross entropy with logit loss.
  7. Method according to any of claims 5 to 6, wherein each attention mechanism (13) of the first graph attention layer is configured to apply the following transformation: h i l + 1 = σ ∑ j ∈ N i α ij l W h j l <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0022" /> wherein h i l + 1 <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0023" /> is the representation of node i obtained as the output of the attention layer; h j l <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0024" /> is the representation of the nodes which are neighbouring node i; W is the weight matrix for feature transformation and has a size of Nx4, N being the number of nodes; σ is the activation function and equals to Exponential Linear Unit (alpha: 1,0) α ij l <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0025" /> is the attention coefficient of the node i with node j, α ij l = softma x j σ a a T ∗ W h i ∥ W h j , <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0026" /> σa is the attention coefficient activation function and is LeakyReLU (step = 0,2); Whi ∥ Whj is the concatenation of the transformed representations of node i and node j; aT is the attention weight matrix and has a size of 1x8.
  8. Method according to any of claims 5 to 7, wherein each attention mechanism (16) of the second graph attention layer is configured to apply the following transformation: h i l + 1 = σ ∑ j ∈ N i α ij l W h j l <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0027" /> wherein h i l + 1 <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0028" /> is the representation of node i obtained as the output of the attention layer; h j l <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0029" /> is the representation of the nodes which are neighbouring node i; W is the weight matrix and has a size of 8x1; σ is the activation function and equals to identity function; α ij l <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0030" /> is the attention coefficient of the node i with node j, α ij l = softma x j σ a a T ∗ W h i ∥ W h j , <img class="EMIRef" id="efa6a22e-5efc-4a24-9a30-7d4a0d4e07ba-ib0031" /> σa is the attention coefficient activation function and is LeakyReLU (step = 0,2); Whi ∥ Whj is the concatenation of the transformed representations of node i and node j; aT is the attention weight matrix and has a size of 1x2.
Inventores
  • GARCÍA TEJEDOR, Álvaro José
  • MAITÍN LÓPEZ, Ana María
  • ÁLVAREZ de TOLEDO LLOBERA, Inés
  • ROMERO MUÑOZ, Juan Pablo
Solicitantes
  • Fundación Universidad Francisco de Vitoria
Clasificación IPC

A61B 5/ 00 A I, A61B 5/ 372 A I

Nº de publicación

EP.4563088.A1

Fecha de publicación

4 de junio de 2025

Nº de solicitud

23383235

Fecha de presentación

30 de noviembre de 2023

Estado legal
docdbfechacodigodescripcion
EP.4563088.A12026-10-21PG25LAPSED IN A CONTRACTING STATE [ANNOUNCED VIA POSTGRANT INFORMATION FROM NATIONAL OFFICE TO EPO]
EP.4563088.A12026-10-20PG25LAPSED IN A CONTRACTING STATE [ANNOUNCED VIA POSTGRANT INFORMATION FROM NATIONAL OFFICE TO EPO]
EP.4563088.A12026-10-17PG25LAPSED IN A CONTRACTING STATE [ANNOUNCED VIA POSTGRANT INFORMATION FROM NATIONAL OFFICE TO EPO]
EP.4563088.A12026-10-14PG25LAPSED IN A CONTRACTING STATE [ANNOUNCED VIA POSTGRANT INFORMATION FROM NATIONAL OFFICE TO EPO]
EP.4563088.A12026-10-13PG25LAPSED IN A CONTRACTING STATE [ANNOUNCED VIA POSTGRANT INFORMATION FROM NATIONAL OFFICE TO EPO]
EP.4563088.A12026-10-13PG25LAPSED IN A CONTRACTING STATE [ANNOUNCED VIA POSTGRANT INFORMATION FROM NATIONAL OFFICE TO EPO]
EP.4563088.A12026-08-21PG25LAPSED IN A CONTRACTING STATE [ANNOUNCED VIA POSTGRANT INFORMATION FROM NATIONAL OFFICE TO EPO]
EP.4563088.A12026-05-26REGREFERENCE TO A NATIONAL CODE
EP.4563088.A12026-05-20U01REQUEST FOR UNITARY EFFECT FILED
EP.4563088.A12026-05-20U07UNITARY EFFECT REGISTERED
EP.4563088.A12026-04-23REGREFERENCE TO A NATIONAL CODE
EP.4563088.A12026-04-22REGREFERENCE TO A NATIONAL CODE
EP.4563088.A12026-04-01AKDESIGNATED CONTRACTING STATES
EP.4563088.A12026-04-01REGREFERENCE TO A NATIONAL CODE
EP.4563088.A12026-04-01REGREFERENCE TO A NATIONAL CODE
EP.4563088.A12026-02-27GRAA(EXPECTED) GRANT
EP.4563088.A12026-02-27STAAINFORMATION ON THE STATUS OF AN EP PATENT APPLICATION OR GRANTED EP PATENT
EP.4563088.A12026-02-20GRASGRANT FEE PAID
EP.4563088.A12025-12-03RAP3PARTY DATA CHANGED (APPLICANT DATA CHANGED OR RIGHTS OF AN APPLICATION TRANSFERRED)
EP.4563088.A12025-11-26INTGINTENTION TO GRANT ANNOUNCED
EP.4563088.A12025-11-05RIC1INFORMATION PROVIDED ON IPC CODE ASSIGNED BEFORE GRANT
EP.4563088.A12025-11-05RIC1INFORMATION PROVIDED ON IPC CODE ASSIGNED BEFORE GRANT
EP.4563088.A12025-10-2917PREQUEST FOR EXAMINATION FILED
EP.4563088.A12025-10-27GRAPDESPATCH OF COMMUNICATION OF INTENTION TO GRANT A PATENT
EP.4563088.A12025-10-27STAAINFORMATION ON THE STATUS OF AN EP PATENT APPLICATION OR GRANTED EP PATENT
EP.4563088.A12025-09-26STAAINFORMATION ON THE STATUS OF AN EP PATENT APPLICATION OR GRANTED EP PATENT
EP.4563088.A12025-06-04AKDESIGNATED CONTRACTING STATES
EP.4563088.A12025-05-02PUAIPUBLIC REFERENCE MADE UNDER ARTICLE 153(3) EPC TO A PUBLISHED INTERNATIONAL APPLICATION THAT HAS ENTERED THE EUROPEAN PHASE
EP.4563088.A12025-05-02STAAINFORMATION ON THE STATUS OF AN EP PATENT APPLICATION OR GRANTED EP PATENT
Patentes relacionadas