Agile (@nimblel) header
Agile (@nimblel) profile picture

Be resolute, fear no sacrifice and surmount every difficulty to win victory (Mao Tse Tung) #SmartCity #BlockChain #Finance #Leadership #MachineLearning #AI

Joined August 2013
Photo by Agile (@nimblel)Photo by Agile (@nimblel)Photo by Agile (@nimblel)
Do you teach or study a Phd or Master course in Microeconomics ? The 2023 edition of my "Lecture Notes in Microeconomic Theory" is free downloadable from my homepage (see first comment). Instructors (ONLY) can also ask for an updated solution manual.
24
454
13
2,407
378,225
🎉Jensen-Shannon divergence & KLD : - use mixtures -> geometric Jensen-Shannon divergence by using geometric mixtures mdpi.com/1099-4300/21/5/485 - use convex gap -> Jensen divergence for negentropy mdpi.com/1099-4300/22/2/221 - use optimization -> root of JSD mdpi.com/1099-4300/23/4/464
35
189
15,969
Assuming à 2% annual growth, humanity's entire power consumption will surpass: - the entire power sent by the sun to earth in 360 years. - the entire supply of fissile material in about 900 years. - the entire supply of deuterium in the oceans in about 1000 years.
The oceans contain enough fusion fuel to power our current civilization for 65 billion years. If we assume compounding growth of 2%, how long will it last? Fusion: 1060 years Solar: 460 years Let's dig into the physics of our energy economy. (warning: math ahead). Nuclear fusion is how the sun produces energy, taking light elements like hydrogen and fusing them into heavier elements like helium. This releases the energy we receive as sunshine. Every water molecule has two hydrogen atoms. About one in every 6420 hydrogen atoms has an extra neutron attached, this isotope of hydrogen is called deuterium. Burning one gram of deuterium via fusion releases the same energy as burning 83,300 gallons of gasoline. The energy-per-mass of nuclear fuels is astounding, and is millions of times greater than carbon fuels. Gasoline: 45x10^6 J/kg Deuterium: 8.5x10^14 J/kg Total fusion energy stored in the worlds oceans: Let's go through the numbers together to see how much fusion fuel we have on the planet, using joules for energy and kilograms for mass. Mass of all the earth's oceans: 1.4x10^21 kg Mass of water in the oceans: 1.3x10^21 kg (we remove the 35g/L of salt) Each water molecule has two hydrogen atoms, but hydrogen is a lot lighter than oxygen. So, water by-mass is only 11% hydrogen (H). Mass of H in the oceans: 1.43x10^20 kg Mass of deuterium in that H: 4.46x10^16 kg Fusion-energy stored in oceans: 3.8x10^31 Joules That's about 500 times the kinetic energy of the moon, or seven million billion Minute Man ICBM's, if each one carried a 1.2 megaton W57 bomb. How long will it last us? In 2022 the world used 160,000 tera-watt hours of energy. Worldwide energy consumption: 5.76x10^20 J If our energy consumption remains the same, our ocean-water fusion fuel will last us 65 billion years. However, over time our energy use grows at 1-2% per year. If we assume a growth rate of 2% per year, we can add up the years of energy consumption to see when it will equal our fusion energy reserves. Assuming a constant growth rate of 2%, our ocean-water fusion-fuel will last us ~ 1060 years. At that time the annual energy consumption of our civilization will be about 11 seconds worth of the Sun's total energy output. So, fusion energy buys us 1000 years of compounding energy usage. How long could solar take us, assuming the same growth rate? Annual solar energy reaching Earth: 5.5x10^24 J Current use *(1 + growth rate)^periods = future use 5.76x10^20*(1.02)^n = 5.5x10^24 n=462 Solar energy gets us 460 years of compounding energy growth until our annual consumption equals the total solar power reaching the planets surface. This means 100% of the Earth's surface is covered with 100% efficient solar panels. If we only covered the land-area of Earth with panels that were 50% efficient, Solar gets us 360 years. If we could only extract half the deuterium in the ocean, because of process efficiency and etc, Fusion still gets us 1026 years of compounding growth. Notably we would also still have land to live on. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Today, solar energy is cheap, abundant, and extremely competitive. It will take immense amounts of land and material resources to reach our civilizational-scale needs for energy if we keep growing our economy and energy needs. Fusion is seen as difficult, expensive, and slow to mature. Why bother? If you want humanity to last more than 360 years and still have land to live on, you need fusion. And the far future? The outer solar system is abundant in hydrogen and deuterium, and deficient in solar energy which becomes weaker with the square of the distance from the sun. Fusion energy can power our civilization into a space-faring future among the outer planets, and take us to the stars.
326
255
102
2,133
1,431,862
Very interesting book (read on the plane...) Peter and colleagues have developed a "scientific approach to history" based (IIUC) on "compartmental models", which are similar to the ODEs used in covid modeling. 1/n amazon.com/End-Times-Counter…
3
9
99
35,871
Linear algebra, deep learning, and GPU architectures are fundamentally interconnected Linear algebra deals with matrices & tensors and is the branch of math that is applied in deep learning (DL). GPUs are used for training DL models. Tensors and GPUs are a marriage made in heaven! GPUs were first designed for graphics processing but they are remarkably well-suited to perform linear algebra operations Tensors are multidimensional arrays that can represent anything from simple scalars to complex n-dimensional matrices. They're a unifying framework to represent data, weights, biases, and essentially all the numerical aspects of a neural network. 0th-Order Tensor: A scalar, a single real or complex number. 1st-Order Tensor: A vector, an ordered set of numbers. It's an n-tuple. 2nd-Order Tensor: A matrix, a grid of numbers arranged in rows and columns. Higher-Order Tensor: Tensors of three or more dimensions, generalizing vectors, and matrices. You can represent text, images, and videos as tensors and operate on these tensors to train the weights and biases of a neural network Tensors support operations like addition, matrix multiplication, transposing, contraction, reshaping, and slicing Each of the layers of the NN can be formulated as tensor operations and the fundamental algorithms like backpropagation and gradient descent apply these tensor operations The cool thing about these tensors is that you enable parallelization of computations, and the cool thing about GPUs is that they are incredibly good at parrallelism. Unlike CPUs, which might have a few powerful cores optimized for sequential processing, GPUs have thousands of smaller, less powerful cores designed to execute operations simultaneously. Tensors and GPUs work really well together Parallelism: The operations on tensors, especially those of higher orders, can be broken down into many smaller, independent tasks. This suits the architecture of a GPU, where thousands of these tasks can be run in parallel. Memory Hierarchy: GPUs have a hierarchical memory structure, including global, shared, and local memory. Effective use of this hierarchy while working with tensors can lead to substantial efficiency gains. Optimized Libraries: Libraries like cuBLAS, cuDNN, and others offer GPU-accelerated implementations specifically designed for tensor operations. Frameworks like TensorFlow and PyTorch are built on top of these, abstracting away the complexity. Batch Processing: Deep learning models often process data in batches, which means performing the same operations on a whole set of data points simultaneously. This again plays into the parallelism that GPUs provide. You can think of it as applying the same transformation to every element in a grid simultaneously. Over time there have been a lot of software libraries and frameworks built to make building AI really simple and fast. You can iterate and experiment with your favorite NN using a couple of lines of code. In the background, the GPUs will crunch the tensor operations and extract patterns in your data magically. Further reading and pic credit - towardsai.net/p/deep-learnin… Why GPUs for ML - weka.io/learn/ai-ml/gpus-for…
13
312
6
1,213
186,643
This is what I'm here for: We examine breakthroughs over the past decade that include self-supervised learning, which allows models to be trained on vast amounts of unlabelled data, and geometric deep learning, which leverages knowledge about the structure of scientific data to enhance model accuracy and efficiency. Generative AI methods can create designs, such as small-molecule drugs and proteins, by analysing diverse data modalities, including images and sequences. We discuss how these methods can help scientists throughout the scientific process and the central issues that remain despite such advances.
10
85
7
636
211,694
One short and one long tutorial on information geometry both in open access PDF ☺️: - (60+ pages) "An Elementary Introduction to Information Geometry" (2020) 👉tinyurl.com/ElementaryIG/ - (10 pages) "The Many Faces of Information Geometry" (2022) 👉tinyurl.com/FacesIG/
1
112
1
466
51,296
Deep learning has many mysterious phenomena, and grokking is one of the extreme. Want to catch up with the grokking literature? I've compiled a one-page summary of what's going on in the grokking world. Enjoy! :-) kindxiaoming.github.io/pdfs/…
18
126
13
712
102,672
Things that Kagglers have known forever but AI people are just rediscovering: • Knowledge distillation • Pseudo labeling • DeBERTa • The dominance of XGBoost • How papers overfit on benchmarks • Data generation • How bad low-quality data is • Boosting with SVMs/XGBoost • Importance of postprocessing • Importance of rapid iteration • Just how much you can do on 1 GPU The list goes on. We have a memory problem in this field.
11
78
2
576
90,288
The materials of my lectures on i) deep generative models (VAEs, diffusion models, flows) and ii) simulation-based inference can now all be found at github.com/glouppe/ssi2023
On my way to SFO ✈️ for a week at the 51st @SLAClab summer institute indico.slac.stanford.edu/eve… Ping me for ☕ around SLAC or Stanford
1
38
154
27,577
I just published Tips for Writing NLP Papers link.medium.com/uBPPpR5yiCb I wrote it for my students so I don't have to sound like a broken record (and edit papers for the same issues over and over again 😃). But some of you might find it useful too.
24
225
12
962
101,518
Yesterday, I presented our work "Simulation-based Inference with the Generalized Kullback-Leibler Divergence" which combines ratio and posterior estimation methods! It can even do it within the same (hybrid) model. openreview.net/forum?id=tPb1…
2
23
105
13,706
The trilogy is complete! My "Advanced Topics" book is officially released today. Buy it on Amazon, or get it for free at probml.github.io/pml-book/bo….
61
726
53
4,657
445,828
This is the first paper released on TikTok's algorithm known as Monolith. Bytedance used Criteo's Display Ads Challenge dataset for batch training model before online training. As all data systems move to streaming/realtime AdTech has head start. arxiv.org/abs/2209.07663
1
1
6
1,429
Dense FixMatch: a simple semi-supervised learning method for pixel-wise prediction tasks Miquel Martí i Rabadán,@alepieropan, @HosseinAzizpour, Atsuto Maki tl;dr: use weak/strong aug consistency for segmentation. #kornia used for augmentation arxiv.org/abs/2210.09919
5
24
A new preprint demonstrates the central role of explicit instruction in learning to read. Adults acquire a new orthography much more efficiently with explicit instruction (even in a single session!) than by discovery learning. Lovely extension of Yoncheva et al. (2010)
14
181
26
522
Very cool visualisation of the distribution of passes in football (880k passes over 890 matches). tinyurl.com/y7xhs8sx
2
39
4
197
Andrew Ng: - suggesting Google didn't fire Timnit - has never graduated a woman PhD student - requires employees to work 70-90 hrs per week, which is impossible for many folks w/ chronic illness & many parents
AI darling Andrew Ng doing some mighty wild rewriting of facts in his weekly newsletter. "Gebru and Google subsequently parted amid further disagreements around bias." blog.deeplearning.ai/blog/th…
43
88
19
528
The classic "robotic" way that robots move is probably due to early bang-bang control. Animals and humans move much more gracefully; efficiently computing smooth motions is a research challenge in robotics: robotics.sciencemag.org/cont…
1
1
1
46