Controllable Text Generation in Large Language Models Using Generative Learning in Latent Space With Anchor Regularization

This paper presents a unified framework for controllable text generation in large language models (LLMs), integrating anchor-based latent space alignment with hidden-state adversarial learning. The framework aims to achieve fine-grained difficulty control in educational content generation, particularly in math problem construction. The proposed method leverages 1) a difficulty anchor module that provides directional semantic guidance in latent space and 2) a hidden-sequence discriminator that enforces distributional consistency with real examples, enabling end-to-end gradient-based optimization during training via continuous relaxation without reinforcement learning or attribute-specific classifiers. The model is fine-tuned via low-rank adaptation (LoRA) and trained to generate intermediate-difficulty math problems by interpolating between easy and hard inputs. Experiments conducted across three backbone LLMs—Qwen2.5-Math-7B, LLaMA-3.2-3B, and EXAONE-4.0-1.2B—demonstrate consistent performance gains. On average, the proposed method improves target difficulty accuracy from 37.3% to 49.0% and F1 score from 0.281 to 0.356, representing a substantial enhancement in controllability. Beyond attribute accuracy, the model also improves semantic quality (BERTScore F1 = 0.660), topic relevance (QRelScore = 0.3758), answerability (RQUGE = 1.5922), and fluency (Perplexity = 4.5605). Ablation studies further confirm that anchor loss and adversarial loss contribute complementary effects, yielding the strongest performance when jointly optimized. These results highlight the effectiveness and scalability of anchor-guided adversarial learning for controllable text generation. The proposed framework offers a practical direction for adaptive learning systems and can be extended to multi-attribute control, personalized difficulty adjustment, and continuous attribute modeling.

Authors

Publication Details

Journal
Journal of Institute of Control Robotics and Systems
Published
2026-06-09
DOI
https://doi.org/10.5302/j.icros.2026.25.0339
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Controllable Text Generation in Large Language Models Using Generative Learning in Latent Space With Anchor Regularization

Janghoon Choi, Gahyun Lee
Journal of Institute of Control Robotics and Systems
Topic Modeling
article

Controllable Text Generation in Large Language Models Using Generative Learning in Latent Space With Anchor Regularization

Janghoon Choi, Gahyun Lee
article en

Abstract

This paper presents a unified framework for controllable text generation in large language models (LLMs), integrating anchor-based latent space alignment with hidden-state adversarial learning. The framework aims to achieve fine-grained difficulty control in educational content generation, particularly in math problem construction. The proposed method leverages 1) a difficulty anchor module that provides directional semantic guidance in latent space and 2) a hidden-sequence discriminator that enforces distributional consistency with real examples, enabling end-to-end gradient-based optimization during training via continuous relaxation without reinforcement learning or attribute-specific classifiers. The model is fine-tuned via low-rank adaptation (LoRA) and trained to generate intermediate-difficulty math problems by interpolating between easy and hard inputs. Experiments conducted across three backbone LLMs—Qwen2.5-Math-7B, LLaMA-3.2-3B, and EXAONE-4.0-1.2B—demonstrate consistent performance gains. On average, the proposed method improves target difficulty accuracy from 37.3% to 49.0% and F1 score from 0.281 to 0.356, representing a substantial enhancement in controllability. Beyond attribute accuracy, the model also improves semantic quality (BERTScore F1 = 0.660), topic relevance (QRelScore = 0.3758), answerability (RQUGE = 1.5922), and fluency (Perplexity = 4.5605). Ablation studies further confirm that anchor loss and adversarial loss contribute complementary effects, yielding the strongest performance when jointly optimized. These results highlight the effectiveness and scalability of anchor-guided adversarial learning for controllable text generation. The proposed framework offers a practical direction for adaptive learning systems and can be extended to multi-attribute control, personalized difficulty adjustment, and continuous attribute modeling.

Journal of Institute of Control Robotics and SystemsVol. 32(6)
Reduced inequalities
Openalex Percentile: Top 5%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.