Skip to main content
QUICK REVIEW

[Paper Review] Functions that Emerge through End-to-End Reinforcement Learning - The Direction for Artificial General Intelligence -

Katsunari Shibata|arXiv (Cornell University)|Mar 7, 2017
Reinforcement Learning in RoboticsComputer Science13 references14 citations
TL;DR

This paper demonstrates that end-to-end reinforcement learning (RL) using recurrent neural networks (RNNs) enables the emergence of diverse, complex cognitive functions—such as image recognition, memory, attention, prediction, and goal-directed behavior—directly from raw sensor inputs and motor outputs, without predefined function boundaries or symbolic structures. The key contribution is showing that comprehensive, flexible intelligence-like behaviors arise naturally through RL when learning spans from raw perception to action, suggesting this framework as a core path toward Artificial General Intelligence (AGI).

ABSTRACT

Recently, triggered by the impressive results in TV-games or game of Go by Google DeepMind, end-to-end reinforcement learning (RL) is collecting attentions. Although little is known, the author's group has propounded this framework for around 20 years and already has shown various functions that emerge in a neural network (NN) through RL. In this paper, they are introduced again at this timing. "Function Modularization" approach is deeply penetrated subconsciously. The inputs and outputs for a learning system can be raw sensor signals and motor commands. "State space" or "action space" generally used in RL show the existence of functional modules. That has limited reinforcement learning to learning only for the action-planning module. In order to extend reinforcement learning to learning of the entire function on a huge degree of freedom of a massively parallel learning system and to explain or develop human-like intelligence, the author has believed that end-to-end RL from sensors to motors using a recurrent NN (RNN) becomes an essential key. Especially in the higher functions, this approach is very effective by being free from the need to decide their inputs and outputs. The functions that emerge, we have confirmed, through RL using a NN cover a broad range from real robot learning with raw camera pixel inputs to acquisition of dynamic functions in a RNN. Those are (1)image recognition, (2)color constancy (optical illusion), (3)sensor motion (active recognition), (4)hand-eye coordination and hand reaching movement, (5)explanation of brain activities, (6)communication, (7)knowledge transfer, (8)memory, (9)selective attention, (10)prediction, (11)exploration. The end-to-end RL enables the emergence of very flexible comprehensive functions that consider many things in parallel although it is difficult to give the boundary of each function clearly.

Motivation & Objective

  • To demonstrate that end-to-end reinforcement learning (RL) from raw sensory inputs to motor outputs can give rise to complex, human-like cognitive functions without predefined functional modules.
  • To argue that function modularization—common in AI—introduces artificial constraints and frame problems, limiting the emergence of truly flexible, comprehensive intelligence.
  • To show that recurrent neural networks (RNNs) trained via backpropagation through time (BPTT) with RL signals can autonomously develop dynamic functions such as memory, attention, and prediction.
  • To position end-to-end RL as the essential framework for achieving artificial general intelligence (AGI), especially for higher-order functions where input/output boundaries are ambiguous.
  • To provide empirical evidence that a wide range of functions emerge organically through RL, even in simple tasks, by observing behaviors like object tracking, selective attention, and adaptive exploration.

Proposed method

  • Employ end-to-end reinforcement learning using a recurrent neural network (RNN) as the policy and value function, trained via Back Propagation Through Time (BPTT) with sparse reward signals.
  • Use raw camera pixel inputs and raw motor command outputs as the input and output spaces, avoiding any pre-processing or hand-engineered features.
  • Train the RNN to maximize cumulative reward through trial-and-error learning, allowing dynamic functions like memory and prediction to emerge through temporal backpropagation.
  • Implement an actor-critic architecture (Actor-Q) to select actions—such as 'move' or 'capture'—based on internal RNN state, enabling continuous control and decision-making.
  • Design tasks with partial observability (e.g., invisible moving objects) to test the system’s ability to predict and adapt without explicit planning or trajectory generation.
  • Use feedback weight initialization such that the transition matrix is close to identity to stabilize learning and support long-term credit assignment.

Experimental results

Research questions

  • RQ1Can complex, high-level cognitive functions emerge through end-to-end RL without predefined functional modules or symbolic representations?
  • RQ2To what extent can a recurrent neural network learn to predict, remember, attend to, and act upon dynamic, partially observable environments using only sparse reward signals?
  • RQ3How does end-to-end RL from raw sensors to motors compare to traditional modular approaches in terms of flexibility and adaptability in learning complex behaviors?
  • RQ4Can functions like selective attention, memory, and prediction emerge naturally from the RNN’s internal dynamics during RL training, even without explicit architectural design for these functions?
  • RQ5What role does the RNN’s temporal processing capability play in enabling the emergence of higher-order functions such as planning and exploration in the absence of explicit world models?

Key findings

  • The agent learned to predict the motion of a moving object that frequently became invisible, waiting near the center of its field of view to react to unexpected direction changes.
  • In the invisible object capture task, the agent autonomously developed a strategy of moving to the front of its range, waiting, and then tracking and capturing the object when it reappeared, even when motion changed unexpectedly.
  • The system demonstrated purposive associative memory, where past states were used to guide future actions without explicit memory modules.
  • Selective attention emerged naturally: the agent learned to focus on relevant image regions based on context, without any dedicated attention mechanism.
  • The agent exhibited effective, deterministic exploration by adjusting behavior based on past experience, particularly in ambiguous or invisible goal scenarios.
  • The emergence of reward expectancy neurons—observed in primate brains—was explained through simulation, showing that RNNs trained via RL can replicate neurobiological phenomena.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.