---
title: Global-Local Logit Fusion Overview
url: https://www.emergentmind.com/topics/global-local-logit-fusion
type: topic
---

# Global-Local Logit Fusion Overview

Global-local logit fusion denotes a family of late-fusion schemes in which parallel predictors produce logits that encode complementary “global” and “local” evidence and those logits are combined before the final sigmoid or softmax. In LOGER, the global signal is full-image evidence from heterogeneous vision foundation models and the local signal is patch-level forgery evidence aggregated by Multiple Instance Learning; fusion is a uniform average in logit space with no temperature scaling [2604.03558]. In DLLG, the local signal is token-level expert weighting while the global signal is response-level correctness supervision broadcast across the sequence [2606.04378]. In TriMix, the global component is the scaling benefit of a large instruction-tuned model, the local component is low-resource-language competence from a continually pretrained small model, and the final prediction is a convex combination of source logits at test time [2604.18106].

## 1. Core formulation and scope

A recurrent formulation is a weighted sum of logits emitted by complementary branches or experts. LOGER reduces each model’s two-class output to a directional evidence score,
$$
d_m = l_m^{\text{fake}} - l_m^{\text{real}},
$$
and fuses by
$$
d_{\text{fused}}(x) = \frac{1}{M}\sum_{m=1}^M d_m(x), \qquad p(x)=\sigma(d_{\text{fused}}(x)).
$$
DLLG fuses next-token expert logits by
$$
\boldsymbol{\ell}_t = \sum_{i=1}^{K} w_{t,i}\boldsymbol{\ell}_t^{(i)}, \qquad p(y_t\mid x,y_{<t})=\mathrm{softmax}(\boldsymbol{\ell}_t),
$$
where the weights are predicted step-wise by a gate. TriMix uses
$$
z_t^F = w_T z_t^T + w_L z_t^L + w_G z_t^G, \qquad p_t^F=\mathrm{softmax}(z_t^F),
$$
with nonnegative weights summing to one [2604.03558][2606.04378][2604.18106].

| System | Global signal | Local signal |
|---|---|---|
| LOGER | Full-image semantics/statistics | Patch-level forgery traces |
| DLLG | Response-level correctness | Token-level expert fusion |
| TriMix | Scaling and task competence | LRL competence |
| InfiGFusion | Sequence-wide co-activation graph | Per-step top-$k$ logits |

The operational meaning of “global” and “local” is therefore domain dependent. Taken together, these works suggest that the phrase does not identify a single architecture class; rather, it identifies a prediction-level fusion pattern in which broad context and fine-grained evidence are modeled separately and reconciled directly in logit space. The same literature also shows that “global” may refer to spatial extent, sequence-level supervision, or sequence-wide structure, while “local” may refer to patches, tokens, or per-step distributions.

## 2. LOGER and spatial global-local logit fusion for deepfake detection

LOGER was introduced for robust deepfake detection in the wild, where forensic evidence appears at two complementary levels: global-level anomalies in semantics and statistics, and local-level forgery traces concentrated in manipulated regions. The framework uses two branches. The global branch contains three full-image models: M1 is DINOv3-H trained and inferred at \(256\times256\), M2 is DINOv3-H trained at \(256\times256\) and inferred at \(384\times384\), and M3 is MetaCLIP2-H trained and inferred at \(378\times378\). The local branch contains two patch-level models: M4 is DINOv3-L trained at \(224\times224\) and inferred at \(384\times384\), and M5 is DINOv3-L initialized from M4 and fine-tuned at \(338\times338\). M1, M2, M4, and M5 use Flip TTA; M3 does not. The final ensemble uses uniform logit averaging across all five models with no temperature scaling [2604.03558].

The local branch is explicitly designed to address evidence dilution. If \(N\) patches are averaged uniformly, the per-patch contribution of a forged region scales by \(1/N\). LOGER instead selects the top \(10\%\) of patches by fake evidence:
$$
S_k = \mathrm{top\mbox{-}k}(\{d_i\}_{i=1}^N), \qquad
d_{\text{local}}=\frac{1}{k}\sum_{i\in S_k} d_i,
$$
with \(k=\lfloor 0.1\cdot N\rfloor\). Aggregation is performed on logits rather than probabilities. Dual-level supervision comprises image-level BCE on \(\sigma(d_{\text{local}})\), a pairwise AUC surrogate,
$$
L_{\text{auc}}=\frac{1}{|P||N|}\sum_{x^+\in P}\sum_{x^-\in N}
\log\!\left(1+\exp\!\left(-(d_{\text{local}}(x^+)-d_{\text{local}}(x^-))\right)\right),
$$
and a patch-level MIL BCE applied on the top-\(k\) patches. The total local objective is
$$
L_{\text{local}} = L_{\text{img}} + 0.5L_{\text{auc}} + 0.5L_{\text{mil}} + L_{\text{reg}}.
$$

The stated rationale for logit-space fusion is threefold. Feature-space fusion would require feature alignment across heterogeneous backbones such as DINOv3 and MetaCLIP2 and across multiple resolutions. Probability averaging would compress high-confidence logits via the sigmoid and mask inter-model disagreements. Logit-space fusion preserves directional evidence and full confidence ranges, is calibration-friendly, and exploits error decorrelation induced by heterogeneous pretraining objectives, resolutions, and granularities. The ensemble is fixed-weight rather than learned end-to-end.

The training pipeline uses a multi-source candidate pool of approximately \(700\)K images from HydraFake, FaceForensics++, DF40, Celeb-DF, and ScaleDF, plus the NTIRE-2026 official 1K images. M1, M2, M4, and M5 are trained on official 1K plus 20K sampled images; M3 uses 150K sampled from official, DF40, and HydraFake. Degradation augmentation randomly composes blur, noise, JPEG compression, color shift, and spatial distortion. Optimization uses PyTorch plus timm, AdamW with \(\beta_1=0.9\), \(\beta_2=0.999\), weight decay \(10^{-2}\), gradient clipping at max-norm \(1.0\), and WeightedRandomSampler for class imbalance. The five-model ensemble runs at approximately \(17\) FPS on one NVIDIA H800 and is described as suitable for offline forensics.

Reported performance establishes the practical effect of the fusion rule. On the NTIRE 2026 Robust Deepfake Detection Challenge validation set, LOGER reaches image-level AUC \(0.92\), compared with \(0.75\) for ConvNeXt-L and \(0.74\) for GenD; the public and private leaderboard AUCs are \(0.8901\) and \(0.8824\), placing second overall. On the Effort protocol, LOGER attains video AUC \(92.6\%\) versus \(90.4\%\); on DF40 cross-manipulation, average video AUC is \(96.4\%\) versus \(94.0\%\), with \(99.1\%\) on UniFace, \(98.9\%\) on e4s, and \(98.6\%\) on SimSwap. Under JPEG compression to QF\(=40\), the drop is approximately \(1.1\) points; for resizing scales \(0.5\)–\(2.0\), performance stays at least \(92\%\); for Gaussian blur with \(\sigma\) up to \(2.0\), the maximum drop is \(4.7\) points. Ablations on the NTIRE public test isolate the fusion effect: global-only achieves \(0.8812\), local-only \(0.8612\), and the full fused ensemble \(0.8901\); majority vote gives \(0.8812\), probability averaging \(0.8887\), and logit averaging \(0.8901\).

These results make the LOGER formulation a canonical spatial example of global-local logit fusion. Its distinguishing characteristic is not merely ensembling, but ensembling after converting both full-image and top-\(k\) patch branches into the same directional evidence space.

## 3. DLLG and global-to-local token-level fusion in LLM ensembles

DLLG addresses a different setting: multiple frozen LLM experts with a shared tokenizer and vocabulary. Each expert produces next-token logits \(\ell_t^{(i)}\in\mathbb{R}^{|\mathcal{V}|}\) and hidden states \(h_t^{(i)}\in\mathbb{R}^d\). The gate first concatenates the expert hidden states and projects them to a shared embedding,
$$
\mathbf{h}_t^{\mathrm{cat}}=\mathrm{Proj}\!\Big(\mathrm{Concat}(\{\mathbf{h}_t^{(i)}\}_{i=1}^K)\Big),
$$
passes that representation through a lightweight autoregressive stem model \(M_{\mathrm{stem}}\), and predicts non-negative expert weights by
$$
\{w_{t,i}\}_{i=1}^K=\sigma\!\Big(\mathrm{Head}(\mathbf{h}_t^{\mathrm{gate}})\Big).
$$
The stem is Qwen2.5-0.5B-Instruct with KV caching and LoRA adapters; the backbone remains frozen, and the gate uses a low-rank projection of rank \(64\) and LoRA rank \(16\) [2606.04378].

The central innovation is the way a global signal supervises a local fusion rule. For each training example and expert \(\mathcal{E}_i\), a binary correctness label \(s_i\in\{0,1\}\) is derived from an automatic verifier or task-specific evaluation. These sequence-level labels are broadcast to all token positions under teacher forcing, and the gate is trained by
$$
\mathcal{L}=\frac{1}{T}\sum_{t=1}^{T}\sum_{i=1}^{K}(w_{t,i}-s_i)^2.
$$
The paper explicitly states that DLLG uses teacher forcing only, with no scheduled sampling, no RL such as REINFORCE, and no implicit differentiation. It also states that no additional entropy, sparsity, or calibration regularizers are introduced beyond this MSE.

Inference remains fully autoregressive. At each step, all experts advance in lock-step on the same prefix, the gate predicts \(w_{t,i}\), the logits are fused, and the selected token is fed back to all experts and the gate while KV caches are maintained. This design avoids hard routing: the system never commits to a single expert and can reweight experts as subtask demands change within the same response. The paper describes smoothly evolving weights in practice, including reasoning-to-coding transitions.

Training uses approximately \(24\)K examples from GSM8K, MATH, and Code-R1, AdamW with learning rate \(10^{-3}\), batch size \(32\), and \(1{,}000\) steps. The experts are frozen; only the gate parameters are trained. At \(0.5\)B scale, DLLG obtains average \(33.75\) versus \(32.90\) for UniTe, with GSM8K \(52.34\), MinervaMath \(19.64\), MATH \(43.40\), Code-R1 \(9.55\), HumanEval \(45.73\), MBPP \(35.00\), and BBH \(30.56\). At \(1.5\)B scale, the average is \(49.63\), exceeding RouterDC’s \(48.29\); individual scores include GSM8K \(82.81\), MinervaMath \(51.79\), MATH \(84.40\), Code-R1 \(19.96\), HumanEval \(65.24\), MBPP \(52.60\), BBH \(36.11\), and BigCodeBench \(4.10\). Ablations show that a simple MLP-head gate reaches \(48.16\), adding cross-attention gives \(48.48\), an auxiliary LLM yields \(48.99\), and the full “LowRank+Aux-LLM+MLP” gate reaches \(49.63\).

DLLG therefore generalizes the phrase “global-local logit fusion” beyond spatial fusion. Here, “local” is the per-token mixture, while “global” is the response-level supervision that shapes that mixture.

## 4. Structured, multi-source, and adaptive variants in language modeling

InfiGFusion defines local and global logit information explicitly. The local signal is the per-token or per-time-step logit vector \(z_t\in\mathbb{R}^V\), optionally converted to \(p_t=\mathrm{softmax}(z_t/\tau)\). The global signal is a co-activation graph built from top-\(k\) logits across the sequence. After selecting the top-\(k\) channels at each step, the method stacks those logits into \(Z^{\mathrm{top}}\in\mathbb{R}^{T\times d'}\) and constructs the affinity matrix
$$
C=(Z^{\mathrm{top}})^\top Z^{\mathrm{top}}, \qquad
C(i,j)=\sum_{t=1}^{T} z_t(i)z_t(j).
$$
Graph-on-Logits Distillation aligns student and teacher graphs with a sorting-based approximation to Gromov-Wasserstein distance, reducing the original \(O(n^4)\) cost to \(O(n\log n)\) and yielding the overall objective
$$
\mathcal{L}_{\mathrm{InfiGFusion}}
=
\lambda_{\mathrm{GLD}}\sum_{s=1}^{S}\widetilde{\mathrm{GW}}(C^{(s)},C^{(0)})
+
\lambda_{\mathrm{ULD}}\sum_{s=1}^{S}\widetilde{\mathrm{WD}}(\mathbf{f}_t,\mathbf{f}_s)
+
\lambda_{\mathrm{SFT}}\mathcal{L}_{\mathrm{SFT}}.
$$
Across \(11\) benchmarks, the reported average is \(83.85\), with gains of \(+35.6\) on Multistep Arithmetic and \(+37.06\) on Causal Judgement over SFT; removing ULD lowers average performance by \(1.52\), and removing GLD lowers it by \(0.69\) [2505.13893].

InfiFusion does not explicitly define global-local logit fusion, but its details map unified full-vocabulary teacher aggregation to a global aspect and pairwise selective fusion plus RSAF to a local aspect. The unified distribution is
$$
P_{\mathrm{ens}}=\sum_{k=1}^{K} w_k P^k, \qquad
w_k=\frac{1}{H_{\mathrm{model}}(P^k)+H(P^k\mid q)+\epsilon},
$$
with normalized weights. Pairwise fusion uses MinCE targets teacher by teacher, and RSAF applies adaptive top-\(K\) retention over parameter deltas using variation rates and skewness-defined matrix-wise \(K_{j,m}\). Reported multi-source homogeneous results include GSM8K \(75.97\), HumanEval \(57.32\), and MATH \(33.88\) for unified fusion; Appendix B reports \(5\) epochs, batch size \(16\), learning rate \(10^{-6}\), C-AdamW, and approximately \(12\) hours on \(8\) H800 GPUs [2501.02795].

TriMix instantiates test-time multi-source dynamic logit fusion for low-resource language adaptation. It decomposes capabilities into a task-solving vector
$$
\delta_{T,t}=L_{\mathrm{large\mbox{-}ins},t}-L_{\mathrm{large\mbox{-}base},t},
$$
a language-modeling vector
$$
\delta_{L,t}=L_{\mathrm{small\mbox{-}cpt},t}-L_{\mathrm{small\mbox{-}base},t},
$$
and a scaling vector
$$
\delta_{S,t}=L_{\mathrm{large\mbox{-}base},t}-L_{\mathrm{small\mbox{-}base},t}.
$$
With the efficiency choice \(\gamma=\alpha\), the final fusion becomes
$$
L_t = \alpha L_{\mathrm{large\mbox{-}ins},t}
+ \beta L_{\mathrm{small\mbox{-}cpt},t}
+ (1-\alpha-\beta)L_{\mathrm{small\mbox{-}base},t}.
$$
Weights are selected without labeled LRL task data by either prompt perplexity minimization over a grid or first-token entropy minimization. The paper reports that the oracle upper bound prefers \(\alpha=0.33\pm0.26\), \(\beta=0.74\pm0.29\); TriMix with perplexity guidance selects \(\alpha=0.11\pm0.05\), \(\beta=0.91\pm0.06\); entropy guidance selects \(\alpha=0.95\pm0.14\), \(\beta=0.61\pm0.40\); Proxy Tuning fixes \(\alpha=1.0\), \(\beta=1.0\). On Qwen2.5 \(1.5\)B-cpt + \(14\)B-ins, TriMix with PPL reaches average \(36.1\), a \(4.9\%\) relative gain over the \(14\)B-ins baseline, while Proxy Tuning slightly underperforms at \(33.9\). On Gemma3 \(4\)B-cpt + \(12\)B-ins, the average is \(48.0\), a \(5.3\%\) relative gain; on Llama2 \(7\)B-cpt + \(13\)B-ins for Indian languages, the average is \(38.7\), a \(15.2\%\) relative gain [2604.18106].

These language-modeling variants show that global-local logit fusion can be static or dynamic, learned or heuristic, and local in either token space or domain-specialized competence. They also show that structured global information may be encoded not only as a scene-level signal but as correctness labels, co-activation graphs, or uncertainty-weighted full-vocabulary targets.

## 5. Relation to adjacent feature-level local-global fusion literature

A common misconception is that any local-global fusion is logit fusion. Several influential systems instead fuse features and only later decode or classify. LoGoNet performs local-to-global cross-modal fusion for 3D object detection through Global Fusion, Local Fusion, and Feature Dynamic Aggregation; its details explicitly state that it fuses features, not logits, and that a concrete logit-fusion recipe is only an adaptation proposed after the original feature pipeline [2303.03595]. DOLG similarly performs end-to-end image retrieval by orthogonalizing local feature components against a global representation and concatenating the orthogonal component with the global vector; its details state that DOLG fuses features or embeddings, not logits [2108.02927].

The same distinction appears in face recognition and semantic segmentation. LGAF computes global and local face embeddings, estimates quality from feature norms, and fuses the embeddings by
$$
\mathbf{z}_i=\alpha_g\mathbf{f}_g+\alpha_\ell\mathbf{f}_\ell,
$$
before a margin-softmax classifier; the paper presents logit fusion only as an adaptation for closed-set identification, not as the default formulation [2411.16169]. LoGoCAF also operates at feature level: shallow convolutional stages encode local details, deeper transformer stages encode global context, FEM and FIFM perform cross-modality enhancement and interaction, and an MLP decoder outputs a single fused logit map. The paper then describes global-local logit fusion only as an additional head design that can be placed atop the encoder-decoder system [2406.17679]. GL-Fusion for multi-view echocardiogram video segmentation likewise uses MGFM and MLFM to aggregate features across views; pseudo logits serve only to build local masks for MLFM, and the details explicitly note that there is no class-wise or pixel-wise logit fusion rule such as \(z^{\mathrm{fuse}}=w_g z^{\mathrm{global}}+w_l z^{\mathrm{local}}\) [2309.11144].

This distinction matters because the design trade-off differs. Feature-level fusion preserves spatial or structural interactions before the prediction head. Logit-level fusion is later, cheaper, and usually avoids feature alignment across heterogeneous backbones or tokenizers. The literature therefore supports two adjacent but non-identical families: local-global feature fusion and local-global logit fusion.

## 6. Limitations, failure modes, and open directions

The reported limitations are domain specific but recurrent. In LOGER, extreme degradations such as very heavy blur, noise, JPEG compression, low light, and grayscale conversions can erase distinguishing cues; highly localized manipulations below the effective patch size may be missed, while distributed artifacts may be underweighted by top-\(k\) pooling. The paper also notes that fixed \(k\) and uniform fusion weights may be sub-optimal and suggests adaptive \(k\), learnable patch weighting, uncertainty-aware or quality-adaptive fusion, lightweight learned fusion with temperature calibration, temporal MIL for video, and multimodal extensions [2604.03558].

DLLG inherits the cost of running all experts at every token. Its memory footprint scales with the experts’ KV caches and activations, it assumes a shared tokenizer and vocabulary, and it depends on response-level labels from verifiers that may be noisy or unavailable. The paper lists adaptive preselection, hierarchical gating, vocabulary alignment, regularization when weight collapse occurs, and distillation of the fused behavior into a single model as future directions [2606.04378].

InfiGFusion reports that its structural signal is most helpful on structure-dependent reasoning and may yield marginal benefit when tasks are dominated by literal token matching or factual recall. It also does not explicitly resolve conflicting factual knowledge among sources, even though it aligns relational consistency [2505.13893]. TriMix assumes direct access to logits, compatible tokenizers, and synchronized multi-model decoding; it increases inference latency and memory because three models run in parallel, and the \(\gamma=\alpha\) constraint trades flexibility for efficiency. The paper identifies vocabulary expansion, mapped logits across tokenizers, closed-source applicability, more advanced routing, and compression or distillation of fused behavior as future work [2604.18106].

Taken together, these limitations suggest that the central open problem is not whether global-local logit fusion is useful, but how its weighting, calibration, and structural assumptions should adapt to content, degradation regime, expert disagreement, and resource budget. The recent literature already points to the main axes of refinement: adaptive or learned gating, structure-aware global signals, uncertainty-aware calibration, and mechanisms for reducing the inference cost of multi-branch or multi-expert fusion.

Source: https://www.emergentmind.com/topics/global-local-logit-fusion