Skip to content

Training-Free Improvement with Translation-Instruction Soft-Token Injection for Indonesian Retrieval Augmented Generation

Tjeng Wawan Cenggoro, Ganjar Widiatmansyah, Evan Purnama

cs.CL

Abstract

Off-the-shelf multilingual text-embedding models often underperform on Indonesian relative to high-resource languages such as English, and the usual remedy, fine-tuning, is costly and must be repeated whenever the base model changes. We study whether embedding quality on Indonesian can be improved without any parameter updates, using only interventions on the model input. We first show that prepending or appending a short natural-language translation-instruction to each text can shift its embedding toward the representation space of a higher-resource language, where the model is stronger; our hypothesis is that this shift yields a higher-quality embedding vector, one that produces better pairwise similarity and retrieval performance, and we tested this directly on downstream benchmarks. We then propose a training-free method that compresses such an instruction into a single dense vector, a soft token, and injects it directly in embedding space at inference time. The soft token is computed once from an unlabeled corpus by pooling the instruction's token embeddings using the attention each instruction token receives, and is reused across all inputs. Because the injection acts only on the input embedding sequence, it is compatible with standard inference engines such as vLLM. On three Indonesian benchmarks covering semantic relatedness and retrieval, and across five recent open-weight embedding models, a training-free input-side intervention improves over the untuned baseline in most model and task settings (11 of 15).

Create a lesson

Metadata

Journal
T. W. Cenggoro, G. Widiatmansyah and E. Purnama, "Training-Free ~," 2026 International Conference on Asian Language Processing (IALP), Beijing, China, 2026