Patent attributes
The present disclosure provides a generalization processing method, apparatus, device and computer storage medium, and relates to technical field of artificial intelligence and specifically to a deep learning technique. A specific implementation solution is: determining a set of candidate queries in a query library that are similar to a requested query in at least one of a literal matching manner, a semantic matching manner and a query rewriting manner; determining a generalized query corresponding to the requested query from the set of candidate queries by using a pre-trained query matching model; wherein the query matching model is obtained by pre-training based on a cross attention model. The generalization for the requested query can be achieved according to the present disclosure.