{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/311889"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/311889","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"Sample Efficient Game Strategy Through Active Demonstrations","abstract":"AlphaZero-style learning trains agents in game-playing purely through self-play, but requires millions of games before converging. In domains like robotics, imitation learning has been used to increase sample efficiency. The goal of this thesis is to incorporate imitation learning and expert feedback into AlphaZero-style learning. We extend Gumbel AlphaZero to query an expert for demonstrations during self-play, measuring uncertainty as the variance of returns backed up through search under the agent’s selected action, and querying when this variance exceeds a sliding-window threshold. We propose two methods for using these demonstrations: corrective behavioral cloning, where the expert’s intervention adjusts the search policy target; and action reranking, where a discriminator score nudges the search prior toward expert-like moves. We implement the system in Rust using the Burn framework, making it feasible to train on consumer hardware. We train three chess agents and evaluate them in a head-to-head tournament, where the demonstration-trained agents consistently beat a self-play baseline at matched sample counts. However, the improvement is small relative to the cost of expert queries. Analysis reveals that both methods improve the learned prior, but in high-uncertainty positions, the value estimate dominates action selection, leaving the improved prior with little influence exactly where guidance is most needed. The uncertainty measure itself proves useful: across all agents, positions with high return variance concentrate mistakes, supporting it as a query criterion for future work.","abstract_html":"AlphaZero-style learning trains agents in game-playing purely through self-play, but requires millions of games before converging. In domains like robotics, imitation learning has been used to increase sample efficiency. The goal of this thesis is to incorporate imitation learning and expert feedback into AlphaZero-style learning. We extend Gumbel AlphaZero to query an expert for demonstrations during self-play, measuring uncertainty as the variance of returns backed up through search under the agent’s selected action, and querying when this variance exceeds a sliding-window threshold. We propose two methods for using these demonstrations: corrective behavioral cloning, where the expert’s intervention adjusts the search policy target; and action reranking, where a discriminator score nudges the search prior toward expert-like moves. We implement the system in Rust using the Burn framework, making it feasible to train on consumer hardware. We train three chess agents and evaluate them in a head-to-head tournament, where the demonstration-trained agents consistently beat a self-play baseline at matched sample counts. However, the improvement is small relative to the cost of expert queries. Analysis reveals that both methods improve the learned prior, but in high-uncertainty positions, the value estimate dominates action selection, leaving the improved prior with little influence exactly where guidance is most needed. The uncertainty measure itself proves useful: across all agents, positions with high return variance concentrate mistakes, supporting it as a query criterion for future work.","abstract_has_math":false,"creators":["Rajamäe, Sigge"],"institution":null,"degree_name":null,"degree_level":"H","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data och informationsteknik","school":null,"contributors":[],"advisors":["Appelgren, Mattias"],"committee_chairs":[],"committee_members":["Tatar, Kıvanç"],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-19T03:03:51Z","subjects":["Reinforcement learning, AlphaZero, imitation learning, active demonstrations, Monte Carlo tree search, chess, Rust"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.coursecode","label":"Dc Identifier Coursecode","values":["DATX05"],"render_values":[{"text":"DATX05","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/311889","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/311889","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F311889","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F311889","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Tatar, Kıvanç"]},{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data och informationsteknik","Chalmers University of Technology / Department of Computer Science and Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Appelgren, Mattias"]},{"key":"dc:creator","label":"Author","values":["Rajamäe, Sigge"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-07-07T08:14:05Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher.program","label":"Dc Publisher Program","values":["Computer science -algorithms, languages and logic (MPALG), MSc"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för masterexamen","Master's Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["H"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Reinforcement learning, AlphaZero, imitation learning, active demonstrations, Monte Carlo tree search, chess, Rust"]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.coursecode","label":"Dc Identifier Coursecode","values":["DATX05"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/311889"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["AlphaZero-style learning trains agents in game-playing purely through self-play, but requires millions of games before converging. In domains like robotics, imitation learning has been used to increase sample efficiency. The goal of this thesis is to incorporate imitation learning and expert feedback into AlphaZero-style learning. We extend Gumbel AlphaZero to query an expert for demonstrations during self-play, measuring uncertainty as the variance of returns backed up through search under the agent’s selected action, and querying when this variance exceeds a sliding-window threshold. We propose two methods for using these demonstrations: corrective behavioral cloning, where the expert’s intervention adjusts the search policy target; and action reranking, where a discriminator score nudges the search prior toward expert-like moves. We implement the system in Rust using the Burn framework, making it feasible to train on consumer hardware. We train three chess agents and evaluate them in a head-to-head tournament, where the demonstration-trained agents consistently beat a self-play baseline at matched sample counts. However, the improvement is small relative to the cost of expert queries. Analysis reveals that both methods improve the learned prior, but in high-uncertainty positions, the value estimate dominates action selection, leaving the improved prior with little influence exactly where guidance is most needed. The uncertainty measure itself proves useful: across all agents, positions with high return variance concentrate mistakes, supporting it as a query criterion for future work."]},{"key":"dc:title","label":"Title","values":["Sample Efficient Game Strategy Through Active Demonstrations"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.committeemember":["Tatar, Kıvanç"],"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data och informationsteknik","Chalmers University of Technology / Department of Computer Science and Engineering"],"dc:contributor.supervisor":["Appelgren, Mattias"],"dc:creator":["Rajamäe, Sigge"],"dc:date.accessioned":["2026-07-07T08:14:05Z"],"dc:date.issued":["2026"],"dc:description.abstract":["AlphaZero-style learning trains agents in game-playing purely through self-play, but requires millions of games before converging. In domains like robotics, imitation learning has been used to increase sample efficiency. The goal of this thesis is to incorporate imitation learning and expert feedback into AlphaZero-style learning. We extend Gumbel AlphaZero to query an expert for demonstrations during self-play, measuring uncertainty as the variance of returns backed up through search under the agent’s selected action, and querying when this variance exceeds a sliding-window threshold. We propose two methods for using these demonstrations: corrective behavioral cloning, where the expert’s intervention adjusts the search policy target; and action reranking, where a discriminator score nudges the search prior toward expert-like moves. We implement the system in Rust using the Burn framework, making it feasible to train on consumer hardware. We train three chess agents and evaluate them in a head-to-head tournament, where the demonstration-trained agents consistently beat a self-play baseline at matched sample counts. However, the improvement is small relative to the cost of expert queries. Analysis reveals that both methods improve the learned prior, but in high-uncertainty positions, the value estimate dominates action selection, leaving the improved prior with little influence exactly where guidance is most needed. The uncertainty measure itself proves useful: across all agents, positions with high return variance concentrate mistakes, supporting it as a query criterion for future work."],"dc:identifier.coursecode":["DATX05"],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/311889"],"dc:language.iso":["eng"],"dc:publisher.program":["Computer science -algorithms, languages and logic (MPALG), MSc"],"dc:subject":["Reinforcement learning, AlphaZero, imitation learning, active demonstrations, Monte Carlo tree search, chess, Rust"],"dc:subject.uppsok":["Technology"],"dc:title":["Sample Efficient Game Strategy Through Active Demonstrations"],"dc:type.degree":["Examensarbete för masterexamen","Master's Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["H"]},"updated_at":"2026-11-19T03:03:51Z"}