thomashopkins32 / Minecraft-Virtual-Intelligence

MIT License
0 stars 0 forks source link

Refactor Agent to Include Memory #18

Open thomashopkins32 opened 2 months ago

thomashopkins32 commented 2 months ago

Proposal:

Pros:

Cons:

I think this refactoring will benefit the project in the long run. It will also make it easier to implement ICM (#14 ) because we can now have access to the intermediate results of the visual processing module which is needed to extract visual features.

Basically, the idea is to have every module of the agent able to access every other module. This was almost the case already, however, the "memory" was separate.

thomashopkins32 commented 1 month ago

It might make the most sense to continuously update the advantage on the fly rather than try to compute all of it right before getting a sample.

Here is a screenshot of how the advantage is computed for our method: Screenshot from 2024-08-03 21-09-12