The present application relates to an entity matching method, device and medium based on meta-rule induction and retrieval, which comprises: obtaining a
label data set containing matching / mismatching
label pairs; obtaining a representative sample subset by using a sampling method based on
label balance and semantic diversity; for each label pair in the subset, generating matching reasoning basis and checking and correcting by a large
language model, and refining into an instance-level
natural language matching rule; embedding the instance-level rule into a
semantic vector and clustering, each cluster synthesizes a meta-rule to form a rule base;
rewriting the meta-rule into a task-adaptive rule according to the target scene; encoding the to-be-
matched sample pair into a query vector, calculating the
semantic similarity with the rule vector, and retrieving K rules by the maximum edge correlation criterion; inputting the to-be-
matched sample pair and the retrieved rule into the large
language model, and outputting the matching label. The present application refines the scarce supervision into the retrievable rewritten meta-rule, and realizes the stable generalization of the cross-entity matching task.