Qwen3.5-2B-conlang-gym-v1-word-order-with-dictionary
Qwen3.5-2B trained with Agentic RL (GRPO) on the word-order stage of conlang-gym v1.
In each episode the model questions an informant about a randomly generated artificial language and then translates meanings it has not seen into that language.
Task
- Language: Generated from a seed. In this stage languages differ only in word order (SOV, SVO, VSO, OSV, OVS, VOS) and vocabulary, and there are no affixes. Each word is a root of two consonant-vowel syllables.
- Dictionary: The prompt gives the root of every noun and verb on the survey sheet (e.g.
horse = pose), so the model has to find out only the word order. - Investigation: A budget of 6 questions, one action per turn: each
<action>ask(Subject=..., SubjectNumber=..., Object=..., ObjectNumber=..., Verb=..., Tense=...)</action>and each invalid action uses one, and<action>done</action>ends the investigation. An ask returns the sentence for that meaning. - Test: 8 meanings to translate in one turn, answered as
<answer id="N">...</answer>. - Reward: Fraction of test items whose answer matches the reference exactly after normalization. Items identical to an asked meaning are not scored.
Chat format
The environment sends the task as the first user message and every reply as a user message: Informant: <sentence> with the remaining questions, or Error: format error., Error: out of range. or Error: type error. for an invalid action.
When the 6 questions are used up, the reply ends with You have used all your questions. followed by the test.
[user]
You are a field linguist studying an unknown language. A native speaker (the informant) will tell you how to say any meaning you ask about. Find out the grammar, then translate new meanings.
## Survey sheet
Nouns: horse, cat, woman, child
Transitive verbs: call, hear
Intransitive verbs: swim
SubjectNumber, ObjectNumber: singular, plural
Tense: present, past
A sentence with a transitive verb needs exactly: Subject, SubjectNumber, Object, ObjectNumber, Verb, Tense.
A sentence with an intransitive verb needs exactly: Subject, SubjectNumber, Verb, Tense.
## Root dictionary
horse = pose
cat = kade
woman = hode
child = fese
call = hipo
hear = dali
swim = mido
## Actions
Each turn, output exactly one action inside <action></action>, using only names from the survey sheet. The actions are:
<action>ask(Subject=horse, SubjectNumber=plural, Object=cat, ObjectNumber=singular, Verb=call, Tense=past)</action>
<action>ask(Subject=cat, SubjectNumber=singular, Verb=swim, Tense=present)</action>
The informant says that meaning in the language. A transitive verb needs all six slots; an intransitive verb takes no Object or ObjectNumber. Slots may come in any order.
<action>done</action>
End the investigation.
You have 6 questions. Every action except done uses one question, including invalid actions. When the questions run out, the investigation ends.
An invalid action gets one of three errors: "format error" (the action cannot be read), "out of range" (a value is not on the survey sheet), or "type error" (the slots do not match the verb).
After the investigation you will translate meanings you have not seen. The language is written in lowercase Latin letters with words separated by single spaces and no punctuation.
[assistant]
<action>ask(Subject=horse, SubjectNumber=singular, Object=cat, ObjectNumber=singular, Verb=call, Tense=present)</action>
[user]
Informant: pose hipo kade
(5 questions left)
[assistant]
<action>done</action>
[user]
The investigation is over. Translate each meaning below into the language. Write every answer as <answer id="N">sentence</answer>.
1. Subject=cat, SubjectNumber=plural, Object=horse, ObjectNumber=singular, Verb=call, Tense=past
2. Subject=woman, SubjectNumber=plural, Object=horse, ObjectNumber=plural, Verb=call, Tense=present
3. Subject=child, SubjectNumber=plural, Object=woman, ObjectNumber=plural, Verb=call, Tense=past
4. Subject=woman, SubjectNumber=plural, Object=cat, ObjectNumber=plural, Verb=hear, Tense=present
5. Subject=horse, SubjectNumber=singular, Verb=swim, Tense=past
6. Subject=child, SubjectNumber=plural, Object=horse, ObjectNumber=plural, Verb=hear, Tense=present
7. Subject=child, SubjectNumber=singular, Verb=swim, Tense=present
8. Subject=child, SubjectNumber=plural, Object=child, ObjectNumber=plural, Verb=hear, Tense=past
[assistant]
<answer id="1">kade hipo pose</answer>
<answer id="2">hode hipo pose</answer>
<answer id="3">fese hipo hode</answer>
<answer id="4">hode dali kade</answer>
<answer id="5">pose mido</answer>
<answer id="6">fese dali pose</answer>
<answer id="7">fese mido</answer>
<answer id="8">fese dali fese</answer>
Training
- 62 steps over 7,936 languages, 5 rollouts per language.
- Thinking disabled (
enable_thinking=False). - Trained asynchronously using verl.
Evaluation
Evaluated against 64 held-out languages per word order (seeds disjoint from training), using greedy decoding. The score is the mean reward, i.e. the fraction of test items translated exactly. Qwen3.5-2B is evaluated with the same prompts and protocol.
| Word order | In training | Qwen3.5-2B | This model |
|---|---|---|---|
| SOV | yes | 0.124 | 1.000 |
| SVO | yes | 0.187 | 1.000 |
| VSO | yes | 0.046 | 1.000 |
| OSV | yes | 0.086 | 0.977 |
| OVS | yes | 0.050 | 0.996 |
| VOS | no | 0.045 | 0.846 |
Limitations
- This model is trained and evaluated only on word-order languages, without morphology.
- The model expects the conlang-gym prompt and turn protocol, in which the informant's replies arrive as user turns.
- The multi-token prediction (MTP) weights of Qwen3.5-2B are not included, so MTP speculative decoding is not available.