To emphasize the semantic impact of local semantic and grammatical information among adjacent words in the input text, we establish a constraint functions-based quantum-like tensor compression sentence representation model by integrating the concept of extending the pure state-based density matrix to the mixed-state projection operator in quantum mechanics. The provided model highlights the semantic significance of mixed word associations in the input text, simultaneously reducing the reliance on information derived solely from dictionary statistics. We combine the correlation coefficient with the attention mechanism to establish the correlation coefficient between words. The quantum-like sentence representation based on pure state density matrix is extended to the projection operator of mixed states. Combining the acquisition of maximum in convex optimization, a constraint functions-based quantum-like text representation pruning model is established to reduce redundant information caused by dimensional expansion of tensor operations. The experimental results on SICK-2014, STS-benchmark, and STS-companion show that the provided model is more effective than the mainstream models in mining semantic information, especially more sensitive to the negative semantics of sentences.
Read full abstract