Manuscript Offprint
arXiv:2610.03039HyperThink: Text-to-Parameter Hypernetworks for Efficient Reasoning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Long-form thinking traces can substantially improve the multi-step reasoning performance of large language models (LLMs), but they introduce high inference-time overhead, with latency dominated by sequential decoding. We propose HYPERTHINK, a text-to-parameter approach that amortizes this reasoning computation into a single query-conditioned parameter update: a lightweight hypernetwork reads the question and predicts updates to a small subset of the base LLM's parameters, while a vector-quantized decoder constrains them to a finite set of reusable patterns to improve robustness and transfer. Trained end-to-end on outputs from the base model itself, HYPERTHINK eliminates long thinking traces at test time: after one hypernetwork forward pass, the adapted model generates a concise step-by-step solution and final answer without an intermediate trace, using far fewer tokens while retaining strong reasoning performance. Empirically, HYPERTHINK improves the low-latency region of the accuracy-latency trade-off on mathematical and general reasoning tasks, with its strongest gains in the near-non-thinking regime.
1 Introduction
Large language models (LLMs) have rapidly advanced on tasks requiring multi-step inference, including mathematical and symbolic reasoning (OpenAI, 2024; Llama Team, 2024; Qwen Team, 2025). A key driver of this progress is chain-of-thought (CoT) reasoning, where models generate step-by-step responses before giving a final answer (Wei et al., 2022; Kojima et al., 2022). Beyond CoT prompting, recent reasoning models are also post-trained to produce long thinking traces before these step-by-step responses, typically enclosed by special tokens such as <think> ... </think> (Qwen Team, 2025; DeepSeek-AI, 2025; Team Olmo, 2025). Although effective, such traces are computationally expensive at inference time because they often dominate the token budget, making them impractical in latency-sensitive or cost-constrained settings.
To address this cost, recent work has begun exploring non-thinking inference as an alternative, aiming to generate direct answers without intermediate reasoning. Some methods incorporate non-thinking behavior directly into post-trained reasoning models by providing explicit controls to disable thinking traces at test time (Qwen Team, 2025; Fang et al., 2025). Others show that even existing reasoning models can often bypass explicit thinking prompts while retaining favorable accuracy-latency tradeoffs (Ma et al., 2025). However, these approaches inherit a fundamental limitation of non-thinking: on multi-step problems, models may produce plausible-looking answers through shortcuts rather than reliably executing the intermediate computation needed for correctness (Wei et al., 2022), leading to subpar performance. This raises a central question: can we preserve much of the benefit of explicit thinking traces while operating at, or close to, the cost of decoding only short step-by-step responses?
*equal contribution
We approach this question by asking what makes thinking traces and CoT effective in the first place: they enable query-dependent computation, allowing the model to adapt its internal processing to each problem instance. If token-level thinking is reduced or removed, an alternative mechanism must still provide instance-specific adaptation, rather than relying on a single static set of weights for all queries. At the same time, parameter-efficient adaptation methods suggest a promising route: small, structured weight modifications, such as bias tuning or low-rank updates, can substantially steer model behavior while changing only a tiny fraction of parameters (Hu et al., 2022; Zaken et al., 2022; Huang et al., 2025). Together, these observations motivate a different perspective: instead of treating reasoning as a thinking trace to be generated, we treat it as an instance-conditioned perturbation of the model weights, predicted from the query and applied before decoding only a short step-by-step response.
Concretely, we approximate the downstream effect of thinking with a query-conditioned parameter update. Rather than generating a long trace at inference time, we learn a mapping from the input question to a lightweight parameter modulation that shifts a frozen base model into a configuration better suited to solving that question with few tokens. We instantiate this idea in HYPERTHINK, a text-to-parameter framework that amortizes instance-specific reasoning into query-conditioned parameter updates applied to the base model (Figure 1). Given a query, a hypernetwork predicts a small set of parameter shifts, after which the adapted model produces a concise step-by-step solution and final answer without emitting a long thinking trace.
To improve robustness and reuse across instances, HYPERTHINK introduces a vector-quantized (VQ) bottleneck that constrains updates to a finite set of discrete prototypical patterns (van den Oord et al., 2017; Esser et al., 2021). The hypernetwork is trained end-to-end using supervision from the thinking mode of the base LLM: during training, it learns to match the responses
(a) Non-Thinking

(b) Thinking
(c) HYPERTHINK (Ours)

Figure 1: Conceptual comparison. (a) Non-Thinking mode produces the step-by-step response directly from the query. (b) Thinking mode produces a long thinking trace before producing the response, incurring high cost and latency. (c) HYPERTHINK amortizes the reasoning computation into a query-conditioned parameter update . The hypernetwork predicts this update in a single forward pass, enabling the adapted LLM to produce the response directly without a thinking trace.
produced when conditioning on the long thinking trace in context. As a result, inference requires only a single hypernetwork forward pass on the input problem, followed by standard decoding of a concise step-by-step response. Because the hypernetwork is lightweight, HYPERTHINK achieves computational efficiency close to non-thinking while producing more reliable responses. Moreover, its query-conditioned modulation keeps the base LLM frozen and introduces only a small number of extra parameters, which is beneficial for modular and scalable adaptation.
Across reasoning benchmarks spanning mathematics, code generation, and question answering, HYPERTHINK shows its clearest gains in the low-latency regime, particularly on mathematical and question-answering tasks. Unlike token-level methods for efficient reasoning, which still allocate additional computation through generated reasoning tokens or budget-controlled traces, HYPERTHINK uses a single non-autoregressive, query-conditioned parameter update. This makes HYPERTHINK particularly useful in the near-non-thinking regime, where native non-thinking is fast but can sacrifice accuracy, whereas full thinking is too slow for strict latency budgets. Taken together, our results suggest that amortized, query-conditioned parameter steering can recover useful instance-specific reasoning behavior without requiring long explicit thinking traces.
2.1 Large Language Models for Problem Solving
For problem solving, large language models (LLMs) can be viewed as conditional autoregressive sequence models over a vocabulary . Given an input query , the model autoregressively generates an output response :
The learning objective is to estimate parameters such that the model assigns high probability to correct responses on unseen queries.
In this work, we focus on reasoning-based problem solving, where the response typically contains intermediate solution steps followed by a final answer (Wei et al., 2022). Following prior work (Cobbe et al., 2021; Lu et al., 2025a), we evaluate correctness by applying a rule-based answer extractor to obtain the final answer , then matching it against the ground-truth answer from the dataset .
2.2 Inference Modes
Given this setup, we distinguish two inference modes of an LLM by how it allocates additional computation before emitting the response r.
Thinking Mode. To produce logically grounded responses, recent reasoning LLMs generate long thinking traces before producing a step-by-step response containing the final solution (Qwen Team, 2024; DeepSeek-AI, 2025; Team Olmo, 2025; Qwen Team, 2025).
The thinking trace c denotes intermediate reasoning tokens, typically learned during post-training with a reinforcement learning objective. While this mode has shown strong gains on complex tasks by allocating additional computation at inference time, it introduces significant latency overhead because the hidden chain c is usually much longer than the response r and must also be generated autoregressively.
Non-Thinking Mode. In classical settings, LLMs generate the response r directly, conditioned only on the query:
By sacrificing the ability to use thinking traces as a scratchpad, this mode can achieve dramatically lower latency than Thinking mode. This Non-Thinking mode can also be invoked in post-trained models by prompting with null thinking tokens (Ma et al., 2025), or by post-training with the Non-Thinking mode (Qwen Team, 2025). Note that even without thinking tokens, the response tokens r produced in Non-Thinking mode can still include step-by-step solutions (i.e., chain-of-thought) before emitting the answer.
3 HYPERTHINK
We introduce HYPERTHINK, a framework that reframes thinking as query-conditioned parameter modulation of a language model rather than explicit token generation. We view the thinking process as an intermediate computation that steers the model's decoding dynamics before producing the final response. HYPERTHINK realizes this steering through a lightweight query-specific parameter update predicted by an amortized hypernetwork, enabling direct response generation without thinking tokens while approximating the response distribution of Thinking Mode.
3.1 Thinking Process as Parameter Updates
We relate the Thinking and Non-Thinking modes from Section 2 through the lens of distribution steering. In Thinking mode, the chain of thinking tokens is generated from each query and steers the model from the direct response distribution toward the conditioned distribution . Our goal is to approximate this steering effect with a query-conditioned parameter shift , avoiding both generation of and conditioning on the thinking tokens c.
Concretely, we posit the existence of a parameter update such that the Non-Thinking mode decoding of the updated model matches the Thinking mode decoding:
Here, is intended to implicitly capture the effect of conditioning on , i.e., the resulting shift in the model's activations and KV-cache. This formulation is motivated by studies on the duality between in-context learning and fine-tuning (Von Oswald et al., 2023; Dai et al., 2023).
A simple way to obtain from a query is to maximize the likelihood of the responses from Thinking mode under the updated model:
where denotes the space of the LLM parameters. While Eq. (5) provides a principled way to obtain , it still requires generating the thinking tokens in addition to the optimization process for each query , which is computationally prohibitive at inference time and provides no benefit over Thinking Mode.
We therefore amortize the mapping from queries to parameter updates by training a hyper-network that predicts directly from :
The hypernetwork can be trained end-to-end with the maximum likelihood objective in Eq. (5). At inference, HYPERTHINK applies the predicted parameter update from the trained hypernetwork to the frozen base model and directly generates the response tokens r. This replaces long sequential thinking-trace generation with one non-autoregressive hypernetwork pass. The resulting method incurs a modest latency overhead over Native Non-Thinking while avoiding the substantially longer sequential decoding required by explicit thinking traces.
3.2 Bias-Only Adaptation
Predicting the full weight updates for LLMs with a hypernetwork, however, is impractical due to the massive (e.g., billions) output dimensionality. We therefore restrict adaptation to a tiny subset of parameters: bias parameters of several selected transformer layers of the LLM backbone. Let denote the concatenation of the selected bias parameters. HYPERTHINK only predicts the shift in selected biases: . Then the predicted bias updates are applied to the base LLM to adapt :
where denotes adding only to the bias subset while keeping other parameters fixed.
We choose bias parameters for two reasons. First, the number of bias parameters is negligible compared to full weight matrices, making them easy to predict and apply with a lightweight hypernetwork. For example, in the instantiation we show in the experiments, we reduce the parameter space of a 0.6B model to only 90K (0.015%). Second, despite this constrained subspace, bias updates have been shown to effectively steer transformer backbones across diverse domains (Zaken et al., 2022; Cho et al., 2024; Huang et al., 2025; Kim et al., 2025). Other parameter subspaces, such as LoRA (Hu et al., 2022) or Prompt Tuning (Lester et al., 2021), are also possible in principle; we study the impact of the chosen adaptation subspace in Section 4.3.
3.3 Hypernetwork Architecture
The hypernetwork consists of three components (see Figure 2): a Text Encoder that embeds the query, a Bias Encoder that contextualizes a set of learnable parameter tokens with the query representation, and a VQ Decoder that discretizes the resulting representations and projects them into the target bias-update space.

Figure 2: HYPERTHINK architecture. A frozen text encoder embeds the query q into text embeddings, which are jointly encoded with learnable embeddings by a bias encoder. The output bias tokens are decoded to final bias updates by a VQ decoder that discretizes the contextualized parameter representations using a learned codebook .
Text Encoder. The first stage extracts a contextual representation of the input query q. We employ a frozen pretrained transformer (e.g., a copy of the base LLM) to produce a sequence of text tokens:
where is the query length. These embeddings serve as the query context for subsequent parameter generation. By using a pretrained language model as the text encoder, we obtain robust representations that capture the semantic structure of the query relevant for predicting bias updates. Since the query length is relatively small and we only apply a single forward pass of the encoder, the cost of text encoding is substantially lower than autoregressively generating a long chain of thinking tokens, and thus does not conflict with our goal of efficient reasoning.
Bias Encoder. The hypernetwork must output a structured bias update, consisting of multiple bias vectors for each layer. To explicitly represent these update slots, we introduce M learnable bias tokens , where is the number of layers whose biases are updated and each token is assigned to a layer . Then we encode the bias tokens using an MM-DiT (Esser et al., 2024) architecture, which jointly encodes the text tokens and the parameter tokens by considering them as separate modalities, with modality-specific LayerNorm/MLP and joint self-attention. This enables the model to contextualize query information into the parameters while capturing the dependencies among layer-wise parameters. We use the output parameter tokens as the contextualized representation , which will be decoded into the final bias update.
VQ Decoder. To regularize the update space and encourage reuse of common update patterns, we introduce a discrete bottleneck via vector quantization (VQ) with layer-wise learnable codebooks to decode the continuous outputs of the bias encoder. For each token , we project it to a latent , quantize it to the nearest code within the corresponding codebook , and decode it into the actual bias update for the layer. Concatenating over yields the full bias update . During training, we use a straight-through estimator to backpropagate through the quantization step, while learning the codebook entries jointly with the decoder. The discrete bottleneck acts as an inductive bias by constraining updates to be composed from a finite set of learned prototypes shared by queries. This reduces the effective degrees of freedom of instance-specific adaptation and makes the predicted update behave more like a reusable reasoning primitive than an unconstrained per-example perturbation. We zero-initialize the VQ decoder's output projection ( ), ensuring and an initial match to the frozen base model.
3.4 Training Objective
During training, the base parameters are kept frozen; we update only the hypernetwork parameters and the VQ codebook end-to-end. Our objective consists of (i) a maximum-likelihood term that trains HYPERTHINK to reproduce teacher-generated
Thinking Mode

Figure 3: Maximum likelihood objective for HYPERTHINK. HYPERTHINK predicts query-specific bias parameters and injects them into the base LLM, and is trained to steer the Non-Thinking response distribution into that of Thinking mode.
responses without internal thinking tokens, (ii) a vector-quantization objective that stabilizes the discrete bottleneck, and (iii) a usage regularizer that prevents code collapse in the VQ decoder.
Maximum Likelihood Objective. To encourage the hypernetwork output to steer the response distribution in the Non-Thinking mode toward that of the Thinking mode, we employ an end-to-end maximum likelihood (cross-entropy) objective using correctness-filtered, teacher-generated response tokens from Thinking Mode:
where the parameter updates are produced by the hypernetwork (Eq. (7)). This objective steers the adapted LLM to skip the thinking tokens while producing the logically grounded responses .
Vector Quantization Objective. To learn discrete reasoning prototypes, we employ the standard VQ-VAE objective (van den Oord et al., 2017). We use a straight-through estimator to backpropagate through the non-differentiable code selection and add the auxiliary loss
where is the projected latent for parameter token , is the selected code, denotes stop-gradient, and is a hyperparameter.
Usage Regularizer. Optimizing the VQ objective alone can lead to code collapse, where most latents are assigned to a few codes. To encourage diverse usage, we regularize the batch-wise code distribution. For each bias group j, we aggregate soft VQ assignments over a mini-batch of size B to obtain an empirical usage distribution over the K codes, and encourage it to be close to uniform by minimizing
where is the uniform distribution over K codes. We use a straight-through estimator to backpropagate through . This increases code-usage entropy and mitigates collapse.
Total Objective. The total objective combines all terms:
where are hyperparameters.
4 Experiments
In this section, we empirically evaluate HYPERTHINK on various LLM reasoning tasks under two distinct experimental setups: math reasoning and general reasoning.
4.1 Experimental Setup
Base LLMs. For the math reasoning experiments, we use Qwen3-0.6B (Qwen Team, 2025) and SmolLM3-3B (Bakouch et al., 2025) as base models. For general reasoning experiments, we use SmolLM3-3B and Olmo-3-7B-Think (Team Olmo, 2025) as base models. All models are extensively post-trained for Thinking and Non-Thinking inference, and Qwen3 supports token-budget control, making them exceptionally strong baselines for HYPERTHINK. We follow their standard decoding settings, with a temperature of 0.6 and nucleus sampling with p = 0.95. For each query, we draw five samples and report the average accuracy and Pass@5 as performance metrics. To fairly assess the inference cost of our hypernetwork-based method and prompting baselines, we also report FLOPs averaged over the samples.
Datasets. For the mathematical reasoning experiments, we train Qwen3-0.6B on GSM8K (Cobbe et al., 2021) and SmolLM3-3B on DeepScaleR (Luo et al., 2025). Then we evaluate both models on the standard GSM8K test split as well as MATH-500 (Hendrycks et al., 2021) as the out-of-domain benchmark. For the general reasoning experiments, we augment the training data with CodeForces-CoTs (Penedo et al., 2025), LogiQA (Liu et al., 2020), OpenBookQA (Mihaylov et al., 2018), and QASC (Khot et al., 2020), also covering coding, logical reasoning, and general question-answering tasks. We then evaluate the model on AIME (Jia, 2024; Dekoninck et al., 2026), LiveCodeBench (Jain et al., 2025), BIG-Bench Hard (Suzgun et al., 2023), and CommonsenseQA (Talmor et al., 2019), which assess Olympiad-level mathematics, code generation, multi-step reasoning, and commonsense question answering, respectively.
Baselines. We compare HYPERTHINK against five baselines: Thinking Mode, which generates an explicit reasoning trace before producing the final response; Budget-Controlled Thinking Mode, which constrains Thinking-Mode generation to a token budget comparable to that of HYPERTHINK; Native Non-Thinking Mode, which directly produces a response using the model's native non-thinking configuration; System 2 Distillation (Yu et al., 2024), which uses the same training objective as HYPERTHINK but directly fine-tunes the base LLM rather than predicting query-conditioned parameter updates; and TokenSkip (Xia et al., 2025), which learns to selectively omit less important tokens for controllable compression of reasoning traces. Full details are provided in Appendix B.
Implementation Details. For the hypernetwork text encoder, we use a pretrained backbone and keep it frozen during training. The hypernetwork consists of a lightweight MM-DiT-based bias encoder and a VQ decoder. We adapt biases in the later transformer blocks of the base LLM, targeting a small subset of projection modules; the exact architectures and parameter counts for each backbone are given in Appendix C. Unless otherwise noted, all other hypernetwork and training settings are shared across backbones. We train HYPERTHINK and the baselines with AdamW (Loshchilov & Hutter, 2019); full optimization hyperparameters and compute details are deferred to Appendix C.
4.2 Main Results
Table 1 summarizes the Qwen3-0.6B results on the mathematical-reasoning benchmarks. We observe that HYPERTHINK generally improves over the Non-Thinking and distillation baselines with only a small increase in FLOPs. In particular, at similar compute budgets, HYPERTHINK yields significant improvements over Budget-Controlled Thinking Mode on both benchmarks. We also observe that System 2 Distillation and TokenSkip underperform HYPERTHINK on the out-of-distribution MATH-500 benchmark. This suggests weaker out-of-distribution generalization with less-constrained fine-tuning, whereas VQ-constrained bias adaptation preserves stronger transfer to MATH-500. On the other hand, HYPERTHINK successfully generalizes to out-of-distribution math problems to perform reasoning without thinking tokens. In the SmolLM3-3B model, as summarized in Table 2, the gap between HYPERTHINK and baselines even widens. HYPERTHINK generally outperforms the low-budget baselines with much lower FLOPs, indicating that HYPERTHINK scales well with model size and has strong potential for practical applications.
To clearly investigate the cost-performance trade-off between baselines, we plot Pass@5 against the end-to-end answering latency measured on a single NVIDIA H200 GPU in Figure 4. Due to the lightweight computation of the hypernetwork, which is a single
| Reasoning Mode | GSM8K-Test | MATH-500 | ||||
|---|---|---|---|---|---|---|
| Acc (%) | Pass@5 (%) | FLOPs (G) | Acc (%) | Pass@5 (%) | FLOPs (G) | |
| Thinking Mode (Qwen Team, 2025) | 73.81 | 87.41 | 2503.71 | 52.64 | 80.40 | 4535.70 |
| Budget-Controlled Thinking Mode (Qwen Team, 2025) | 36.15 | 56.94 | 502.36 | 43.76 | 61.48 | 1198.27 |
| Native Non-Thinking Mode (Qwen Team, 2025) | 58.82 | 80.14 | 407.66 | 46.84 | 69.00 | 962.35 |
| System 2 Distillation (Yu et al., 2024) | 61.91 | 75.06 | 458.21 | 31.40 | 50.80 | 838.52 |
| TokenSkip (Xia et al., 2025) | 61.64 | 81.50 | 437.18 | 37.12 | 57.40 | 1562.24 |
| HYPERTHINK (Ours) | 61.06 | 82.11 | 477.28 | 48.76 | 73.40 | 1150.83 |
Table 1: Main results on GSM8K-Test and MATH-500 with Qwen3-0.6B backbone. We report average accuracy, Pass@5, and FLOPs for inference over 5 samples for all methods.
| Reasoning Mode | GSM8K-Test | MATH-500 | ||||
|---|---|---|---|---|---|---|
| Acc (%) | Pass@5 (%) | FLOPs (G) | Acc (%) | Pass@5 (%) | FLOPs (G) | |
| Thinking Mode (Bakouch et al., 2025) | 92.27 | 96.51 | 8340.31 | 88.56 | 93.60 | 28460.97 |
| Budget-Controlled Thinking Mode (Qwen Team, 2025) | 62.23 | 83.02 | 3748.67 | 46.80 | 63.20 | 5645.65 |
| Native Non-Thinking Mode (Bakouch et al., 2025) | 74.81 | 95.15 | 4900.09 | 70.20 | 84.20 | 7143.64 |
| System 2 Distillation (Yu et al., 2024) | 74.72 | 89.99 | 3400.70 | 62.00 | 79.60 | 5510.84 |
| TokenSkip (Xia et al., 2025) | 81.08 | 93.10 | 3015.82 | 54.56 | 74.00 | 10991.38 |
| HYPERTHINK (Ours) | 84.75 | 95.15 | 3303.77 | 67.36 | 81.20 | 5900.99 |
Table 2: Main results on GSM8K-Test and MATH-500 with SmolLM3-3B backbone. We report average accuracy, Pass@5, and FLOPs for inference over 5 samples for all methods.


Thinking Native Non-Thinking System 2 Distillation TokenSkip HyperThink (Ours)
Figure 4: Average Pass@5 versus latency of Qwen3-0.6B on math reasoning tasks.
forward pass on the problem text, the latency of HYPERTHINK is largely determined by the number of generated tokens. Since HYPERTHINK learns to directly generate response tokens, it incurs latency comparable to Native Non-Thinking. Therefore, HYPERTHINK achieves a significantly better accuracy–latency trade-off than Budget-Controlled Thinking Mode and System 2 Distillation. Moreover, HYPERTHINK still provides a performance boost over the Native Non-Thinking Mode with a slight increase in latency, which is notable because the base Qwen3 model is already post-trained for the Non-Thinking mode with an extensive corpus over multiple training stages.
Figures 5 and 6 report results for SmolLM3-3B and Olmo-3-7B-Think, respectively, with both models trained on the same mixed-domain corpus. Across CommonsenseQA and BIG-Bench Hard, HYPERTHINK generally improves over Native Non-Thinking in the low-latency regime, showing that query-conditioned parameter updates can support reasoning beyond mathematics when the corresponding domains are covered during training. In particular, on Olmo-3-7B-Think, HYPERTHINK achieves performance comparable to the evaluated Thinking-mode operating points on these QA benchmarks while requiring only approximately 7–9% of their answering latency. The harder AIME and LiveCodeBench evaluations clarify the boundary of this trade-off: high-budget Thinking remains substantially stronger on search-intensive Olympiad problems, while Native Non-Thinking can remain competitive or stronger on executable code generation. Thus, HYPERTHINK does not uniformly dominate all baselines, but provides a favorable operating point near the Non-Thinking latency regime across larger backbones and broader reasoning domains.
We provide the complete results for the general-reasoning experiments in Appendix D.

Figure 5: Average Pass@5 versus latency of SmolLM3-3B on general reasoning tasks.

Figure 6: Average Pass@5 versus latency of Olmo-3-7B-Think on general reasoning tasks.
| Bias Only | TTA | VQ Bottleneck | GSM8K-Test | MATH-500 | ||||
|---|---|---|---|---|---|---|---|---|
| Acc (%) | Pass@5 (%) | FLOPs (G) | Acc (%) | Pass@5 (%) | FLOPs (G) | |||
| ✕ | ✕ | ✕ | 61.91 | 75.06 | 458.21 | 31.40 | 50.80 | 838.52 |
| ✓ | ✕ | ✕ | 60.88 | 82.11 | 440.72 | 45.56 | 66.20 | 1065.50 |
| ✓ | ✓ | ✕ | 59.74 | 80.14 | 425.39 | 43.32 | 66.90 | 1046.11 |
| ✓ | ✓ | ✓ | 61.06 | 82.11 | 477.28 | 48.76 | 73.40 | 1150.83 |
Table 3: Component-wise ablation study on HYPERTHINK architecture.
4.3 Ablation Studies
In this section, we provide further studies on the main design choices in HYPERTHINK and the learned VQ codebook, using Qwen3-0.6B as the base model on the math experiment. We leave additional ablation studies about the choice of target bias parameters and additional analysis of the VQ bottleneck in Appendix E.
Component-wise Analysis. To demonstrate the effectiveness of each architectural component of HYPERTHINK, we report the performance of its ablated variants in Table 3. The first row corresponds to the System 2 Distillation baseline, which uses the same distillation objective and training data as HYPERTHINK but fully fine-tunes the LLM. The second row restricts this baseline to optimizing only bias parameters, which can be viewed as global biases shared across queries. The large improvement over the first row highlights the robustness of bias parameters for steering a pretrained LLM. The third row is HYPERTHINK without the VQ bottleneck, directly projecting the continuous outputs of the Bias Encoder to bias updates, and the last row is the full HYPERTHINK. The results show that simply introducing query-specific test-time adaptation with the Text/Bias Encoders is insufficient to generalize the query-to-parameter mapping (Eq. (5)). With the VQ decoder, HYPERTHINK achieves much better out-of-distribution generalization on MATH-500, indicating that the discrete bottleneck acts as a strong regularizer against overfitting.
Effect of the Adaptable Parameters. As discussed in Section 3.2, HYPERTHINK can predict updates in parameter subspaces other than biases. To justify our choice, we compare variants of HYPERTHINK using two common parameter-efficient fine-tuning approaches: LoRA (Hu et al., 2022)
| Adaptable Parameters | GSM8K-Test | MATH-500 | ||
|---|---|---|---|---|
| Acc (%) | FLOPs (G) | Acc (%) | FLOPs (G) | |
| LoRA | 60.71 | 503.44 | 46.92 | 1130.62 |
| Prompt Tuning | 60.18 | 506.68 | 43.52 | 879.76 |
| Bias (Ours) | 61.06 | 477.28 | 48.76 | 1150.83 |
Table 4: Ablation of adaptable parameters.
and Prompt Tuning (Lester et al., 2021). We use rank 8 for LoRA and 32 prompt tokens for Prompt Tuning. Table 4 summarizes the results. We observe that both alternative parameterizations underperform bias adaptation, which supports the flexibility and robustness of bias-only tuning.
Analysis of the Learned VQ Codebook. To investigate the learned structure in the VQ codebook, we analyze whether similar problems are assigned the same VQ code. Figure 7 reports the distribution of subjects in MATH-500 for three representative VQ codes, along with the most frequent keywords in the problems assigned to each code. We observe that each code primarily covers related subjects. For example, the first code is mainly used for Algebra, Intermediate Algebra, Prealgebra, and Number Theory, and it is dominated by algebraic keywords such as "log" and "equation". The second and third codes are used mainly for Probability and Precalculus, respectively, and are dominated by subject-related keywords. Overall, the alignment between subject-level assignments and code-specific lexical patterns suggests that individual VQ codes capture meaningful semantic structure.

Figure 7: Subject distribution and top keywords per VQ code.
codes capture meaningful semantic structure in the math problem space.
5 Related Work
Efficient Reasoning with Large Language Models. Chain-of-Thought (CoT) prompting unlocks strong reasoning in LLMs (Wei et al., 2022; Kojima et al., 2022) but introduces substantial inference latency. To address this, Ning et al. (2023) parallelize reasoning steps via hierarchical prompting, Xia et al. (2025) prune redundant reasoning tokens, and Hou et al. (2025b) constrain LLMs to produce shorter traces during post-training. A complementary line of work distills reasoning from strong teachers into student models via thinking traces and step-by-step supervision (Magister et al., 2023; Ho et al., 2023; Sprague et al., 2026; Yu et al., 2024). These methods show that reasoning can be compiled into efficient "System 1"-like behavior, but the result is a single static set of student weights. HYPERTHINK shares the goal of distilling System 2 into System 1 reasoning (Yu et al., 2024), but instead of training a student to directly output final answers, it amortizes thinking traces into dynamic, query-conditional parameter updates applied to a frozen base model.
Hypernetworks for Parameter Generation. Hypernetworks (Ha et al., 2017) generate target-network weights conditioned on an input and have been adopted for parameter-efficient multi-task adaptation in NLP (Mahabadi et al., 2021; Charakorn et al., 2025), where a shared hypernetwork produces task-specific adapters (Hu et al., 2022) reused across all problems of a given task. More recently, instance-level adaptation (Hou et al., 2025a; Abdalla et al., 2025) predicts parameters conditioned on each input example; HyperFlow (Kim et al., 2025) emulates gradient-based few-shot fine-tuning by predicting task-conditional drifts without explicit backpropagation. Our work shares this philosophy of “immediate query-specific adaptation,” but targets LLM reasoning rather than few-shot visual classification.
We present additional related work on test-time adaptation in Appendix A.
6 Conclusion
We introduced HYPERTHINK, a text-to-parameter framework that amortizes long thinking traces into query-conditional parameter updates. Rather than generating explicit thinking tokens at test time, HYPERTHINK predicts a small, structured parameter shift for each query, enabling the base model to operate in the efficient non-thinking mode while emulating the reasoning ability of the thinking mode. At the core of our approach is a bias-predicting hypernetwork equipped with a vector-quantized bottleneck, which constrains per-query adaptations to a finite set of reusable reasoning prototypes. Empirically, HYPERTHINK improves the low-latency region of the accuracy-latency trade-off on mathematical and general reasoning tasks, with its strongest gains in the near-non-thinking regime.
Acknowledgements
This work was supported by the Institute of Information & Communications Technology Planning & Evaluation (IITP) grants funded by the Ministry of Science and ICT (MSIT) of the Republic of Korea (No. RS-2024-00469482 and No. RS-2019-II190075). This work was also supported by the InnoCORE program of the MSIT (AI Meta-Scientist, N10260110), and in part by the “HPC support” project funded by the Korea government.
Ethics Statement
This paper proposes a method for amortizing long-form reasoning traces into query-conditioned parameter updates, improving the efficiency of LLM inference on mathematical reasoning tasks. While this work is motivated by reducing computational cost in settings such as math problem solving, efficiency improvements to LLM reasoning could, in principle, lower the barrier to deploying reasoning models for harmful purposes. This concern is not unique to our approach but applies broadly to research that improves the cost-performance tradeoff of LLM inference.
Reproducibility Statement
We describe our experimental setup in Section 4, including details on base LLMs, training datasets, and evaluation benchmarks. Full architectural details of the hypernetwork, including the text encoder, bias encoder, and VQ decoder configurations, are provided in Section 3 and Appendix C. We specify training hyperparameters (optimizer, learning rate, batch size, loss weights) in Appendix C. All base models used in our experiments are publicly available. We plan to release both training and evaluation code upon publication.
References
M. H. I. Abdalla, Zhipin Wang, Christian Frey, Steffen Eger, and Josif Grabocka. Zhyper: Factorized hypernetworks for conditioned llm fine-tuning. arXiv preprint arXiv:2510.19733, 2025.
Ekin Akyürek, Mehul Damani, Adam Zweiger, Linlu Qiu, Han Guo, Jyothish Pari, Yoon Kim, and Jacob Andreas. The surprising effectiveness of test-time training for few-shot learning. In ICML, 2025.
Elie Bakouch, Loubna Ben Allal, Anton Lozhkov, Nouamane Tazi, Lewis Tunstall, Carlos Miguel Patiño, Edward Beeching, Aymeric Roucher, Aksel Joonas Reedi, Quentin Gallouédec, Kashif Rasul, Nathan Habib, Clémentine Fourrier, Hynek Kydlicek, Guilherme Penedo, Hugo Larcher, Mathieu Morlon, Vaibhav Srivastav, Joshua Lochner, Xuan-Son Nguyen, Colin Raffel, Leandro von Werra, and Thomas Wolf. SmolLM3: smol, multilingual, long-context reasoner. https://huggingface.co/blog/smollm3, 2025.
Lucas Caccia, Alan Ansell, Edoardo Ponti, Ivan Vulić, and Alessandro Sordoni. Training plug-and-play knowledge modules with deep context distillation. arXiv preprint arXiv:2503.08727, 2025.
Rujikorn Charakorn, Edoardo Cetin, Yujin Tang, and Robert Tjarko Lange. Text-to-lora: Instant transformer adaption. In ICML, 2025.
Rujikorn Charakorn, Edoardo Cetin, Shinnosuke Uesaka, and Robert Tjarko Lange. Doc-to-lora: Learning to instantly internalize contexts. arXiv preprint arXiv:2602.15902, 2026.
Seongwoong Cho, Donggyun Kim, Jinwoo Lee, and Seunghoon Hong. Meta-controller: Few-shot imitation of unseen embodiments and tasks in continuous control. Advances in Neural Information Processing Systems, 37:134250–134286, 2024.
Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.
Damai Dai, Yutao Sun, Li Dong, Yaru Hao, Shuming Ma, Zhifang Sui, and Furu Wei. Why can gpt learn in-context? language models secretly perform gradient descent as meta-optimizers. In Findings of the Association for Computational Linguistics: ACL 2023, pp. 4005–4019, 2023.
DeepSeek-AI. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.
Jasper Dekoninck, Nikola Jovanović, Tim Gehrunger, Kári Rögnvaldsson, Ivo Petrov, Chen-hao Sun, and Martin Vechev. Beyond benchmarks: Matharena as an evaluation platform for mathematics with llms. 2026. URL https://arxiv.org/abs/2605.00674.
Prafulla Dhariwal and Alexander Quinn Nichol. Diffusion models beat gans on image synthesis. In NeurIPS, 2021.
Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 12873–12883, 2021.
Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, et al. Scaling rectified flow transformers for high-resolution image synthesis. In Forty-first International Conference on Machine Learning, 2024. The paper introducing MM-DiT (Stable Diffusion 3).
Gongfan Fang, Xinyin Ma, and Xinchao Wang. Llm learns when to think. In NeurIPS, 2025.
Yossi Gandelsman, Yu Sun, Xinlei Chen, and Alexei A Efros. Test-time training with masked autoencoders. In NeurIPS, 2022.
David Ha, Andrew Dai, and Quoc V Le. Hypernetworks. In International Conference on Learning Representations, 2017.
Shibo Hao, Sainbayar Sukhbaatar, DiJia Su, Xian Li, Zhiting Hu, Jason Weston, and Yuandong Tian. Training large language models to reason in a continuous latent space. arXiv preprint arXiv:2412.06769, 2024.
Moritz Hardt and Yu Sun. Test-time training on nearest neighbors for large language models. In ICLR, 2024.
Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the math dataset. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2), 2021.
Namgyu Ho, Laura Schmid, and Se-Young Yun. Large language models are reasoning teachers. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, pp. 14852–14882, 2023.
Bairu Hou, Qibin Chen, Jianyu Wang, Guoli Yin, Chong Wang, Nan Du, Ruoming Pang, Shiyu Chang, and Tao Lei. Instruction-following pruning for large language models. In ICML, 2025a.
Bairu Hou, Yang Zhang, Jiabao Ji, Yujian Liu, Kaizhi Qian, Jacob Andreas, and Shiyu Chang. Thinkprune: Pruning long chain-of-thought of llms via reinforcement learning. arXiv preprint arXiv:2504.01296, 2025b.
Edward J Hu, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. Lora: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022.
Baichuan Huang, Ananth Balashankar, and Amir Aminifar. Beft: Bias-efficient fine-tuning of language models. arXiv preprint arXiv:2509.15974, 2025.
Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. Livecodebench: Holistic and contamination free evaluation of large language models for code. In International Conference on Learning Representations (ICLR), 2025.
Minghui Jia. Aime 2024 dataset, 2024. URL https://huggingface.co/datasets/Maxwell-Jia/AIME_2024.
Tushar Khot, Peter Clark, Michal Guerquin, Peter Jansen, and Ashish Sabharwal. Qasc: A dataset for question answering via sentence composition. arXiv:1910.11473v2, 2020.
Donggyun Kim, Chanwoo Kim, and Seunghoon Hong. HyperFlow: Gradient-free emulation of few-shot fine-tuning. arXiv preprint arXiv:2504.15323, 2025.
Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. In Advances in Neural Information Processing Systems, volume 35, pp. 22199–22213, 2022.
Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. In EMNLP, 2021.
Jian Liu, Leyang Cui, Hanmeng Liu, Dandan Huang, Yile Wang, and Yue Zhang. Logiqa: A challenge dataset for machine reading comprehension with logical reasoning. arXiv preprint arXiv:2007.08124, 2020.
Llama Team. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019.
Jack Lu, Ryan Teehan, and Mengye Ren. Procreate, don't reproduce! propulsive energy diffusion for creative generation. In ECCV, 2024.
Jack Lu, Ryan Teehan, Jinran Jin, and Mengye Ren. When does verification pay off? a closer look at llms as solution verifiers. arXiv preprint arXiv:2512.02304, 2025a.
Jack Lu, Ryan Teehan, Zhenbang Yang, and Mengye Ren. Context tuning for in-context optimization. In ICML Test-Time Adaption Workshop, 2025b.
Michael Luo, Sijun Tan, Justin Wong, Xiaoxiang Shi, William Tang, Manan Roongta, Colin Cai, Jeffrey Luo, Tianjun Zhang, Erran Li, Raluca Ada Popa, and Ion Stoica. Deepscaler: Surpassing o1-preview with a 1.5b model by scaling rl. https://pretty-radio-b75.notion.site/DeepScaleR-Surpassing-01-Preview-with-a-1-5B-Model-by-Scaling-RL-19681902c1468005bed8ca303013a4e2, 2025. Notion Blog.
Wenjie Ma, Jingxuan He, Charlie Snell, Tyler Griggs, Sewon Min, and Matei Zaharia. Reasoning models can be effective without thinking. arXiv preprint arXiv:2504.09858, 2025.
Lucie Magister, Jonathan Mallinson, Jakub Adamek, Suchin Gururangan, and Aliaksei Severyn. Teaching small language models to reason. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, pp. 1773–1782, 2023.
Rabee Karimi Mahabadi, Sebastian Ruder, Mostafa Dehghani, and James Henderson. Parameter-efficient multi-task fine-tuning for transformers via shared hypernetworks. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics, pp. 565–576, 2021.
Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct electricity? a new dataset for open book question answering. In EMNLP, 2018.
Mahdi Namazifar, Devamanyu Hazarika, and Dilek Hakkani-Tür. Role of bias terms in dot-product attention. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 1–5. IEEE, 2023.
Alexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin, Bob McGrew, Ilya Sutskever, and Mark Chen. GLIDE: towards photorealistic image generation and editing with text-guided diffusion models. In ICML, 2022.
Xuefei Ning, Zinan Lin, Zixuan Zhou, Huazhong Yang, and Yu Wang. Skeleton-of-thought: Large language models can do parallel decoding. arXiv preprint arXiv:2307.15337, 2023.
OpenAI. Openai o1 system card, 2024. URL https://openai.com/index/openai-o1-system-card/. Technical Report.
Zhuoshi Pan, Qianhui Wu, Huiqiang Jiang, Menglin Xia, Xufang Luo, Jue Zhang, Qingwei Lin, Victor Rühle, Yuqing Yang, Chin-Yew Lin, et al. Lmlingua-2: Data distillation for efficient and faithful task-agnostic prompt compression. In Findings of the Association for Computational Linguistics: ACL 2024, pp. 963–981, 2024.
Guilherme Penedo, Anton Lozhkov, Hynek Kydliček, Loubna Ben Allal, Edward Beeching, Agustín Piqueres Lajarín, Quentin Gallouédec, Nathan Habib, Lewis Tunstall, and Leandro von Werra. Codeforces cots. https://huggingface.co/datasets/open-r1/codeforces-cots, 2025.
Qwen Team. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115, 2024.
Qwen Team. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
Charlie Snell, Dan Klein, and Ruiqi Zhong. Learning by distilling context. arXiv preprint arXiv:2209.15189, 2022.
Zayne Sprague, Jack Lu, Manya Wadhwa, Sedrick Keh, Mengye Ren, and Greg Durrett. Skillfactory: Self-distillation for learning cognitive behaviors. In ICLR, 2026.
Yu Sun, Xiaolong Wang, Liu Zhuang, John Miller, Moritz Hardt, and Alexei A. Efros. Test-time training with self-supervision for generalization under distribution shifts. In ICML, 2020.
Mirac Suzgun, Nathan Scales, Nathanael Schärli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, and Jason Wei. Challenging big-bench tasks and whether chain-of-thought can solve them. In Findings of the Association for Computational Linguistics: ACL 2023, pp. 13003–13051, 2023.
Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. Commonsenseqa: A question answering challenge targeting commonsense knowledge. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4149–4158, 2019.
Team Olmo. Olmo 3, 2025. URL https://arxiv.org/abs/2512.13961.
Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural discrete representation learning. In Advances in Neural Information Processing Systems, volume 30, 2017. The original VQ-VAE paper.
Johannes Von Oswald, Eyvind Niklasson, Ettore Randazzo, João Sacramento, Alexander Mordvintsev, Andrey Zhmoginov, and Max Vladymyrov. Transformers learn in-context by gradient descent. In International Conference on Machine Learning, pp. 35151–35174. PMLR, 2023.
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems, volume 35, pp. 24824–24837, 2022.
Heming Xia, Chak Tou Leong, Wenjie Wang, Yongqi Li, and Wenjie Li. Tokenskip: Controllable chain-of-thought compression in llms. In EMNLP (Long Paper), 2025.
Ping Yu, Jennifer Xu, Jason Weston, and Ilia Kulikov. Distilling system 2 into system 1. arXiv preprint arXiv:2407.06023, 2024.
Elad Ben Zaken, Yoav Goldberg, and Shauli Ravfogel. Bitfit: Simple parameter-efficient fine-tuning for transformer-based masked language-models. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), 2022.
Appendix
A Related Work
In this section, we provide further discussion of related work on test-time adaptation, latent reasoning, and context distillation methods.
Test-Time Adaptation. A complementary direction to test-time scaling via longer reasoning traces is to adapt models at inference time by updating either parameters or internal representations. Test-time training has been explored across various domains such as image classification (Sun et al., 2020; Gandelsman et al., 2022), language modeling (Hardt & Sun, 2024), and abstract reasoning (Akyürek et al., 2025; Lu et al., 2025b). Relatedly, diffusion models employ classifier guidance, using objectives that repeatedly shape intermediate states during generation (Dhariwal & Nichol, 2021; Nichol et al., 2022; Lu et al., 2024). In this view, the core question is how to trade additional inference-time compute for improved task performance or controllability. HYPERTHINK shares this perspective by introducing an explicit per-query weight adaptation step. However, instead of performing gradient-based optimization, it amortizes the LLM's reasoning process into a query-conditioned update predicted by a hypernetwork's single forward pass, enabling fast per-query test-time adaptation.
Latent Reasoning. Latent-reasoning methods seek to move intermediate computation from natural-language tokens into continuous hidden states. Coconut (Hao et al., 2024), for example, treats the LLM's last hidden state as a continuous thought and feeds it back as the next input embedding, allowing multiple intermediate reasoning steps without decoding each step into language. This is conceptually related to HYPERTHINK because both reduce reliance on explicit textual thinking traces. Their inference mechanisms are different, however. Coconut modifies and trains the base LLM to consume a sequence of recurrently generated latent states, and therefore retains sequential intermediate computation in the latent space. In contrast, HYPERTHINK leaves the base LLM frozen and predicts a single temporary parameter update from the query through one non-autoregressive hypernetwork pass. The adapted model then decodes a short response without executing a recurrent latent trajectory. We therefore regard Coconut as a complementary latent-reasoning approach rather than a directly comparable frozen-backbone baseline.
Context and Adapter Distillation. Context distillation trains a context-free student to reproduce the behavior of a teacher that receives privileged context, such as instructions, demonstrations, scratchpads, or documents (Snell et al., 2022). Recent work stores the effect of such context in parameter-efficient modules. Deep Context Distillation (Caccia et al., 2025), for example, trains document-specific LoRA modules to match the hidden states and output distributions of a teacher that has access to the document. Related hypernetwork methods generate adapters from task descriptions or textual context (Charakorn et al., 2025; Abdalla et al., 2025), and Doc-to-LoRA (Charakorn et al., 2026) amortizes document context distillation into a single adapter-generation pass.
HYPERTHINK shares the counterfactual structure of context distillation: its teacher has access to privileged context that is withheld from the student at inference. In our case, however, the privileged context is the base model's own query-specific thinking trace rather than a persistent external document or task description. Moreover, HYPERTHINK does not produce one static student or one reusable document-level adapter. It keeps the base LLM frozen and maps each query to a temporary VQ-regularized bias update whose purpose is to approximate the downstream effect of that query's reasoning computation. Thus, context/adapter distillation and HYPERTHINK share the principle of translating transient contextual computation into parameter space, but differ in the source, granularity, and lifetime of the distilled information.
B Further Details on Baselines
In this section, we describe the baselines used throughout the experiments in greater detail.
• Thinking Mode runs the base LLM using its standard Thinking Mode configuration to generate thinking tokens encapsulated by special tokens (i.e., <think> … </think>) before producing the final response. This setting serves as an upper bound that exploits an unconstrained token budget.
• Budget-Controlled Thinking Mode runs Thinking mode while constraining the token budget to a level comparable to that of HYPERTHINK, to precisely assess the accuracy–computation trade-off. Specifically, we follow the procedure of the Qwen3 paper (Qwen Team, 2025) where we stop once generation reaches the specified budget and force the model to directly produce an answer by appending an instruction prompt.
• Native Non-Thinking Mode runs the base LLM by prompting with an empty thinking trace (i.e., <think> </think> with no content in between) and directly produces the response conditioned only on the question. Since the base models are post-trained to directly produce responses under the non-thinking prompt, this serves as the strongest baseline without any additional adaptation to the base LLM.
• System 2 Distillation uses the same maximum likelihood objective as HYPERTHINK to skip the thinking tokens, but directly fine-tunes the base LLM for all problems in the training dataset. This approach is a minor modification of Yu et al. (2024), which distills high-quality responses after System 2 reasoning into System 1 generation, whereas we apply this idea to distill the effect of thinking traces into direct generation of step-by-step solutions.
• TokenSkip (Xia et al., 2025) first compresses the teacher-generated CoT traces using the LLMLingua-2 (Pan et al., 2024) token-importance estimator. Conditioned on the query and a target compression ratio, the model is trained with the standard autoregressive cross-entropy objective to generate the compressed CoT followed by the unchanged final response. We use the same training queries and teacher traces as HYPERTHINK and follow the original LoRA SFT configuration, keeping the base LLM frozen and optimizing only rank-8 LoRA adapters with scaling factor .
C Further Details on Implementation
In this section, we further describe the implementation details of HYPERTHINK and the baselines used throughout the experiments.
For the hypernetwork text encoder, we use a pretrained LLM backbone and keep it frozen during training: Qwen3-Embedding-0.6B (Qwen Team, 2025) for the Qwen3-0.6B experiments, and the SmolLM3-3B and Olmo-3-7B-Think models themselves for their respective experiments. The bias encoder consists of three MM-DiT (Esser et al., 2024) blocks with hidden size 128, and the VQ decoder employs a codebook with K = 256 entries and latent dimension 512. For Qwen3-0.6B, we adapt the biases in the last eight transformer blocks, where each block contains biases for six projection modules, q_proj, v_proj, o_proj, up_proj, gate_proj, and down_proj, totaling 90,122 parameters. For SmolLM3-3B and Olmo-3-7B-Think, we instead adapt the biases in the last half of the transformer blocks, using the same set of projection modules, yielding totals of 516,096 and 614,400 parameters, respectively. Unless otherwise noted, all other hypernetwork and training settings are shared across backbones. We train HYPERTHINK and the baselines with the AdamW optimizer (Loshchilov & Hutter, 2019), a learning rate of , and a batch size of 16. For HYPERTHINK, we use and . We run all training experiments on 2 NVIDIA H200 GPUs and evaluation on a single H200 GPU.
D Complete Results on General Reasoning Experiments
In this section, we provide complete quantitative results of the general reasoning experiments with SmolLM3-3B and Olmo-3-7B-Think base models. Tables 5 and 6 report the results of each model with average accuracy, Pass@5, and FLOPs on the four general reasoning benchmarks: AIME, LiveCodeBench, CommonsenseQA, and BIG-Bench Hard.
| Reasoning Mode | AIME | LiveCodeBench | ||||
|---|---|---|---|---|---|---|
| Acc (%) | Pass@5 (%) | FLOPs (G) | Acc (%) | Pass@5 (%) | FLOPs (G) | |
| Thinking Mode (Bakouch et al., 2025) | 41.00 | 66.67 | 125796.78 | 42.80 | 63.50 | 136267.93 |
| Budget-Controlled Thinking Mode (Qwen Team, 2025) | 4.33 | 5.00 | 9541.25 | 9.05 | 14.25 | 7361.08 |
| Native Non-Thinking Mode (Bakouch et al., 2025) | 9.00 | 18.33 | 20458.29 | 19.75 | 34.00 | 10572.33 |
| System 2 Distillation (Yu et al., 2024) | 1.00 | 3.33 | 8443.08 | 7.80 | 12.75 | 6640.46 |
| TokenSkip (Xia et al., 2025) | 3.33 | 10.00 | 21778.68 | 9.90 | 15.50 | 23672.06 |
| HYPERTHINK (Ours) | 8.33 | 26.67 | 8607.56 | 13.55 | 24.25 | 11163.28 |
| Reasoning Mode | CommonsenseQA | BIG-Bench Hard | ||||
|---|---|---|---|---|---|---|
| Acc (%) | Pass@5 (%) | FLOPs (G) | Acc (%) | Pass@5 (%) | FLOPs (G) | |
| Thinking Mode (Bakouch et al., 2025) | 76.81 | 90.91 | 7248.80 | 71.43 | 89.05 | 11179.57 |
| Budget-Controlled Thinking Mode (Qwen Team, 2025) | 72.29 | 83.37 | 2736.48 | 48.57 | 74.52 | 4137.30 |
| Native Non-Thinking Mode (Bakouch et al., 2025) | 49.58 | 76.41 | 2290.83 | 44.48 | 73.10 | 4360.30 |
| System 2 Distillation (Yu et al., 2024) | 59.26 | 72.40 | 2409.94 | 37.33 | 56.43 | 4099.58 |
| TokenSkip (Xia et al., 2025) | 73.33 | 83.05 | 2234.44 | 54.10 | 80.00 | 6257.30 |
| HYPERTHINK (Ours) | 71.30 | 86.24 | 2083.52 | 56.90 | 84.76 | 3709.57 |
Table 5: Main results on four general reasoning benchmarks with SmolLM3-3B backbone. We report average accuracy, Pass@5, and FLOPs for inference over 5 samples for all methods.
| Reasoning Mode | AIME | LiveCodeBench | ||||
|---|---|---|---|---|---|---|
| Acc (%) | Pass@5 (%) | FLOPs (G) | Acc (%) | Pass@5 (%) | FLOPs (G) | |
| Thinking Mode (Team Olmo, 2025) | 69.00 | 83.33 | 301968.24 | 76.90 | 93.25 | 200170.05 |
| Budget-Controlled Thinking Mode (Qwen Team, 2025) | 3.33 | 6.67 | 19103.66 | 2.60 | 6.00 | 15693.76 |
| Native Non-Thinking Mode (Team Olmo, 2025) | 18.00 | 31.67 | 52997.12 | 40.35 | 60.25 | 28264.01 |
| System 2 Distillation (Yu et al., 2024) | 6.00 | 16.67 | 12918.68 | 14.10 | 22.50 | 16312.32 |
| TokenSkip (Xia et al., 2025) | 2.33 | 8.33 | 60068.92 | 11.65 | 21.00 | 56019.72 |
| HYPERTHINK (Ours) | 13.00 | 30.00 | 17322.58 | 24.75 | 41.50 | 17328.44 |
| Reasoning Mode | CommonsenseQA | BIG-Bench Hard | ||||
|---|---|---|---|---|---|---|
| Acc (%) | Pass@5 (%) | FLOPs (G) | Acc (%) | Pass@5 (%) | FLOPs (G) | |
| Thinking Mode (Team Olmo, 2025) | 78.74 | 87.96 | 27570.45 | 80.52 | 90.48 | 56189.67 |
| Budget-Controlled Thinking Mode (Qwen Team, 2025) | 71.73 | 80.10 | 3922.13 | 50.43 | 71.19 | 7929.79 |
| Native Non-Thinking Mode (Team Olmo, 2025) | 73.01 | 87.06 | 5359.36 | 69.48 | 87.14 | 9538.29 |
| System 2 Distillation (Yu et al., 2024) | 64.44 | 84.93 | 4242.58 | 53.00 | 85.71 | 7718.65 |
| TokenSkip (Xia et al., 2025) | 68.86 | 85.67 | 6255.19 | 36.95 | 66.43 | 29609.53 |
| HYPERTHINK (Ours) | 69.42 | 87.55 | 4019.39 | 63.24 | 89.52 | 6888.85 |
Table 6: Main results on four general reasoning benchmarks with Olmo-3-7B-Think backbone. We report average accuracy, Pass@5, and FLOPs for inference over 5 samples for all methods.
| Bias Layers | Qwen3-0.6B | SmolLM3-3B | ||||||
|---|---|---|---|---|---|---|---|---|
| GSM8K-Test | MATH-500 | GSM8K-Test | MATH-500 | |||||
| Acc | Pass@5 | Acc | Pass@5 | Acc | Pass@5 | Acc | Pass@5 | |
| All | 63.44 | 83.62 | 40.84 | 61.20 | 82.24 | 92.27 | 59.36 | 75.40 |
| First 8 | 62.52 | 81.73 | 43.84 | 65.00 | 82.27 | 92.72 | 63.52 | 77.40 |
| First half | 63.62 | 83.32 | 41.36 | 62.80 | 81.85 | 92.49 | 61.04 | 76.40 |
| Last half | 60.59 | 81.58 | 42.52 | 64.80 | 84.75 | 95.15 | 67.36 | 81.20 |
| Last 8 | 61.06 | 82.11 | 48.76 | 73.40 | 83.46 | 93.63 | 63.16 | 78.00 |
Table 7: Sensitivity analysis on the target bias layers. We use the later-layer window as the default: last 8 blocks for Qwen3-0.6B and last half of blocks for SmolLM3-3B.
| Variant | GSM8K-Train | GSM8K-Test | MATH-500 | |||
|---|---|---|---|---|---|---|
| Acc. (%) | Pass@5 (%) | Acc. (%) | Pass@5 (%) | Acc. (%) | Pass@5 (%) | |
| HYPERTHINK w/o VQ | 67.44 | 86.83 | 59.74 | 80.14 | 43.32 | 66.90 |
| HYPERTHINK | 67.53 | 86.67 | 61.06 | 82.11 | 48.76 | 73.40 |
Table 8: Train–test diagnostic for the VQ bottleneck using Qwen3-0.6B trained on GSM8K. Both variants are evaluated using five sampled responses per query.
E Additional Ablation Studies
In this section, we provide additional ablation studies of the target bias parameters and an analysis of the VQ bottleneck.
Choice of Target Bias Parameters. We use the same target module types across all backbones: the biases of q_proj, v_proj, o_proj, up_proj, gate_proj, and down_proj. We exclude k_proj because prior analyses suggest that its bias is largely redundant with the query-projection bias in dot-product attention (Zaken et al., 2022; Namazifar et al., 2023). The only backbone-specific choice is the adapted layer range. We focus on later transformer blocks, which are more directly involved in high-level reasoning and answer formation, while leaving earlier lexical and syntactic representations unchanged. Accordingly, we update the last 8 blocks of Qwen3-0.6B and the last half of SmolLM3-3B and Olmo-3-7B-Think. Table 7 confirms that this choice is robust: the last-8 setting performs best on MATH-500 for Qwen3-0.6B, while the last-half setting performs best on both GSM8K-Test and MATH-500 for SmolLM3-3B.
Additional Analysis of the VQ Bottleneck. The main ablation in Section 4.3 shows that the VQ bottleneck improves held-out performance, but it does not by itself distinguish improved optimization from improved generalization. We therefore additionally evaluate the continuous and VQ-regularized variants on the GSM8K training set. The two variants perform nearly identically on the GSM8K training set, while the difference becomes larger on held-out data. VQ substantially improves accuracy on GSM8K-Test and MATH-500, so the bottleneck does not materially improve fitting of the training examples. Instead, the gain emerges primarily on unseen queries and is largest under the GSM8K-to-MATH-500 distribution shift. This supports the interpretation that VQ regularizes the query-to-parameter mapping by forcing related queries to reuse a finite collection of update prototypes. Together with the semantic codebook analysis in Figure 7, these results indicate that the discrete bottleneck improves transfer rather than merely increasing training-set fit.
F Example Generation for Each Inference Mode
In this section, we provide generation examples for each inference mode compared in the experiments: Thinking Mode, Native Non-Thinking Mode, System 2 Distillation, and HYPERTHINK.
F.1 GSM8K Examples
Thinking Mode
Problem
<|im_start|>user
Jill gets paid 30 to be a cheerleading coach. If she works 50 weeks a year, 35 hours a week as a teacher and 15 hours a week as a coach, what's her annual salary?
Prompt
Please reason step by step, and put your final answer within \boxed{}.<|im_end|>
<|im_start|>assistant
Thinking Trace
<think>Okay, let's see. Jill's annual salary is calculated by multiplying her hourly wage by the number of hours she works each week, and then multiplying that by the number of weeks she works in a year.
First, I need to confirm the numbers given. The problem says she gets paid 30 for cheerleading coaching. She works 50 weeks a year, 35 hours a week as a teacher, and 15 hours a week as a coach.
So, let me break it down. For the teaching part: 20 dollars per hour times 35 hours a week. Then, for the cheerleading coach part: 30 dollars per hour times 15 hours a week. Then, multiply all those by the number of weeks, which is 50.
Wait, let me check if I need to do anything else. The problem says `~annual salary,' so I think that's just adding the weekly salaries together.
Let me calculate each part step by step.
First, teacher's hourly rate: 20 dollars/hour * 35 hours/week. Let me compute that.
20 * 35. Hmm, 20 times 30 is 600, and 20 times 5 is 100, so total is 600 + 100 = 700 dollars per week for teaching.
Then, cheerleading coach's hourly rate: 30 dollars/hour * 15 hours/week. Let me do that.
30 * 15. 30 times 10 is 300, and 30 times 5 is 150, so total is 300 + 150 = 450 dollars per week for coaching.
Now, total weekly salary is 700 (teaching) + 450 (coach) = 1150 dollars per week.
Then, multiply by the number of weeks, which is 50.
So, 1150 * 50. Let me calculate that.
Well, 1000 * 50 is 50,000, and 150 * 50 is 7,500. Adding those together: 50,000 + 7,500 = 57,500.
So, her annual salary would be $57,500.
Wait, let me double-check my calculations to make sure I didn't make any errors.
First, teacher's weekly rate: 20 * 35. Yes, 2035. Let me do it another way: 3520.
35210=70*10=700. Correct.
Coach's weekly rate: 3015. 3010=300, 30*5=150, so 300+150=450. Correct.
Total weekly: 700+450=1150. Correct.
Then 1150*50. Let me verify that multiplication again.
50 weeks * 1150 dollars per week.
Alternatively, 501000=50,000 and 50150=7,500. So total is 57,500. Yes, that's correct.
I think that's all. So the answer should be $57,500.
Final Answer
Jill's annual salary is \boxed{57500}.
</think>Response
To determine Jill's annual salary, we need to calculate her weekly earnings and then multiply that by the number of weeks in a year.
Step 1: Weekly Earnings
-
Teaching: Jill earns $20 per hour for teaching. She works 35 hours a week. Earnings:
-
Cheering Coach: Jill earns $30 per hour for coaching. She works 15 hours a week. Earnings:
Step 2: Total Weekly Earnings
Adding both parts of her income:
Step 3: Annual Earnings
Jill works 50 weeks a year.
Final Answer
Native Non-Thinking Mode
Problem
<|im_start|>user
Jill gets paid 30 to be a cheerleading coach. If she works 50 weeks a year, 35 hours a week as a teacher and 15 hours a week as a coach, what's her annual salary?
Prompt
Please reason step by step, and put your final answer within \textbf{boxed{}}.<|im_end|>
<|im_start|>assistant
<think> </think>Response
Response:
To find Jill's annual salary, we need to calculate her hourly earnings and multiply by the number of hours she works per year.
Step 1: Calculate the hourly earnings
- Teacher pay: $20 per hour
- Coach pay: $30 per hour
So, her hourly earnings are:
Step 2: Calculate total hours per year
- She works 50 weeks a year
- She works 35 hours a week as a teacher
- She works 15 hours a week as a coach
Total hours per year:
50 \text{ weeks} \times (35 \text{ hours/week} + 15 \text{ hours/week}) = 50 \text{ times} 50 = 2500 \text{ hours} #### Step 3: Calculate annual salary $2500 \text{ hours} \times 50 \text{ dollars/hour} = \text{boxed}\{125000\} \text{ dollars}$ #### Final Answer: #### \boxed{125000} #### ## System 2 Distillation ## Prompt Please reason step by step, and put your final answer within \boxed{{}. ## Problem Jill gets paid $20 per hour to teach and$30 to be a cheerleading coach. If she works 50 weeks a year, 35 hours a week as a teacher and 15 hours a week as a coach, what's her annual salary? ## Response Response: To determine Jill's annual salary, we need to calculate her total earnings from both her teacher and coach roles over the course of the year. --- ### Step 1: Calculate Weekly Earnings - **Teacher's Hourly Rate:** $20 per hour - **Hours per week:** 35 hours - **Teacher's weekly earnings:** $ 35 \times 20 = 700 $ - **Coach's Hourly Rate:** $30 per hour - **Hours per week:** 15 hours - **Coach's weekly earnings:** $ 15 \times 30 = 450 $ --- ### Step 2: Calculate Annual Earnings - **Teacher's annual earnings:** $ 700 \times 50 = 35,000 $ - **Coach's annual earnings:** $ 450 \times 50 = 22,500 $ --- ### Step 3: Total Annual Salary $35,000 + 22,500 = 57,500$ #### Final Answer #### \boxed{57500} #### ## HYPERTHINK ## Problem <|im_start|>user Jill gets paid $20 per hour to teach and$30 to be a cheerleading coach. If she works 50 weeks a year, 35 hours a week as a teacher and 15 hours a week as a coach, what's her annual salary? ## Prompt Please reason step by step, and put your final answer within \boxed{}.<|im_end|> <|im_start|>assistant ## Response Response: To determine Jill's annual salary, we begin by calculating her hourly wage and then multiplying it by the number of hours she works in a year. Jill earns $20 per hour from teaching and$30 to be a cheerleading coach. Her total weekly earnings are calculated by multiplying her hourly wage by the number of hours she works each week. Jill works 35 hours a week as a teacher and 15 hours as a coach. Therefore, her weekly earnings are:35 \text{ hours} \times 20 \text{ dollars/hour} + 15 \text{ hours} \times 30 \text{ dollars/hour}
Calculating this:
Adding these together gives her weekly earnings:
Since she works 50 weeks a year, her annual earnings are:
Thus, Jill's annual salary is:
F.2 MATH-500 Examples
Thinking Mode
Problem
<|im_start|>user
For some real numbers and , the equation has three distinct positive roots. If the sum of the base-2 logarithms of the roots is 5, what is the value of ?
Prompt
Please reason step by step, and put your final answer within \boxed{}.<|im_end|>
<|im_start|>assistant
Thinking Trace
<think>Okay, so I need to solve this problem where there's a cubic equation: , and it has three distinct positive roots. Also, the sum of the base-2 logarithms of the roots is 5. I need to find the value of . Alright, let me break this down step by step.
First, since it's a cubic equation with three distinct positive roots, I can use Vieta's formulas to relate the coefficients to the roots. Vieta's formulas for a cubic equation give me:
Sum of roots: -p Sum of products two at a time: q Product of roots: -r
But my equation isn't in standard form. Let me rewrite it properly. The given equation is . Let me divide each term by 8 to make the leading coefficient 1:
Simplify:
So, in standard form, it's , where , , .
Therefore, applying Vieta's formulas:
- Sum of roots: -p = -a/2
- Sum of products two at a time: q = b/4
- Product of roots: -r = -a/8
But Vieta's formulas also relate the roots to the coefficients. However, the problem says that the sum of the base-2 logarithms of the roots is 5. Let me recall that if a number has a logarithm base 2 of some value, say , then . Since the roots are positive, their logarithms will be defined.
Let me denote the three roots as , , . Then:
.
Using logarithm properties, this sum is equal to . Therefore, .
So, the product of the roots is 32. But from Vieta's formula, the product of the roots is -r. Wait, let me check again.
Original equation: . Let me write Vieta's formulas again:
Sum of roots: .
Sum of products two at a time: .
Product of roots: .
So, the product of the roots is -a/8. Therefore, . But earlier, I concluded that . Therefore, . Wait, but hold on, the problem says that the roots are positive. If a is negative, then the product would be negative? But the product of three positive numbers is positive. Therefore, there's a contradiction here. So, maybe my reasoning is wrong?
Wait, hold on. Let me check again. If the product of the roots is -a/8, and the roots are positive, then the product is positive. Therefore, -a/8 must be positive. Therefore, . So, a is negative. Therefore, the value of a is -256? But let me check again.
Wait, from Vieta's formula, product of roots is -a/8. But if the roots are positive, then their product is positive. Therefore, -a/8 must be positive. Therefore, a must be negative. So, solving . So, that would be the answer? But let me check if there's something wrong here.
But let me check again. The sum of logs is 5. So . Therefore, . But according to Vieta, product is -a/8. Therefore, . But then why does the problem mention that the roots are positive? Because if a is negative, then the coefficients of the equation might have some negative signs. Let me check the original equation again.
Original equation: . So, if a is -256, then the equation becomes . Let me compute that:
. So, the leading coefficient is 8, which is positive. The coefficient of is -1024, which is negative. The coefficient of x is 2b, which is positive if b is positive, and negative if b is negative. The constant term is -256, which is negative. So, the roots are positive? But if the product of the roots is 32, which is positive, and the product of the roots is -a/8, which would be positive if a is negative. So, that's okay. But why does the problem specify that the roots are positive? Maybe because if a is negative, then the equation might have some roots that are positive and others negative? But the problem says three distinct positive roots. So, maybe there's something else here?
Wait, but according to Vieta, product is 32. So, if the product is 32, then the roots multiply to 32. But if all roots are positive, then their product is positive. So, that's okay. So, maybe the answer is a = -256? But let me check again if my Vieta's formulas were correctly applied.
Original equation: . Let me write Vieta's formulas again:
Sum of roots: (coefficient of ) / (coefficient of ) = - (4a)/8 = -a/2.
Sum of products two at a time: .
Product of roots: (constant term) / (coefficient of ) = -a/8.
Yes, that's correct. Therefore, product is -a/8. Since the roots are positive, product is positive. Therefore, -a/8 > 0 => a < 0. Therefore, a = -256. But let me check if there's another way to get this answer.
Alternatively, maybe I made a mistake in interpreting the sum of logs. Let me check again.
Sum of logs is . Therefore, . Correct. And Vieta gives . Therefore, solving . So, that seems straightforward.
But let me check if there's a possibility that the product is negative? But the roots are positive, so their product is positive. Therefore, -a/8 must be positive. Therefore, a must be negative. Therefore, a = -256. Therefore, the answer is boxed{-256}?
Wait, but let me check with actual numbers. Suppose a = -256. Then, the equation is . Let me assume that the product of the roots is 32. Let me suppose that the roots are r1, r2, r3. Then, r1 r2 r3 = 32. Also, from Vieta, sum of roots is -a/2 = -(-256)/2 = 128. So, r1 + r2 + r3 = 128. Also, sum of products is b/4. But since we don't know b, maybe we can find b? But the problem doesn't give us more information. However, since the problem says that the equation has three distinct positive roots, and we have already used Vieta's formulas to get that product is 32, so maybe that's all we need. Therefore, a = -256.
But let me check if there's another way. Suppose that instead of Vieta's formula, we can relate the logarithms. Let me denote the roots as , , , so that , , . Then, . Also, since , , , their product is . Therefore, that's consistent. Therefore, the product of the roots is 32. Therefore, Vieta's formula gives us product as , so . Therefore, that seems correct.
But let me check if there's a possibility that the product is negative? But since all roots are positive, their product is positive. Therefore, a must be negative. Therefore, the answer is -256.
Wait, but let me check with actual numbers. Let me assume that a = -256. Let me suppose that the roots are , , , so that their product is 32. Let me pick some numbers. For example, if , and each term is positive. Let me assume that m, n, p are integers? Because if they are not integers, then , , would be real numbers, but maybe the problem doesn't require the roots to be integers. However, the problem says three distinct positive roots''. It doesn't specify they have to be integers. Therefore, even if they are not integers, as long as they are positive and distinct, that's okay.
But if I take m, n, p as real numbers such that , and m, n, p are real numbers. However, Vieta's formula gives me that the product is 32, which is positive. Therefore, even if m, n, p are real numbers, their product is positive. Therefore, regardless of the values, as long as they are positive, their product is positive. Therefore, the answer is indeed a = -256.
But let me check once more. Let me plug a = -256 into the original equation and see if it has three distinct positive roots. Let me take the equation . Which simplifies to . Let me factor this equation. Let me see if I can factor it. Let me divide by 8: . Hmm. Let me try to factor this cubic equation. Suppose it factors as where , , are positive. Then, expanding:
Comparing with the equation , we get:
and
But since we have already used Vieta's formulas to get these values, and the problem gives us that the product is 32, so unless there's another condition, we can't find b. However, since the problem says that the equation has three distinct positive roots, and we have already used Vieta's formula to get that product, perhaps there's no more information? But then why does the problem specify that the sum of the logs is 5? Because if a = -256, then the product is 32, which is the sum of logs. Therefore, regardless of the value of b, as long as the roots multiply to 32, which they do, then the answer is correct.
Therefore, I think my answer is correct. The value of a is -256.
Final Answer
\boxed{-256}
</think>Response
To solve the problem, we start with the cubic equation:
We are told that it has three distinct positive roots, and the sum of the base-2 logarithms of the roots is 5. Let the roots be , , , then we can express the logarithmic sum as:
This implies:
Step 1: Use Vieta's Formulas
Let's rewrite the cubic equation in standard form to apply Vieta's formulas:
From Vieta's formulas:
- Sum of roots:
- Sum of products two at a time:
- Product of roots:
Step 2: Use the Logarithmic Condition
We already established that:
But from Vieta's, this is also equal to:
Therefore:
Step 3: Verify the Roots
If , then the product of the roots is:
Which matches the condition that the product of the roots is . Since all roots are positive, this is consistent.
Final Answer
Native Non-Thinking Mode
Problem
<|im_start|>user
For some real numbers and , the equation has three distinct positive roots. If the sum of the base-2 logarithms of the roots is 5, what is the value of ?
Prompt
Please reason step by step, and put your final answer within \boxed{}.<|im_end|>
<|im_start|>assistant
<think> </think>Response
We are given the cubic equation:
and the condition:
Let the roots be , , , which are distinct positive real numbers
Step 1: Use the fact that the sum of the logarithms equals 5
Recall that:
So:
Step 2: Use Vieta's formulas
We are given:
Let's write this in standard form:
Let's factor this as a cubic:
Expanding:
Now group like terms:
- Constant term
So:
Also, from Vieta's formulas:
- Sum of roots:
- Sum of products:
- Product of roots:
But earlier we found:
So:
Final Answer:
System 2 Distillation
Problem
<|im_start|>user For some real numbers and , the equation has three distinct positive roots. If the sum of the base-2 logarithms of the roots is 5, what is the value of ?
Prompt
Please reason step by step, and put your final answer within \boxed{}.<|im_end|> <|im_start|>assistant
Response
To solve the problem, we are given a cubic polynomial:
and the condition that it has three distinct positive roots. We are also told that the sum of the base-2 logarithms of the roots is 5 . Our goal is to find the value of .
Step 1: Use Vieta's Theorem
Let the roots of the polynomial be . Then:
Step 2: Interpret the Sum of Logarithms
The sum of the base-2 logarithms of the roots is given as:
Using the identity:
Published as a conference paper at COLM 2026
r_1r_2r_3 = \frac{a}{8}
\log_2\left(\frac{a}{8}\right) = 5
--- ### Step 3: Solve for $a$\log_2\left(\frac{a}{8}\right) = 5 \Rightarrow \frac{a}{8} = 2ˆ5 = 32
a = 32 \times 8 = 256
--- ### Final Answer\boxed{256}
HYPERTHINK Problem <|im_start|>user For some real numbers $a$ and $b$, the equation \[ 8xˆ3 + 4axˆ2 + 2bx + a = 0 \]has three distinct positive roots. If the sum of the base-2 logarithms of the roots is 5, what is the value of $a$? Prompt Please reason step by step, and put your final answer within \boxed{}.<|im_end|> <|im_start|>assistant Response To solve the problem, we begin by analyzing the given cubic equation:8xˆ3 + 4axˆ2 + 2bx + a = 0
This equation is a cubic polynomial with real coefficients. The problem states that it has three **distinct positive roots**, and we are also given that the **sum of the base-2 logarithms of the roots is 5**. We are to find the value of $ a $. --- ### Step 1: Use Vieta's Formulas Since the polynomial has three distinct positive roots, let the roots be $ r_1, r_2, r_3 $. By Vieta's formulas, we can relate the coefficients of the polynomial to the roots: - The sum of the roots: $ r_1 + r_2 + r_3 = -\frac{4a}{8} = -\frac{a}{2} $ - The sum of the product of roots taken two at a time: $ r_1r_2 + r_1r_3 + r_2r_3 = \frac{2b}{8} = \frac{b}{4} $ - The product of the roots: $ r_1r_2r_3 = -\frac{a}{8} $ We are also told that:\log_2(r_1) + \log_2(r_2) + \log_2(r_3) = 5
\log_2(r_1) + \log_2(r_2) + \log_2(r_3) = \log_2(r_1 r_2 r_3)
\begin{aligned}\log_{2}(r_{1} \quad r_{2} \quad r_{3})&=5 \quad \text{Rightarrow } r_{1} \quad r_{2} \quad r_{3}=2^{5}=32\\end{aligned}
--- ### Step 2: Use the Product of the Roots From Vieta's formula, we know:r_{1} \quad r_{2} \quad r_{3}=-\frac{a}{8}=32
\begin{array}{l} \text{So:} \ \end{array}
\begin{array}{l} \displaystyle \frac{a}{8}=32 \quad \text{Rightarrow} \quad a=-256 \end{array}
--- ### Final Answer\begin{array}{l} \text{boxed} {-256} \ \end{array}
\begin{array}{l} \text{So:} \ \end{array}