HaomingLuo commited on
Commit
fa5efbc
·
verified ·
1 Parent(s): c84f416

Add AgentFEM runtime validation and handoff

Browse files

Adds checksum-verified DENIM runtime evidence, exact software identities, documented tangent boundary, and a data/model handoff for downstream research teams.

AGENTFEM_RUNTIME_SHA256SUMS ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ 54b80792286cdc6fc42394be0a31e539227f12ede63d24ac08f192cd6931da29 README.md
2
+ 5124cd03d84ee846f5f874fffab7df616ab69a64a08288066890380ee1d1aa2b artifacts/t2_denim_agentfem_v1/RUNTIME_VALIDATION.md
3
+ 3c7b642c1888abe566bb3beec7cbabc36466fb6dbab2b62d193f14a248841174 artifacts/t2_denim_agentfem_v1/runtime_validation.json
4
+ 3d1726dcc00bf9e888647632e7dfe4b58771ece931461cd988b614098f1746d3 docs/T2_ALL_DATA_STAGE_SUMMARY.md
5
+ 830607c710ec01a03e416f0f5cf216d0828506b2d3f437c1216ed692a37b596a docs/T2_DATA_MODEL_HANDOFF.md
README.md CHANGED
@@ -98,6 +98,26 @@ Expanded-DENIM RMSE on matched 61/121/481/961-state histories was
98
  - Full metrics: `artifacts/t2_denim_boundary_v1/model_metrics.json`
99
  - All-data usage: `docs/T2_ALL_DATA_STAGE_SUMMARY.md`
100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  ## Multiaxial v2 at a glance
102
 
103
  - eight path families, including non-proportional, rotating and random
 
98
  - Full metrics: `artifacts/t2_denim_boundary_v1/model_metrics.json`
99
  - All-data usage: `docs/T2_ALL_DATA_STAGE_SUMMARY.md`
100
 
101
+ ## AgentFEM runtime validation
102
+
103
+ The expanded DENIM checkpoint is also available as a checksum-authenticated
104
+ `safetensors` bundle in the
105
+ [AgentFEM-DENIM model repository](https://huggingface.co/HaomingLuo/AgentFEM-DENIM).
106
+ The safe bundle reproduces the legacy implementation on the fixed 121-step
107
+ path to a maximum stress difference of `2.68e-7 Pa` and identical final PEEQ.
108
+
109
+ Serial and two-rank AgentFEM implicit plastic-bar runs both completed 4/4
110
+ increments, with a reported maximum-stress difference of `5.96e-8 Pa` between
111
+ the two executions. The current plastic automatic-differentiation tangent has
112
+ a documented 0.05–0.80% discrepancy against fixed-old-state finite
113
+ differences over the audited plastic states. The demonstrated global cases
114
+ converge; an exact consistent plastic tangent remains outside the present
115
+ claim boundary.
116
+
117
+ - Machine evidence: `artifacts/t2_denim_agentfem_v1/runtime_validation.json`
118
+ - Validation note: `artifacts/t2_denim_agentfem_v1/RUNTIME_VALIDATION.md`
119
+ - Data/model handoff: `docs/T2_DATA_MODEL_HANDOFF.md`
120
+
121
  ## Multiaxial v2 at a glance
122
 
123
  - eight path families, including non-proportional, rotating and random
artifacts/t2_denim_agentfem_v1/RUNTIME_VALIDATION.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DENIM × AgentFEM runtime validation
2
+
3
+ ## Result
4
+
5
+ The expanded 918-parameter DENIM checkpoint was migrated from the trusted
6
+ legacy PyTorch file to a checksum-authenticated `safetensors` bundle and loaded
7
+ through the generic AgentFEM learned-constitutive contract.
8
+
9
+ The 121-step material-point result agrees with the legacy implementation to a
10
+ maximum stress difference of `2.68e-7 Pa`; final PEEQ is identical. The bundle
11
+ produces a maximum absolute stress of `292.547138 MPa`, final PEEQ of
12
+ `0.0095270883`, and maximum yield residual of `0.401 Pa` on the frozen runtime
13
+ path.
14
+
15
+ ## Global implicit execution
16
+
17
+ | Case | Processes | Prescribed displacement | Maximum absolute stress | Increments | Result |
18
+ |---|---:|---:|---:|---:|---|
19
+ | Elastic bar | 1 | 0.001 m | 190.000 MPa | 4/4 | converged |
20
+ | Plastic bar | 1 | 0.008 m | 500.441 MPa | 4/4 | converged |
21
+ | Plastic bar | 2 | 0.008 m | 500.441 MPa | 4/4 | converged |
22
+
23
+ The serial and two-rank plastic results differ by `5.96e-8 Pa` in reported
24
+ maximum stress and have identical maximum displacement.
25
+
26
+ ## Tangent boundary
27
+
28
+ The elastic tangent agrees with fixed-old-state central differences to
29
+ `9.78e-14` relative error. Through the fixed-iteration plastic return map, the
30
+ current automatic-differentiation tangent differs from finite differences by
31
+ approximately 0.05–0.80% across the audited plastic states. The global tests
32
+ above converge without cutback, while the stricter `2e-5` material-point
33
+ tangent criterion is not met in plastic loading.
34
+
35
+ The runtime evidence therefore supports deployable implicit execution and
36
+ reproducible solver integration. It does not support a claim of a
37
+ mathematically exact consistent plastic tangent or production UMAT
38
+ certification. Full machine-readable evidence is in `runtime_validation.json`.
39
+
40
+ ## Fixed identity
41
+
42
+ - AgentFEM: `40c965225fc3b8d12a93a68e0d6b01dd35d47d82`
43
+ - AgentFEM-learning: `06d454e4ee66a7ee4f4c8a705d5958ff9577d18c`
44
+ - source model revision: `5629df0a23a3d1ed43e9de2150e3d33cb979fdc1`
45
+ - dataset revision: `c84f416e5a71daa157e406c50afc3fc73509b9ca`
46
+ - safe weights SHA-256: `2ed35af21f3c11d6f2237485871ac39d63b084eeb47b6c341175ab6ccb0f960a`
47
+
48
+ All 34 T2 project regressions, 18 AgentFEM learned-material tests and 11
49
+ AgentFEM-learning provider tests passed.
artifacts/t2_denim_agentfem_v1/runtime_validation.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "agentfem.physics-data.denim-runtime-validation",
3
+ "schema_version": "1.0.0",
4
+ "status": "passed_with_documented_tangent_boundary",
5
+ "validated_at": "2026-09-25T13:30:00+08:00",
6
+ "software": {
7
+ "agentfem_version": "0.3.7.dev0",
8
+ "agentfem_commit": "40c965225fc3b8d12a93a68e0d6b01dd35d47d82",
9
+ "agentfem_learning_version": "0.1.0a1",
10
+ "agentfem_learning_commit": "06d454e4ee66a7ee4f4c8a705d5958ff9577d18c",
11
+ "python": "3.11.15",
12
+ "pytorch": "2.13.0",
13
+ "numpy": "2.4.6",
14
+ "h5py": "3.16.0",
15
+ "mpi_vendor": "MPICH 5.0.1"
16
+ },
17
+ "identity": {
18
+ "model_repo": "HaomingLuo/AgentFEM-DENIM",
19
+ "source_model_revision": "5629df0a23a3d1ed43e9de2150e3d33cb979fdc1",
20
+ "dataset_repo": "HaomingLuo/AgentFEM-Material-Loading-Memory",
21
+ "dataset_revision": "c84f416e5a71daa157e406c50afc3fc73509b9ca",
22
+ "model_version": "1.1.0",
23
+ "architecture": "denim.v1",
24
+ "parameter_count": 918,
25
+ "weights_format": "safetensors",
26
+ "weights_sha256": "2ed35af21f3c11d6f2237485871ac39d63b084eeb47b6c341175ab6ccb0f960a",
27
+ "manifest_sha256": "5c3636278999f1b92c5b8b94fc8500e8dd270b5f7285dbd53fc5d0a3b6976105"
28
+ },
29
+ "dataset_audit": {
30
+ "complete_trajectories": 2660,
31
+ "t2_v1": 1008,
32
+ "t2_multiaxial_v2": 1024,
33
+ "denim_closure_v1": 128,
34
+ "denim_boundary_v1": 500,
35
+ "t2_regression_tests_passed": 34,
36
+ "t2_regression_tests_failed": 0,
37
+ "boundary_release_checksums_verified": true
38
+ },
39
+ "safe_bundle_equivalence": {
40
+ "path_steps": 121,
41
+ "maximum_absolute_stress_difference_pa": 2.682209014892578e-7,
42
+ "stress_rmse_pa": 2.090951128498144e-8,
43
+ "final_peeq_difference": 0.0,
44
+ "maximum_absolute_stress_mpa": 292.54713784451934,
45
+ "final_peeq": 0.009527088265532677,
46
+ "maximum_yield_residual_pa": 0.40072572231292725
47
+ },
48
+ "tangent_audit": {
49
+ "method": "central_difference_fixed_old_state_vs_autodiff",
50
+ "relative_step": 1e-6,
51
+ "strict_acceptance_tolerance": 2e-5,
52
+ "points": [
53
+ {
54
+ "equivalent_path_strain": 0.001,
55
+ "regime": "elastic",
56
+ "relative_error": 9.777786913369087e-14,
57
+ "strictly_accepted": true
58
+ },
59
+ {
60
+ "equivalent_path_strain": 0.0015,
61
+ "regime": "near_yield",
62
+ "relative_error": 0.000463908560930518,
63
+ "strictly_accepted": false
64
+ },
65
+ {
66
+ "equivalent_path_strain": 0.002,
67
+ "regime": "plastic",
68
+ "relative_error": 0.00151667819950217,
69
+ "strictly_accepted": false
70
+ },
71
+ {
72
+ "equivalent_path_strain": 0.003,
73
+ "regime": "plastic",
74
+ "relative_error": 0.0034972718149479777,
75
+ "strictly_accepted": false
76
+ },
77
+ {
78
+ "equivalent_path_strain": 0.006,
79
+ "regime": "plastic",
80
+ "relative_error": 0.008029543517786931,
81
+ "strictly_accepted": false
82
+ }
83
+ ],
84
+ "interpretation": "The current autodiff tangent is exact in the elastic regime and approximate through the fixed-iteration plastic return map. The observed plastic-point discrepancy is 0.05-0.80 percent over this audit. Global solves below completed without cutback, but the artifact is not claimed to provide a mathematically exact consistent plastic tangent."
85
+ },
86
+ "global_implicit_validation": {
87
+ "elastic_serial": {
88
+ "prescribed_displacement_m": 0.001,
89
+ "maximum_absolute_stress_pa": 190000000.00000003,
90
+ "accepted_increments": 4,
91
+ "attempted_increments": 4,
92
+ "converged": true
93
+ },
94
+ "plastic_serial": {
95
+ "prescribed_displacement_m": 0.008,
96
+ "maximum_absolute_stress_pa": 500440565.1864772,
97
+ "accepted_increments": 4,
98
+ "attempted_increments": 4,
99
+ "converged": true
100
+ },
101
+ "plastic_mpi2": {
102
+ "prescribed_displacement_m": 0.008,
103
+ "maximum_absolute_stress_pa": 500440565.1864771,
104
+ "accepted_increments": 4,
105
+ "attempted_increments": 4,
106
+ "converged": true
107
+ },
108
+ "serial_mpi2_maximum_stress_difference_pa": 5.960464477539063e-8,
109
+ "serial_mpi2_displacement_difference_m": 0.0,
110
+ "applicability_status": "in_domain"
111
+ },
112
+ "software_regression": {
113
+ "agentfem_tests_passed": 18,
114
+ "agentfem_learning_tests_passed": 11,
115
+ "failures": 0
116
+ },
117
+ "claim_boundary": {
118
+ "supported": [
119
+ "lossless legacy-to-safetensors checkpoint migration",
120
+ "offline checksum-verified loading",
121
+ "material-point and batch inference",
122
+ "state commit and result evidence through AgentFEM",
123
+ "serial and two-rank implicit finite-element execution"
124
+ ],
125
+ "not_supported": [
126
+ "production UMAT certification",
127
+ "experimental material calibration",
128
+ "cross-material universality",
129
+ "mathematically exact consistent plastic tangent"
130
+ ]
131
+ }
132
+ }
docs/T2_ALL_DATA_STAGE_SUMMARY.md CHANGED
@@ -53,5 +53,21 @@ DENIM保留J2骨架、关联流动和隐式积分,只学习缺失的硬化与
53
  4. 后续优先研究长历史稳定性、内部状态监督减少和物理不完备程度阶梯;不继续海选
54
  大量普通时序网络。
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  模型与完整机器指标见`artifacts/t2_denim_boundary_v1/model_metrics.json`,对比图见
57
  `artifacts/t2_denim_boundary_v1/boundary_model_comparison.png`。
 
53
  4. 后续优先研究长历史稳定性、内部状态监督减少和物理不完备程度阶梯;不继续海选
54
  大量普通时序网络。
55
 
56
+ ## 数据与模型产品状态
57
+
58
+ 截至2026-09-25,2,660条轨迹的本地质量门和34项T2回归测试全部通过。扩展DENIM
59
+ 已转换为带清单、状态定义、适用域和SHA-256的`safetensors`离线模型包,并通过
60
+ AgentFEM `40c9652`与AgentFEM-learning `06d454e`通用学习型本构接口验证。
61
+
62
+ - 安全模型包与原始实现的应力最大差:`2.68e-7 Pa`;
63
+ - 121步终态PEEQ差:0;
64
+ - 串行与双进程塑性杆:均4/4增量收敛;
65
+ - 串行与双进程最大应力差:`5.96e-8 Pa`;
66
+ - 塑性点自动微分切线相对有限差分差异:约0.05%–0.80%。
67
+
68
+ 切线差异作为当前公开能力边界保留。它没有改变数据、权重或材料点应力精度,但
69
+ 限制了“严格一致算法切线”的表述。完整证据见
70
+ `artifacts/t2_denim_agentfem_v1/runtime_validation.json`。
71
+
72
  模型与完整机器指标见`artifacts/t2_denim_boundary_v1/model_metrics.json`,对比图见
73
  `artifacts/t2_denim_boundary_v1/boundary_model_comparison.png`。
docs/T2_DATA_MODEL_HANDOFF.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AgentFEM material-memory data and DENIM model handoff
2
+
3
+ ## Public products
4
+
5
+ - Dataset: `HaomingLuo/AgentFEM-Material-Loading-Memory`
6
+ - Model: `HaomingLuo/AgentFEM-DENIM`
7
+
8
+ The dataset contains 2,660 complete material histories. A sample is always one
9
+ ordered trajectory; time points are not counted as independent samples.
10
+
11
+ | Release | Trajectories | Primary use |
12
+ |---|---:|---|
13
+ | T2 loading-memory v1 | 1,008 | loading-history baseline and proportional cyclic response |
14
+ | T2 multiaxial OOD v2 | 1,024 | ID, unseen-path and parameter-OOD comparison |
15
+ | DENIM closure v1 | 128 | incomplete internal-state closure |
16
+ | DENIM boundary v1 | 500 | path, amplitude, long-history and resolution boundaries |
17
+
18
+ These releases form one evidence chain and retain separate protocols. Pooling
19
+ all 2,660 trajectories as exchangeable supervised samples would introduce
20
+ conflicting constitutive targets and invalidate the frozen tests.
21
+
22
+ ## Model product
23
+
24
+ The recommended checkpoint is `denim-expanded`, version `1.1.0`. It has 918
25
+ trainable parameters and retains a small-strain J2 skeleton with two learned
26
+ memory channels. The reference material uses three memory channels and hidden
27
+ tabulated hardening, so the task measures closure under incomplete material
28
+ state and evolution knowledge.
29
+
30
+ Published stress RMSE values are:
31
+
32
+ | Evaluation | DENIM expanded | Incomplete J2 | GRU |
33
+ |---|---:|---:|---:|
34
+ | Frozen held-out paths | 0.714 MPa | 59.541 MPa | 98.260 MPa |
35
+ | New path OOD | 0.743 MPa | 58.177 MPa | 96.959 MPa |
36
+ | Amplitude OOD | 2.294 MPa | 69.315 MPa | 95.896 MPa |
37
+ | Long history | 10.906 MPa | 54.394 MPa | 90.757 MPa |
38
+
39
+ Long-history state drift is the clearest current boundary. It should remain in
40
+ future comparisons rather than being replaced by additional ordinary-path
41
+ tests.
42
+
43
+ ## Runtime package
44
+
45
+ The model repository includes an `agentfem_bundle/` directory containing:
46
+
47
+ - `model.json`: immutable architecture, state, parameter and applicability contract;
48
+ - `weights.safetensors`: runtime weights without pickle deserialization;
49
+ - `SHA256SUMS`: authenticated bundle files;
50
+ - `README.md`: offline-use notes.
51
+
52
+ The bundle is tied to exact dataset and source-model revisions. AgentFEM owns
53
+ the global Newton process, material-state commit/rollback, checkpointing and
54
+ result evidence; AgentFEM-learning owns the PyTorch provider and DENIM adapter.
55
+
56
+ ## Reproducible evidence
57
+
58
+ The current package has four evidence levels:
59
+
60
+ 1. dataset integrity and constitutive quality gates;
61
+ 2. material-point equivalence between legacy and safe bundles;
62
+ 3. path, amplitude, long-history and discretization boundary metrics;
63
+ 4. serial and two-rank AgentFEM implicit execution.
64
+
65
+ The plastic automatic-differentiation tangent is currently approximate to
66
+ about 0.05–0.80% against fixed-old-state finite differences over the audited
67
+ states. The demonstrated global cases converge, but an exact consistent
68
+ plastic tangent remains an open numerical improvement.
69
+
70
+ ## Material for a university research team
71
+
72
+ The public assets already provide the experimental matrix needed to organize
73
+ a computational study:
74
+
75
+ - fixed data splits and model identities;
76
+ - black-box, weak-physics, white-box and incomplete-physics comparisons;
77
+ - architecture and parameter-count evidence;
78
+ - OOD and long-history capability boundaries;
79
+ - energy, yield, incompressibility and state diagnostics;
80
+ - finite-element deployment evidence and a documented tangent limitation;
81
+ - complete generation, training and validation code.
82
+
83
+ The main method proposition available for further theoretical analysis is:
84
+
85
+ > Learn a transferable, incrementally integrable material-memory closure when
86
+ > the evolution law and internal-state description are incomplete.
87
+
88
+ Further academic work may analyze identifiability, reduced supervision,
89
+ implicit differentiation, error propagation and constitutive stability. The
90
+ published claims remain limited to the synthetic fixed-material protocols and
91
+ the verified software/runtime versions recorded above.