METHOD FOR COMPRESSING PROMPT INFORMATION, ELECTRONIC DEVICE, AND STORAGE MEDIUM
Application
US20260080253A1
Kind: A1
Mar 19, 2026
Assignee
BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Inventors
Xinjiang Lu, Lijun Liu, Jingbo Zhou
Abstract
A method for compressing prompt information includes: obtaining first prompt information of a language model (LM); obtaining target length constraint information; and obtaining second prompt information of the LM by compressing the first prompt information based on the target length constraint information; in which a number of first tokens of the first prompt information is greater than a number of second tokens of the second prompt information, and semantics of the second prompt information is relevant to semantics of the first prompt information.
CPC Classifications
G06N 3/09
G06F 40/12
Filing Date
2025-11-28
Application No.
19403516