techlist.io

OpenAI

274 posts

openai.com/news

Filter by tag

OpenAI2017-03-234 min readCurated summary

Evolution strategies as a scalable alternative to reinforcement learning

Evolution strategies (ES), a decades-old black-box optimization method, can match standard reinforcement learning (RL) methods on modern benchmarks like Atari and MuJoCo while avoiding many of RL's practical burdens. ES needs no backpropagation, is simpler to implement, scales far more easily across distributed machines, handles sparse rewards well, and has fewer hyperparameters. The authors show that ES can train a 3D humanoid walker in 10 minutes on 1,440 CPU cores, where A3C needed about 10 hours on 32 cores, and reach comparable Atari performance in one hour instead of one day. ## How Reinforcement Learning Works - A policy, usually a neural network with on the order of a million parameters, maps the current state to probabilities over actions. - Training collects episodes of interaction, then uses backpropagation to nudge the network toward actions that preceded good outcomes and away from those that preceded bad ones. - Exploration comes from sampling actions from a stochastic policy, which injects noise into the agent's actions. ## Evolution Strategies as Black-Box Optimization - Despite the name, ES has little to do with biological evolution. It is best understood as a family of black-box stochastic optimization methods. - The environment, the agent, and the time structure of episodes are all abstracted away. The method sees only a million-dimensional parameter vector go in and a single total reward come out. - Each step perturbs the current parameters with Gaussian noise to create a population (for example, 100 candidates), evaluates each candidate's total reward, and moves the parameters toward a reward-weighted average of the perturbations. - Mathematically, this is a finite-difference estimate of the gradient of expected reward along random directions. It can also be viewed as REINFORCE with a Gaussian policy over whole parameter vectors. - A short NumPy example minimizes a quadratic with this procedure, illustrating how little code is required. - Because noise is injected into parameters rather than actions, ES can use deterministic policies and can optimize non-differentiable networks. ## Advantages of ES over RL - **No backpropagation:** Only forward passes are needed, making the code shorter and about 2 to 3 times faster in practice. Episodes need not be stored, and exploding gradients in RNNs are not a concern. - **Highly parallelizable:** Workers share random seeds and only exchange scalar rewards, rather than synchronizing parameter vectors with millions of entries. The authors observed linear speedups up to thousands of CPU cores. - **Robustness:** RL can fail badly under different Atari frame-skip settings, whereas ES performs about equally well across them. - **Structured exploration:** Policy-gradient methods often start with random jitter in place. ES, using deterministic policies, produces consistent behaviors. - **Long time horizons:** Analysis of both gradient estimators suggests ES is especially attractive when episodes are long, actions have lasting effects, or good value estimates are unavailable. ## Challenges and Limitations - ES requires that parameter noise produce different outcomes so that a gradient signal exists. Virtual batch norm helped, but better parameterizations are needed. - In Montezuma's Revenge, a random network almost never retrieves the key on the first level, whereas random actions occasionally do. - ES is about 1,000 times slower than backpropagation for supervised tasks such as MNIST, so its advantage is specific to RL settings, where gradients must be estimated by sampling. ## Benchmark Results - On MuJoCo, ES reaches performance comparable to TRPO but is roughly a factor of 10 less data-efficient in the worst case. - On wall-clock time, ES solved the 3D humanoid task in 10 minutes on 1,440 CPUs across 80 machines. A3C on 32 cores took about 10 hours, and the authors note that naive A3C scaling in cloud settings is limited by communication bandwidth. - On Atari, ES on 720 cores in one hour matches A3C on 32 cores in one day across games such as Pong, Seaquest, and Beamrider. In Seaquest, the submarine learns to surface when oxygen runs low. ## Context and Conclusion - The work follows a broader pattern of revisiting decades-old ideas, similar to how AlexNet and Deep Q-Learning revived CNNs and Q-learning. - The authors' contributions are scaling ES to distributed settings, adapting it to deep networks (such as with virtual batch norm), and evaluating it on modern RL benchmarks. Their work builds on Natural Evolution Strategies (Wierstra et al., 2014). - The authors conclude that neuroevolution can compete with RL on modern benchmarks while being simpler and easier to scale, and suggest future directions such as indirect encoding and evolving network structure.

OpenAI2017-03-202 min readCurated summary

One-shot imitation learning

Researchers propose one-shot imitation learning, a meta-learning approach that lets a robot learn a task from a single demonstration and then perform new instances of that task. Current imitation learning typically needs careful feature engineering or many samples for each task, which is far from the goal of robots that generalize instantly from very little data. The authors argue that training on a broad enough range of tasks could eventually produce a general system that turns any demonstration into a working policy. ## Problem Setting - Existing imitation learning usually solves each task in isolation. - It depends on hand-crafted features or large numbers of demonstrations. - The goal is a robot that learns from very few demonstrations and adapts to new situations of the same task without task-specific engineering. ## Task Structure and Training Data - The authors consider a large set of tasks, where each task has many instances that differ in initial states. - Example tasks include stacking all blocks on a table into one tower, or arranging them into two-block towers. - At training time, the model sees pairs of demonstrations for a subset of tasks. ## Model and Training Objective - A neural network takes as input one demonstration and the current state, which starts as the initial state of the paired demonstration. - It outputs an action, and the goal is for the resulting sequence of states and actions to match the second demonstration as closely as possible. - The model uses soft attention, which the authors credit with generalizing to conditions and tasks not seen during training. ## Test-Time Behavior - At test time, the model receives one demonstration of a single instance of a new task. - It is then expected to perform well on other instances of that same task. ## Outlook - The authors expect that training on a much wider variety of tasks and settings could yield a general system that converts any demonstration into a robust policy for a broad range of tasks.

OpenAI2017-03-154 min readCurated summary

Learning to communicate

# Summary of OpenAI's Research on Emergent Language in AI Agents OpenAI researchers trained cooperative AI agents in simple two-dimensional worlds to invent their own language, arguing that machines will understand language more deeply if they learn words in connection with their effects on the world rather than from patterns in large text corpora. The agents developed a grounded and compositional language, in which words tie to things they experience and multiple words combine into sentences to express specific ideas. The team also found that the experimental setup strongly shapes the language that emerges, and that small changes to costs, rewards, and coordinate frames steer agents toward more interpretable results. ## Training Agents to Invent Language - Agents were placed in a 2D world with landmarks and given goals, such as moving to a location or getting another agent to move there. - The setup was cooperative: every agent's reward was the sum of all agents' rewards, which encouraged collaboration. - At each time step, agents chose environment actions (moving, looking) and communication actions (broadcasting a word). - Agents stored received messages in a private recurrent neural network, giving them a memory of the words they heard. - Communication used discrete, word-like symbols sent over a differentiable channel. Agents computed gradients of future reward with respect to their messages, so they could tell one another how to adjust their output. - The team used the Gumbel-Softmax trick to approximate discrete choices with continuous values during training. Training therefore stayed differentiable, and the learned messages converged to discrete, interpretable symbols. - Behavior scaled with task complexity: solitary agents did not communicate, two agents used one-word signals, and three agents combined multiple words into sentences. ## Shaping the Emerging Language - **Morse-code-like utterances:** Agents first packed a single utterance with spaces to encode meaning. A small cost per utterance and a preference for finishing tasks quickly pushed them toward concise communication and a larger vocabulary. - **Sentence-length words:** With large vocabularies, agents sometimes encoded entire sentences, such as "red agent, go to blue landmark," in one word. This approach scales exponentially with sentence length. A reward proportional to how often a word had already been used favored a compact, shared vocabulary, inspired by research on the evolution of syntactic communication. - **Coordinate-based references:** Agents invented words like "top-most" or "left-most" based on a global coordinate system, which would break if the world layout changed. Placing agents in ego-centric coordinate frames removed the shared frame and led them to refer to landmarks by color. ## Non-verbal Communication - The same training method worked when agents could not exchange text and had to act physically in the simulation. - Agents pointed or guided others toward targets, and in extreme cases pushed sightless agents to their goals. ## Grounding and the Limits of Text-Trained Models - Large-scale machine learning has advanced translation, reasoning, and generation by extracting patterns from huge text datasets. The authors argue that this approach gives little evidence of a deep connection between language and the real world. - They compare text-only models to the character in John Searle's Chinese Room, who manipulates symbols without experiencing what they represent. - The research aims to address this grounding problem by tying agents' language to their perception of the environment. ## Next Steps - The team plans to increase environmental complexity and the range of actions agents can take, hoping to produce language with concepts beyond basic nouns and verbs. - As invented languages grow more complex, human interpretation becomes harder. A follow-up project will connect these languages to English by having agents communicate with English-speaking agents, with collaborators at UC Berkeley.

OpenAI2017-03-142 min readCurated summary

Emergence of grounded compositional language in multi-agent populations

Machine learning has advanced natural language processing by capturing statistical patterns in large corpora, but agents that interact intelligently with humans need more than that. This paper asks whether grounded compositional language can emerge among agents in a multi-agent population as a means of achieving goals. The authors propose a learning environment and methods that produce a basic compositional language, and they also observe non-verbal communication when language is unavailable. ### Motivation: Beyond Statistical Pattern Matching - Corpus-based models have succeeded in machine translation, question answering, and sentiment analysis. - Capturing statistical patterns alone is seen as insufficient for agents that must communicate with humans. - The central question is whether language grounded in goal-directed interaction can arise on its own. ### Multi-Agent Learning Environment - The authors build a multi-agent environment where agents must cooperate to reach goals. - They also introduce learning methods that drive the emergence of communication within this environment. ### Properties of the Emergent Language - Agents utter streams of abstract discrete symbols over time. - Although the symbols are abstract, the resulting language has coherent structure. - The language has a defined vocabulary and a syntax, so it is compositional rather than a set of unrelated signals. ### Non-Verbal Communication Without Language - When the language channel is unavailable, agents develop other forms of communication. - The observed behaviors include pointing and guiding, which show that agents use whatever channels they have to coordinate.

OpenAI2017-03-112 min readCurated summary

Prediction and control with temporal segment models

This paper introduces a method for learning the dynamics of complex nonlinear systems using deep generative models over temporal segments of states and actions rather than single timesteps. The approach combines convolutional autoregressive models with variational autoencoders to produce stable, accurate long-horizon predictions for stochastic systems. The learned model and action prior support end-to-end, differentiable trajectory optimization and model-based policy optimization, and the authors evaluate both performance and sample efficiency. ## Segment-level Dynamics Modeling - Traditional dynamics models predict one discrete timestep at a time. - This method instead learns a distribution over future state trajectories. - Predictions are conditioned on past states, past actions, and planned future action trajectories. - A latent prior over action trajectories is learned alongside the dynamics model. ## Architecture - The model is built on convolutional autoregressive models. - Variational autoencoders provide the generative framework. - The design is intended to handle complex, stochastic systems. ## Modeled Phenomena and Prediction Quality - Predictions remain stable and accurate over long horizons. - The model expresses uncertainty explicitly. - It captures collisions, sensory noise, and action delays. ## Applications in Control - The learned dynamics model and action prior can be used for end-to-end, fully differentiable trajectory optimization. - The same components support model-based policy optimization. - The authors use these applications to evaluate both the performance and sample efficiency of the method.

OpenAI2017-03-052 min readCurated summary

Third-person imitation learning

Reinforcement learning depends on a reward function that is hard to specify, and imitation learning is the traditional workaround. This paper argues that existing imitation methods need first-person demonstrations, which are costly to collect, and proposes an unsupervised method that learns from third-person demonstrations instead. The method uses domain confusion to extract domain-agnostic features, and the authors validate it on simple control tasks. ### Limits of First-Person Imitation Learning - Prior imitation learning methods require demonstrations in the first person, meaning a sequence of states along with the actions the agent should have taken. - Collecting first-person demonstrations is a relatively hard problem, which limits how far these methods scale. - Humans avoid this constraint by watching others perform a task, inferring the goal, and then accomplishing it themselves. ### Unsupervised Third-Person Imitation - The agent learns to achieve a simple goal in a simple environment from a demonstration by a teacher who pursues the same goal from a different viewpoint. - The learning is unsupervised: the agent receives only the third-person demonstrations and no correspondence between teacher states and student states. - The central insight is that recent domain confusion techniques can produce domain-agnostic features, which the training process depends on. ### Experimental Validation - The method is tested on learning from third-person demonstrations in three domains: a pointmass, a reacher, and an inverted pendulum. - The abstract reports successful results in all three domains.

OpenAI2017-01-181 min readCurated summary

PixelCNN++: Improving the PixelCNN with discretized logistic mixture likelihood and other modifications

PixelCNN++ presents a modified implementation of PixelCNN, a class of generative models with tractable likelihood. The changes simplify the model's structure and improve its performance. The authors demonstrate the benefits with state-of-the-art log-likelihood results on CIFAR-10. ### Modeling the Pixel Output - The model replaces the original 256-way softmax over pixel values with a discretized logistic mixture likelihood. - This change speeds up training. ### Simplifying the Input Conditioning - The model conditions on whole pixels rather than individual R/G/B sub-pixels. - This removes complexity from the model structure. ### Capturing Structure Across Scales and Speeding Optimization - Downsampling captures structure at multiple resolutions efficiently. - Additional short-cut connections further accelerate optimization. ### Regularization - Dropout regularizes the model. ### Results on CIFAR-10 - The modified model achieves state-of-the-art log-likelihood on CIFAR-10. - The authors make their implementation publicly available.

OpenAI2016-12-044 min readCurated summary

Universe

# Universe: A Platform for Training AI on General Computer Tasks OpenAI's Universe is a software platform for measuring and training AI agents across the full range of tasks a human can perform on a computer. Instead of relying on special APIs or access to program internals, Universe lets an agent view screen pixels and operate a virtual keyboard and mouse, the same way a person does. The release includes roughly a thousand environments, from Flash games and browser tasks to commercial games, with the goal of building a single agent that can quickly master unfamiliar tasks, a step toward general intelligence. ## Motivation: Narrow AI and the Lack of Transferable Experience - Existing systems such as AlphaGo achieve superhuman performance in one domain but cannot apply that knowledge elsewhere. - Standard RL training starts agents from scratch and relies on tens of millions of random trials, so experience does not carry over between tasks. - Progress toward general intelligence requires agents to train on a wide variety of tasks so they can build reusable world knowledge and problem-solving strategies. ## Universe Infrastructure - Each environment runs inside a Docker container that exposes a VNC server for pixels and keyboard/mouse input, plus a WebSocket server that sends rewards and auxiliary information and accepts control messages. - The `universe` Python library acts as a VNC client and wraps each environment as a standard Gym environment, so any program can be turned into one without access to its source code. - Performance target: a single Python process drives 20 environments in parallel at 60 frames per second. A batch-oriented VNC client written in Go and loaded as a shared library keeps frame transfer efficient, reaching about 100ms latency, mostly from server-side encoding. - Debugging and demonstrations are simple: an observer can attach a VNC client to watch training, and human demonstrations can be recorded by saving VNC traffic. These demonstrations can seed agents through behavioral cloning before RL fine-tuning. ## Environment Types - **Atari games:** Run asynchronously over the network, so agents must handle realistic lag (about 20ms observation and 10ms action lag on a cloud LAN, higher over the public internet). - **Flash games:** About 1,000 are included (100 with reward functions), distributed with rightsholder consent. Selenium launches Chrome and clicks through menus automatically. - **Reward extraction:** Since game memory formats vary widely, rewards are read from on-screen scores using a convolutional neural network OCR model. Off-the-shelf OCR like Tesseract struggled with game fonts and animated backgrounds. - **Browser tasks:** Mini World of Bits is an 80-environment benchmark, analogous to MNIST, ranging from clicking a button to replying to an email. Realistic flight-booking tasks use cached site recordings to avoid live bookings. ## Validation Experiments - **Pong:** The agent learned to reach a score of +17 (out of 21) in about an hour, while humans on the same version averaged -11, showing that the variable latency still allows precise, fast reactions. - **Racing Flash games:** RL worked after standard techniques such as reward normalization. - **Browser tasks:** Some tasks with hard exploration problems were solved through behavioral cloning from human demonstrations. - **slither.io:** Agents controlled 32 environments at 5 frames per second. Average reaction time was about 150ms over the public internet, compared with roughly 250ms for humans. ## Running Universe - Install Docker and the `universe` library, then start a runtime such as `universe.flashgames`, which exposes VNC on port 5900 and WebSocket on port 15900. - The Gym interface is used the same way as in other Gym environments, with `env.reset()`, `env.step()`, and `env.render()`. - For large-scale use, an allocator service provisions runtimes on a Kubernetes cluster on demand. ## Future Plans and Community Involvement - A transfer learning benchmark was planned, to measure whether agents actually improve at general problem solving. - The authors compared the project to ImageNet, whose error rate fell from 28% in 2010 to 3% in 2016. They hope Universe can follow a similar path of rapid progress. - Planned contributions include granting permission for games and apps, training agents on Universe tasks, integrating new environments with forthcoming tools, and contributing human demonstrations. - Partners include EA, Valve, Microsoft, NVIDIA, and many independent game studios. Microsoft's Project Malmo team was also planning an integration. ## Practical Takeaway Universe makes it possible to train and evaluate one agent across a broad set of real computer programs using only pixels and input events. Researchers who want to test general problem-solving ability, rather than narrow game performance, can start with the Docker runtimes and the Gym interface.

OpenAI2016-11-142 min readCurated summary

#Exploration: A study of count-based exploration for deep reinforcement learning

Count-based exploration works well with tabular reinforcement learning on small discrete MDPs, but it has long been assumed to fail in high-dimensional state spaces, where most states occur only once. This work shows that a simple generalization of the classic approach, which maps states to hash codes and counts those codes, reaches near state-of-the-art performance on high-dimensional and continuous deep RL benchmarks. The method offers a simple baseline for tasks that require substantial exploration. ### Why Count-Based Exploration Was Limited - Count-based methods come with theoretical guarantees and perform near-optimally in small tabular settings. - Raw state counts are useless in high-dimensional or continuous spaces, because nearly every state is novel. - Recent deep RL exploration methods handle this with complex heuristics, often based on optimism under uncertainty or intrinsic motivation. ### Hashing States to Make Counts Useful - Each state is mapped to a hash code, and occurrences of each code are tracked in a hash table. - The resulting counts feed a reward bonus derived from classic count-based exploration theory. - Surprisingly simple hash functions perform well on many challenging tasks. - A learned, domain-dependent hash code can improve results further. ### What Makes a Good Hash Function - Granularity matters: the hash must group states at an appropriate level, so that counts are neither too sparse nor too coarse. - The hash should encode information relevant to solving the MDP, not just superficial state features. ### Results - The method achieves near state-of-the-art performance on both continuous control tasks and Atari 2600 games. For practitioners facing hard exploration problems in deep RL, this suggests starting with a simple hashed count bonus as a baseline before adopting more complex heuristics. Its effectiveness depends heavily on choosing a hash that has the right granularity and captures task-relevant features.

OpenAI2016-11-132 min readCurated summary

On the quantitative analysis of decoder-based generative models

Generative models such as variational autoencoders, GANs, and generative moment matching networks share a decoder network, but their performance is hard to measure because their log-likelihoods are intractable and inspecting samples can be misleading. The post proposes Annealed Importance Sampling (AIS) as a way to estimate log-likelihoods for decoder-based models, and it validates the estimates with bidirectional Monte Carlo. The authors use this technique to assess how well these models perform, how reliable existing estimators are, how much they overfit, and how well they cover the modes of the data distribution. ## Decoder-Based Generative Models - A decoder is a parametric deep neural network that defines a generative distribution over data. - The approach covers several families: variational autoencoders, generative adversarial networks, and generative moment matching networks. - The post treats the decoder as the shared component across these otherwise different models, which is what makes a single evaluation method applicable to all of them. ## The Evaluation Problem - Log-likelihood is the standard quantitative metric for generative models, but it cannot be computed exactly for decoder-based models. - Visual inspection of samples is the common fallback, but the post argues it can mislead, since good-looking samples do not show whether the model covers the whole data distribution or merely memorizes parts of it. ## Annealed Importance Sampling for Log-Likelihood Estimation - AIS is used to estimate the log-likelihood of decoder-based models in place of an intractable exact computation. - Its accuracy is checked with bidirectional Monte Carlo, which bounds the estimate from both directions to show how close it is to the true value. - The evaluation code is released publicly so others can reproduce the method. ## What the Analysis Reveals - The approach measures overall performance of decoder-based models across the families above. - It tests how effective existing log-likelihood estimators are, not just the models themselves. - It quantifies the degree of overfitting to the training data. - It indicates how much of the data distribution these models fail to capture, specifically which important modes they miss. ## Practical Takeaway If you are comparing decoder-based generative models, relying on sample quality alone is insufficient. Estimating log-likelihood with AIS, and checking the estimate with bidirectional Monte Carlo, gives a more rigorous basis for comparison, including on overfitting and mode coverage.

OpenAI2016-11-102 min readCurated summary

A connection between generative adversarial networks, inverse reinforcement learning, and energy-based models

Generative adversarial networks (GANs), inverse reinforcement learning (IRL), and energy-based models (EBMs) are usually studied separately, but this post argues they are closely linked. The authors show that a sample-based algorithm for maximum entropy IRL is mathematically equivalent to a GAN in which the generator's density can be evaluated and fed to the discriminator. They then argue that GAN training can be understood as training an energy-based model, and they hope making these links explicit will help researchers transfer techniques for stabilizing and scaling these methods. ## Learning Cost Functions in Generative Modeling and Control - In a GAN, the generator is trained against a cost function that a discriminator learns at the same time. - Learning cost functions has a longer history in control and reinforcement learning, mainly for imitation learning from demonstrations. - In those fields, recovering the cost that explains observed behavior is called inverse reinforcement learning or inverse optimal control. ## Equivalence Between Maximum Entropy IRL and GANs - The authors show that certain IRL methods are not just analogous to GANs but mathematically equivalent to them. - The specific match is a sample-based algorithm for maximum entropy IRL and a GAN whose discriminator also receives the generator's density as an additional input. ## Connection to Energy-Based Models - Maximum entropy IRL is a special case of an energy-based model. - Because of this, GAN training can be interpreted as a way to train energy-based models. - The paper relates this view to other recent work that connects GANs and EBMs. ## Implications for Stability and Scalability - Stability and scalability are named as major open challenges in all three areas. - The authors suggest that ideas can move between the communities once the formal connections are clear, especially methods aimed at more stable and scalable training.

OpenAI2016-11-082 min readCurated summary

RL²: Fast reinforcement learning via slow reinforcement learning

Deep reinforcement learning can learn sophisticated behaviors, but it needs a huge number of trials, while animals learn new tasks in just a few. The paper proposes RL², which closes this gap by learning a fast reinforcement learning algorithm from data rather than designing one by hand. Experiments show it approaches human-designed algorithms with optimality guarantees on small problems and scales to high-dimensional vision-based tasks. ### The Gap Between Deep RL and Animal Learning - Deep RL learns complex behaviors automatically but requires vast numbers of trials. - Animals adapt to new tasks in a handful of trials by drawing on prior knowledge about the world. - The paper aims to transfer this capacity for rapid learning to artificial agents. ### Learning the Algorithm Instead of Designing It - Rather than hand-designing a "fast" RL algorithm, RL² represents the algorithm itself as a recurrent neural network (RNN). - The RNN's weights encode the learning algorithm and are trained slowly with a general-purpose RL algorithm. - The RNN receives the same inputs a typical RL algorithm would: observations, actions, rewards, and termination flags. - Its hidden state persists across episodes within a given Markov Decision Process (MDP), so its activations hold the state of the fast learner on a new, previously unseen MDP. ### Small-Scale Experiments - RL² is trained on randomly generated multi-armed bandit problems and finite MDPs. - On new MDPs, its performance is close to human-designed algorithms that come with optimality guarantees. ### Large-Scale Experiments - A vision-based navigation task tests whether the approach extends to high-dimensional inputs. - The results indicate that RL² scales beyond toy problems.

OpenAI2016-11-072 min readCurated summary

Variational lossy autoencoder

Variational Lossy Autoencoder proposes a way to learn global representations that capture overall structure while discarding irrelevant detail such as texture. The method combines a Variational Autoencoder (VAE) with neural autoregressive models. The architecture is designed so the latent code cannot encode fine-grained information, which makes the VAE a lossy autoencoder. The approach also improves generative performance, reaching state-of-the-art density estimation results on MNIST, OMNIGLOT, and Caltech-101 Silhouettes. ### Learning Global Representations - Representation learning aims to expose useful aspects of data in a form that supports downstream tasks like classification. - For 2D images, a good representation describes global structure and ignores detailed texture. ### Controlling the Latent Code with Architecture - The VAE architecture is designed to control what the global latent code can learn. - By restricting the latent code, the model is forced to discard irrelevant information such as texture, so the VAE only "autoencodes" the data in a lossy way. ### Autoregressive Priors and Decoders - Autoregressive models such as RNN, MADE, and PixelRNN/CNN serve as both the prior distribution p(z) and the decoding distribution p(x|z). - This substantially improves the generative modeling performance of VAEs. ### Benchmark Results - The model achieves new state-of-the-art results on density estimation for MNIST, OMNIGLOT, and Caltech-101 Silhouettes.

OpenAI2016-11-012 min readCurated summary

Extensions and limitations of the neural GPU

The paper extends the Neural GPU, a model that learns algorithms such as multi-digit binary addition and multiplication in a way that generalizes to inputs of arbitrary length. The authors show that two simple changes, a carefully designed training curriculum and a larger model, substantially improve its performance. They also find that the model still fails on certain highly symmetric inputs, and these failures resemble adversarial examples. ## Improving Performance with Curriculum and Model Size - A carefully designed curriculum and increased model size are the two main levers for better performance. - Scaling up the model requires a memory-efficient implementation, because a naive Neural GPU is memory-intensive. ## Expanding the Set of Solvable Problems - The improved model learns all basic arithmetic operations and generalizes to arbitrarily long numbers when inputs use decimal representation, which the authors note had not been achieved before. - It can also evaluate long arithmetic expressions with multiple operands that must respect operator precedence. - Expression evaluation succeeds only in binary representation and is not perfectly accurate. ## Failure Modes Resembling Adversarial Examples - Models that generalize well to long numbers can still fail on atypical, highly symmetric inputs. - For example, a decimal multiplication model that generalizes to 100-digit numbers can fail on 000…002 × 000…002 while correctly computing 2 × 2. - These failures suggest that strong average generalization does not guarantee correctness on every input.

OpenAI2016-10-102 min readCurated summary

Transfer from simulation to real world through learning deep inverse dynamics model

Simulation is often the safer and cheaper place to develop robot control policies, but a policy that works in simulation frequently fails on a physical robot. The overall sequence of states the policy produces in simulation often still makes sense in the real world, even when the exact controls do not. The paper exploits this by keeping the simulated state trajectory and learning a real-world mapping from desired states to actions. In experiments, this approach outperforms baselines built for simulation-to-real model discrepancy, including output error control and Gaussian dynamics adaptation. ## The Simulation-to-Real Gap - Simulated control policies come from planning, optimization, or reinforcement learning, which often needs far more data than is practical to collect on hardware. - Mismatches in friction, contact, mass, and geometry cause simulated controls to fail on real robots. - The high-level path the robot takes through states often remains valid even when the low-level controls do not. ## Inverse Dynamics Approach - At each time step, the simulated policy proposes an action, and the simulator predicts the resulting next state or states. - Rather than executing the simulated action, the robot uses a learned deep inverse dynamics model to find the real-world action that is most likely to reach that predicted next state. - The inverse model maps (current state, desired next state) to an action, so it compensates for the real system's differences from the simulator. ## Data Collection for Learning the Model - The authors note that a deep model is only as good as its training data, so data collection is central to the method. - They propose a procedure for collecting real-world data that incrementally refines the inverse dynamics model. ## Experimental Comparison - The approach is evaluated against output error control and Gaussian dynamics adaptation, two existing methods for handling model discrepancy. - According to the abstract, the method compares favorably with these baselines.