Peter Norvig (Google Director of Research) – Machine Learning and AI, Wonderfest Science Event (Jun 2018)
Chapters
Abstract
The Evolving Paradigm of Programming: From Traditional Codes to Machine Learning Mastery
In the rapidly evolving landscape of software development, the shift from traditional programming to machine learning (ML) represents a paradigmatic revolution. This article delves into the transformation from manually crafted codes to the empirical science of ML, exploring its implications, applications, and challenges. We examine the transformative impacts on the software development process, the innovative approaches of companies like Voyage in autonomous vehicle technology, and the ethical and practical challenges that emerge in this new era. This comprehensive analysis provides insight into how machine learning is reshaping the field of software development and its broader implications.
From Manual Code to Machine Intelligence
Traditional Programming:
In the traditional programming model, programmers are akin to meticulous craftsmen, translating complex ideas into code with precision and efficiency. This approach, rooted in mathematical science, requires programmers to micromanage every step, ensuring the correctness and efficiency of their codes.
Machine Learning Paradigm Shift:
Contrasting sharply, the machine learning paradigm heralds a new age where computers, not humans, write the program. In this new role, humans act as teachers, guiding computers through data and examples. The result is a ‘black box’ – a program whose inner workings are often opaque to its creators, shifting software development towards an empirical science marked by probability and uncertainty.
Transformative Implications and Applications
Implications:
This shift leads to a radical transformation in the role of the programmerfrom micromanaging to teachingand ushers in an era of increased creativity and a more data-driven approach to software development.
Applications:
Machine learning’s prowess is evident across various domains:
– Game Playing: Surpassing human abilities in games like Go and chess.
– Complex Systems Management: Optimizing operations in arenas like data centers, leading to significant energy savings.
– Natural Language Processing and Image Recognition: Enabling sophisticated interaction and analysis capabilities, from text-based search to image-based data retrieval.
– Scientific Discovery: Assisting in complex research from astronomy to medicine, such as analyzing vast amounts of genetic data for drug discovery.
The Challenges of Machine Learning
Interpretability and Data Requirements:
Despite its advancements, ML faces significant hurdles. The complexity of ML models often makes them difficult to interpret, hindering their widespread adoption. Moreover, these systems require vast amounts of training data, posing challenges in data collection and quality control.
Debugging and Non-stationarity:
Debugging ML systems is more intricate due to the lack of clear abstraction barriers, making the analysis of system behavior arduous. Additionally, the non-stationary nature of ML systems, where the assumption that the future will mirror the past is often invalid, calls for continual updates and monitoring.
Privacy, Security, and Fairness:
With data as ML’s backbone, privacy and security concerns take center stage, demanding new strategies to safeguard sensitive information. Moreover, the problem of fairness in resource allocation and system design presents ethical dilemmas, emphasizing the need for new methodologies to address these issues effectively.
Tool Development:
Machine learning requires a new tool set to address its complexity and debugging challenges.
– Building Tools for Specific Tasks: Peter Norvig emphasizes the importance of developing specialized tools for ML, which will see continual improvements.
– Generality vs. Specialization: Norvig suggests that generality in AI is not a necessary goal but rather a gradual process achieved through repeated specialized actions.
Non-stationarity:
Continual monitoring and updating of ML systems are necessary as the world changes and historical data becomes less relevant.
Privacy and Security:
Companies have a responsibility to protect customer information and implement measures to ensure responsible stewardship of data.
Fairness in Machine Learning:
Fairness in ML systems is challenging due to the lack of a clear definition of fairness. Resource allocation and fairness considerations can be influenced by splitting groups.
– Quality Control and Bias in Machine Learning: Norvig acknowledges the challenge of quality control, particularly regarding bias introduced by teachers.
– Uncertainty in Traditional and Machine Learning Programs: Norvig emphasizes the inherent uncertainty in both types of programs, distinguishing between uncertainty in the problem and uncertainty in the solution.
Voyage’s Innovative Approach in Autonomous Vehicles
Voyage’s Strategy:
Voyage, an autonomous vehicle company, exemplifies innovation by deploying self-driving technology in controlled environments like retirement communities. This strategic focus allows them to refine their technology in a less complex setting, providing a practical application of ML in a niche market.
The Mechanics of Machine Learning
Deep Learning and Hierarchical Basis Function Regression:
Deep learning, a key component of ML, involves constructing multi-layered networks where each layer’s output informs the next, enabling the learning of complex data relationships. The hierarchical basis function regression approach further refines this by breaking down the learning process into multiple steps, allowing for intermediate outputs and a more nuanced understanding of data patterns.
The Tile Analogy: From Traditional to Hierarchical
Traditional vs. Modern Approach:
The evolution of ML can be analogized with kitchen tile designs. Traditional programming is like a fixed catalog of tile designs, whereas modern ML approaches allow for custom designs based on personal images. However, this customizability brings challenges in cost-effectiveness and production.
Hierarchical Approach in Tile Inventory:
To address these challenges, a hierarchical approach is proposed, where an inventory of reusable tile designs is created. This breakthrough around 2006 led to the development of more meaningful and complex patterns, mirroring the advancements in ML.
Addressing ML’s Unique Challenges
Abstraction Barriers and Debugging:
Unlike traditional programs with clear modules, ML systems lack these barriers, making debugging a complex task. The interconnectivity of components in ML systems means that changes in one part can have unforeseen consequences elsewhere.
Ethical Considerations:
Fairness in ML systems is a critical concern. The absence of clear guidelines for fairness leads to arbitrary decisions in resource allocation. The tension between maximizing total benefit and per-person fairness adds another layer of complexity.
– Understanding Machines through a Common Language: Norvig emphasizes the need for a better common language between humans and machines to facilitate debugging and guidance of ML systems.
– Direct Human-Machine Interfaces: Norvig mentions the potential for direct human-machine interfaces for correcting failures and restoring brain functions.
Machine learning represents a significant leap in software development, marked by its shift from a deterministic to a probabilistic approach. Despite its transformative potential and wide-ranging applications, ML introduces new challenges in interpretability, data quality, privacy, security, and ethical considerations. As the field continues to advance, addressing these challenges becomes paramount to harness the full potential of machine learning technologies.
Notes by: Simurgh