ABAB Pedia

Lucas Nestler

Lucas Nestler is a machine learning engineer based in Zurich, Switzerland. An early member of the legal search company DeepJudge, he contributed to the GPT-NeoX language modeling software and the HeavyBall optimizer library. He writes about model training on his blog Convergent Thinking.

Contents19 sections
Key facts

A winning team in Switzerland’s venture competition

The Swiss venture competition listed Zurich-based DeepJudge among its 2022 winners in information and communication technology. The team included Nestler, Kevin Roth, Yannic Kilcher, Paulina Grnarova, Dimitri von Ruette and Florian Schmidt.⁠[1]

RevLib for reversible neural networks

Lucas Nestler published version 1.7.0 of RevLib on Zenodo as its sole credited author. The PyTorch library lets developers reconstruct intermediate results during training of reversible networks, reducing the amount of data that has to be kept in memory.⁠[2][3]

Legal search at DeepJudge

DeepJudge introduced Nestler as a machine learning engineer in a profile of its early team. His job was to research and implement efficient search engine designs for legal professionals.⁠[4]

Contributing to GPT-NeoX

EleutherAI archived GPT-NeoX 2.0 on Zenodo, naming Nestler among its 15 software creators. The project lets researchers distribute the work of running large language models across graphics processors. This release expanded support for DeepSpeed.⁠[5][6]

The project’s software credits

The project’s own citation for version 2.0.0, dated September 2023, credits 21 people, including Nestler.⁠[6]

People and computing resources in AI

In “People are the new oil” on his blog Convergent Thinking, Nestler drew on changes in computing costs and the emergence of the Muon optimizer. He argued that as computing resources became more accessible, the scarcity of people with fresh ideas increasingly constrained AI research.⁠[7][8]

Attention over longer sequences

In “Attention Normalizes the Wrong Norm,” he examined a mathematical choice affecting how models handle longer texts. He argued that standard normalization could reduce variation in attention outputs as sequences grew longer, forcing a model to compensate for the position of a word.⁠[9]

The limits of benchmarks

In “The Box,” Nestler argued that benchmarks reflect familiar questions and approaches and can obscure other research problems. He pointed to the speed with which labs pursued reasoning models once an example had shown what was possible.⁠[10]

Comparing normalization methods

In “AVnorm” he tested normalizing the output of each attention head separately. In his experiments, the per-head approach preserved performance better than normalizing all heads together as inputs grew to about 65,000 tokens.⁠[11][9]

Job choices and long-term goals

In “Trajectory,” he compared local objectives in machine learning with career decisions. He wrote that a job offers pay, status and interesting problems but also changes what a person values, how they spend their time and how they measure success.⁠[12]

Rounding in low-precision computation

Nestler used the AdamW optimizer in HeavyBall to compare two rounding methods. He explained that rounding to the nearest value could repeat an error in the same direction, whereas errors from stochastic rounding could partly cancel out. Small differences could therefore become significant over a long training run.⁠[13]

Correcting the rounding experiment

He added a correction explaining that a compiler optimization had removed the conversions to and from reduced precision that he meant to test. He fixed the experiment and reran it.⁠[13]

Comparing over 60,000 training configurations

In “Steer Before You Shrink” he described completing about 61,000 of 68,000 sampled image classification configurations. In the ranges he tested, approaches that guided optimization remained useful, while the effects of dropping network units at random varied with task complexity and strength.⁠[14]

Using sudoku to explain generation order

In “The First Token” he contrasted writing a sentence with solving a sudoku puzzle. A sentence can unfold one word at a time, but an early choice in sudoku can constrain the entire grid. He used the example to argue for revising an answer as a whole on some tasks.⁠[15]

HeavyBall 3.1.1

The citation file for HeavyBall 3.1.1 credits Nestler and the HomebrewML contributors. The PyTorch library offers optimizers that assemble shared computational components into different ways of updating model parameters. Its name comes from mathematician Boris Polyak’s heavy-ball method.⁠[16][17]

The order of learning material

In “Tabula Rasa” he compared children’s exposure to language with the training of language models. He argued that the selection and order of material shape early learning and that correcting responses later may not undo the effects of initial training.⁠[18]

Background: Open-source work in Zurich

Nestler uses the name ClashLuke on GitHub, where he lists Zurich, Switzerland, as his location and identifies himself as a member of TensorFork. His featured projects also include tpucare for managing cloud tensor processors, the TrueGrad optimizer interface and Olmax, a language model training project written in JAX.⁠[19][8]

Related Organizations, Websites, and Public Accounts

EleutherAI: Official website: https://www.eleuther.ai/ (opens in a new window).⁠[6]

Sources19 sources

  1. 2022 >>venture>> Winners (opens in a new window)venture.ch↑
  2. RevLib | Zenodo (opens in a new window)zenodo.org↑
  3. GitHub - HomebrewML/revlib: Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload · GitHub (opens in a new window)github.com↑
  4. #legaltech #team #startup #ai #legaltech #startupgrowth | DeepJudge (opens in a new window)linkedin.com↑
  5. GPT-NeoX: Large Scale Autoregressive Language Modeling in PyTorch | Zenodo (opens in a new window)zenodo.org↑
  6. GitHub - EleutherAI/gpt-neox: An implementation of model parallel autoregressive transformers on GPUs, based on the Megatron and DeepSpeed libraries · GitHub (opens in a new window)github.com↑
  7. People are the new oil | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  8. About | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  9. Attention Normalizes the Wrong Norm | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  10. The Box | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  11. AVnorm | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  12. Trajectory | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  13. Bias Compounds, Variance Washes Out | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  14. Steer Before You Shrink | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  15. The First Token | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  16. GitHub - HomebrewML/HeavyBall: Efficient optimizers · GitHub (opens in a new window)github.com↑
  17. HeavyBall/CITATION.cff at main · HomebrewML/HeavyBall · GitHub (opens in a new window)github.com↑
  18. Tabula Rasa | Convergent Thinking (opens in a new window)convergentthinking.sh↑
  19. ClashLuke (Lucas Nestler) · GitHub (opens in a new window)github.com↑