Skip navigation
Can data owners & LM developers collaborate to build a strong shared model while each retaining data…
0:00 / 0:24

Can data owners & LM developers collaborate to build a strong shared model while each retaining data…

Weijia Shi

@WeijiaShi217K followers

Visit on X
326 likesDownloadOriginal post

103,050 views

Can data owners & LM developers collaborate to build a strong shared model while each retaining data control? Introducing FlexOlmo💪, a mixture-of-experts LM enabling: • Flexible training on your local data without sharing it • Flexible inference to opt in/out your data anytime At 37B parameters, FlexOlmo is competitive across 31 tasks.

10 Comments

Comments from the original post on X (Twitter)

  • Weijia Shi's profile picture

    @WeijiaShi2

    ❓Why FlexOlmo? The current "monolithic" pretraining paradigm centralizes all data during training & requires one-time decisions on data inclusion/exclusion. Once data is used for training, it's difficult to add and remove. This creates challenges: For data owners: • Required to share raw data for model training • Loss of control once they give the data away For LM developers: • Valuable data remains locked behind closed doors • No straightforward way to update models with new data without catastrophic forgetting

    5 likes

  • Weijia Shi's profile picture

    @WeijiaShi2

    💡FlexOlmo Recipe 1️⃣ Each data owner trains an expert locally using a shared anchor model 2️⃣ Expert modules from different data owners merge into a single MoE without joint training 3️⃣ At inference, you can control which expert modules along with their data serve particular users or queries.

    7 likes

  • Premium's profile picture

    @premium

    Go ad-free on X with Premium+ It's the highest return on investment you can make.

    279 likes

  • Weijia Shi's profile picture

    @WeijiaShi2

    📑Paper: ✍️Blog: 💻Code: 🤗Models:

    3 likes

  • Weijia Shi's profile picture

    @WeijiaShi2

    📊 FlexOlmo Performance Evaluated across 31 tasks with models up to 37B parameters (20B active) 🔧 Training: Start with 7B public model (pretrained on 1T tokens), then each data owner continues pretraining for 50B tokens on simulated closed data before combining experts. Key results: • 41% improvement brought by leveraging the closed data sources • 10.1% better than existing model merging methods • Even outperforms standard MoE with unrestricted data access

    2 likes

  • Weijia Shi's profile picture

    @WeijiaShi2

    ⚔️ Data Extraction Attack Can shared expert modules leak your private data? We tested training data extraction attacks on FlexOlmo to find out: • FlexOlmo: 0.7% extraction rate • Overfitted model (100 epochs) on the data: 60% extraction rate

    2 likes

  • FreeMind's profile picture

    @paulcx

    Can this method be applied to other models? Aren't routers all trained?

  • Weijia Shi's profile picture

    @WeijiaShi2

    It can be applied to other base models as well. The router is not jointly trained. Each expert is associated with a corresponding router embedding that is learned independently.

  • carlo's profile picture

    @carlo_l_fritz

    @ShirleyYXWu wow, super impressive! gotta check the minimal hardware for running it 🤓

  • Jdjf's profile picture

    @Jdjf373529

    Fix You’re a fucking AI bitch you’re the reason why our accounts are being suspended