Skip to main content
The TWIML AI Podcast

Why Models Are AI’s Next Training Dataset with Damian Borth - #772

47 min episode · 2 min read
·
Damian Borth

Episode

47 min

Read time

2 min

Topics

Startups, Artificial Intelligence, Software Development

AI-Generated Summary

Key Takeaways

  • Weight-Space Autoencoding: Train an encoder-decoder on populations of neural networks to learn a compressed latent manifold of weights. From this manifold, you can predict model accuracy without test data and generate new model weights. Early results on small homogeneous model zoos achieved R-squared accuracy prediction outperforming handcrafted feature baselines from Google researchers.
  • Scaling via Windowed Tokenization: Rather than encoding entire model weights at once, process weights as windowed sequences with position encodings indicating layer, block, and absolute position. This approach, developed with Michael Mahoney at UC Berkeley, enables the method to scale beyond toy networks to ResNet-scale architectures and beyond, unlocking training on diverse open-weight repositories.
  • GPU Hour Reduction via Knowledge Transfer: By using an ImageNet-trained ViT as an encoder prompt to generate remote sensing foundation models, Borth's lab matches the performance of TelIFM — trained for 12,000 GPU hours — using only 350 GPU hours, a 30x reduction. This demonstrates cross-domain knowledge transfer through weight generation rather than data-based pretraining.
  • Dataset Prompting for Privacy-Preserving Model Generation: An in-review paper proposes replacing model prompts with dataset embeddings — a single aggregated vector representing a private dataset — to generate task-specific weights without exposing raw data. This mirrors CLIP's aligned text-image space, enabling regulated institutions like central banks to receive custom model weights without sharing proprietary training data.
  • Hugging Face as Training Corpus: Download open-weight models from Hugging Face, strip weights into flat sequences, apply normalization and diversity-based filtering, and train a backbone on roughly 2,000 quality-filtered models out of 20,000 candidates. The resulting model generates weights across architectures including ViTs, ResNets, and EfficientNets, and can cross domains — producing a GPT-2-scale language model initialized from computer vision weights.

What It Covers

Damian Borth, professor at University of St. Gallen, presents weight-space learning — a framework treating trained neural network weights as training data for new models. Starting in 2021, his lab built autoencoder architectures that analyze, compress, and generate neural network weights, potentially replacing pretraining by sampling models on demand from a foundation model of neural networks.

Key Questions Answered

  • Weight-Space Autoencoding: Train an encoder-decoder on populations of neural networks to learn a compressed latent manifold of weights. From this manifold, you can predict model accuracy without test data and generate new model weights. Early results on small homogeneous model zoos achieved R-squared accuracy prediction outperforming handcrafted feature baselines from Google researchers.
  • Scaling via Windowed Tokenization: Rather than encoding entire model weights at once, process weights as windowed sequences with position encodings indicating layer, block, and absolute position. This approach, developed with Michael Mahoney at UC Berkeley, enables the method to scale beyond toy networks to ResNet-scale architectures and beyond, unlocking training on diverse open-weight repositories.
  • GPU Hour Reduction via Knowledge Transfer: By using an ImageNet-trained ViT as an encoder prompt to generate remote sensing foundation models, Borth's lab matches the performance of TelIFM — trained for 12,000 GPU hours — using only 350 GPU hours, a 30x reduction. This demonstrates cross-domain knowledge transfer through weight generation rather than data-based pretraining.
  • Dataset Prompting for Privacy-Preserving Model Generation: An in-review paper proposes replacing model prompts with dataset embeddings — a single aggregated vector representing a private dataset — to generate task-specific weights without exposing raw data. This mirrors CLIP's aligned text-image space, enabling regulated institutions like central banks to receive custom model weights without sharing proprietary training data.
  • Hugging Face as Training Corpus: Download open-weight models from Hugging Face, strip weights into flat sequences, apply normalization and diversity-based filtering, and train a backbone on roughly 2,000 quality-filtered models out of 20,000 candidates. The resulting model generates weights across architectures including ViTs, ResNets, and EfficientNets, and can cross domains — producing a GPT-2-scale language model initialized from computer vision weights.

Notable Moment

When Borth's team first generated neural network weights using their autoencoder, the mean squared error appeared low — suggesting success — but loading those weights into an actual network completely destroyed its performance. The culprit was MSE averaging away the high-frequency weight details that determine whether a network functions at all.

Know someone who'd find this useful?

You just read a 3-minute summary of a 44-minute episode.

Get The TWIML AI Podcast summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

Books, tools, and gear mentioned in this episode

SignalCast may earn commission on purchases via these links.

company

  • Download open-weight models from Hugging Face, strip weights into flat sequences, apply normalization and diversity-based filtering, and train a backbone on roughly 2,000 quality-filtered models out of 20,000 candidates.

More from The TWIML AI Podcast

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

Explore Related Topics

This podcast is featured in Best AI Podcasts (2026) — ranked and reviewed with AI summaries.

Read this week's Startups & Product Podcast Insights — cross-podcast analysis updated weekly.

You're clearly into The TWIML AI Podcast.

Every Monday, we deliver AI summaries of the latest episodes from The TWIML AI Podcast and 192+ other podcasts. Free for one show.

Start My Monday Digest

No credit card · Unsubscribe anytime