WhoBuilt

LLM Scientific Reasoning: How to Make AI Capable of Nobel Prize Discoveries

Sep 23, 2024· 20 min· 3.8K views·Watch on YouTube

Speaker

Hubert Misztela, a generative AI scientist at PharmaNovartis, presents at AI Engineer on using LLMs and retrieval to support scientific discovery, with work he did alongside medicinal chemist Derek Low.

A biology puzzle that took eight years

In the early 1990s, researchers trying to deepen petunia flower color by overexpressing a gene instead saw the color flip. Similar unexplained effects appeared in other areas of biology under different names. Their connection was resolved about eight years later, leading to a Nobel Prize in Medicine.

Reasoning around retrieval

Misztela describes standard RAG as matching a question to relevant document chunks through embeddings, then generating a response. He argues that complex questions may need reasoning before retrieval: routing can clarify what to search for, while graph representations can help organize relationships in the source material. He compares retrieval in a latent space with navigating molecular embeddings to find candidates for a purpose.

Match the system to the question

Misztela suggests judging question difficulty by how many concepts and relationships connect the question to its answer, extending the needle-in-a-haystack idea from one-to-one matches to multiple concepts across document chunks. He outlines several forms of reasoning, including causal, algorithmic, probabilistic, and structured reasoning, and notes that specialized tools such as Python or causal inference libraries can handle some of them.

Test discovery with a historical cutoff

The experiment aimed to identify causes connecting three biological phenomena by processing a dataset repeatedly for one question. To reduce the chance that the LLM relied on knowledge gained after the discovery, the team used papers published before it as the RAG corpus. They assessed progress from finding known facts and less obvious links to proposing new hypotheses and, ultimately, explaining mechanisms.

Use evidence selection and stronger prompts

Misztela describes using Jenks natural breaks on embedding distances to select a cluster of relevant chunks. A relevance classifier over all chunks added little because its results overlapped with embedding distances. A more carefully designed prompt about how papers advanced a hypothesis produced a more promising result, including a relevant RNA hypothesis; reasoning over the question and dataset before retrieval moved the results closer to the known discovery.

Takeaways

  • For complex research questions, assess how many concepts and relationships connect the evidence to the answer before choosing a RAG design.
  • Add reasoning before retrieval when the question's semantics make a direct embedding search insufficient.
  • Use a historical cutoff in discovery experiments so the model cannot draw on knowledge published after the result.
  • Compare LLM relevance judgments with embedding distances; processing every chunk may be redundant.
  • Test specialized tools such as Python or causal inference libraries for reasoning tasks they can handle directly.

Mentioned in this talk

Search inside this talk

What was claimed 6

  • previously at
    designs small molecules with generative AI
    “I work for PharmaNovartis.”
    YouTube
    Unverified2 sources· Talk
  • feature
    Vector RAG: Retrieves document chunks relevant to a question using embeddings, then generates a response
    “We represent both in a given latent space, do some kind of retrieval over the embeddings, and get a response.”
    YouTube
    Unverified1 source· Talk
  • feature
    GraphRAG: Represents knowledge from documents as graphs to support semantically complex questions
    “They try to represent knowledge from documents in a different way, specifically with graphs.”
    YouTube
    Unverified1 source· Talk
  • feature
    Jenks natural breaks: Selects the top cluster of chunks based on embedding distances
    “Extract the top cluster, which represents the lowest value between the chunks extracted.”
    YouTube
    Unverified1 source· Talk
  • feature
    Strict prompting: Constrains the prompt to reduce answers based on knowledge from after the discovery
    “We needed to make the prompt stronger. We called it strict prompting.”
    YouTube
    Unverified1 source· Talk
  • uses
    “Passing all the chunks in our dataset through the LLM and asking whether each was relevant.”
    YouTube
    Unverified1 source· Talk

Related talks