{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2604-18566","title":"Benchmarking System Dynamics AI Assistants: Cloud Versus Local LLMs on CLD Extraction and Discussion","arxiv_id":"2604.18566","date":"2026-04-20","proceeding":null,"authors":["Terry Leitch"],"abstract":"We present a systematic evaluation of large language model families -- spanning both proprietary cloud APIs and locally-hosted open-source models -- on two purpose-built benchmarks for System Dynamics AI assistance: the \\textbf{CLD Leaderboard} (53 tests, structured causal loop diagram extraction) and the \\textbf{Discussion Leaderboard} (interactive model discussion, feedback explanation, and model building coaching). On CLD extraction, cloud models achieve 77--89\\% overall pass rates; the best local model reaches 77\\% (Kimi~K2.5~GGUF~Q3, zero-shot engine), matching mid-tier cloud performance. On Discussion, the best local models achieve 50--100\\% on model building steps and 47--75\\% on feedback explanation, but only 0--50\\% on error fixing -- a category dominated by long-context prompts that expose memory limits in local deployments. A central contribution of this paper is a systematic analysis of \\textit{model type effects} on performance: we compare reasoning vs.\\ instruction-tuned architectures, GGUF (llama.cpp) vs.\\ MLX (mlx\\_lm) backends, and quantization levels (Q3 / Q4\\_K\\_M / MLX-3bit / MLX-4bit / MLX-6bit) across the same underlying model families. We find that backend choice has larger practical impact than quantization level: mlx\\_lm does not enforce JSON schema constraints, requiring explicit prompt-level JSON instructions, while llama.cpp grammar-constrained sampling handles JSON reliably but causes indefinite generation on long-context prompts for dense models. We document the full parameter sweep ($t$, $p$, $k$) for all local models, cleaned timing data (stuck requests excluded), and a practitioner guide for running 671B--123B parameter models on Apple~Silicon.","url_abs":"https://arxiv.org/abs/2604.18566","url_pdf":"https://arxiv.org/pdf/2604.18566","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2604.18566","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.18566"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/UB-IAD/sd-ai","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/tleitch/sd-ai","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"found_in_text":{"samples":6,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"b4a801090615aafb","entry":"build_executable","repo":"UB-IAD/sd-ai","repo_kind":"found_in_text","path":"third-party/time-series-behavior-analysis/build.py","file_url":"https://github.com/UB-IAD/sd-ai/blob/HEAD/third-party/time-series-behavior-analysis/build.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b4a801090615aafb"}},{"code_sha256_prefix":"7edc44352b84c72f","entry":"create_spec_file","repo":"UB-IAD/sd-ai","repo_kind":"found_in_text","path":"third-party/time-series-behavior-analysis/build.py","file_url":"https://github.com/UB-IAD/sd-ai/blob/HEAD/third-party/time-series-behavior-analysis/build.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7edc44352b84c72f"}},{"code_sha256_prefix":"345a2d274a9a7f11","entry":"generate_targets","repo":"UB-IAD/sd-ai","repo_kind":"found_in_text","path":"third-party/causal-decoder/inference.py","file_url":"https://github.com/UB-IAD/sd-ai/blob/HEAD/third-party/causal-decoder/inference.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"345a2d274a9a7f11"}},{"code_sha256_prefix":"4add2d583e034913","entry":"load_csv_data","repo":"UB-IAD/sd-ai","repo_kind":"found_in_text","path":"third-party/time-series-behavior-analysis/classify_behavior.py","file_url":"https://github.com/UB-IAD/sd-ai/blob/HEAD/third-party/time-series-behavior-analysis/classify_behavior.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4add2d583e034913"}},{"code_sha256_prefix":"48a884dfccfdcbd2","entry":"load_json_data","repo":"UB-IAD/sd-ai","repo_kind":"found_in_text","path":"third-party/time-series-behavior-analysis/classify_behavior.py","file_url":"https://github.com/UB-IAD/sd-ai/blob/HEAD/third-party/time-series-behavior-analysis/classify_behavior.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"48a884dfccfdcbd2"}},{"code_sha256_prefix":"23d4fd5b47fa5084","entry":"parse_relationships","repo":"UB-IAD/sd-ai","repo_kind":"found_in_text","path":"third-party/causal-decoder/inference.py","file_url":"https://github.com/UB-IAD/sd-ai/blob/HEAD/third-party/causal-decoder/inference.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"23d4fd5b47fa5084"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}