gitwtfhub

wtf is a6b-k-expansion?

hikarioyama/a6b-k-expansion — explained in plain English

Analysis updated 2026-05-18

11Audience · researcherComplexity · 5/5Setup · hard

TL;DR

A research project that forces an AI model to use more of its internal experts per token, then measures and repairs the accuracy it loses.

Mindmap

mindmap
  root((a6b-k-expansion))
    What it does
      Forces more experts active
      Measures accuracy loss
      Repairs it via fine-tuning
    Tech stack
      Python
      HTML reports
    Use cases
      Study MoE routing changes
      Read measured results
      Reference repair methodology
    Audience
      ML researchers
      Model tuning teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Study how forcing more experts active per token affects a Mixture-of-Experts model's accuracy.

REASON 2

Read measured before and after results of a selective fine-tuning repair technique.

REASON 3

Reference the methodology for repairing accuracy loss in expert routing changes.

What's in the stack?

PythonHTML

How it stacks up

hikarioyama/a6b-k-expansion100/stock-analysis-markov100/tab-organizer
Stars111111
LanguageJavaJavaScript
Last pushed2016-12-252021-03-01
MaintenanceDormantDormant
Setup difficultyhardeasyeasy
Complexity5/53/51/5
Audienceresearcherresearchergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1day+

This is a research log with reports and a methodology document rather than a runnable application, reproducing the experiments requires machine learning infrastructure and the base model.

Wtf does this do

This repository is a research log documenting an experiment on a large AI language model called Qwen3.6-35B-A3B. That model is a Mixture-of-Experts model, meaning it has many specialized sub networks called experts, and normally only activates 8 of them for each piece of text it processes. The project's core idea is to force the model to activate 32 experts per token instead of 8, without adding any new weights, which increases the amount of active computation per token. Doing this alone makes the model perform worse on knowledge and math tests, and the project measures exactly how much worse, then tries to repair that loss. The repair method is a targeted fine-tuning approach. The researchers find which experts get used most often once 32 are active, then retrain only small additional pieces attached to those specific experts, while leaving the routing logic and everything else frozen and unchanged. These additional pieces can be switched off to return to the original model at any time. Across three rounds of this fine-tuning, using increasingly varied training data, the accuracy gap compared to the original 8 expert setup shrinks until it becomes a statistical tie on the tests used, though the underlying numbers are still slightly negative rather than fully recovered. The README also reports a side benefit on a coding test, where the fine-tuned version outperforms both the original model and the untouched 32 expert version, while producing shorter answers, but warns that pushing for shorter answers too aggressively can hurt performance elsewhere. All results are described as measured through paired comparisons on fixed test sets rather than estimated. The repository includes several self contained HTML report pages with charts explaining the architecture change and the test results, along with a written methodology document. Since GitHub does not render HTML files directly, viewing them requires either enabling GitHub Pages for the repository or downloading the files and opening them in a browser. The work is explicitly ongoing, with additional training and evaluation steps still in progress rather than finished.

Yoink these prompts

Prompt 1
Explain in simple terms what happens when this project forces a Mixture-of-Experts model to use 32 experts instead of 8.
Prompt 2
Summarize the healing results comparing the fine-tuned model against the original top-8 routing.
Prompt 3
Help me understand the tradeoff between shorter answers and accuracy described in this research log.
Prompt 4
Walk me through how to view the HTML reports in this repository using GitHub Pages.

Frequently asked questions

wtf is a6b-k-expansion?

A research project that forces an AI model to use more of its internal experts per token, then measures and repairs the accuracy it loses.

How hard is a6b-k-expansion to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is a6b-k-expansion for?

Mainly researcher.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.