# Practical Kernel-Based Reinforcement Learning

André M.S. Barreto, Doina Precup, Joelle Pineau.

Year: 2016, Volume: 17, Issue: 67, Pages: 1−70

#### Abstract

Kernel-based reinforcement learning (KBRL) stands out among approximate reinforcement learning algorithms for its strong theoretical guarantees. By casting the learning problem as a local kernel approximation, KBRL provides a way of computing a decision policy which converges to a unique solution and is statistically consistent. Unfortunately, the model constructed by KBRL grows with the number of sample transitions, resulting in a computational cost that precludes its application to large-scale or on-line domains. In this paper we introduce an algorithm that turns KBRL into a practical reinforcement learning tool. Kernel-based stochastic factorization (KBSF) builds on a simple idea: when a transition probability matrix is represented as the product of two stochastic matrices, one can swap the factors of the multiplication to obtain another transition matrix, potentially much smaller than the original, which retains some fundamental properties of its precursor. KBSF exploits such an insight to compress the information contained in KBRL's model into an approximator of fixed size. This makes it possible to build an approximation considering both the difficulty of the problem and the associated computational cost. KBSF's computational complexity is linear in the number of sample transitions, which is the best one can do without discarding data. Moreover, the algorithm's simple mechanics allow for a fully incremental implementation that makes the amount of memory used independent of the number of sample transitions. The result is a kernel-based reinforcement learning algorithm that can be applied to large-scale problems in both off-line and on-line regimes. We derive upper bounds for the distance between the value functions computed by KBRL and KBSF using the same data. We also prove that it is possible to control the magnitude of the variables appearing in our bounds, which means that, given enough computational resources, we can make KBSF's value function as close as desired to the value function that would be computed by KBRL using the same set of sample transitions. The potential of our algorithm is demonstrated in an extensive empirical study in which KBSF is applied to difficult tasks based on real-world data. Not only does KBSF solve problems that had never been solved before, but it also significantly outperforms other state-of-the-art reinforcement learning algorithms on the tasks studied.
{"ft_lang_label":"__label__en","ft_lang_prob":0.9396264,"math_prob":0.9447283,"size":2588,"snap":"2021-21-2021-25","text_gpt3_token_len":494,"char_repetition_ratio":0.1126161,"word_repetition_ratio":0.005235602,"special_character_ratio":0.17658423,"punctuation_ratio":0.08863636,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9785946,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-16T20:59:36Z\",\"WARC-Record-ID\":\"<urn:uuid:ed0b0c63-84e6-4ad2-8537-fe2decf62ef1>\",\"Content-Length\":\"8740\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ec8cd737-adbf-4b9d-8598-c64cd862a1eb>\",\"WARC-Concurrent-To\":\"<urn:uuid:de7e32c1-18cf-412d-8e17-2a5ee0a2aa2d>\",\"WARC-IP-Address\":\"128.52.131.20\",\"WARC-Target-URI\":\"https://jmlr.org/beta/papers/v17/13-134.html\",\"WARC-Payload-Digest\":\"sha1:OTAR4CIZVFJ275GSNT5Y3SU5VGBFWIQJ\",\"WARC-Block-Digest\":\"sha1:TLKS3RBW7275BTZY5SVJ76V2CNFIKYM3\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243989914.60_warc_CC-MAIN-20210516201947-20210516231947-00310.warc.gz\"}"}