# Adversarial training of a model for question answering

*Источник: Google Patents*
*Дата: 2026-09-03*
*Язык: en*

Adversarial training of a model for question answering

Embodiments of the present disclosure provide a solution for adversarial model training. A method includes: generating a prompt input using an adversarial machine learning model; providing the prompt input to a target machine learning model, to generate a response to the prompt input; determining a first reward score for the response with respect to the prompt input; and fine-tuning the target machine learning model according to a first optimization objective, the first optimization objective being configured to increase or maximize the first reward score for the target machine learning model.

[Оригинал](https://patents.google.com/patent/US2026260122A1/en)