The Implementation of a Dyna-Q Agent into the Algorithmic IQ test

Thesis title: Implementace agenta Dyna-Q do testu algoritmického IQ
Author: Marek, Ondřej
Thesis type: Bakalářská práce
Supervisor: Vadinský, Ondřej
Opponents: Hoza, Petr
Thesis language: Česky
Abstract:
Test algoritmického IQ je jedním z pokusů o vytvoření způsobu evaluace inteligence umělých systémů. Je založený na rámci posilovaného učení a algoritmické teorii informace, a s jeho pomocí je možné provést aproximaci univerzální inteligence mnoha typů umělých agentů. Účelem této práce bylo rozšíření implementace testu o plně funkčního agenta Dyna-Q, který je agentem posilovaného učení kombinujícím funkce algoritmu Q-learning s plánováním za pomoci modelu prostředí. Implementace byla navržena na základě existujících agentů použitých v testu a popisu Dyna-Q v existující literatuře. K její realizaci a zachycení všech potřebných funkcí agenta byl použit programovací jazyk Python. U agenta byla následně pomocí AIQ testu provedena základní evaluace. Evaluací bylo zjištěno několik vlastností chování tohoto algoritmu, jako lepší výsledky agenta při kratším plánování nebo preference vyšších diskontních faktorů s menší pravděpodobností náhodného výběru akcí. Je však kvůli omezenému rozsahu evaluace v AIQ testu možné, že jsou chybné či neúplné.
Keywords: test algoritmického IQ; Dyna-Q; algoritmus s modelem; evaluace inteligence umělých systémů; posilované učení
Thesis title: The Implementation of a Dyna-Q Agent into the Algorithmic IQ test
Author: Marek, Ondřej
Thesis type: Bachelor thesis
Supervisor: Vadinský, Ondřej
Opponents: Hoza, Petr
Thesis language: Česky
Abstract:
The Algorithmic IQ test is one of the attempts to create a method for evaluating the intelligence of artificial systems. It is based on the framework of reinforcement learning and algorithmic information theory, and it allows for an approximation of universal intelligence across many types of artificial agents. The aim of this thesis was to expand the implementation of the test by adding a fully functional Dyna-Q agent, which is a reinforcement learning agent that combines the Q-learning algorithm with planning using a model of the environment. The implementation was designed based on existing agents used in the test and the description of Dyna-Q in the literature. Python was used to implement and capture all the necessary functions of the agent. An initial evaluation of the agent was subsequently carried out using the AIQ test. The evaluation revealed several behavioural characteristics of this algorithm, such as better performance of the agent when using a lesser number of planning steps and a preference for higher discount factors with a lower probability of random action selection. However, due to the limited scope of the evaluation within the AIQ test, these findings may be incorrect or incomplete.
Keywords: model-based algorithm; evaluation of the intelligence of artificial systems; Dyna-Q; algorithmic IQ test; reinforcement learning

Information about study

Study programme: Aplikovaná informatika
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Information and Knowledge Engineering

Information on submission and defense

Date of assignment: 6. 12. 2024
Date of submission: 11. 5. 2025
Date of defense: 17. 6. 2025
Identifier in the InSIS system: https://insis.vse.cz/zp/90683/podrobnosti

Files for download

    Last update: