Latent Space

Just some late-night thoughts on inference, deep learning, LLMs, and building intelligent systems in chemistry and materials.

(latent-space) mehrad:~$ cat posts/
> Which Drug Candidate Should We Assay Next?
> Human-Trained and Agent-Trained Models for Selective JAK Inhibitors
> Hyperparameter Tuning: Finding the Sweet Spot
> Why Run a Scientific Model in the Web Browser?
> Classifying Peptide Gel Transparency with Kernel Learning in the Sparse Experimental Data Regime
> Where Did COVID-19 Start in the State of New York?
(latent-space) mehrad:~$ open blog

Which Drug Candidate Should We Assay Next?

Using Shannon entropy and Bayesian Algorithm Execution to choose assays that are informative about the compounds we actually want to select.

Large compound library with a limited assay budget

Human-Trained and Agent-Trained Models for Selective JAK Inhibitors

I trained models for JAK-family affinity and selectivity, then gave the same scaffold-shifted problem to a research agent. It won on pKi, but not on selectivity.

One inhibitor facing four similar JAK-family locks

Why Run a Scientific Model in the Web Browser?

Moving trained scientific models to the edge so inference happens directly in a browser, without a dedicated inference server or anything to install.

Hosted inference compared with serverless browser inference

Hyperparameter Tuning: Finding the Sweet Spot

Training deep learning models is a bit like tuning a car, you've got a bunch of knobs to adjust, and finding the sweet spot takes patience and know-how.

Effect of learning rate on loss

Classifying Peptide Gel Transparency with Kernel Learning in the Sparse Experimental Data Regime

Applying kernel ridge regression to perform binary classification on the transparency of anionic/cationic gelators under different experimental conditions (sparse data regime).

Chemical structure variations

Where Did COVID-19 Start in the State of New York?

Using maximum entropy reweighting and simulation-based inference, we bias an epidemic simulator to match sparse CSSE case counts and infer the most probable source of New York's COVID-19 outbreak.

Mobility network of New York State used to infer the COVID-19 source