GradCuit: How to Make LLMs Reason Better at Test Time Without Changing a Single Weight Researchers introduced GradCuit, a test-time method that improves LLM reasoning by inserting optimizable latent vectors at an intermediate Transformer layer, using causal self-attention as a differentiable circuit to flow reward-weighted gradients directly to the latents without changing model weights. GradCuit achieves 64.5% average accuracy across 5 models and 3 benchmarks, surpassing Chain-of-Thought by 6.6 percentage points and the previous latent-space method LatentSeek by 2.4 points. GradCuit arXiv:2608.02585 inserts optimizable latent vectors at an intermediate Transformer layer and uses causal self-attention as a differentiable "circuit" to flow reward-weighted gradients directly to those latents at test time — no parameter updates, no token resampling, just smarter internal reasoning. Result: 64.5% average accuracy across 5 models and 3 benchmarks, beating Chain-of-Thought by 6.6 pp and the previous best latent-space method LatentSeek by 2.4 pp. Test-time scaling has become one of the hottest topics in LLM research. The idea is simple: spend more compute at inference to get better outputs. Chain-of-Thought, Best-of-N sampling, and self-consistency are classic examples. More recently, researchers have explored optimizing in latent space — directly adjusting the model's hidden representations without changing its weights. LatentSeek 2505.13308 was a promising step: it uses policy gradients to iteratively update latent representations guided by self-generated rewards. But there's a fundamental flaw shared by all existing latent reasoning methods. The credit assignment problem: Existing approaches connect latent states to the reasoning trajectory through decoded tokens. Decoded tokens are non-differentiable argmax breaks the gradient . So gradient signals are indirect, noisy, and highly sensitive to learning rate — sometimes standard deviation of accuracy across learning rate settings reaches 1.53 for LatentSeek. You'd need to tune hyperparameters carefully just to get a stable result. GradCuit's insight is architectural. Instead of inserting latent states near the output, it places them at an intermediate Transformer layer 25–50% depth works best — between the prompt hidden representations and the generated continuation. Here's why this matters: Transformer's causal self-attention ensures that every generated token attends to all preceding positions, including those latent vectors. This creates a fully differentiable path from every continuation token's log-probability back to every latent variable through the remaining Transformer blocks. No decoded token bottleneck. No broken gradient. The objective is reward-weighted policy gradient: $$J z = \mathbb{E} {y \sim \pi \theta \cdot \mid x, z }\bigl R y \bigr $$ Gradient via REINFORCE: $$\nabla z J z = \mathbb{E} {y \sim \pi \theta \cdot \mid x, z }\bigl R y \cdot \nabla z \log \pi \theta y \mid x, z \bigr $$ Because of the intermediate insertion, each term $\nabla z \log p \theta y t \mid y {