Soft-prefix-based large language model question answering method and device
By constructing a vector retrieval library and utilizing attention weight information, soft prefixes are retrieved and injected to correct the focus of large language models, thus solving the logical error problem, improving output accuracy, and reducing computational costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING UNIV OF POSTS & TELECOMM
- Filing Date
- 2026-03-05
- Publication Date
- 2026-06-19
AI Technical Summary
Existing large language models are prone to logical errors when processing complex multi-step logic, resulting in inaccurate output results. Furthermore, existing correction methods are inefficient or rely on high-cost computing resources, making them difficult to apply effectively in high-precision fields.
By constructing a vector retrieval library and utilizing the attention weight information in the reasoning process of large language models, lightweight soft prefixes are retrieved and injected to directly correct the model's focus and improve output accuracy.
It improves the output accuracy of large language models, reduces computational resource consumption, adapts to different downstream tasks, and lowers correction costs.
Smart Images

Figure CN121766461B_ABST