Physics and Machine Learning “All the tricks that physicists’ use eventually end up in machine learning”

Slides:



Advertisements
Similar presentations
What is energy?.
Advertisements

Section 1. Kinetic Theory: How particles in matter behave 3 Basic Assumptions of the Kinetic Theory 1.All matter is composed of small particles (atoms,
Unit 3 Energy and Work.
Chapter 5: Energy Vocabulary. Kinetic Energy energy an object has due to its motion.
ENERGY REVIEW. What is energy? The ability to do work or make change in matter.
Energy Chapter 10 What is Energy?
Energy RULES! Electrical Energy Energy of electrical charges as a result of their position or motion. Energy of electrical charges as a result of their.
Energy. Types of Energy Kinetic – energy of motion Potential – stored energy Thermal – form of energy associated with heat Nuclear - energy stored in.
Energy function: E(S 1,…,S N ) = - ½ Σ W ij S i S j + C (W ii = P/N) (Lyapunov function) Attractors= local minima of energy function. Inverse states Mixture.
What is Energy? Forms of Energy
Do Now Finish the following sentence: “Energy is the ability to ____.” Write your completed sentence in your science journal. People often use the words.
Physical Science and You Chapter One: Studying Physics and Chemistry Chapter Two: Experiments and Variables Chapter Three: Key Concepts in Physical Science.
Forms and Transformations
Forms of Energy  Kinetic Energy – due to the movement of an object. As the blocks move they lose potential energy but it is converted to kinetic Kinetic.
Chapter 5 Energy.
In the pictures shown what do you thing the people are doing? The people are doing some kind of work. Reading, writing, calculating, drawing are examples.
Energy. Energy sources Electrical energy Magnetic energy –Today we know it’s “electromagnetic” combined. Solar power (energy from light) Energy from chemical.
Energy Changes in Chemical and Physical Processes 1.
Ch.9, Sec.1 – What Is Energy?  energy: the capacity to do work Energy and Work: Working Together Energy and Work: Working Together - work is done when.
Types of Energy 1.Chemical potential or kinetic in atoms electrons (-) negative charge protons (+) positive charge neutrons no charge charges create chemical.
Heat Thermal Energy Thermal Energy Thermal Energy.
The Science Test.  Energy can be defined as the ability to do work.  Because of the direct connection between energy and work, energy is measured.
ENERGY BASICS.
Energy is the capacity to do work or produce a change. Think of the energy of a substance as the total of the kinetic & potential energies of all the particles.
Energy. Definition Energy is the ability to do work Work is done on an object whenever a force (push or pull) moves an object through a distance Work.
Potential & Kinetic Energy. Energy The ability to do work The ability to cause matter to move The ability to cause matter to change Measured in joules.
Energy Notes.
Energy and Energy Resources Sections 1 and 2. What is Energy? The ability to do work Involves motion or position Work occurs when a force causes an object.
Forms of Energy. Nature of Energy Energy is the ability to do work. If an object or organism does work, then it uses energy. Work is the use of a force.
Energize Science Grade 5 Module D Chapter 1 Vocabulary.
Thermal Force Unit 1.4
Energy / Alternative Energy 5 th Grade Science Forms of Energy.
ENERGY Ability to do work or cause change. Potential Stored energy. Has the ability to move. It might move, it might not move.
WORK, ENERGY & POWER. Work  A measure of the amount of energy transformed from one form to another  For example, work is done when energy is used to.
Sci. 5-1 What is Energy? Pages A. Energy- is the ability to do work and work is the transfer of energy.
Forms of Energy. Energy Energy Energy- The ability to do work Energy- The ability to do work Work- A transfer of energy Work- A transfer of energy Work.
Energy Chapter What is Energy?  When an object or living thing does work on another object, some of its energy is transferred to that object.
Do Now Nov. 4th In your Do Now Book, list ways that you used energy this morning.
CHAPTER 4 ENERGY Energy changes With all motion energy is required. When an object moves it has Kinetic energy (motion). When an object is standing still.
Thermochemistry. Overview Thermochemistry: An IntroductionThermochemistry: An Introduction Classification of EnergyClassification of Energy Conservation.
Matter in Motion The molecules that make up matter are in constant motion. These molecules have kinetic energy.
Energy. Bellringer How are energy and power different?
Do you agree or disagree?
Chapter 5: Energy Vocabulary
Thermochemistry is the study of energy changes that occur during chemical reactions and phase changes (changes of state)
Phases of Matter and Phase Changes
Forms of Energy.
Bell Ringer May 8th Check your grades….
Forms of Energy Foldable
ENERGY TRANSFER IN TEMPERATURE & THERMAL ENERGY
Forms of Energy Foldable
Energy: the Basics.
Energy.
Energy in Earth Processes
Conservation of Mass/Energy and Specific Heat
Lesson 1 What is the Conservation of Energy?
ENERGY.
Energy.
Thermodynamics Chapter 18.
Conservation of Mass/Energy and Specific Heat
Chapter 8: Energy and Energy Resources
Energy: It’s all around us…
Energy Goal: 6.P.3 Understand characteristics of energy transfer and interactions of matter and energy.
Chapter 2 Lecture Outline See PowerPoint Image Slides
Forms of Energy.
Law of Conservation of Energy
Potential and Kinetic Energy
Stored energy due to position
Forms of Energy.
Energy Goal: 6.P.3 Understand characteristics of energy transfer and interactions of matter and energy.
Presentation transcript:

Physics and Machine Learning “All the tricks that physicists’ use eventually end up in machine learning”

Energy – Physics definitions Energy - A measure of being able to do work. There are many forms of energy, such as heat, mechanical, electrical, radiant, chemical, and nuclear energies. Energy is measured in such units as the joule (J), erg, kilowatt- hour (kW-hr), kilocalorie (kcal), foot-pound (ft-lb.), electron-volt (ev), and British thermal unit (BTU). –NASA.gov "It is important to realize that in physics today, we have no knowledge of what energy is. We do not have a picture that energy comes in little blobs of a definite amount." -Richard Feynman "Lectures on Physics"

Energy - Physics II Images: Magnetic Arrays and Spin

Energy - Machine Learning H=-½  iJ w iJ S i S J SiSi SJSJ W iJ Vs.

Energy - Machine Learning II Energy is the difference in weight between all nodes that agree and all nodes that disagree. The more weights, the greater energy. The “closer” the call, the lower |H|.

Energy Minima Retrieval States – attractors Mixture States – linear combinations of odd numbered attractors Spin Glass States – uncorrelated to attractors.

Ferromagnetics

Energy Metaphor Imagine the atomic magnets as movable objects with the freedom to flip, but you control their position. Each iteration of learning is like forcing all magnets to be closer together, as such the network energy is potential energy and the flipping of spins is the expression of kinetic energy.

Temperature – Physics I Extending the ferromagnetic example As temperature increases, the impact of other atomic magnets’ spins is decreased. At absolute zero, temperature has no impact. At the critical temperature(T c ), spin has no impact.

Temperature – Ferromagnetics S i = +1 w/ probability g(h i ); else -1 g(h) = 1/(1+exp(-2βh)) β = 1/(k B T) k B = Boltzman’s constant T = temperature F β (+/-h i )=1/(1+exp(-/+ 2βh i ) F β (+/-h i ) F β (+/-h i ) is a logistic function

Temperature – Machine Learning Logistic function Noise Used in the elimination of spurious local minima

Mean Field Theory – Physics The individual measurement and summation of each member of a magnetic array is too expensive Physicists look to average values as an inexpensive way to extract further truth from a complex combinatronics problem.

Mean Field Theory – Physics h i =  J w iJ S J +h ext =  J w iJ +h ext =tan(β ) = tanh(β  J w iJ +h ext ) =tanh(βJ(S)) Tc T 1

Mean Field Theory – stochastic model =tanh(β/N  Ju ζ u i ζ u J ) We allow an assumption, that is proportional to one of the stored patterns ζ v i =m ζ v i =½N(1+m) Tc T

Mean Field Theory =½N(1+m) There is a point at which noise overcomes the ability of a network to make an informed decision.

Conclusions All these metaphors that pull from physics are very tightly linked to energy. All metaphors concentrate on atomic events. (exception that proves the rule: mean field theory).

Extra Time? Extra Topics!

Entropy – Physics The inevitable progression toward chaos The motion of energy and matter away from an organized state.

Entropy – Machine Learning S = -   P  logP  For S = -   P  log 2 P  (the binary case) this is the average amount of additional information required to specify one of the staties.

Quantum Mechanics Fits within the context of our expectation for where to look for Physics crossover Atomic – discrete and binary Energy specific Last Class Lecture – use of Dyads.