File size: 6,491 Bytes
6888745
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dce80e0
6888745
 
dce80e0
6888745
dce80e0
6888745
dce80e0
6888745
d5b5384
6888745
13d2f1e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dce80e0
 
 
 
 
6888745
 
 
 
 
 
 
 
 
 
 
 
 
dce80e0
 
 
6888745
dce80e0
6888745
dce80e0
 
 
 
6888745
dce80e0
6888745
dce80e0
 
 
 
 
 
 
6888745
 
 
 
 
 
 
 
 
dce80e0
 
6888745
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
---



license: other
license_name: s2-mas-controlled-research-v1.2
license_link: https://huggingface.co/ya9919/qwen3.5-9b-finance-lora-head-200k/blob/main/LICENSE

language:

- en

base_model: Qwen/Qwen3.5-9B

tags:

- s2-mas

- financial-qa

- decision-head

- qwen3_5

- peft

- lora

---


# qwen3.5-9b-finance-lora-head-200k

Paper: [S²-MAS](https://github.com/KataDavidXD/s2-mas/blob/main/paper/S2_MAS_Paper.pdf). The fixed-budget adaptation results and matched downstream methods define the comparison reported here.

## Project background

S²-MAS is a society-scale multi-agent simulation framework for studying how household decisions affect consumption, cash reserves and payments. The paper connects a constructed resource of **500 million household-persona records**, learned decision policies, reusable financial scenarios and a state-transition engine. Its purchase-funding application evaluates **12 million distinct synthetic household agents** under paired conditions. Full-data Fin-Laya supplies the policy for that application; this repository supplies a fixed-budget adaptation checkpoint for the common decision-model comparison. Decision learning uses **real-survey data**. The GENESE/MAS engine implementation remains private.

The benchmark groups twelve systems into six decision-model routes: encoder option scoring; language models with learned decision heads; next-token decision SFT; dynamic-schema classification; multimodal encoder decisions; and provider decision interfaces. All receive text inputs in the common benchmark. The **17 model-repository entries** comprise **10 fixed-budget trained variants**—five native Laya and five Qwen variants—plus **six checkpoint/runtime entries** and **one compatibility alias**.

<!-- consumptionqa-examples:start -->
## Test-set QA examples

These four QA excerpts come from the existing held-out consumer financial-choice test set. They retain the original English questions, candidate menus and recorded reference answers. Full household states and original identifiers are omitted. The answers belong to the households in the original records; provide a household state when running inference.

[Download the examples as JSON](qa_examples.json).

### 1. Active credit-card use

Does your household use credit cards? Exclude cards that have not been activated.

- `1` — Yes
- `2` — No

**Recorded reference answer:** `2` — No

### 2. Demand-deposit account

Does your household currently have a renminbi demand-deposit account?

- `1` — Yes
- `2` — No

**Recorded reference answer:** `1` — Yes

### 3. Stock trading account

Does your household currently have a stock trading account?

- `1` — Yes
- `2` — No

**Recorded reference answer:** `2` — No

### 4. Unmatured time deposits

Does your household currently have any renminbi time deposits that have not yet matured?

- `1` — Yes
- `2` — No

**Recorded reference answer:** `2` — No

<!-- consumptionqa-examples:end -->

## This model's role

This checkpoint follows the **language-model plus learned decision-head route**. It applies the development-selected LoRA method to the independently initialized, official post-trained Qwen3.5-9B backbone. The 200k one-pass protocol permits a direct comparison with the adapted 4B model; the upstream training histories also differ between those initializations.

## Training design and checkpoint

- Method: `lora`.

- Distinct downstream training rows: **200,000** from the fixed decision-QA training partition.

- Initialization: [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B).

- This stage terminal row exposures: **200,000**; selected checkpoint stage exposures: **200,000**.

- Selected checkpoint cumulative row exposures: **200,000**; selected cumulative distinct rows: **200,000**.

- A fixed 20,000-example development set selects this checkpoint. The complete development partition (412,873 examples) selected LoRA on Qwen4B; the method was fixed before the independently initialized 9B run. The final test did not select budgets or methods.

## Performance and matched comparisons

**Language:** English. **Inference precision:** BF16 Qwen backbone with FP32 candidate scoring.

The common held-out test contains **240,458 QA records**, **119 question versions** and **8,275 respondent/household groups**. The checkpoint is selected using development data before this test.

| Checkpoint / reference | Accuracy (%) | Question-macro F1 (%) | Invalid decisions |
|---|---:|---:|---:|
| **This checkpoint** | **74.0919** | **36.6622** | **0** |
| Qwen4B-Base LoRA + head, same 200k protocol | 74.1435 | 36.7343 | 0 |

Accuracy weights every test record equally; invalid decisions count as incorrect. Question-macro F1 averages over every defined candidate class within each question version and then weights the 119 versions equally.

The paper reports **9B minus 4B = −0.0516 accuracy points** (95% CI −0.0981–−0.0071) and **−0.0721 question-macro F1 points** (−0.1725–0.0404). This comparison covers the independently initialized backbones under the matched downstream protocol.

## Package and inference

LoRA adapter plus a shared scalar decision head; obtain the official backbone separately.

Initialized from the official post-trained 9B release. The 4B/9B comparison varies both model scale and upstream training history.

- Model files: `head.pt, adapter/adapter_config.json, adapter/adapter_model.safetensors`.

- Reported common-test compute: BF16 Qwen backbone with FP32 candidate scoring.

- Obtain the official Qwen backbone and tokenizer named in the configuration separately.

- Inference scores the full state, question and complete candidate menu.

The supplied `qwen_decision.py` exposes the candidate-scoring inference interface. Supply the local package and the official backbone and tokenizer named in `decision_config.json`.

## License and access

The project model contribution is offered under the [S²-MAS Controlled Model Research License v1.2](LICENSE): noncommercial scientific use, no redistribution, and no unauthorized reverse engineering, extraction or distillation. Training and evaluation records are not distributed. Source-data access requires the provider's authorization. Permission requests: yli9919@hku.hk.

Project repository: [s2-mas](https://github.com/KataDavidXD/s2-mas).