Middle-power AI negotiation models

Weights behind a simulator of how the United States and China respond to frontier-AI oversight proposals tabled by middle powers. The weights fall into two families: statistical models fitted to recorded decisions, and LoRA adapters for language-model counterparts. Code to load and run them is in the LidaSafety/middlepower-code repository; manuscripts are in LidaSafety/middlepower.

Scores from these models are readings for negotiation rehearsal, not forecasts. In tests that trained only on earlier decisions, the all-country model scored Brier 0.076 on US and 0.061 on Chinese decisions (2018–2026) and 0.143 on 171 US and Chinese decisions on AI and digital texts (repeating the previous decision: 0.270), but it overpredicted US assent to such texts after 2025 (65% predicted, 44% observed on 25 texts).

Statistical models (bayes/, treaties/)

File What it is
bayes/v2_theta_all.npy All-country Bayesian acceptance model fitted on 246,977 decisions by 195 countries on 1,814 UN resolutions, AI declarations and AI and digital texts, through 2026, with era-specific US weights and a recorded-vote term (the model used by the Negotiator's Desk and the scenario engine)
bayes/v2_theta_all_base.npy An earlier fit without the era and recorded-vote terms (on the 247,001 decisions before version 3)
bayes/added_cases_v3.json The 58 US and Chinese decisions on 26 AI and digital texts added in version 3, each with its date, how the decision was made and its sources
bayes/previous/*_before_v3.* The main model, its weight uncertainties and its index before version 3, for reproducing earlier results
bayes/v2_theta*.npy, bayes/allcountry_theta*.npy Earlier fits and ablations (test split, hand-coded factors, no factors, no recent-voting input, US and China only)
bayes/walkforward/{wf,wf_era,wf_eraproc}/theta_YYYY.npy Year-by-year back-test fits, each trained only on decisions before year YYYY (2018–2026): base model, with era terms, with era and recorded-vote terms
bayes/weights_posterior_all.json, bayes/weights_posterior.json Per-country factor weights with posterior standard deviations, readable without the code
bayes/v2_factors.json The 35 learned factors with the definitions given to the coder
bayes/v2_meta.json Country and text order for indexing the parameter vectors (1,814 texts in version 4)
bayes/attendance.json, bayes/text_summaries.json Version 4 inputs: verified attendance lists used to record non-signers of summit declarations, and the sourced content summaries given to the factor coder for summit and club texts
bayes/previous/*_before_v4.* The version 3 fits (before the signature-list correction), for reproducing earlier results
bayes/previous/*_before_v5.* The version 4 fits (before the version 5 decisions were added), for reproducing earlier results
bayes/added_cases_v5.json, bayes/dropped_cases_v5.json The 22 US and Chinese decisions on 11 AI and digital texts added in version 5, and the 28 one-capital acceptances left out because no refusal could be observed
relations/dyads_*.json, relations/context_events.json, relations/domestic.json, relations/tests.json Version 5: 665 sourced events between 18 middle powers and Washington or Beijing (2015–2026), 150 context events, treaty-approval rules for 20 countries, and the out-of-sample tests of relationship temperature and context shocks
econ/backtest.json, econ/forecast_backtest.json Trade effects of past disputes (exports to the capital applying pressure, UN Comtrade 2000–2025), and the forecast back-test: each of 34 free-trade agreements with the US or China, 10 coercion episodes and 5 trade restrictions forecast from earlier events and scored against recorded trade, with the 2020 Phase One purchase commitment against recorded US exports
negotiations/negotiator_learner.json, negotiations/learner_rows.json Negotiator learners on the 166 negotiations (majority rule, pooled model, per-country model, LoRA): accuracy and Brier score on 2015–2026 moves, by negotiator and for moves made alone or with others
scenario/persuasion_sim.json Critical simulation of persuasion for Canada's pilot: for each group (Canada alone, Western group, broad group) and strategy (convince, persuade, pressure and combinations), the chance each capital joins, the middle powers' win rate, their say over frontier AI computing under the pilot's oversight, and power concentration (20,000 games per cell)
bayes/weights_validation.json Validation of the learned weights
treaties/hybrid_weights.json Hybrid treaty model: 6 levers and 48 provisions, fitted on 51,909 participation decisions on 274 treaties (UN-deposited and ILO), with provisions coded from the official treaty texts (version 4)
treaties/treaty_provision_codes_text.json The 48 provision codes of 335 treaties, coded from their official texts with article citations (324 from text; 11 keep the earlier memory code and are flagged)
treaties/provision_weights_text.json Lever-only and provision-only treaty models on the text codes, with cross-validation and treaty-clustered bootstrap
treaties/ext_weights*.json Outside check: the same kind of model on 128 environmental agreements open to all states (IEADB) and 112 trade agreements (DESTA), on the 22 provisions their codings cover
treaties/previous/hybrid_weights_memory_codes_before_v4.json The hybrid model on the earlier provision codes made from a language model's memory of each treaty
treaties/lever_weights*.json, treaties/provision_weights*.json Lever-only and provision-only treaty models, with treaty-clustered bootstrap
treaties/bandwagon.json Effect on joining of the share of world exports already inside an agreement, per country

The .npy files are flat parameter vectors; fit_v2.unpack() in the code repository maps them to intercepts, precedent, alignment, recent-voting, administration and factor-weight terms in the order of v2_meta.json and v2_factors.json.

LoRA adapters (adapters/)

Each archive contains PEFT LoRA adapters (rank 16, all attention and MLP projections) with their tokenizer files.

Archive Base model Contents
tierA.tgz Qwen/Qwen2.5-7B-Instruct Tier A: a learner conditioned on each country's Bayesian profile (version 5; test Brier 0.068 overall, 0.165 on US decisions)
tierA_s3.tgz Qwen/Qwen2.5-7B-Instruct Tier A, three-way split (train to 2022, validate 2023–24, test 2025–26; version 5; test Brier 0.066 overall, 0.155 on US decisions, 0.189 on US and Chinese AI texts against 0.187 for the fitted rule)
tierB.tgz Qwen/Qwen2.5-7B-Instruct Tier B: per-actor learners for the US and China from explanations of vote
tierB_B2_s3.tgz Qwen/Qwen2.5-7B-Instruct Tier B US and China adapters, three-way split (this version crashed vLLM on its first request in our runs)
tierC.tgz Qwen/Qwen2.5-7B-Instruct Tier C: end-to-end learner that codes the 35 factors, assigns each a signed contribution for the deciding country, and outputs a decision; trained on decisions up to 2022 (version 5; test Brier 0.077 overall, 0.121 on US decisions and 0.245 on US and Chinese AI texts, against 0.063, 0.189 and 0.187 for the fitted rule; factor F1 0.88)
previous/*_before_v4.tgz, previous/*_before_v5.tgz Qwen/Qwen2.5-7B-Instruct The Tier A, Tier A s3 and Tier C adapters trained before versions 4 and 5
negotiator.tgz Qwen/Qwen2.5-7B-Instruct Negotiator learner: judges whether a negotiating move will bring its target to yes or closer, trained on moves in the 166 coded negotiations (all treaty types) that ended before 2015, with negotiation names and outcome-revealing text features withheld. On the 612 moves of 2015–2026 it was right 39% of the time (Brier 0.470), worse than always predicting success (64%) and than a simple pooled model (68%); kept for reproducibility, not for use
qwen25_governments_negotiators.tgz Qwen/Qwen2.5-7B-Instruct Voting-record government agents and negotiator adapters (leaders, leaders2, negotiators, rl1, rl2, srl1, srl2)
qwen3_governments_negotiators.tgz Qwen/Qwen3-8B Government, negotiator and presenter adapters
qwen3_presenters_bayes.tgz Qwen/Qwen3-8B Presenter adapter conditioned on the Bayesian layer

Load an adapter with PEFT after extracting the archive:

from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct", torch_dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(base, "tierC")          # directory extracted from tierC.tgz
tokenizer = AutoTokenizer.from_pretrained("tierC")

Data and limits

Training data are public records: UN General Assembly votes and sponsorships, signatures of AI declarations, UN and ILO treaty participation, and UN Comtrade trade flows. Factor codes were produced by a language model and checked against a blind coder (F1 0.88 for Tier C). Treaty-based effects describe what made states join treaties; their transfer to AI negotiations is an assumption. The models describe recorded state behaviour and do not represent the views of any government.

Versions

  • Version 5 (2026-11-27): 22 verified US and Chinese decisions on 11 AI and digital texts where both capitals recorded a position were added (G20, APEC and WTO texts, the Osaka and Davos digital statements, the 2024 Biden–Xi affirmation on human control over nuclear use, UN resolution 75/32); 28 acceptances by one capital of texts the other could not join were left out, because a set with no observable refusal cannot show when a capital refuses (with them, the model learned that Washington joins summit texts). All models, year-by-year fits and the Tier A, Tier A s3 and Tier C adapters were refitted or retrained. Tier C's 2025 US recalibration is now a shift of -1.36 log-odds; on 2026 decisions it does not improve the Brier score (0.363 against 0.366). Relationship temperature and context shocks were tested and are not part of the decision (see relations/tests.json). Economic results (econ/): forecasting an event's trade effect from the average of earlier events of the same kind was no more accurate than assuming no effect; coercion lowered the target's exports in every episode one and two years later, but by amounts earlier episodes did not predict; recorded US goods exports to China in 2020–21 reached 10% of the increase promised under Phase One.
  • Version 4 (2026-11-27): Corrected signature data and treaty codes, refitted models and retrained Tier A, Tier A s3 and Tier C adapters. Signatory lists of summit declarations had recorded only the states that signed, so refusals (for example China's at the 2024 Seoul ministerial session and the United States' at Paris in 2025) were missing, and some US and Chinese decisions were counted twice. States are now recorded as not signing when they signed an earlier text of the same summit series or are documented as attending (bayes/attendance.json); lists with no identifiable non-signer are dropped; each decision is counted once; two verified decisions were added (the 2026 vote appointing the UN AI Scientific Panel, the 2025 BRICS AI statement). Treaty provisions were recoded from the official texts. Pilot readings changed accordingly (see the manuscript). Evaluation results of the adapters are in eval/; the 2025 US recalibration of Tier C is a shift of -2.48 log-odds (eval/tierC_regime.json).
  • Version 3 (2026-11-26): 58 verified US and Chinese decisions on 26 AI and digital texts were added (the paired 2024 UN AI resolutions 78/265 and 78/311, the ICT-for-development resolutions of 2018-23, the UN cybercrime convention, the cyber working group's final report, G20 and APEC declarations, the Christchurch and Paris Calls, the WTO e-commerce texts, DEPA and Pax Silica). The main model, the weight uncertainties and all year-by-year fits were refitted. China's weight on Western-led AI-safety texts moved from -0.82 to -1.47, mainly because China did not endorse the Christchurch Call in 2019 or 2021; the previous fit is kept in bayes/previous/.
  • Version 2: first public release (247,001 decisions).
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for LidaSafety/middlepower

Base model

Qwen/Qwen2.5-7B
Adapter
(3,073)
this model