
Interdisciplinary thinker before it was overrated by research councils. Senior Lecturer @aberdeenuni. Professor @UFPR. Member of the @YoungAcademySco.
Aberdeen, Scotland
Joined January 2014
- Tweets2.9K
- Following2.8K
- Followers1.3K
- Likes3.8K
Juliano Morimoto 🇧🇷 retweeted
Stochastic gradient descent (SGD) is a fast, noisy version of gradient descent that updates model parameters using small random subsets of data instead of the full dataset. This randomness makes each step cheaper and allows learning to scale to massive problems. In probability theory, SGD can be viewed as a stochastic process that approximates solutions to optimization problems, and its behavior is analyzed using martingales and diffusion limits. In machine learning, SGD is the workhorse behind training deep neural networks, recommendation systems, and large language models, enabling them to learn from billions of examples. In real life, SGD reflects how people and organizations learn: making decisions based on limited, noisy feedback and gradually improving over time, showing how randomness and iteration can drive efficient adaptation.
Juliano Morimoto 🇧🇷 retweeted
Lecture 4 on Calculus of Variations
You might wonder...If I’m optimizing a shape...a curve, a surface, a whole path, what does "take the derivative and set it to zero" even mean? Do I take the damn derivative with respect to a curve/surface? 🤔
In normal calculus the variable is a number x, so the reflex is clean...f′(x)=0. In calculus of variations the variable is a whole function...the geometry itself, like a curve y(x) (or a surface z(x,y)). So the derivative can’t be a single slope. It has to be a pointwise sensitivity, i.e. how the objective reacts to tiny local deformations.
You’re holding a whole shape, like a curve y(x). Your objective isn’t f(x) anymore, it’s a functional J[y], and as we've seen with our first there examples, usually an integral that depends on the entire curve (often through y and y’).
To talk about a “derivative”, you do the only thing that makes sense: you nudge the entire curve by a tiny amount and see how J changes. Pick a wiggle shape η(x). It’s not random...it’s any admissible deformation direction.
Admissible just means it obeys the constraints. If the endpoints are fixed, you force η(0)=η(1)=0 so the wiggle doesn’t move the endpoints. Then scale that wiggle by a small number ε and define the perturbed curve yε(x)=y(x)+εη(x).
Now treat ε like the usual scalar in a Taylor expansion. As ε→0, J[y+εη] expands as
J[y+εη] = J[y] + ε · (first-order term depending linearly on η) + o(ε).
So the difference is
J[y+εη] - J[y] = ε · (linear functional of η) + o(ε).
For the standard integral of a Lagrangian problems, that linear functional can be written as an inner product with some function of x:
J[y+εη] - J[y] = ε ∫ (δJ/δy)(x) η(x) dx + o(ε).
That’s the definition-level meaning of δJ/δy: it’s the unique pointwise sensitivity function that makes this identity true for every admissible η. If δJ/δy is positive at some x, then choosing η negative there decreases J; if δJ/δy is negative there, pushing y upward locally decreases J. It’s literally a map along the curve saying push this way to go downhill.
Now translate “set the derivative to zero.”
At a minimizer y*, the first-order change must vanish for every admissible wiggle:
J[y*+εη] − J[y*] = o(ε) for all η.
Plug in the expansion and the ε-term must be zero:
∫ (δJ/δy)(x) η(x) dx = 0 for all admissible η.
Here’s the crucial logic step: the only way an integral against every test function η can be zero is if the integrand itself is zero (in the usual sense used in analysis). So you get
δJ/δy = 0.
For the common case J[y]=∫ L(x, y, y’) dx, you can compute δJ/δy explicitly and it becomes the Euler–Lagrange expression
δJ/δy = ∂L/∂y − d/dx(∂L/∂y’).
So if you name the Euler–Lagrange residual as “left-hand side”
R(x) = ∂L/∂y − d/dx(∂L/∂y’),
then “set the derivative to zero” is exactly R(x)=0.
That’s why animation works so well. You don’t have to solve R=0 in one shot. You can evolve the curve in an artificial time τ by pushing it in the downhill direction:
∂y/∂τ = −R(y).
Where the residual is large, the curve moves a lot; as the residual drains toward zero, the motion dies out and the curve settles into an extremal.
In our animations, we start from an intentionally ugly curve/surface. Frame by frame the functional drops, the residual drains away, and the geometry relaxes into an extremal.
#CalculusOfVariations #EulerLagrange #FunctionalDerivative #GradientFlow #Optimization #MathAnimation
Juliano Morimoto 🇧🇷 retweeted
Data often lie on a low-dimensional manifold embedded in a high-dimensional space.
But these manifolds are often highly non-linear, making linear dimensionality reduction methods like PCA insufficient.
This has motivated the development of non-linear dimensionality reduction.
Juliano Morimoto 🇧🇷 retweeted
A reminder that the abundance of 'housekeeping' proteins varies significantly across cells and tissues.
GAPDH is often slandered as a 'housekeeping' protein, and its abundance varies significantly across human tissues.
How do you define a 'housekeeping' protein ?
Juliano Morimoto 🇧🇷 retweeted
(1/n) Can diffusion models simulate molecular dynamics instead of generating independent samples?
In our NeurIPS2025 paper, we train energy-based diffusion models that can do both:
- Generate independent samples
- Learn the underlying potential 𝑼
🧵👇
arxiv.org/abs/2506.17139
Juliano Morimoto 🇧🇷 retweeted
This paper shows a 27-million parameter model solving very difficult reasoning puzzles—like complex Sudoku and maze problems—using only 1,000 training examples, while current large language models get 0% accuracy on the same tasks.
Instead of having the model generate chains of intermediate reasoning steps as text tokens (like "first check row 1, then check column 2..."), this approach does all reasoning internally by running two coupled recurrent networks that repeatedly refine their hidden states until reaching a solution—one network updates its state every timestep while the other updates only every T timesteps and resets the first network each time it updates.
The training uses a one-step gradient that only backpropagates through the final states rather than through all timesteps, which keeps memory usage constant and makes training stable even when the model runs hundreds of iterative computation steps per problem.
Read it on ChapterPal by talking to it: chapterpal.com/s/950afc1b/hi…
Download a PDF: arxiv.org/pdf/2506.21734
🌱💥#COP30? It’s time to talk about soy on Indigenous lands (ILs). ILs in Brazil's south states saw a huge surge in illegal land leasing to soy farmers [1/] @MDPIOpenAccess @govbr @funaioficial @gov_mcti @CNPq_Oficial @aberdeenuni @UFPR @AgencyFAPESP
communities.springernature.c…
Solution? Expel them all right? We argue this is *futile* when >60% of some ILs are covered in soy (see image below form the field). Instead, we propose a "fair-trade" deal, giving back ownership of the land (and its profits) to Indigenous communities. [2/]
Controversial? No doubt! But we argue is the only solution to avoid complete destruction of the soil and biodiversity of the ILs. #Conservation and #agroindustry must coexist healthily. More in our blog post and paper.
Juliano Morimoto 🇧🇷 retweeted
Bayesian methods don't work. People often ask what's wrong with Bayesian methods, but the issues have been well-documented for years. Here are some key points:
1) Bayesian confidence values lack theoretical basis.
2) They rely on unjustified priors.
3) They produce posterior beliefs, not probabilities, in incorrect forms.
4) They fail to alert users when producing incorrect posteriors.
5) They offer no validity guarantees.
6) They lack calibration.
10) They are computationally expensive and challenging for data scientists to build and maintain.
Can one confidently use this framework? It seems unlikely, given the numerous issues it can introduce.
#bayesianism
Juliano Morimoto 🇧🇷 retweeted
🌍 CRU_Climate data:: Automatic Downloading, Processing, and Visualizing Climate Data in R
👉 Watch the full process on YouTube: youtu.be/UcBNReRpVpI
Sincere gratitude to @milosmakesmaps
#consultant @stats_feed #ClimateAction #MissouriState #wildfire #hydrology
Juliano Morimoto 🇧🇷 retweeted
So I have been working on a textbook on theoretical ecology and modeling. #openaccess. Using @rstudio and #quarto for writing and @github for publishing. You can check it at hmlfpereira.github.io/theoec… and follow my (slow) process. First two chapters mostly written, yeah!
Juliano Morimoto 🇧🇷 retweeted
A short-and-sweet guide to developing research questions published in @Nature. Lots of good advice here 👍
Our recent paper is out @molecology onlinelibrary.wiley.com/doi/… @UniofOxford @aberdeenuni and @LivUni
Juliano Morimoto 🇧🇷 retweeted
We present our MetaProViz #Rpackage for #metabolomics analysis & prior knowledge integration to generate mechanistic hypotheses on how metabolic changes affect metabolite classes, pathways & environment interaction
🔗biorxiv.org/content/10.1101/…
📦 saezlab.github.io/MetaProViz…
🧵 Thread
Juliano Morimoto 🇧🇷 retweeted
🎉 The revised version of CORNETO, our unified Python framework for knowledge-driven network inference from omics data, is published in peer reviewed form
🔗 Paper: nature.com/articles/s42256-0…
📖 News & Views: nature.com/articles/s42256-0…
💻 Code: corneto.org
🧵 Thread 👇
Juliano Morimoto 🇧🇷 retweeted
1/ 🚨 Our new paper is online in @Nature !
As its first author, I’m enthusiastic to finally share it with you all!🎉
🧠 We discovered a mechanistic link between cellular energy metabolism and the control of the need to sleep 💤
👉 nature.com/articles/s41586-0…
@OxfordDPAG 🧵👇
PhD 2.0 done @UniofReading. Thank you Manuela as internal and Jeri from @UniofOxford as external examiners. Thank you supervisors Mark Pagel, Tom Oliver and Richard Sibly
Juliano Morimoto 🇧🇷 retweeted
The Fourier series is a way to represent any periodic function as a sum of simple sine and cosine waves.
In essence, it breaks down complex signals into a combination of basic trigonometric functions, making it a powerful tool in mathematics, physics, and engineering for analyzing waveforms, heat transfer, vibrations, and more.
📹 Credit : mathswithmuza


























