从正确示范中学习回答
Learning to Answer from Correct Demonstrations
AI总结:
本文提出了一种基于上下文老虎机的模仿学习方法,通过离线示范学习回答问题,无需显式奖励,样本复杂度与奖励类基数对数成正比,能处理任意自适应示范。
摘要:
我们研究了学习生成答案(或完成)以回答问题(或提示)的问题,其中可能存在多个正确答案,任何一个是测试时可接受的。学习基于每个训练问题的某些正确答案的示范,如同监督微调(SFT)。我们将问题形式化为上下文老虎机中的模仿学习(即学徒学习),使用来自某些专家(最优或非常优秀的)策略的离线示范,而没有显式观察到的奖励。与先前工作不同,后者假设示范者属于有界复杂度策略类,我们提出仅依赖于底层奖励模型(即指定哪些答案是正确的)属于有界复杂度类,我们认为这是一个更严格的假设。我们证明了最大似然方法在此设置中可能失效,并提出了一种学习回答几乎与示范者一样好的方法,其样本复杂度与奖励类的基数对数成正比。我们的方法类似于Syed和Schapire 2007的方法,当适应到上下文老虎机(即单步)设置时,但是一种简单的单次在线方法,享有“乐观速率”(即当示范者最优时为1/ε,而Syed和Schapire为1/ε²),并且即使在任意自适应的示范中也能工作。
英文摘要:
We study the problem of learning to generate an answer (or completion) to a question (or prompt), where there could be multiple correct answers, any one of which is acceptable at test time. Learning is based on demonstrations of some correct answer to each training question, as in Supervised Fine Tuning (SFT). We formalize the problem as imitation learning (i.e., apprenticeship learning) in contextual bandits, with offline demonstrations from some expert (optimal, or very good) policy, without explicitly observed rewards. In contrast to prior work, which assumes the demonstrator belongs to a bounded-complexity policy class, we propose relying only on the underlying reward model (i.e., specifying which answers are correct) being in a bounded-complexity class, which we argue is a strictly weaker assumption. We show that likelihood-maximization methods can fail in this setting, and instead present an approach that learns to answer nearly as well as the demonstrator, with sample complexity logarithmic in the cardinality of the reward class. Our method is similar to Syed and Schapire 2007, when adapted to a contextual bandit (i.e., single step) setup, but is a simple one-pass online approach that enjoys an "optimistic rate" (i.e., $1/\varepsilon$ when the demonstrator is optimal, versus $1/\varepsilon^2$ in Syed and Schapire), and works even with arbitrarily adaptive demonstrations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。