Iniciar prueba gratuita
Searching...
SoBrief
Español
EnglishEnglish
EspañolSpanish
简体中文Chinese
繁體中文Chinese (Traditional)
FrançaisFrench
DeutschGerman
日本語Japanese
PortuguêsPortuguese
ItalianoItalian
한국어Korean
РусскийRussian
NederlandsDutch
العربيةArabic
PolskiPolish
हिन्दीHindi
Tiếng ViệtVietnamese
SvenskaSwedish
ΕλληνικάGreek
TürkçeTurkish
ไทยThai
ČeštinaCzech
RomânăRomanian
MagyarHungarian
УкраїнськаUkrainian
Bahasa IndonesiaIndonesian
DanskDanish
SuomiFinnish
БългарскиBulgarian
עבריתHebrew
NorskNorwegian
HrvatskiCroatian
CatalàCatalan
SlovenčinaSlovak
LietuviųLithuanian
SlovenščinaSlovenian
СрпскиSerbian
EestiEstonian
LatviešuLatvian
فارسیPersian
മലയാളംMalayalam
தமிழ்Tamil
اردوUrdu
Why Machines Learn

Why Machines Learn

The Elegant Math Behind Modern AI
por Anil Ananthaswamy 2024 480 páginas
4.38
1000+ valoraciones
Escuchar
Prueba el acceso completo por 3 días
¡Desbloquea la escucha y mucho más!
Continuar

Ideas clave

1. Los primeros sueños de la IA enfrentaron límites fundamentales

El perceptrón nunca cumplió con las expectativas.

Emoción inicial. La investigación temprana en inteligencia artificial, como el perceptrón de Frank Rosenblatt a finales de los años 50, generó un gran entusiasmo, prometiendo máquinas capaces de aprender, ver e incluso tener conciencia. Inspirados en modelos simplificados de neuronas biológicas (las neuronas McCulloch-Pitts), estos primeros dispositivos buscaban imitar el funcionamiento del cerebro.

Aprendizaje sencillo. El perceptrón introdujo la idea de aprender a partir de datos ajustando pesos internos y un término de sesgo para encontrar un límite lineal (hiperplano) que separara puntos de datos en categorías. Un resultado teórico clave demostró que el perceptrón siempre podía encontrar este límite si los datos eran linealmente separables.

Limitaciones inherentes. A pesar de la promesa inicial, se demostró matemáticamente que los perceptrones de una sola capa eran incapaces de resolver problemas no lineales simples, como la puerta XOR. Esta limitación, destacada por Minsky y Papert en 1969, contribuyó de manera significativa al primer "invierno de la IA", deteniendo el progreso en la investigación durante años.

2. Las matemáticas proveen el lenguaje para el aprendizaje automático

Son el eje central de la historia.

Vectores como datos. El aprendizaje automático se basa fundamentalmente en representar los datos como objetos matemáticos, principalmente vectores y matrices. Un vector, que posee magnitud y dirección, puede representar desde la altura y peso de una persona hasta los valores de píxeles de una imagen, permitiendo que los puntos de datos existan en espacios multidimensionales.

Operaciones que revelan relaciones. El álgebra lineal ofrece las herramientas para manipular estas representaciones de datos.

  • Suma/resta de vectores: combinar o comparar puntos de datos.
  • Multiplicación por un escalar: escalar características de los datos.
  • Producto punto: medir similitud o proyección, fundamental para entender distancias e hiperplanos.

Las matrices transforman datos. Las matrices, arreglos rectangulares de números, se usan para transformar vectores. Multiplicar un vector por una matriz puede cambiar su magnitud, dirección o incluso su dimensionalidad, formando la base de cómo las redes neuronales procesan información a través de sus capas.

3. Los algoritmos de aprendizaje minimizan el error mediante descenso

Cuando escribí el algoritmo LMS en la pizarra por primera vez, de alguna manera supe intuitivamente que era algo profundo.

Cuantificar el error. Los algoritmos de aprendizaje automático aprenden minimizando la diferencia entre su salida y la salida deseada, medida a menudo por una "función de pérdida" como el error cuadrático medio (MSE). El objetivo es encontrar los parámetros del modelo (pesos, sesgos) que resulten en la menor pérdida posible.

Descenso por gradiente. El cálculo diferencial provee el método para encontrar este mínimo. El descenso por gradiente consiste en calcular el "gradiente" (la dirección de mayor aumento) de la función de pérdida respecto a los parámetros del modelo y dar pequeños pasos en la dirección opuesta (la de mayor disminución)...

Última actualización:

Report Issue

Resumen de reseñas

4.38 de 5
Promedio de 1000+ valoraciones de Goodreads y Amazon.

Por qué aprenden las máquinas nos invita a un recorrido profundo por los fundamentos matemáticos del aprendizaje automático, desde los primeros perceptrones hasta las redes neuronales modernas. Los lectores valoran las explicaciones claras de Ananthaswamy y el contexto histórico que ofrece, aunque algunos encuentran que la profundidad matemática resulta desafiante. El libro destaca por su capacidad para explicar conceptos anteriores al aprendizaje profundo, aunque aborda de forma más ligera los avances recientes. Si bien es elogiado por su accesibilidad y sus aportes, algunos críticos señalan que puede resultar demasiado técnico para quienes se acercan de manera casual, pero a la vez no lo suficientemente detallado para los expertos. En conjunto, se considera un recurso valioso para quienes desean comprender los principios fundamentales de la inteligencia artificial y el aprendizaje automático.

Your rating:
4.62
289 valoraciones
Want to read the full book?

Preguntas frecuentes

1. What is Why Machines Learn: The Elegant Math Behind Modern AI by Anil Ananthaswamy about?

  • Comprehensive AI history: The book traces the evolution of machine learning and artificial intelligence, from early perceptrons to today’s deep neural networks and large language models.
  • Mathematical foundations: It explains the elegant mathematics—linear algebra, calculus, probability, and optimization—that underpin modern AI, making complex ideas accessible to a broad audience.
  • Interdisciplinary connections: Ananthaswamy highlights how concepts from biology, physics, neuroscience, and computer science converge in the development of AI.
  • Societal impact: The book also discusses AI’s transformative potential, its limitations, and the importance of societal understanding and regulation.

2. Why should I read Why Machines Learn by Anil Ananthaswamy?

  • Accessible math explanations: The book is praised for making the mathematics of neural networks and machine learning understandable, even for readers with limited technical backgrounds.
  • Historical and scientific context: It situates technical advances within their historical and social contexts, enriching the reader’s appreciation of AI’s development.
  • Bridges theory and practice: Readers gain insight into both the theoretical underpinnings and practical breakthroughs in AI, making it valuable for students, educators, and practitioners.
  • Prepares for AI discourse: The book addresses open questions, ethical concerns, and societal implications, equipping readers to engage thoughtfully with ongoing AI debates.

3. What are the key takeaways from Why Machines Learn by Anil Ananthaswamy?

  • Elegant math underpins AI: Core mathematical concepts like linear algebra, calculus, probability, and optimization are foundational to understanding and advancing machine learning.
  • Interdisciplinary innovation: Progress in AI has often come from blending ideas across fields, such as physics-inspired neural networks and biologically motivated architectures.
  • Theory lags behind practice: Despite rapid empirical advances, many mysteries remain about why deep learning works so well, including phenomena like benign overfitting and grokking.
  • Ethical vigilance required: The book emphasizes the need for responsible AI development, addressing bias, fairness, and the societal impact of increasingly powerful models.

4. What are the best quotes from Why Machines Learn by Anil Ananthaswamy and what do they mean?

  • “The mathematics of neural networks is elegant and accessible.” — Geoffrey Hinton, highlighting the book’s clarity in explaining complex math.
  • “AI systems can inherit and amplify societal biases.” — Emphasizes the ethical responsibility in AI development and deployment.
  • “Despite empirical successes, theoretical understanding of why deep networks generalize well remains incomplete.” — Points to the ongoing mysteries in deep learning research.
  • “The book is a masterpiece that explains the mathematics of neural networks in an accessible way.” — Underscores the book’s value for readers at all levels.

5. How does Why Machines Learn by Anil Ananthaswamy explain the perceptron and its significance?

  • Early artificial neuron: The perceptron, invented by Frank Rosenblatt, is introduced as the first algorithmic model of a brain-inspired learning device.
  • Mathematical model: It computes a weighted sum of inputs plus a bias, outputting a binary classification based on a threshold.
  • Foundation for neural networks: Despite its limitations (e.g., inability to solve XOR), the perceptron laid the groundwork for modern neural networks and machine learning.
  • Historical context: The book details how the perceptron’s limitations led to the first “AI winter” before later breakthroughs revived the field.

6. What is the perceptron learning algorithm in Why Machines Learn and how does it work?

  • Weight initialization and update: The algorithm starts with zeroed weights and updates them iteratively based on misclassified data points.
  • Convergence guarantee: Mathematical proofs show that if a linear separator exists, the perceptron will find it in a finite number of steps.
  • Limitations: The perceptron cannot solve problems requiring nonlinear decision boundaries, such as XOR, highlighting the need for multi-layer networks.
  • Role in AI history: This limitation spurred further research, eventually leading to the development of backpropagation and deep learning.

7. How does Why Machines Learn by Anil Ananthaswamy explain the role of vectors and linear algebra in machine learning?

  • Data as vectors: Data points and model weights are represented as vectors in high-dimensional space, enabling geometric interpretations of learning.
  • Dot product and hyperplanes: The perceptron’s decision boundary is a hyperplane orthogonal to the weight vector, with the dot product determining classification.
  • Matrix operations: Vectors are special cases of matrices, and operations like dot products and transposes are fundamental for efficient computation in machine learning.
  • Dimensionality and visualization: Linear algebra tools help manage and visualize high-dimensional data, crucial for understanding model behavior.

8. What is the significance of probability and statistics in machine learning according to Why Machines Learn?

  • Handling uncertainty: Probability theory is essential for reasoning about uncertainty in data and predictions, illustrated through examples like the Monty Hall problem.
  • Bayesian reasoning: Bayes’s theorem is explained as a method for updating beliefs given new evidence, foundational for probabilistic classifiers.
  • Estimating distributions: Machine learning models often estimate underlying probability distributions (e.g., Bernoulli, Gaussian) to make predictions.
  • Parameter learning: Methods like maximum likelihood estimation (MLE) and maximum a posteriori (MAP) estimation guide how models learn from data.

9. How does Why Machines Learn by Anil Ananthaswamy describe the nearest neighbor algorithm and its challenges?

  • Intuitive classification: The k-nearest neighbor (k-NN) algorithm classifies new data points based on the majority label among their closest neighbors, requiring no assumptions about data distribution.
  • Historical roots: The book traces the algorithm’s origins to early theories of vision and formalizes its development through key researchers.
  • Curse of dimensionality: k-NN struggles in high-dimensional spaces where distances become less meaningful, motivating the use of dimensionality reduction techniques.
  • Practical simplicity: Despite its limitations, k-NN remains a powerful and easy-to-understand method for many classification tasks.

10. What is principal component analysis (PCA) and why is it important in Why Machines Learn by Anil Ananthaswamy?

  • Dimensionality reduction: PCA projects high-dimensional data onto a smaller set of orthogonal axes (principal components) that capture the most variance.
  • Eigenvectors and covariance: Principal components are the eigenvectors of the data’s covariance matrix, with eigenvalues indicating the variance captured.
  • Managing complexity: PCA helps address the curse of dimensionality, making data analysis and visualization more tractable.
  • Real-world applications: The book illustrates PCA’s use in fields like EEG data analysis and classic datasets, showing its practical value.

11. How does Why Machines Learn by Anil Ananthaswamy explain the kernel trick and support vector machines?

  • Mapping to higher dimensions: The kernel trick allows algorithms to implicitly project data into higher-dimensional spaces, enabling linear separation of nonlinearly separable data.
  • Computational efficiency: Kernel functions compute dot products in the original space that correspond to those in the higher-dimensional space, saving computation.
  • Support vector machines (SVMs): The book details how SVMs, combined with the kernel trick, find optimal decision boundaries and revolutionized machine learning in the 1990s.
  • Constrained optimization: Techniques like Lagrange multipliers are used to solve the optimization problems underlying SVMs.

12. What are the mysteries, paradoxes, and ethical concerns about deep learning and AI discussed in Why Machines Learn by Anil Ananthaswamy?

  • Benign overfitting and double descent: Deep networks can generalize well even when over-parameterized, and test error can decrease again as model complexity increases, defying classical expectations.
  • Grokking phenomenon: Networks can suddenly internalize deeper patterns after extended training, leading to improved generalization—a phenomenon not yet fully understood.
  • Bias and fairness: AI systems can inherit and amplify societal biases, making fairness and transparency critical concerns.
  • Societal impact: The book stresses the need for responsible AI development, including diverse data, transparency, and ongoing scrutiny to mitigate harms and maximize benefits.

Sobre el autor

Anil Ananthaswamy es un destacado escritor científico con una sólida formación en periodismo y comunicación científica. Ha desempeñado cargos como subeditor de noticias y consultor para la revista New Scientist, además de colaborar con diversas publicaciones científicas de renombre. Ananthaswamy es reconocido por su labor en la educación científica, impartiendo talleres y ejerciendo como editor invitado en instituciones prestigiosas. Su trabajo ha sido galardonado por el Instituto de Física del Reino Unido y la Asociación Británica de Escritores Científicos. Con una perspectiva global, Ananthaswamy divide su tiempo entre Bangalore, India, y Berkeley, California, aportando una visión diversa a su labor en el periodismo y la literatura científica.

Follow
Escuchar
Now playing
Why Machines Learn
0:00
-0:00
Now playing
Why Machines Learn
0:00
-0:00
1x
Queue
Home
Swipe
Library
Get App
Try Full Access for 3 Days
Listen, bookmark, and more
Compare Features Free Pro
📖 Read Summaries
Read unlimited summaries. Free users get 3 per month
🎧 Listen to Summaries
Listen to unlimited summaries in 40 languages
❤️ Unlimited Bookmarks
Free users are limited to 4
📜 Unlimited History
Free users are limited to 4
📥 Unlimited Downloads
Free users are limited to 1
Risk-Free Timeline
Hoy: Obtén acceso instantáneo
Escucha resúmenes completos de más de 26.000 libros. ¡Son más de 12.000 horas de audio!
Día 2: Recordatorio de prueba
Te enviaremos una notificación de que tu prueba está por terminar.
Día 3: Tu suscripción comienza
Se te cobrará el Jun 11,
cancela en cualquier momento antes.
Consume 2.8× More Books
2.8× more books Listening Reading
Our users love us
600,000+ readers
Trustpilot Rating
TrustPilot
4.6 Excellent
This site is a total game-changer. I've been flying through book summaries like never before. Highly, highly recommend.
— Dave G
Worth my money and time, and really well made. I've never seen this quality of summaries on other websites. Very helpful!
— Em
Highly recommended!! Fantastic service. Perfect for those that want a little more than a teaser but not all the intricate details of a full audio book.
— Greg M
Save 62%
Yearly
$119.88 $44.99/year/yr
$3.75/mo
Monthly
$9.99/mo
Start a 3-Day Free Trial
3 days free, then $44.99/year. Cancel anytime.
Unlock a world of fiction & nonfiction books
26,000+ books for the price of 2 books
Read any book in 10 minutes
Discover new books like Tinder
Request any book if it's not summarized
Read more books than anyone you know
#1 app for book lovers
Lifelike & immersive summaries
30-day money-back guarantee
Download summaries in EPUBs or PDFs
Cancel anytime in a few clicks
Scanner
Find a barcode to scan

We have a special gift for you
Open
38% OFF
DISCOUNT FOR YOU
$79.99
$49.99/year
only $4.16 per month
Continue
2 taps to start, super easy to cancel
Settings
General
Widget
Loading...
We have a special gift for you
Open
38% OFF
DISCOUNT FOR YOU
$79.99
$49.99/year
only $4.16 per month
Continue
2 taps to start, super easy to cancel