techlist.io

Techlist.io - Korean Tech Blog Curator

OpenAI2017-05-143 min readCurated summary

Roboschool

# Roboschool: Open-Source Robot Simulation for OpenAI Gym OpenAI released Roboschool, an open-source robot simulation package integrated with OpenAI Gym. It offers free alternatives to eight MuJoCo environments, re-tuned for more realistic motion, along with new challenging tasks and support for training multiple agents in the same environment. Built on the permissively licensed Bullet Physics Engine, it removes the paid-license barrier that MuJoCo imposed on researchers. ## Free Alternative to MuJoCo - The MuJoCo dependency required a paid license, a common complaint among Gym users, though MuJoCo later added free student licenses. - Roboschool is built on the Bullet Physics Engine, an open-source library also used by simulators such as Gazebo and V-REP. - Twelve environments ship with the package, including ported MuJoCo tasks modified for more realistic behavior and new challenges. - Trained policies for these environments are available in the `agent_zoo` folder, and a `demo_race` script lets three robots race each other. ## Interactive and Robust Locomotion - Earlier Gym walking tasks only required moving forward, so learned policies often settled into a single cyclic gait, left most of the state space unexplored, and fell over after small pushes. - **HumanoidFlagrun** requires the 3D humanoid to run toward a flag whose position changes randomly, teaching it to slow down and turn. - **HumanoidFlagrunHarder** adds more difficulty: episodes start with the robot upright or lying down, the robot may fall and must get back up, and white cubes are constantly thrown at it to knock it off course. - The resulting policies are less fast and natural-looking than the regular humanoid's walk, but they recover from many disturbances and steer well. Because the policy is a multilayer perceptron with no internal state, the authors suspect the agent sometimes uses its arms to store information. ## Multiplayer Training - Roboschool supports running and training multiple agents in one environment, starting with a multiplayer Pong environment. - Setups include self-play (one agent playing both sides), two agents trained with the same algorithm, or two agents trained with different algorithms. - Training both players simultaneously with policy gradient methods caused oscillation: each agent learned a counter-strategy, then overfit to it, and neither improved after hours of training. - The authors note that adversarial learning is difficult, much like GANs, but it can produce sophisticated strategies in simple environments and a natural curriculum, making it a worthwhile research problem. ## Related Work - Other community projects have built Gym environments on open-source physics simulators. One fork replaced MuJoCo with the DART simulator and showed that policies transfer between MuJoCo and DART.

Figma2017-05-082 min readCurated summary

Figma Mirror for Android | Figma Blog

Figma introduced Mirror for Android on May 9, 2017, bringing real-time mobile previews to Android users and designers. The app reflects selected Figma frames on an Android device and updates instantly as designs change on a computer. Figma also offered the same functionality through a mobile browser, making the feature accessible without installing the app. ## Real-Time Design Mirroring - Users can select a frame in a Figma file on their computer and view it immediately on an Android phone. - Design edits made on the computer are reflected instantly in the mobile preview. - The feature helps designers test how their work appears and behaves on an actual mobile device. - Mirror was already available for iOS before the Android release. ## Browser-Based Alternative - Users who do not want to install the Android app can visit `figma.com/mobile-app` in a mobile browser. - The browser version provides the same basic mirroring functionality. ## Support for Android Design - Android accounted for roughly 52% of the U.S. smartphone market and 82% of the global market at the time. - Figma included preset frame sizes for several popular Android devices, reducing the need to create device layouts from scratch. Figma Mirror for Android made mobile design testing more inclusive and convenient, while the browser option provided a no-download alternative.

Figma2017-05-032 min readCurated summary

New faces at the Figma helm | Figma Blog

Figma is entering a new phase as demand for design and collaborative tools grows across the technology industry. To support that growth, CEO Dylan Field announces Eric Wittman as the company’s first COO and Kris Rasmussen as Vice President of Engineering. Their experience scaling collaboration-focused businesses will help Figma expand its operations, revenue, technology, and team. ## Figma’s Growth Opportunity - Companies increasingly view design as central to creating products customers value. - Large organizations such as IBM and GE are expanding their design teams, while Facebook has pursued a high designer-to-engineer ratio. - Figma argues that the tools available to designers have not kept pace with this demand. - Improving collaboration remains the company’s guiding priority. ## Eric Wittman: Operations, Strategy, and Revenue - Wittman joins after leading Atlassian’s Developer Tools business, including Bitbucket. - As COO, he will focus on: - Recruiting and finance processes - Go-to-market strategy - Revenue and business operations - Company strategy and values - His career spans: - Customer support and product management at Macromedia, where he eventually led Flash product management - CEO of music player company Songbird - General manager of Developer Tools at Atlassian - Figma highlights his unusual combination of operational expertise and strong product enthusiasm. - Before the announcement, he had already helped Figma launch its pricing model and refine its strategic direction. ## Kris Rasmussen: Engineering Leadership - Rasmussen initially joined Figma as a part-time contractor but quickly became an influential, informal leader. - He is appointed Vice President of Engineering and will oversee major engineering initiatives and technical-team development. - His background includes: - Leading engineering at Asana during its early growth - Scaling engineering at Aptana, a web-application developer-tools company - Building personal projects involving 3D graphics - Figma values his ability to resolve disagreements, identify necessary actions, and combine technical skill with leadership. - His primary mission will be building a world-class engineering organization and infrastructure for collaborative design tools. ## Continued Hiring - Figma says it is still early in its development and expects significant opportunities and challenges ahead. - The company invites engineers, designers, writers, and product managers who are passionate about design to apply for open roles. Figma’s leadership changes are intended to turn growing demand for collaborative design software into scalable business and technical execution. Wittman will strengthen operations and commercial strategy, while Rasmussen will lead the engineering organization needed for Figma’s next stage.

Figma2017-04-262 min readCurated summary

5 books that shaped the design approach of Airbnb’s Jon Gold | Figma Blog

Jem Gold’s design approach combines systems thinking, human-centered technology, disciplined focus, mindfulness, and functional programming. The five books she recommends show how design can be treated as a generative process—one that connects creative practice with engineering and tools that augment human ability. ## Designing Programmes: Design as a System - Karl Gerstner’s *Designing Programmes* presents design as a process that generates assets rather than relying on humans to create every final output manually. - Though focused on layouts, logos, and typography, its ideas remain relevant to modern UI and design systems. - Gold values the concept of a flexible pipeline that people can shape, with the system producing consistent results. ## 10% Happier: Creating Space for Better Decisions - Dan Harris’s memoir about meditation influenced Gold’s design process and outlook. - Meditation helps her avoid immediate, visceral reactions and take time to investigate the best response. - She especially appreciates Harris’s skepticism toward mystical or “woo-woo” claims, making the book a practical introduction to meditation. ## The Dream Machine: Computers as Creative Partners - *The Dream Machine* explores J. C. R. Licklider’s vision of “man-computer symbiosis,” in which computers enhance human intelligence. - It describes researchers who rejected IBM’s slow, punch-card-based model of computing in favor of interactive systems people could enjoy using. - Gold identifies with their rebellious belief that technology should augment human creativity rather than merely automate routine tasks. ## Deep Work: Protecting Creative Focus - Cal Newport’s *Deep Work* argues that social media fragments attention and prevents sustained, original thinking. - Gold responded by eliminating social media for a month and scheduling dedicated blocks for creative projects. - When she felt the urge to check distractions, she replaced the habit with activities such as running or reading. - The practice helped her preserve focus and create space for ideas to develop. ## Functional Programming: Building from Small Primitives - *Professor Frisby’s Mostly Adequate Guide to Functional Programming* introduces functional programming through a short, approachable, free online book. - The paradigm breaks problems into small, composable units that can be rearranged and combined. - Gold applies this principle to design systems: instead of starting with a large page and breaking it down, designers can begin with basic primitives and build upward. - This approach connects programming concepts directly to scalable, reusable design work. Together, these books recommend a design practice built from composable systems, deliberate attention, skepticism, and technology that expands human creativity.

OpenAI2017-04-202 min readCurated summary

Equivalence between policy gradients and soft Q-learning

Q-learning and policy gradient methods, two leading approaches to model-free reinforcement learning, are shown to be closely related in the entropy-regularized setting. The post argues that "soft" (entropy-regularized) Q-learning is exactly equivalent to a policy gradient method, which may partly explain why Q-learning works well despite its inaccurate Q-value estimates. Experiments on Atari support the view that these entropy-regularized variants perform comparably to, or slightly better than, the standard versions. ## Equivalence Between Soft Q-learning and Policy Gradients - The authors establish a precise equivalence between Q-learning and policy gradient updates under entropy regularization. - This suggests Q-learning may be "secretly" implementing policy gradient updates, offering a partial explanation for its effectiveness. - The post notes that Q-learning is often sample-efficient, but its estimated Q-values are typically very inaccurate, so the mechanism behind its success has been poorly understood. ## Connection to Natural Policy Gradients - The authors also identify a link between Q-learning methods and natural policy gradient methods. ## Experimental Results on Atari - Entropy-regularized versions of both Q-learning and policy gradients were evaluated on the Atari benchmark. - They performed as well as, or slightly better than, their standard counterparts. ## Practical Validation Against A3C - To show the equivalence holds in practice, the authors built a Q-learning method whose learning dynamics closely match those of A3C. - Notably, this method works without a target network or an ϵ-greedy exploration schedule, two components common in standard Q-learning. The results suggest that entropy regularization provides a principled bridge between value-based and policy-based reinforcement learning, and that some of Q-learning's practical behavior may be better understood through a policy gradient lens.

Figma2017-04-113 min readCurated summary

An alternative approach to rate limiting | Figma Blog

Figma built a Redis-backed rate limiter to protect its web application from excessive traffic and spam. The system needed to work across multiple servers, add minimal latency, remove stale data efficiently, remain accurate, and use little memory. Common algorithms each met some of these goals, but introduced trade-offs involving atomicity, burst behavior, or memory consumption. ## Requirements and Redis - Rate limits cap requests from a user or IP within a time period. - Figma needed shared state because its application ran on multiple machines. - Redis was preferred over PostgreSQL because it provides: - Faster in-memory reads and writes - Built-in expiration for stale tracking data - Efficient storage for rate-limit state ## Token Bucket - Stores each user’s last-request timestamp and remaining token count in a Redis hash. - Tokens refill over time; a request is rejected when no tokens remain. - It is memory-efficient and conceptually elegant. - Its read-then-write operations are not atomic: - Two servers can read the same remaining token count. - Both may accept a request even though only one token was available. - Redis locks could prevent this race but would slow concurrent requests and add complexity. - Lua scripting could make the operations atomic, but Figma avoided introducing that complexity. ## Fixed Window Counters - Stores a request count for each user and fixed time interval, such as one Redis key per minute. - Each request atomically increments its interval’s counter. - Keys expire after the interval, preventing stale data from accumulating. - The approach is simple, memory-efficient, and avoids the token bucket’s race condition. - Its major flaw is boundary bursts: - With a five-request-per-minute limit, a user could send five requests at the end of one minute and five more immediately afterward. - This allows up to twice the intended traffic over a short sliding period. ## Sliding Window Logs - A sliding window log records the timestamps of individual requests. - Older timestamps can be removed as the window advances, and the remaining entries provide an accurate count. - This avoids the boundary problem of fixed windows. - The trade-off is memory usage: users making many requests require many timestamps to be stored. ## The Central Trade-off - Token buckets use little memory but require careful handling of distributed atomicity. - Fixed counters are atomic and efficient but can permit bursts at window boundaries. - Sliding logs are accurate but consume more memory. - Figma’s rate limiter was designed around balancing these competing concerns rather than choosing the theoretically simplest algorithm. The practical lesson is to select a rate-limiting strategy based on the required accuracy, concurrency model, storage system, and memory budget. Redis is a strong fit for distributed rate limiting, but the algorithm must account for both race conditions and burst behavior.

OpenAI2017-04-092 min readCurated summary

Stochastic Neural Networks for hierarchical reinforcement learning

This work proposes a two-stage framework for hierarchical reinforcement learning that tackles sparse rewards and long horizons. An agent first learns a library of reusable skills in a pre-training environment, guided by a single proxy reward that requires little domain knowledge about the downstream tasks. A high-level policy then operates over these skills, which improves exploration and lets the agent learn faster in downstream tasks with sparse rewards. ## Motivation - Deep reinforcement learning performs well on many tasks, but sparse-reward and long-horizon tasks remain difficult. - The approach aims to reuse skills learned in advance rather than learning each downstream task from scratch. ## Skill Pre-training with a Proxy Reward - Skills are learned in a pre-training environment using one proxy reward, which combines ideas from intrinsic motivation and hierarchical methods. - The proxy reward needs very little knowledge of the downstream tasks, so the skills are not tailored to any particular one. - Stochastic Neural Networks are used to represent a broad span of skills efficiently. - An information-theoretic regularizer encourages the learned skills to be diverse and distinguishable. ## High-level Policy for Downstream Tasks - A high-level policy is trained on top of the pre-trained skills and chooses which skill to use. - Working at the level of skills improves exploration, which helps where rewards are sparse. ## Experimental Results - The learned skills are interpretable and were acquired sample-efficiently. - Learning performance improved consistently across a wide range of downstream tasks.

OpenAI2017-04-053 min readCurated summary

Unsupervised sentiment neuron

# Unsupervised Sentiment Neuron: Learning Sentiment by Predicting the Next Character OpenAI researchers trained a multiplicative LSTM with 4,096 units to predict the next character in 82 million Amazon reviews, without any sentiment labels. The resulting representation contains a single unit that tracks sentiment with high precision. A linear model built on these features reaches state-of-the-art accuracy on the Stanford Sentiment Treebank while using 30 to 100 times fewer labeled examples than prior supervised systems. The authors argue that large next-step prediction models can learn useful, interpretable representations as a side effect of this simple objective. ## Training Setup - A multiplicative LSTM with 4,096 units was trained on 82 million Amazon reviews to predict the next character. - Training took one month on four NVIDIA Pascal GPUs and processed about 12,500 characters per second. - The 4,096-unit state vector serves as a feature representation of the input text. - A sentiment classifier was built by learning a linear combination of these units from labeled data. ## Discovery of the Sentiment Neuron - While fitting an L1-regularized linear model, the researchers noticed it relied on very few units. - Further analysis revealed a single unit, dubbed the "sentiment neuron," that is highly predictive of sentiment. - Because this neuron can be directly overwritten, the model offers a simple control over the sentiment of generated text. - Visualizing the neuron character by character shows large shifts on strongly polar words such as "best" and "horrendous," and also after sentence endings, where the neuron summarizes the sentiment of the completed clause. ## Results - On the Stanford Sentiment Treebank, the approach reaches 91.8% accuracy, up from the previous best of 90.2%. - The L1-regularized model matches a multichannel CNN with only 11 labeled examples, and matches CT-LSTM ensembles with 232 examples. Each comparison baseline was trained on 6,920 examples. ## Implications for Unsupervised Learning - Labeled data is expensive to collect at scale, so tasks without strong economic incentives often lack good models. - Learning good general representations without labels has long been a goal, and this work suggests next-step prediction on large data is a promising route. - The authors believe the effect is a general property of large networks trained to predict their next input, not specific to this architecture. ## Limitations and Future Directions - Performance drops on long documents, which the authors attribute to the character-level model struggling to retain information over hundreds to thousands of timesteps. Hierarchical models that adapt their timescales are suggested as a remedy. - The representation weakens as input text diverges from the review domain, so broader training corpora need to be tested. - The authors propose extending the idea to video, training models to predict future frames in order to learn representations for object, scene, and action classification.

OpenAI2017-03-312 min readCurated summary

Spam detection in the physical world

# Spam Detection in the Physical World OpenAI reports building what it calls the first Spam-detecting AI trained entirely in simulation and deployed on a physical robot. The approach addresses the costly data collection that bottlenecks robotic perception, using domain randomization to let a model trained only on synthetic images transfer to real-world scenes without retraining. ## The Data Bottleneck in Robotics - Deep learning robotic systems require hundreds of thousands of images to train perception alone, which is expensive to collect. - Simulated data is cheap to generate, but the gap between simulation and reality usually forces teams to retrain models from scratch on physical data. ## Domain Randomization for Sim-to-Real Transfer - Domain randomization is an existing technique that OpenAI applied to cluttered scenes. - The method randomly varies colors, textures, lighting conditions, and camera settings across simulated scenes. - The resulting variability is enough for a neural network to generalize to reality rather than overfitting to the simulator's appearance. - Each generated frame contains Spam, often partially hidden among distractor objects. The Spam model comes from the YCB object dataset. ## The Detection Model - The detector is a neural network based on the VGG16 architecture. - It predicts the precise 3-D location of Spam in an image. - Despite being trained only on simulated scenes, it detects Spam in real images, including when unfamiliar distractor items are arranged in random configurations. ## Future Work - The team plans to extend the system to phishing detection. - They also intend to defend against adversarial Spam, meaning inputs deliberately designed to fool the detector. The core takeaway is that randomizing the visual properties of simulated environments can produce perception models that work on physical hardware with no real-world training data.

Figma2017-03-292 min readCurated summary

Figma’s new icon | Figma Blog

Figma’s 2017 icon redesign reflects the company’s growth and broader design philosophy. Rather than treating the icon as a standalone mark, Figma built it around three ideas: fundamental design elements, playful experimentation, and modular systems. The result is a bright, flexible icon made from simple shapes that represents both Figma’s product and its approach to design. ## Celebrating the Fundamentals of Design - All designs can be reduced to basic elements such as points, lines, and shapes. - Figma’s own tools follow this principle: a relatively small set of carefully integrated functions can produce complex results. - The icon celebrates these foundational building blocks, echoing traditions associated with Bauhaus and other design movements. - Its simple forms represent Figma’s goal of empowering designers to create sophisticated work from elemental components. ## Encouraging Play - The icon’s bright colors and block-like shapes were inspired by children’s building blocks. - Figma views experimentation and play as important ways to discover new solutions. - An open, playful design process can produce more creative and unexpected outcomes. - The icon is intended to communicate the same openness and enjoyment that Figma hopes to enable in its users’ workflows. ## Design as a System - Digital products must work across many screen sizes, devices, operating systems, and connection conditions. - Modular systems and reusable components are therefore more effective than one-off designs. - Figma favors rules-based, vector design because it can adapt to different environments more reliably than fixed pixels. - The new icon is constructed from three simple shapes arranged on a modular grid, reinforcing the idea of flexible, reusable design components. - This concept connects to Figma features such as team libraries, which help designers build and maintain systems. The new icon extends Figma’s identity while expressing its core beliefs: strong design starts with fundamentals, creativity benefits from play, and digital work is most powerful when built as an adaptable system.

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.

Figma2017-03-192 min readCurated summary

Should designers learn to code? | Figma Blog

The article argues that learning to code is not a universal requirement for designers. Alex Cornell chose filmmaking and motion graphics instead because his engineering-heavy startup already had strong coding expertise, and that specialization later helped him launch Facebook Live. While coding can improve collaboration with engineers, designers should choose skills based on their interests, team needs, and career goals. ## Coding Is a Personal Choice - In 2007, deciding whether to code was viewed as an individual career choice rather than an expected designer milestone. - Cornell worked alongside highly experienced engineers, so learning to code would have duplicated an existing team strength. - He chose filmmaking, After Effects, and Premiere because he found motion graphics more engaging and useful. - Without modern prototyping tools, he used After Effects to demonstrate animated interface ideas. ## The Value of Learning Adjacent Skills - Cornell sometimes wonders what learning to code might have enabled, but does not fundamentally regret his decision. - His design career benefited from understanding how engineers think and how to translate design concepts into technical language. - At Facebook, coding is helpful but not essential to his role. - Specializing in a complementary discipline can make a team stronger than having everyone develop the same skills. ## The Boundary Between Design and Code Is Blurring - Modern tools such as Framer and Origami combine visual design with logic and interaction. - Designers increasingly work with systems that sit between traditional design and programming. - Because roles and tools overlap, the question is no longer a simple choice between coding and not coding. - There is no universally correct answer; the best path depends on the individual. ## Writing and Communication Matter - Cornell recommends writing and communication or presentation as especially valuable alternatives to coding. - Strong design or technical execution may have little impact if the designer cannot persuade others to support the idea. - Communication can take many forms: - Speaking in meetings - Presentations and slide decks - Films or demonstrations - Clear written explanations - These skills combine practical communication with emotional intelligence, helping designers influence decisions and move projects forward. - Cornell also cautions against leaving school too early because writing, communication, and interpersonal skills are harder to acquire independently than technical skills. Designers should learn to code when they are genuinely interested in it or when it serves their goals—not because it has become an expected rite of passage. Building complementary strengths, particularly in writing and communication, can be just as valuable.

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.