Sample generation method and device, model training method and system, and storage medium
By automatically generating question-and-answer sample data, using the target word replacement method to generate adversarial attack samples and train the question-and-answer model, the problems of low efficiency and manual dependence in existing technologies are solved, and the robustness and predictive ability of the question-and-answer system are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
- Filing Date
- 2023-02-08
- Publication Date
- 2026-07-21
AI Technical Summary
In existing technologies, the generation of adversarial attack samples in question-answering systems is inefficient and requires manual intervention, making them unsuitable for large-scale use and unable to effectively improve the robustness and predictive ability of the model.
By automatically generating question-and-answer sample data, using the target word replacement method, determining the attack text based on the perturbation capability of the replaced text, generating adversarial attack samples, and training the question-and-answer model with these samples, the robustness and attack capability of the model are improved.
It improves the efficiency of generating adversarial attack samples and the attack capability of the question-answering model, enhances the robustness and predictive ability of the model, and reduces manual costs.
Smart Images

Figure CN116108154B_ABST