CPC G06F 16/2455 (2019.01) [G06F 16/24542 (2019.01); G06F 16/2457 (2019.01); G06F 16/2474 (2019.01); G06F 18/217 (2023.01)] | 18 Claims |
1. A method comprising:
receiving a query in a query sequence, the query directed toward a dataset;
applying a sampling agent module to select, for the query, a sample from among samples of the dataset, wherein the sampling agent module includes an ML model trained to select respective samples for queries via intent-based reinforcement learning, and wherein selecting the sample comprises:
providing, as input to the ML model, previous queries in the query sequence and respective responses to the previous queries,
determining a computation cost as a sum of respective computation costs of previous samples selected for the previous queries in the query sequence,
providing the computation cost as further input to the ML model, and
selecting the sample based on output from the ML model;
executing the query against the sample; and
outputting a response to the query.
|