ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Add an always-active shared expert

The shared expert processes identity, the input representation saved before the routed expert computation. Its output is added to the weighted routed sum. It therefore contributes a parallel transformation of the original input; it does not take the routed output as…

Donor model implementationhistorical source recovered; expression not executed in this website audit
Learn with the Atlas

Learn to read this model

Start with the symbols, follow the operations, and check what the result means.

Open guided lesson
donor-eq-1181af70ef9682source-code mathematical expression
y=y+self.sharedexperts(identity)y = y + self.shared_experts(identity)

Read the equation

The shared expert processes identity, the input representation saved before the routed expert computation. Its output is added to the weighted routed sum. It therefore contributes a parallel transformation of the original input; it does not take the routed output as its input.

Terms & definitions

TermMeaning in this source
identity

Pre-MoE input

y

Weighted routed sum before this addition

How it works

Read the definition from its right-hand expression to the quantity on the left. Its surrounding source records the intended input, state, or parameter context. Where the source leaves an operation unspecified, this page preserves that gap.

Assumptions & limits

Source recovery establishes that the expression appears in this record. Its mathematical validity, implementation behavior, and interpretation must be assessed separately. See the linked source and research notes for the checks available for this version.

Original context

Read the surrounding source passage
y = self.moe_infer(hidden_states, topk_idx,
                               topk_weight).view(*orig_shape)
        if self.config.n_shared_experts is not None:
            y = y + self.shared_experts(identity)
        return y

    @torch.no_grad()
Exact original notation
y = y + self.shared_experts(identity)

Related builds

Sources & provenance

01
kimi source tree.txt
lines 2866–2866 · Aug 5, 2026
y = y + self.shared_experts(identity)
02
DEEPSEEK_R1_COMPLETE.txt
lines 2641–2641 · Aug 5, 2026
y = y + self.shared_experts(identity)
03
kimi source tree.txt
lines 2866–2866 · Aug 5, 2026
y = y + self.shared_experts(identity)
04
DEEPSEEK_R1_COMPLETE.txt
lines 2641–2641 · Aug 5, 2026
y = y + self.shared_experts(identity)

Search equations, builds, manuscript text, and recovered sources.