The application discloses a hierarchical text classification method and
system based on a lightweight graph convolutional network, acquires news body text data to be classified and a
label with a hierarchical structure corresponding to the news body text data; the acquired data is input into a trained text classification network, and a text
classification result is output; the trained text classification network adopts a first BERT
encoder to perform encoding
processing on the news body text data to be classified, and obtains body text feature representation; a lightweight graph convolutional network is adopted to perform
feature extraction on the
label with the hierarchical structure, and
label text representation is obtained; an attention mechanism layer is adopted to process the body text representation and the label text representation, and a label-aware
positive sample is obtained; a second BERT
encoder is adopted to process the label-aware
positive sample, and label-aware
positive sample representation is obtained; and a classifier is adopted to classify the body text feature representation and the label-aware positive sample representation, and a text
classification result is obtained.