Multi-granularity semantic embedding and multi-directional semantic interaction based carbon emission factor matching method
Патент · CN B
Полный текст
The invention relates to an intelligent carbon emission factor matching method and system based on multi-granularity semantic embedding and multi-directional semantic interaction, and belongs to the technical field of carbon emission accounting and intelligent semantic matching. The method comprises the steps of preprocessing collected activity data and carbon emission factor data to generate a standard word sequence and a standard character sequence, constructing multi-granularity semantic embedding combining word level and word level through fusion of the character level and a domain fine tuning model, extracting a context feature sequence through BiLSTM, realizing multi-directional semantic interaction and alignment through a cosine similarity matrix, attention weighting and the like, comparing and feature fusion through a feedforward network, aggregating time step information, and finally outputting a matching score through a full-connection layer and a Softmax function. The invention effectively solves the problems of single semantic representation granularity, lack of interaction mechanism among sentences and low matching precision caused by unregistered words in the prior art, and remarkably improves the accuracy, robustness and efficiency of matching the carbon emission factors.