{"id": "http://arxiv.org/abs/2601.21647v1", "title": "ILRR: Inference-Time Steering Method for Masked Diffusion Language Models", "abstract": "Discrete Diffusion Language Models (DLMs) offer a promising non-autoregressive alternative for text generation, yet effective mechanisms for inference-time control remain relatively underexplored. Existing approaches include sampling-level guidance procedures or trajectory optimization mechanisms. In this work, we introduce Iterative Latent Representation Refinement (ILRR), a learning-free framework for steering DLMs using a single reference sequence. ILRR guides generation by dynamically aligning the internal activations of the generated sequence with those of a given reference throughout the denoising process. This approach captures and transfers high-level semantic properties, with a tunable steering scale enabling flexible control over attributes such as sentiment. We further introduce Spatially Modulated Steering, an extension that enables steering long texts using shorter references by regulating guidance intensity across the sequence. Empirically, we demonstrate that ILRR achieves effective attribute steering on LLaDA and MDLM architectures with a minor computational overhead, requiring only one additional parallel forward pass per denoising step. Under the same compute budget, ILRR improves attribute accuracy over comparable baselines by 10$\\%$ to 60$\\%$ points, while maintaining high generation quality.", "published_at": "2026-01-29T12:48:59+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2601.21647v1", "source_hash": "1a5ac6f89cc7677a89df8761085283469964fa773511b6eaee15c2762caf2120", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion", "controllability"], "code_url": null, "has_code": false, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.04531v1", "http://arxiv.org/abs/2609.04010v1", "http://arxiv.org/abs/2609.00495v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "explanations": {}, "full_article_summary": {"format": "research_guide_v14", "analysis_scope": "full_article_map_reduce", "source_hash": "1a5ac6f89cc7677a89df8761085283469964fa773511b6eaee15c2762caf2120", "source_url": "https://arxiv.org/abs/2601.21647v1", "source_version": "v1", "revision_id": "8fcdf7083607e008bdb2ac923e12c34ceb69c82bfef7a8372a0b73552c76b10e", "canonical_text_hash": "9bb00ffb78139fbc7b70188d1f34460037e026640265c89171d91d40a9bbe7d3", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "ILRR — эффективный метод управления masked diffusion language models на этапе вывода: он значительно повышает точность переноса атрибутов без дообучения, при цене одного дополнительного параллельного прохода на шаг денойзинга. Преимущество показано для токсичности и тональности на LLaDA и MDLM, но не обобщено на другие задачи.", "en": "ILRR is an effective inference-time control method for masked diffusion language models: it substantially improves attribute transfer without fine-tuning, at the cost of one additional parallel pass per denoising step. The advantage is demonstrated for toxicity and sentiment on LLaDA and MDLM, but is not established for other tasks."}, "main_idea": {"ru": "Метод переносит высокоуровневую семантику одной референсной последовательности в генерируемый текст, выравнивая скрытые активации референса и текущей генерации во время денойзинга. При этом модель сохраняет синтаксис и детали, а не копирует референс напрямую.", "en": "The method transfers high-level semantics from a single reference sequence into generated text by aligning reference and current-generation hidden activations during denoising. The model retains syntax and details rather than directly copying the reference."}, "claims": {"ru": "Главное изменение относительно сопоставимых методов управления — learning-free вмешательство непосредственно во внутренние представления вместо параметрического дообучения или перебора кандидатов. На 50-токенных генерациях ILRR достигает 71,2% токсичности и 100,0% точности тональности на LLaDA против максимумов базовых методов 9,0% и 69,4%; на MDLM — 15,7% и 69,5% против 3,8% и 37,4%. Для 512-токенных генераций MDLM пространственно-модулированный вариант превосходит лучшие базовые результаты примерно на 10 и 35 процентных пунктов.", "en": "The main change from comparable control methods is learning-free intervention in internal representations rather than parameter fine-tuning or candidate search. For 50-token generations, ILRR reaches 71.2% toxicity and 100.0% sentiment accuracy on LLaDA versus baseline maxima of 9.0% and 69.4%; on MDLM it reaches 15.7% and 69.5% versus 3.8% and 37.4%. For 512-token MDLM generations, spatially modulated ILRR exceeds the best baselines by about 10 and 35 percentage points."}, "mechanism": {"ru": "Состояния: скрытые активации выбранных слоёв и шагов денойзинга для зашумленной референсной последовательности и текущей генерации. Алгоритм: параллельно выполнить два прохода; применить к активациям семантического экстрактора скользящее одномерное average pooling; вычислить разность A(reference)−A(generation); обновить генерацию по правилу h ← h + α(A(reference)−A(generation)). α задаёт силу управления глобально или по слоям, а вмешательство можно ограничить выбранными шагами. Для несовпадающих длин активации более длинной генерации уменьшаются адаптивным pooling, затем разность интерполируется и распределяется с позиционно-зависимыми cosine-весами. Обучение, целевая функция и построение датасета не требуются. Инференс выполняется обычным денойзингом с дополнительным параллельным проходом на каждом выбранном шаге; конкретные детали реализации, включая точные слои, шаги и размер pooling для универсальной настройки, отсутствуют. Воспроизводство: (1) загрузить LLaDA или MDLM; (2) подготовить референс и зашумить его по текущему шагу; (3) получить параллельные активации референса и генерации; (4) применить pooling, разность и масштаб α; (5) при несовпадении длины выполнить пространственную модуляцию; (6) продолжить денойзинг и сравнить управление, копирование и compute с базовыми методами.", "en": "State variables: hidden activations from selected layers and denoising steps for a noised reference sequence and the current generation. Algorithm: run both sequences in parallel; apply sliding-window 1D average pooling as a semantic extractor; compute A(reference)−A(generation); update the generation with h ← h + α(A(reference)−A(generation)). α controls steering strength globally or per layer, and intervention can be restricted to selected steps. For length mismatch, downsample longer-generation activations with adaptive pooling, interpolate the difference, and distribute it with position-dependent cosine weights. No training objective or data construction is required. Inference follows ordinary denoising with one additional parallel pass per selected step; exact layers, timesteps, and universally optimal pooling size are not specified. Reproduction: (1) load LLaDA or MDLM; (2) prepare and noise the reference at the current step; (3) obtain parallel reference and generation activations; (4) apply pooling, differencing, and scale α; (5) use spatial modulation for length mismatch; (6) continue denoising and compare control, copying, and compute against baselines."}, "evidence": {"ru": "Авторы сообщают существенное превосходство ILRR над best-of-n, FK и PG-DLM при сопоставимом нормированном compute. Наблюдаемые результаты включают указанные значения точности для токсичности и положительной тональности на LLaDA-8B-Base и MDLM, а также улучшения пространственно-модулированной версии на 512 токенах. Абляции связывают лучший контроль с ранними шагами денойзинга, средними и поздними слоями, многослойным вмешательством и умеренным pooling; более высокие α повышают точность без существенного роста 4-граммового копирования, тогда как слишком малые ядра pooling усиливают копирование. Превосходство не установлено вне перечисленных моделей, атрибутов, длин и условий.", "en": "The authors report substantial ILRR gains over best-of-n, FK, and PG-DLM at comparable normalized compute. Observed results include the stated toxicity and positive-sentiment accuracies on LLaDA-8B-Base and MDLM, plus gains from the spatially modulated version at 512 tokens. Ablations associate stronger control with early denoising steps, middle-to-late layers, multilayer intervention, and moderate pooling; higher α improves accuracy without substantial 4-gram copying, while very small pooling kernels increase copying. Superiority is not established beyond the listed models, attributes, lengths, and conditions."}, "applicability": {"ru": "Метод полезен для inference-time управления стилем, тональностью и другими атрибутами masked diffusion language models, особенно когда недопустимы дообучение и значительный перебор кандидатов. Пространственная модуляция расширяет применение на длинные генерации из коротких референсов.", "en": "The method is useful for inference-time control of style, sentiment, and other attributes in masked diffusion language models, especially when fine-tuning and extensive candidate search are undesirable. Spatial modulation extends use to long generations guided by short references."}, "limitations": {"ru": "Метод добавляет вычисления — один параллельный forward pass на шаг денойзинга — и требует настройки α, слоёв, шагов и pooling. Слишком малое pooling-ядро повышает копирование. Есть риск нежелательного усиления вредных атрибутов через злонамеренные референсы. Источник не подтверждает переносимость на другие модели, задачи или распределения и не даёт полного набора деталей для универсальной настройки.", "en": "The method adds computation—one parallel forward pass per denoising step—and requires tuning α, layers, timesteps, and pooling. Very small pooling kernels increase copying. Malicious references may amplify undesirable attributes. The source does not establish transfer to other models, tasks, or distributions and does not provide a complete universal tuning recipe."}, "next_action": {"ru": "Провести небольшую проверку обобщаемости на новом атрибуте и модели: (1) выбрать одну masked diffusion model и один атрибут, не представленные в указанных результатах; (2) сравнить ILRR с лучшим доступным baseline при одинаковом compute; (3) перебрать умеренную сетку α, слоёв и шагов; (4) измерить точность атрибута, качество текста и 4-граммное копирование; (5) отдельно проверить короткий референс против длинной генерации.", "en": "Run a small generalization check on a new attribute and model: (1) choose one masked diffusion model and attribute not covered by the reported results; (2) compare ILRR with the best available baseline at equal compute; (3) sweep a modest grid of α, layers, and timesteps; (4) measure attribute accuracy, text quality, and 4-gram copying; (5) separately test a short reference against a long generation."}}, "source_coverage": {"canonical_text_hash": "9bb00ffb78139fbc7b70188d1f34460037e026640265c89171d91d40a9bbe7d3", "covered_chunks": 4, "map_input_digest": "8d5d4e292e21d88bc429b77dc8079cc70a25d54b8a35bb1a78f54219283c11be", "prompt_version": "full-article-research-guide-v14", "revision_id": "8fcdf7083607e008bdb2ac923e12c34ceb69c82bfef7a8372a0b73552c76b10e", "total_chunks": 4}}, "resources": {"version": "paper-resources-v1", "source_hash": "1a5ac6f89cc7677a89df8761085283469964fa773511b6eaee15c2762caf2120", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": []}, "slug": "2601.21647-ilrr-inference-time-steering-method-for-masked-diffusion-language-models"}