KoGuN: Accelerating Deep Reinforcement Learning via Integrating Human Suboptimal Knowledge

Peng Zhang, Jianye Hao, Weixun Wang, Hongyao Tang, Yi Ma, Yihai Duan, Yan Zheng

Introduction

Deep Reinforcement Learning (DRL) has achieved remarkable success in complex tasks, yet it remains notoriously data-hungry. Unlike humans, who leverage prior "common sense" or high-level heuristics to navigate new environments, standard DRL agents typically start as a "blank slate." This tabula rasa approach requires millions of interactions to learn even basic behaviors, posing a significant barrier to real-world applications where data collection is expensive or risky.

While Imitation Learning (IL) attempts to address this by learning from expert demonstrations, it often requires high-fidelity, low-level trajectory data that is difficult to obtain. This paper introduces KoGuN (Knowledge Guided Policy Network), a framework designed to "warm-start" RL by integrating imprecise, high-level human knowledge—the kind of "if-then" rules a person might provide in plain English.

Methodology: The KoGuN Architecture

The core innovation of KoGuN is its ability to translate vague human advice into a format that a neural network can optimize. The architecture consists of two primary components integrated into an end-to-end trainable policy.

The KoGuN architecture integrates a fuzzy logic-based Knowledge Controller with a neural Refine Module.

1. Fuzzy Rule Controller

Human language is inherently imprecise (e.g., "if the pole is leaning slightly"). KoGuN utilizes Fuzzy Logic to handle this uncertainty. Human knowledge is encoded as a set of fuzzy rules with membership functions. Unlike traditional static fuzzy systems, KoGuN introduces trainable weights for these rules. This allows the agent to dynamically re-weight or "correct" human advice if it proves suboptimal during environmental interaction.

2. Refine Module and Hypernetworks

Because human rules are often incomplete, a Refine Module acts as a complementary neural layer. The authors found that using Hypernetworks—where one network generates the weights for another based on the current state—was significantly more effective than simple concatenation. This allows the refinement to be highly context-sensitive, adjusting the policy precisely where human rules fall short.

Integration Strategy

The final action is determined by a weighted combination of the Fuzzy Controller and the Refine Module. Initially, the agent relies heavily on human knowledge ($w_1$). As training progresses and the agent gains experience, the influence of the human rules decays, allowing the Refine Module to take over and achieve peak performance.

Experimental Results

The framework was evaluated across several benchmarks, including CartPole, LunarLander, and FlappyBird, in both discrete and continuous control settings.

KoGuN significantly outperforms standard PPO in convergence speed across various environments.

Key Findings

  • Accelerated Learning: In all environments, KoGuN reached optimal performance significantly faster than the baseline Proximal Policy Optimization (PPO) algorithm. In CartPole, for instance, convergence was achieved in roughly half the time.
  • Robustness to Sparse Rewards: One of the most challenging scenarios for RL is sparse rewards, where feedback is infrequent. In a modified CartPole task with delayed rewards, standard PPO failed to learn entirely, whereas KoGuN maintained high performance by using human rules to guide exploration toward reward-rich states.
  • Optimization of Suboptimal Knowledge: The experiments confirmed that a trainable knowledge controller outperforms a fixed one. This demonstrates that the agent successfully identifies and rectifies flaws in the initial human advice.

Conclusion

KoGuN demonstrates that even "suboptimal" or imprecise human knowledge can provide a powerful inductive bias for reinforcement learning. By bridging the gap between high-level human reasoning and low-level neural optimization via fuzzy logic and hypernetworks, KoGuN reduces sample complexity and enables learning in environments where standard methods fail. Future research will focus on extending this framework to high-dimensional visual inputs, where manual rule-crafting for raw pixels remains a challenge.

Summary updated

BibTeX
@inproceedings{zhang2020kogun,
  author = {Peng Zhang and Jianye Hao and Weixun Wang and Hongyao Tang and Yi Ma and Yihai Duan and Yan Zheng},
  title = {{KoGuN: Accelerating Deep Reinforcement Learning via Integrating Human Suboptimal Knowledge}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/317},
}
Figure