The University of Southampton
University of Southampton Institutional Repository

MoDr: Mixture-of-depth-recurrent transformers for test-time reasoning

MoDr: Mixture-of-depth-recurrent transformers for test-time reasoning
MoDr: Mixture-of-depth-recurrent transformers for test-time reasoning
Large Language Models have demonstrated superior reasoning capabilities by generating step-by-step reasoning in natural language before deriving the final answer. Recently, Geiping et al. introduced 3.5B-Huginn as an alternative to this paradigm, a depth-recurrent Transformer that increases computational depth per token by reusing a recurrent block in latent space. Despite its performance gains with increasing recurrences, this approach is inadequate for tasks demanding exploration and adaptivity, a limitation arising from its single, chain-like propagation mechanism. To address this, we propose a novel dynamic multi-branches routing approach for Huginn, termed as Mixture-of-Depth-Recurrent (MoDr) Transformer, which enables effective exploration of the solution space by shifting chain-like latent reasoning into a LoRA-based multi-branch dynamic relay mode with a learnable hard-gate routing. Meanwhile, we introduce an auxiliary-loss-free load balancing strategy to mitigate the potential routing collapse. Our empirical results reveal that MoDr achieves average accuracy improvements of +7.2% and +2.48% over the original Huginn model and its fine-tuned variant, respectively, across various mathematical reasoning benchmarks and improvements of +21.21% and +1.52% on commonsense reasoning benchmarks.
OpenReview
Zhang, Xiaojing
85fad22f-3c90-4613-a01f-6ecc5796d9b1
Wu, Haifeng
5e0d98a2-127a-4e65-9f63-924b672f9aff
He, Gang
0812a30f-f792-4c03-b223-0c59c2b4c90b
Shen, Jiyang
23c9ded8-4bf6-47b9-a556-9b5168106403
Lyu, Bochen
fb1af04c-d0d6-490b-a238-73c1dd1aed2a
Zhu, Zhanxing
e55e7385-8ba2-4a85-8bae-e00defb7d7f0
Zhang, Xiaojing
85fad22f-3c90-4613-a01f-6ecc5796d9b1
Wu, Haifeng
5e0d98a2-127a-4e65-9f63-924b672f9aff
He, Gang
0812a30f-f792-4c03-b223-0c59c2b4c90b
Shen, Jiyang
23c9ded8-4bf6-47b9-a556-9b5168106403
Lyu, Bochen
fb1af04c-d0d6-490b-a238-73c1dd1aed2a
Zhu, Zhanxing
e55e7385-8ba2-4a85-8bae-e00defb7d7f0

Zhang, Xiaojing, Wu, Haifeng, He, Gang, Shen, Jiyang, Lyu, Bochen and Zhu, Zhanxing (2026) MoDr: Mixture-of-depth-recurrent transformers for test-time reasoning. In The Fourteenth International Conference on Learning Representations ICLR 2026. OpenReview..

Record type: Conference or Workshop Item (Paper)

Abstract

Large Language Models have demonstrated superior reasoning capabilities by generating step-by-step reasoning in natural language before deriving the final answer. Recently, Geiping et al. introduced 3.5B-Huginn as an alternative to this paradigm, a depth-recurrent Transformer that increases computational depth per token by reusing a recurrent block in latent space. Despite its performance gains with increasing recurrences, this approach is inadequate for tasks demanding exploration and adaptivity, a limitation arising from its single, chain-like propagation mechanism. To address this, we propose a novel dynamic multi-branches routing approach for Huginn, termed as Mixture-of-Depth-Recurrent (MoDr) Transformer, which enables effective exploration of the solution space by shifting chain-like latent reasoning into a LoRA-based multi-branch dynamic relay mode with a learnable hard-gate routing. Meanwhile, we introduce an auxiliary-loss-free load balancing strategy to mitigate the potential routing collapse. Our empirical results reveal that MoDr achieves average accuracy improvements of +7.2% and +2.48% over the original Huginn model and its fine-tuned variant, respectively, across various mathematical reasoning benchmarks and improvements of +21.21% and +1.52% on commonsense reasoning benchmarks.

This record has no associated files available for download.

More information

Published date: 26 January 2026

Identifiers

Local EPrints ID: 512969
URI: https://eprints.soton.ac.uk/id/eprint/512969
PURE UUID: ab75d802-28d3-443b-a993-a8f847a731db
ORCID for Zhanxing Zhu: ORCID iD orcid.org/0000-0002-2141-6553

Catalogue record

Date deposited: 28 Jul 2026 16:52
Last modified: 13 Sep 2026 15:49

Export record

Contributors

Author: Xiaojing Zhang
Author: Haifeng Wu
Author: Gang He
Author: Jiyang Shen
Author: Bochen Lyu
Author: Zhanxing Zhu ORCID iD

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of https://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×