betaFeedback

WorksComputer Science

A Metamaterial Agentic Swarm: Coordinated Search for Discrete Mechanical Design

Abstract

Designing discrete metamaterial assemblies is challenging because local unit-cell choices collectively determine the global elastic response. We present Metamaterial Agentic Swarm, an island-based portfolio of forty specialized numerical search agents for unit-cell selection in a pixel-resolved mechanical cloak. Five cooperating islands each contain eight agents responsible for global sampling, spatial proposals, mutation, learning, recombination, diversity, neighborhood exploration, and polishing. Islands maintain separate parents while exchanging evaluated assignments through an elite archive and recombination. The objective is the relative exterior displacement mismatch on a supplied observation mask. Candidate designs are scored by the mismatch in exterior displacement, computed with a symmetry-reduced finite-element model at full pixel resolution. Starting from random assignments within the supplied candidate libraries, the swarm achieves final displacement losses of 0.100590, 0.139274, and 0.135858 at a retrospectively selected reporting endpoint of 961 charged queries per run. Seed 0 achieved the lowest swarm loss, L=0.100590, which is 8.72% below the comparison threshold of 0.1102; the other two runs did not reach this threshold. While they do not establish comparative efficiency or causal benefits from coordination, the results represent a first step towards using agentic swarms for large discrete assembly problems.

Introduction

Heterogeneous metamaterials realize structural functions by arranging geometrically distinct unit cells. One application is aperiodic mechanical cloaking, in which unit cells are arranged to suppress the displacement disturbance caused by an internal inclusion [1]. The assembly is a global mechanical problem: a locally plausible cell assignment need not preserve the displacement field of the complete structure. Consequently, locally suitable unit cells may produce poor performance when assembled.

A common approach is library-based design, which separates the generation or representation of unit-cell geometries from the selection of their spatial arrangement. Shape descriptors and generative representations have been used to organize mechanical design spaces [2, 3], while diversity-aware dataset selection addresses the coverage of geometry and property spaces [4]. Compatible microstructure realization is also central to elastic textures and printable material design [5, 6].

These contributions motivate the categorical assembly setting; the present work retains the supplied candidate sets rather than generating a new library or reproducing an upstream generative pipeline.

Because evaluating the assembled response is computationally expensive, the search must balance exploration and local refinement. Clockwork combines eight proposal specialties within each of five islands, with separate island parents and a shared archive of evaluated designs. Algorithm portfolios provide a general rationale for combining complementary strategies [7]; they do not guarantee that a larger operator population is more efficient for a particular physical objective. Here, an agent is a stateful numerical proposal operator. No language-model decisions enter the recorded search loop.

The framework divides search responsibilities across specialized agents while retaining five distinct parent trajectories for the globally coupled assembly. We evaluate proposed assemblies at full pixel resolution and verify the retained endpoints using fresh equilibrium solves through three random-start runs at an exact reporting budget. Geometry certification, strict endpoint solves, and displacement and stress recovery support the retained designs. Figure 2 details the information paths. The evidence establishes feasibility and numerical consistency on the cloaking case; it does not establish comparative efficiency or isolate the effects of communication.

Figure 2. Implementation of the swarm. (a) Eight icon-coded proposal roles share an island parent and score, with a separate random stream per agent. This template is repeated in five islands. (b) Archive reads (teal) and cross-island parent reads (orange) provide distinct information channels. (c) A serial scheduler generates, resolves, and retains proposals. Role mechanisms and retention rules are specified in the text and Table 1; global best retention is separate from exploratory parent acceptance.

Related work and design foundations

Mechanical architecture and inverse design

Mechanical metamaterials use architecture to control effective properties and structural response [8]. Homogenization-based topology optimization [9] and inverse homogenization [10] established systematic routes from target behavior to material layout or unit-cell topology. Combinatorial assembly adds a different design question: how should discrete building blocks be arranged to realize a compatible collective response? Textured mechanical metamaterials demonstrate the importance of this assembly logic [11]. Clockwork addresses a restricted version of that question, selecting among supplied cell candidates while resolving their assembled pixel geometry.

Mechanical cloaking has been demonstrated through pentamode architectures [12] and direct lattice transformations [13]. The data-driven aperiodic cloak of Wang et al. [1] provides the immediate mechanical setting for the present supplied-library study. Bayesian learning also offers a route to efficient metamaterial exploration [14]. These precedents motivate the application but do not provide performance baselines here: their design spaces, constitutive assumptions, and evaluation protocols differ. The present evidence concerns three searches in one fixed categorical assembly problem.

Roles, shared knowledge, and numerical agency

Classical agent research distinguishes the capabilities of an autonomous component from the organization of cooperating components [15]. Role-oriented methodologies such as Gaia make responsibilities and interactions explicit [16]; blackboard systems coordinate specialized knowledge sources through shared problem-solving state [17]. These are useful architectural precedents for the role map and elite archive in Clockwork. Their connection is at the level of modular responsibilities and shared evidence, rather than an implementation of Gaia’s formal models or a general-purpose blackboard reasoning system.

The eight roles are knowledge-informed: they encode designer-chosen priors about exploration, spatial correlation, transfer, and local refinement. They do not consult a symbolic knowledge base, infer constitutive laws, or reason in natural language. Each candidate is evaluated by solving the finite-element equilibrium equations, after which the optimizer applies its acceptance rule to the resulting loss. Agent identity specifies persistent state and a proposal responsibility, while the common scheduler determines when that policy acts. Thus the architecture makes its design assumptions inspectable without attributing unimplemented cognitive capabilities to the agents.

Cooperative optimization and operator portfolios

Island-model evolutionary search motivates maintaining distinct trajectories that can exchange information [18]. Clockwork retains one parent per island, rather than a conventional evolving population within each island. Its combination of broad proposals and local polishing is related to memetic optimization [19]; its fixed repertoire is related to heuristic-selection frameworks [20] and algorithm portfolios [7]. The round-robin scheduler does not learn which operator to select, and the repertoire was not automatically configured. These references establish methodological lineage, not equivalence to those complete algorithms or evidence of improved efficiency.

The archive learner shares the distribution-estimation principle of population-based incremental learning [21], but estimates categorical marginals directly from the current elites. Changing perturbation scales and spatial neighborhoods is related to the neighborhood-diversification principle in variable neighborhood search [22], without implementing its canonical systematic descent and shaking scheme. The exponential uphill-acceptance rule follows the statistical-mechanical motivation of simulated annealing [23]; its fixed temperature is stated explicitly below. Together, these connections explain the human-designed search knowledge behind the agents. Their value for this mechanics problem must still be measured through controlled operator, archive, and scheduling ablations.

Design problem and physical evaluation

Categorical geometry and objective

The supplied structure comprises 30×3030 \times30 cells, each represented by 50×5050 \times50 pixels. The resulting full domain contains 1500×15001500 \times1500 bilinear quadrilateral elements. The design is parameterized by a 26×1326 \times13 half-domain label matrix with 168 active categorical entries. Each active entry selects one of 15 permitted candidates from the supplied per-cell library. Fixed and void regions follow the supplied indicator arrays; the half-domain construction is mirrored to obtain the full geometry. Thus, “random start” means a random assignment within an existing candidate library, not synthesis of new unit-cell shapes. Formally,

min⁡x∈{0,…,14}168L(x),L(x)=∥P[u(x)−uref]∥2∥Puref∥2.(1)\min_{\mathbf{x}\in\{0,\ldots,14\}^{168}} L(\mathbf{x}), \qquad L(\mathbf{x}) = \frac{\lVert P[\mathbf{u}(\mathbf{x})-\mathbf{u}^{\mathrm{ref}}]\rVert_2}{\lVert P\mathbf{u}^{\mathrm{ref}}\rVert_2}. \tag*{(1)}

Here PP selects displacement components using the supplied exterior observation mask, uref\mathbf{u}^{\mathrm{ref}} is the supplied reference displacement field without the void, and u\mathbf{u} is the computed displacement. All objective nodes must be incident to solid material. An unresolved solve is recorded as an unresolved query and cannot improve the incumbent; it is not assigned an artificial finite displacement loss.

Full-resolution equilibrium and void condensation

All evaluations use the original pixel resolution. The linear plane-stress model uses Poisson’s ratio ν=0.35\nu= 0.35. Opposed horizontal edge forces compress the domain; endpoint nodal loads receive half weights. Horizontal displacement is constrained on the vertical centerline, and vertical displacement at the left, center, and right midpoints. Symmetry reduces the full 4,506,002 displacement degrees of freedom to a half-domain system, after which void-only nodes are eliminated. The source centerline fixes horizontal displacement; midpoint vertical supports and the original loading are retained. Horizontal displacement is reconstructed antisymmetrically and vertical displacement symmetrically. The source element stiffness convention is Ke=E0h[Emin⁡+ρe(E0−Emin⁡)]Kˉe(ν)K_e = E_0h[E_{\min}+\rho_e(E_0-E_{\min})]\bar{K}_e(\nu), where ρe∈{0,1}\rho_e \in\{0,1\}, E0=7×106E_0 = 7 \times10^6, Emin⁡=10−9E_{\min} = 10^{-9}, and h=0.01h = 0.01. The load parameter is FA=3.125×108F_A = 3.125 \times10^8. The finite element simulation is solved by conjugate gradients with smoothed-aggregation algebraic multigrid, using SciPy and PyAMG [24, 25]. Search evaluations use residual tolerance 10−810^{-8} and can reuse solver state. A score is accepted only when the implemented true-residual convergence checks pass. Saved full-domain fields contain zero placeholders at eliminated void-only nodes; these values must not be interpreted as recovered void displacement.

Reference and endpoint verification

Every initial and endpoint design is independently assembled and solved at relative residual tolerance 10−1010^{-10}. Geometry checks certify supported rigid motions and positive definiteness of the source-Q4 solid system. When an edge-connectivity sufficient condition is inconclusive, the validator can use an exact rational coupled-body rigidity certificate; the criterion is not relaxed merely because a numerical solve converges. For the swarm endpoints reported here, strict residual and geometry certificates are available. A fresh loose-versus-strict repeat and finite-void perturbation diagnostic specifically for the best swarm design are not available in the retained record; no such diagnostic is attributed to it. The zero-void approximation therefore retains its stated scope and limitations.

Clockwork architecture and protocol

Figure 2 resolves the conceptual overview in Figure 1 into a representative island, its shared information channels, and the serial query cycle. The following subsections specify agent responsibilities, information exchange, scheduling, and retention.

Figure 1. Specialization, sharing, and refinement through physical feedback. Forty specialists form five cooperating islands, each with eight icon-coded roles around a parent design (center tile). Shared elite designs and losses support learning, recombination, and incumbent polishing. Physical evaluation returns displacement loss and feasibility feedback for retention and further proposals. Parent tiles and exchange paths are schematic; the assembly at right is the strictly validated seed-0 endpoint. Proposals and physical solves execute serially. Figure 2 details the implementation.

Division of concerns: agents within islands

Clockwork is a swarm of forty stateful numerical search agents organized into five cooperating islands (Figure 2). Each island contains eight operators with distinct proposal responsibilities. Each agent owns its random-number stream, proposal counter, and evaluation statistics. Eight agents within an island act on a common parent assignment and physical score, whereas the five islands retain separate parents. This organization separates proposal diversity, local state retention, and shared physical evidence. Here, autonomy means generating a candidate from a specified policy and state; it does not imply language-model reasoning, inter-agent dialogue, or a separate computing node.

For reproducible identification, agent A8(i−1)+rA_{8(i-1)+r} belongs to island IiI_i and role RrR_r, with i=1,…,5i = 1,\ldots,5 and r=1,…,8r = 1,\ldots,8. These manuscript identifiers are one-based; the event log uses zero-based agent indices 0–39. Thus I1I_1 comprises A1A_1–A8A_8, I2I_2 comprises A9A_9–A16A_{16}, and so forth. Table 1 specifies the responsibility of all forty agents through this repeated role map. A candidate always assigns all 168 active cells: agents do not own disjoint geometric subdomains or solve separate stress and displacement objectives.

Role and agentsSearch concern and inputResponsibility and proposal mechanism
R1R_1: Global scout<br>A1,9,17,25,33A_{1,9,17,25,33}Unbiased exploration; label alphabetIndependently samples every active cell uniformly from the 15 labels, allowing a proposal far from the current island parent.
R2R_2: Spatial organizer<br>A2,10,18,26,34A_{2,10,18,26,34}Spatial coherence; active-cell coordinatesTests homogeneous assignments first, covering all 15 labels across the islands’ first three specialty rounds. Subsequently cycles through Voronoi, stripe, and block patterns.
R3R_3: Mutation specialist<br>A3,11,19,27,35A_{3,11,19,27,35}Perturbation scale; island parentSelects a fraction from {1/n,0.03,0.1,0.3,0.7,1}\{1/n, 0.03, 0.1, 0.3, 0.7, 1\} and changes that many entries, with n=168n = 168 and rounding up. Every selected entry receives a different label.
R4R_4: Archive learner<br>A4,12,20,28,36A_{4,12,20,28,36}Reuse of good categorical choices; up to 24 elitesLearns per-cell label frequencies from resolved archived assignments, mixed with 35% uniform sampling. This is a categorical sampling model, not a displacement surrogate.
R5R_5: Recombiner<br>A5,13,21,29,37A_{5,13,21,29,37}Exchange of design content; island parents and archiveSelects a parent from the five islands, with a 50% chance of replacing that donor by an archive member. Uses a random 0.2–0.8 mixing probability and independently resamples each entry with probability 0.1.
R6R_6: Diversity restarter<br>A6,14,22,30,38A_{6,14,22,30,38}Escape from a parent trajectory; island parentDraws a new uniform assignment and retains each parent entry with probability 0.2. Worse resolved proposals can be accepted, preserving exploratory trajectories.
R7R_7: Neighborhood explorer<br>A7,15,23,31,39A_{7,15,23,31,39}Spatially localized collective changes; coordinates and parentChooses a random active-cell center and changes the nearest ⌈nα⌉\lceil n\alpha\rceil entries, with α∼U(0.1,0.8)\alpha\sim U(0.1,0.8). Temperature-based acceptance permits uphill parent moves.
R8R_8: Incumbent polisher<br>A8,16,24,32,40A_{8,16,24,32,40}Fine refinement; best archived assignmentChanges one entry of the global incumbent using an island-offset coordinate sequence and cyclic alternative labels. It can refine another island’s discovery through the shared archive.

Table 1. Agent responsibilities.

Table 1: Agent responsibilities. Each row is instantiated once in each of the five islands; listed agent identifiers therefore cover all forty agents. Descriptions apply to specialty actions; the interleaved local-polishing schedule is described below.

The seven broad specialties (R1R_1–R7R_7) each interleave one specialty proposal with two sparse local-polishing proposals that change one to three entries of their own island parent. The dedicated R8R_8 agents instead probe the global incumbent. Consequently, a declared specialty identifies the agent’s responsibility, but not every action it executes. The event record retains both fields. This distinction prevents an improvement made by a restarter’s local-polish action from being misreported as evidence that a broad restart was effective.

Responsibilities of individual agents

The role map in Table 1 specifies the implemented actions. The following explanations connect each duty to the search principles reviewed above. They describe design rationales, not measured causal contributions from role-ablation experiments.

R1R_{1}: Global scout—generate alternatives without parent bias. The scout samples the entire categorical assignment independently of the current island parent and shared archive, exploring regions of the design space that incremental refinement may not reach. Each evaluated candidate receives a physical score and may become a new island parent or enter the elite archive. Unlike the spatial organizer, the scout imposes no spatial pattern on its proposals.

R2R_{2}: Spatial organizer—propose coherent arrangements. The organizer uses active-cell coordinates to generate homogeneous, Voronoi, stripe, and block assignments. It introduces spatial correlation into the categorical search, rather than assuming independent cell choices are sufficient. The initial homogeneous tests span all fifteen labels across the five islands. Later patterned proposals can seed the same archive used by learners and recombiners. Spatial coherence is a proposal prior; it does not guarantee compatibility, connectivity, or a low physical loss.

R3R_{3}: Mutation specialist—bridge small and large changes. The mutation agent begins from its island parent and varies the fraction of altered entries. Its duty is to test whether improvement requires a small adjustment or a substantial rearrangement while preserving the remainder of an existing design. Selected entries receive different labels. Unlike the neighborhood explorer, selection need not be spatially contiguous. The resulting candidates connect local exploitation and broad exploration without changing the physical objective.

R4R_{4}: Archive learner—reuse successful categorical choices. The learner reads up to twenty-four elite assignments and estimates a label-frequency distribution separately at each active cell, following the distribution-estimation principle discussed in [21]. Its duty is to convert shared evaluated designs into a new sampling policy. Mixing empirical frequencies with uniform sampling keeps all labels accessible. Because this model uses marginal frequencies, it does not explicitly preserve correlations between cells or predict displacement. Its proposals therefore require the same geometry and equilibrium evaluation as all other candidates.

R5R_{5}: Recombiner—transfer design content between trajectories. The recombiner mixes its own island parent with a donor drawn from the island parents or the shared archive, then applies categorical resampling. Its duty is direct exchange of design content across search histories. This differs from the learner’s statistical reuse: recombination copies entries from complete assignments. The donor can be the same island, so not every recombination is a cross-island exchange. A combined assignment is evaluated afresh because good parent scores do not imply a good combined mechanical response.

R6R_6: Diversity restarter—renew a parent trajectory. The restarter generates a mostly new assignment while probabilistically retaining entries from its own parent. Its duty is to provide an escape mechanism when a parent trajectory becomes restrictive. The acceptance rule can retain a worse resolved parent, whereas the global archive protects the best known design. This architectural separation permits exploration without erasing the incumbent. The duty is to create opportunities for renewed search, not to guarantee or maximize a measured population-diversity metric.

R7R_7: Neighborhood explorer—change spatial groups together. The neighborhood explorer chooses an active-cell center and perturbs a group of nearby cells. It tests coordinated spatial changes that a one-cell update cannot represent. Unlike the spatial organizer, it preserves the parent outside the selected neighborhood; unlike unstructured mutation, it selects entries by spatial distance. Temperature-based acceptance permits uphill moves [23]. The name “annealed neighborhood” in the source denotes this acceptance mechanism; the implemented temperature is fixed from the initial loss rather than cooled over time.

R8R_8: Incumbent polisher—refine the shared best design. The polisher reads the global incumbent from the archive and probes one coordinate at a time using an island-offset sequence. It performs focused refinement of the swarm’s best available assignment, including one discovered by another island. This separation of broad variation and fine refinement follows the hybrid-search rationale of memetic methods [19]. The other seven roles also perform interleaved sparse local polishing, but those actions start from their own island parent. Thus local parent refinement and shared-incumbent refinement remain distinct.

What distinguishes the five islands

The five islands maintain separate search trajectories while sharing the same objective, geometry constraints, operator repertoire, and acceptance rules. At initialization they receive the same run-specific random assignment; independent agent random streams subsequently produce different proposals and parent histories. Deterministic island offsets also distinguish the initial homogeneous-label allocation and the dedicated polishing coordinate sequence. The homogeneous-label permutation is generated once per run, so this offset distributes the 15 homogeneous tests without assigning a permanently preferred label to an island.

Each island is responsible for retaining one exploratory parent while its eight agents explore and refine alternatives. Island I1I_1 owns A1A_1–A8A_8, I2I_2 owns A9A_9–A16A_{16}, I3I_3 owns A17A_{17}–A24A_{24}, I4I_4 owns A25A_{25}–A32A_{32}, and I5I_5 owns A33A_{33}–A40A_{40}. These identifiers are stable throughout a run; each island develops a distinct search history through its independent proposals and parent updates. Because equilibrium couples all cells, all islands address the complete assembly problem.

How the islands work together

Coordination occurs through explicit design-state exchange rather than all-to-all messaging. Within an island, an accepted candidate becomes the parent seen by its other seven agents on later turns. Across islands, three channels transfer information: (i) any resolved proposal can enter the shared elite archive, (ii) recombination can read another island parent or an archived assignment, and (iii) incumbent polishers start from the best archived design regardless of which island discovered it. Archive learners additionally convert elite assignments into per-cell categorical probabilities. Thus the swarm shares both complete designs and a statistical summary of successful design choices.

A typical cooperation cycle is as follows. A spatial organizer proposes a coherent assignment; the physical evaluator returns its displacement loss; a resolved good assignment enters the shared archive. An archive learner can subsequently reuse its label frequencies, a recombiner can mix its entries with another parent, and an incumbent polisher can refine the resulting best design one coordinate at a time. This describes an available information path, not a reconstructed causal history of a particular endpoint. The current event log records agent actions and losses, but not every donor-parent identity or archive-read lineage.

The shared archive does not force all island parents to become the same design. Parent acceptance is local to the selected island and may permit a worse parent for designated exploratory actions, while global best-design retention is separate. This separation allows an island to explore without discarding the swarm’s best known assignment. All agents receive physical objective feedback through the same evaluator; geometry certification, equilibrium solution, caching, and final strict validation are infrastructure services, not additional agents or island-specific responsibilities. No displacement surrogate, supplied optimized assignment, or target-based stopping rule guides proposals.

State, proposal scheduling, and retention

At step tt, island i∈{1,…,5}i \in\{1,\ldots,5\} holds a parent pi\mathbf{p}_i and score sis_i. Each of its eight operators has an independent random stream. A deterministic round-robin scheduler selects one of forty agents. The order is I1:R1,…,R8I_1 : R_1,\ldots,R_8, then I2:R1,…,R8I_2 : R_1,\ldots,R_8, through I5:R8I_5 : R_8, repeated thereafter. Repeated within-run assignments are skipped without advancing the agent turn, although their proposal attempts advance that agent’s proposal counter. A charged distinct assignment advances the turn. For the seven broad specialties, one specialty proposal alternates with two sparse local-polish proposals; the dedicated polishing specialty follows its own one-coordinate sequence. This schedule is independent of the final budget.

The archive stores at most 64 resolved queried assignments, sorted by loss. Categorical learning uses up to 24 elites: for cell jj and label kk, its sampling distribution is

qjk=0.651m∑ℓ=1m1[xj(ℓ)=k]+0.3515,m≤24.(2)q_{jk}=0.65\frac{1}{m}\sum_{\ell=1}^{m}\mathbf{1}[x_j^{(\ell)}=k]+\frac{0.35}{15},\qquad m\leq24. \tag*{(2)}

The first resolved agent proposal for each island initializes its parent even when worse than the shared initial assignment. Subsequently, a resolved improving proposal replaces its island parent. Selected exploratory roles may accept a worse parent: uniform sampling and diversity reset use probability 0.35, whereas correlated fields, recombination, and annealed neighborhoods use exp⁡[min⁡(0,(si−L)/T)]\exp[\min(0,(s_i-L)/T)], with T=max⁡(10−8,0.15∣L0∣)T=\max(10^{-8},0.15|L_0|). These choices preserve distinct parent trajectories. The reported global incumbent is the resolved assignment with the lowest displacement loss, so its loss remains nonincreasing throughout the search. Unresolved proposals cannot enter the elite archive or replace an island parent. The frozen source defines the complete proposal distributions and duplicate handling; the present equations describe the implemented mechanisms rather than a convergence guarantee.

Random starts and query accounting

Seeds 0, 1, and 2 define three random geometry-certified starting assignments. Initialization does not screen physical loss. Each run maintains its own optimizer state, and no supplied optimized assignment guides proposals. The budget includes the starting design and every distinct attempted assignment. Shared-cache hits and unresolved outcomes consume charged queries; repeated within-run assignments are skipped. The physical cache was maintained by the broader recorded campaign, so cache hits are charged even when the underlying solve was already available. This reporting subset is not a newly executed isolated-cache experiment. Physical evaluations execute serially. Forty logical agents therefore do not imply forty concurrent solves or a measured wall-clock speedup.

Retrospective endpoint recovery

The original campaign progressed through 301 and 601 queries and was extended toward 1,201. The investigator selected 961 after observing progress. The incumbent is reconstructed exclusively from events 1–961 of each swarm run, with label hashes and the original 301- and 601-event prefix hashes checked against preserved manifests. Later events cannot affect the reported designs. This recovery requires no new optimization. The 961-query endpoint was selected retrospectively from a longer campaign and is reported as an exploratory result.

The three swarm runs account for 3×961=2,8833 \times961 = 2{,}883 charged queries, including 1,080 after their 601-query checkpoints. Counts here refer only to the swarm subset of the archived campaign.

Field reconstruction and post-processing

The retained endpoint labels define fixed geometries for three additional strict equilibrium solves, outside the optimization budgets. Their losses are compared with the archived strict results before post-processing. The full nodal displacement is reconstructed using antisymmetric horizontal and symmetric vertical reflection. A Q4 interpolation gives the element-center displacement

uec=∑a=14Na(0,0)ua=14∑a=14ua,∣uec∣=(ux,ec)2+(uy,ec)2.(3)\mathbf{u}^{c}_{e} = \sum_{a=1}^{4} N_{a}(0,0)\mathbf{u}_{a} = \frac{1}{4}\sum_{a=1}^{4}\mathbf{u}_{a}, \qquad\lvert\mathbf{u}^{c}_{e}\rvert= \sqrt{(u^{c}_{x,e})^{2} + (u^{c}_{y,e})^{2}}. \tag*{(3)}

Nodal values at eliminated void-only degrees of freedom are zero placeholders, not recovered void displacements. All displayed displacement and stress fields therefore mask void elements. Displacements retain the original model units, without a conversion to millimeters.

For a solid element, the normalized stress vector is obtained from

σ~e=D(ν)Be(0,0)uet0,t0=FA1500E02h,D(ν)=11−ν2[1ν0ν1000(1−ν)/2].(4)\widetilde{\boldsymbol{\sigma}}_{e} = \frac{D(\nu)B_{e}(0,0)\mathbf{u}_{e}}{t_{0}}, \qquad t_{0} = \frac{F_{A}}{1500E_{0}^{2}h}, \qquad D(\nu) = \frac{1}{1-\nu^{2}} \begin{bmatrix} 1 & \nu& 0 \\ \nu& 1 & 0 \\ 0 & 0 & (1-\nu)/2 \end{bmatrix}. \tag*{(4)}

Unit pixel length and the original Q4 node ordering are retained in BeB_{e}. This normalization is the ratio to applied nominal traction under the same legacy scaling. Physical xx points right and yy points up, whereas stored image rows increase downward. Negative normal stress denotes compression.

The equivalent and in-plane principal stresses are

σ~vm=σ~xx2−σ~xxσ~yy+σ~yy2+3τ~xy2.(5)\widetilde{\sigma}_{\mathrm{vm}} = \sqrt{\widetilde{\sigma}_{xx}^{2} - \widetilde{\sigma}_{xx}\widetilde{\sigma}_{yy} + \widetilde{\sigma}_{yy}^{2} + 3\widetilde{\tau}_{xy}^{2}}. \tag*{(5)}
σ~1,2=12(σ~xx+σ~yy)±14(σ~xx−σ~yy)2+τ~xy2.(6)\widetilde{\sigma}_{1,2} = \frac{1}{2}\left(\widetilde{\sigma}_{xx} + \widetilde{\sigma}_{yy}\right) \pm\sqrt{\frac{1}{4}\left(\widetilde{\sigma}_{xx} - \widetilde{\sigma}_{yy}\right)^{2} + \widetilde{\tau}_{xy}^{2}}. \tag*{(6)}

The out-of-plane normal and transverse shear stresses vanish in the plane-stress model. The two displayed principal values are the in-plane eigenvalues, not an ordering of all three principal stresses in three dimensions. Center stress equals the average of the four Gauss-point stress vectors for this constant-material element; center von Mises stress is not the average of Gauss-point von Mises values. These numerical verification checks establish consistency within the discrete model but do not demonstrate continuum convergence or physical calibration.

Results

Independent endpoint validation

Table 2 reports strict displacement losses for the three swarm runs. The arithmetic endpoint mean is 0.125240554 and the sample standard deviation is 0.021416579. These statistics summarize three independent search runs on a single design problem and do not establish performance consistency across different problem configurations.

SeedRandom-start loss961-query loss
00.6491746850.100589562
10.4358138670.139273770
20.3831278870.135858330
Mean0.4893721470.125240554

Table 2. Swarm displacement losses from fresh 10−1010^{-10} solves. Initial and final assignments pass their geometry and residual checks.

The best design is swarm seed 0, with strict loss Lmin⁡=0.100589561695L_{\min} = 0.100589561695. Relative to the comparison threshold τ=0.1102\tau= 0.1102, its absolute margin below threshold is 0.009610438305, its ratio Lmin⁡/τL_{\min}/\tau is 0.9127909410, and its loss is 8.72% below threshold. Only seed 0 reaches the threshold; it is a comparison value rather than an optimality certificate. Figure 3 shows all three recovered endpoint geometries.

Figure 3. Recovered swarm geometries at exactly 961 queries: (a) seed 0, (b) seed 1, and (c) seed 2. Black represents solid pixels and white void. Images use the verified full-resolution label assemblies, rather than generated illustrations. Labels beneath each panel give strict displacement loss.

Search trajectories and budget dependence

Figure 4(a) reports the three search histories at 10−810^{-8} tolerance; panel (b) uses independent strict start and endpoint losses. The mean strict loss decreases from 0.162784021 at 601 queries to 0.125240554 at 961, a 23.06% reduction. At search tolerance, the arithmetic means are 0.224935, 0.162784, 0.138348, and 0.132173 at 301, 601, 841, and 901 queries, respectively. Seed 0 first records a threshold-reaching incumbent at query 832. That first-crossing assignment was not separately strict-validated; the reported strict result belongs to its 961-query incumbent.

Figure 4. Swarm performance. (a) Incumbent search-tolerance loss over the first 961 charged queries, with color and line style identifying seed. (b) Independent strict losses of each random start and final assignment. The dotted line marks 0.1102. No later queries contribute, and no confidence interval is inferred from three seeds.

Accounting and numerical consistency

The swarm subset contains 205 unresolved events and 32 cache-hit events among its 2,883 charged queries. These classifications can overlap. Per-seed unresolved counts are 74, 78, and 53; cache-hit counts are 6, 13, and 13. Duplicate-proposal counts were unavailable at the 961-query cutoff, and optimizer wall time at exactly query 961 cannot be reconstructed from the event record.

All three swarm endpoints and their three starts pass independent strict solves. Endpoint true relative residuals are 9.48×10−119.48 \times10^{-11}, 8.89×10−118.89 \times10^{-11}, and 7.86×10−117.86 \times10^{-11}. The maximum absolute search-to-strict loss shift among the swarm endpoints is 1.63×10−111.63 \times10^{-11}. This compares the recorded search loss with a fresh strict solve; it is not an additional fresh loose/strict experiment. Exact coupled-body rigidity certificates support seeds 0 and 1 when the simpler edge-connectivity gate is inconclusive; seed 2 passes the sufficient edge-connectivity certificate. These certify the constrained source-discrete solid system, not manufacturability or finite-void approximation error.

Independent field reconstruction and verification

The additional field-recovery solves reproduce all three archived strict losses exactly at the recorded precision. Their relative residuals remain below 10−1010^{-10}, and their label hashes match the frozen endpoint records. Table 3 separates algebraic convergence, geometry certification, and post-processing checks.

CheckRecorded evidence
Endpoint residuals, seeds 0–2(9.48,8.89,7.86)×10−11(9.48, 8.89, 7.86) \times10^{-11}
Independent field-solve loss differencesZero at recorded double precision
Search-to-strict loss shift, maximum1.63×10−111.63 \times10^{-11}
Q4 stiffness quadrature, maximum entry difference1.11×10−161.11 \times10^{-16}
Affine stress patch, maximum discrepancy2.17×10−192.17 \times10^{-19}
Source-discrete rigidityExact coupled-body checks for seeds 0–1; sufficient edge-connectivity check for seed 2

Table 3. Scope of numerical verification for the fixed swarm endpoints and stress-recovery implementation.

Displacement fields

Figure 5 displays horizontal and vertical displacement and their magnitude on the solid geometry. The horizontal field follows the opposed compressive loading; the vertical field reflects the centerline and midpoint constraints together with the heterogeneous assembly. Their visual similarity across seeds is consistent with a common loading and fixed exterior microstructure, but visual similarity is not the optimized norm. Equation (1) uses only the prescribed exterior observation coordinates, whereas the maps show the entire solid region.

Figure 5. Displacements of the three fixed 961-query swarm endpoints. Columns correspond to seeds 0, 1, and 2; rows show uxu_x, uyu_y, and ∣u∣|\mathbf{u}|. Values are solid-element center interpolations of freshly recovered strict nodal fields. Void elements are masked.

Maximum solid element-center displacement magnitudes are 0.013326, 0.013285, and 0.013348 in the source model units. Similar full-domain maxima accompany substantially different exterior losses. Consequently, maximum displacement is not a surrogate for cloak quality, and the smallest

exterior norm error does not imply the smallest maximum displacement. The global magnitude field and the objective measure different aspects of the mechanical response.

Stress components and local load transfer

Figure 6 resolves the two normal stresses and in-plane shear stress. Stronger horizontal compression occurs in bands above and below the cavity, while transverse and shear components redistribute around the cavity and heterogeneous cell connections.

Figure 6. Normalized solid-element center stress components of the three fixed swarm endpoints. Columns identify seeds 0–2 and rows show σxx\sigma_{xx}, σyy\sigma_{yy}, and τxy\tau_{xy} divided by nominal traction. Compression is negative. Each row has a common symmetric display scale; colorbar extensions indicate saturated tails. Void elements are masked.

Figure 7 reports von Mises and in-plane principal stresses. The 99.5th percentiles of solid-element von Mises stress, normalized by nominal traction, are 14.277, 14.728, and 14.588 for seeds 0–2. The corresponding unclipped maxima are approximately 106.663 in all three cases. This large separation between bulk upper-tail values and extrema makes peak-based conclusions particularly sensitive to pixel corners, thin connections, and constrained or loaded nodes.

Figure 7. Equivalent and principal stresses for the same fixed designs. Rows show normalized von Mises stress and the maximum and minimum in-plane principal stresses. The out-of-plane principal value is zero in this plane-stress model. Scales are shared across seeds separately for each row; percentile display clipping and void masking follow Figure 6. Unclipped arrays and extrema are retained for quantitative use.

Stress display limits use a common pooled absolute 99.5th percentile for each component, estimated from deterministic every-fourth solid-element samples. Both tails of signed fields are saturated beyond the shared limits; von Mises is clipped only above its positive limit. Exact per-case distributions and unclipped values are preserved in the numerical field files. The percentile values reported in the text use all solid elements and are distinct from the pooled display limits.

Observed participation of the cooperating islands

At the 961-query endpoint, each run contains one initial evaluation and 960 agent evaluations. Every agent therefore contributes exactly 24 charged distinct proposals, and every island contributes 192, irrespective of its achieved loss. Table 4 reports the number of improvements in the best-so-far displacement loss attributed to proposals from each island. All five islands contribute such improvements in each run; the relative contributions differ across starts. These counts use recorded search evaluations; intermediate improvements were not individually recomputed at the stricter tolerance.

IslandAgent identifiersSeed 0Seed 1Seed 2
I1I_1A1A_1–A8A_8143211
I2I_2A9A_9–A16A_{16}23217
I3I_3A17A_{17}–A24A_{24}111919
I4I_4A25A_{25}–A32A_{32}23828
I5I_5A33A_{33}–A40A_{40}221223

Table 4. Realized island participation at 961 queries. Each island has the same eight-role team and receives 192 charged proposals per seed. Entries count global-incumbent improvements attributed to that island, excluding initialization.

The final retained search design in seed 0 is proposed at query 961 by A40A_{40} in I5I_5, acting as the incumbent polisher. In seed 1, A38A_{38} in I5I_5 proposes the final retained design at query 959 while performing interleaved island-local polishing, despite its declared diversity-reset specialty. In seed 2, A24A_{24} in I3I_3 proposes the retained design at query 945 as an incumbent polisher. These observations illustrate why agent identity, declared responsibility, and executed action must be distinguished. They do not show that the final proposing agent independently created the design: its input state can incorporate earlier work shared through the archive and island parents.

An improvement count is not an efficiency ranking. A broad proposal can supply useful diversity without immediately setting a record, while a polishing proposal can exploit a discovery made

elsewhere. Counts depend on sequential ordering, shared state, and the common starting design. The present logs do not isolate counterfactual performance with an island or communication channel removed; controlled ablations remain necessary to quantify the value of cooperation.

Discussion

What the portfolio demonstrates

Clockwork finds a strictly verified sub-threshold displacement design from a random assignment within the supplied candidate sets. Its continued mean improvement between 601 and 961 queries shows that the recorded search had not exhausted its useful refinement at the earlier checkpoint. Separate island parents and shared elite information permit different trajectories, while the global archive protects the best queried design from exploratory parent updates.

This is evidence of feasibility on one demanding discrete assembly problem, not an attribution of gain to agent count or communication. No role ablation, communication ablation, agent-count sweep, or controlled baseline is included in this swarm-only manuscript. Accepted proposals are conditioned on the evolving archive and are not independent treatment effects. Comparative efficiency, robustness across problems, and parallel speedup therefore remain untested.

Mechanical interpretation of the recovered fields

The field plots add physical interpretation to a scalar search record. Displacement maps show that comparable full-domain response amplitudes can coexist with different masked exterior errors. Stress maps identify localized load-transfer bands and strong upper tails that are not controlled by a displacement-only objective. The best displacement design should consequently not be described as a stress-optimal, strength-optimal, or failure-resistant cloak.

Implications for further method development

A substantive next test would prescribe additional random starts and multiple load or cavity configurations before observing their outcomes, retaining the same accounting and validation rules. Operator and archive ablations would isolate which mechanisms justify the portfolio’s complexity. Finite-contrast and resolution studies are needed before transferring local field conclusions to a physical continuum or manufacturing process.

Limitations and reproducibility

The evidence covers one geometry, one loading/observation configuration, three starts, and one portfolio configuration. Selecting the endpoint after observing progress adds selection risk. Geometry-conditioned initialization, shared caching, and unresolved-query accounting are part of the recorded protocol. A supplied unit-cell library and reference field remain essential inputs even though no supplied optimized assignment guides search.

Conclusion

Clockwork’s forty numerical specialists, organized into five communicating islands, produce strict endpoint losses of 0.100590, 0.139274, and 0.135858 after exactly 961 charged queries from three random starts. The best loss is 8.72% below 0.1102, and the mean decreases by 23.06% from the validated 601-query checkpoint. Independent strict solves and source-discrete rigidity checks support the reported physical evaluations. Fresh field reconstruction reproduces the saved losses, while stiffness quadrature and affine patch checks verify stress recovery. The displacement and stress maps expose distinct response measures and localized stress concentrations that a displacement objective alone does not constrain. Broader benchmarks, controlled ablations, and finite-contrast and mesh studies are needed before comparative efficiency or physical robustness can be established.

Statements and declarations

Data and code availability. The current manuscript, editable source, plotting scripts, recovered endpoint labels, recorded validation, and frozen optimizer/solver sources are available at https://github.com/BaratiLab/Metamaterial-Swarm, with SHA-256 integrity manifests and a read-only record-verification script. Original input libraries, observation masks, reference fields, and full raw nodal-field caches are not redistributed. The study guide states these reproduction requirements. A versioned archival DOI and input redistribution permissions remain to be finalized by the authors.

Artificial-intelligence assistance. A language-model assistant supported implementation, figure preparation, analysis, and manuscript drafting. The forty search agents studied here are numerical operators, not language models. The authors are responsible for verifying the scientific content.

Acknowledgments. The authors thank Dr. Liwei Wang for providing the dataset and simulation code and for discussions.

References

  1. [1]L. Wang, J. Boddapati, K. Liu, P. Zhu, C. Daraio, and W. Chen, “Mechanical cloak via data-driven aperiodic metamaterial design,” Proceedings of the National Academy of Sciences, vol. 119, no. 13, e2122185119, 2022. doi:10.1073/pnas.2122185119.DOI
  2. [2]L. Wang, Y.-C. Chan, Z. Liu, P. Zhu, and W. Chen, “Data-driven metamaterial design with Laplace–Beltrami spectrum as shape-DNA,” Structural and Multidisciplinary Optimization, vol. 61, pp. 2613–2628, 2020. doi:10.1007/s00158-020-02523-5.DOI
  3. [3]L. Wang, Y.-C. Chan, F. Ahmed, Z. Liu, P. Zhu, and W. Chen, “Deep generative modeling for mechanistic-based learning and design of metamaterial systems,” Computer Methods in Applied Mechanics and Engineering, vol. 372, 113377, 2020. doi:10.1016/j.cma.2020.113377.DOI
  4. [4]Y.-C. Chan, F. Ahmed, L. Wang, and W. Chen, “METASET: Exploring shape and property spaces for data-driven metamaterials design,” Journal of Mechanical Design, vol. 143, no. 3, 031707, 2021. doi:10.1115/1.4048629.DOI
  5. [5]J. Panetta, Q. Zhou, L. Malomo, N. Pietroni, P. Cignoni, and D. Zorin, “Elastic textures for additive fabrication,” ACM Transactions on Graphics, vol. 34, no. 4, 135, 2015. doi:10.1145/2766937.DOI
  6. [6]C. Schumacher, B. Bickel, J. Rys, S. Marschner, C. Daraio, and M. Gross, “Microstructures to control elasticity in 3D printing,” ACM Transactions on Graphics, vol. 34, no. 4, 136, 2015. doi:10.1145/2766926.DOI
  7. [7]L. Xu, H. H. Hoos, and K. Leyton-Brown, “Hydra: Automatically configuring algorithms for portfolio-based selection,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 24, no. 1, pp. 210–216, 2010. doi:10.1609/aaai.v24i1.7565.DOI
  8. [8]K. Bertoldi, V. Vitelli, J. Christensen, and M. van Hecke, “Flexible mechanical metamaterials,” Nature Reviews Materials, vol. 2, 17066, 2017. doi:10.1038/natrevmat.2017.66.DOI
  9. [9]M. P. Bendsøe and N. Kikuchi, “Generating optimal topologies in structural design using a homogenization method,” Computer Methods in Applied Mechanics and Engineering, vol. 71, no. 2, pp. 197–224, 1988. doi:10.1016/0045-7825(88)90086-2.
  10. [10]O. Sigmund, “Materials with prescribed constitutive parameters: An inverse homogenization problem,” International Journal of Solids and Structures, vol. 31, no. 17, pp. 2313–2329, 1994. doi:10.1016/0020-7683(94)90154-6.DOI
  11. [11]C. Coulais, E. Teomy, K. de Reus, Y. Shokef, and M. van Hecke, “Combinatorial design of textured mechanical metamaterials,” Nature, vol. 535, pp. 529–532, 2016. doi:10.1038/nature18960.
  12. [12]T. Bückmann, M. Thiel, M. Kadic, R. Schittny, and M. Wegener, “An elasto-mechanical unfelability cloak made of pentamode metamaterials,” Nature Communications, vol. 5, 4130, 2014. doi:10.1038/ncomms5130.DOI
  13. [13]T. Bückmann, M. Kadic, R. Schittny, and M. Wegener, “Mechanical cloak design by direct lattice transformation,” Proceedings of the National Academy of Sciences, vol. 112, no. 16, pp. 4930–4934, 2015. doi:10.1073/pnas.1501240112.DOI
  14. [14]M. A. Bessa, P. Glowacki, and M. Houlder, “Bayesian machine learning in metamaterial design: Fragile becomes supercompressible,” Advanced Materials, vol. 31, no. 48, 1904845, 2019. doi:10.1002/adma.201904845.DOI
  15. [15]M. Wooldridge and N. R. Jennings, “Intelligent agents: Theory and practice,” The Knowledge Engineering Review, vol. 10, no. 2, pp. 115–152, 1995. doi:10.1017/S0269888900008122.DOI
  16. [16]M. Wooldridge, N. R. Jennings, and D. Kinny, “The Gaia methodology for agent-oriented analysis and design,” Autonomous Agents and Multi-Agent Systems, vol. 3, pp. 285–312, 2000. doi:10.1023/A:1010071910869.DOI
  17. [17]D. D. Corkill, “Blackboard systems,” AI Expert, vol. 6, no. 9, pp. 40–47, 1991. Author’s unabridged article.
  18. [18]D. Whitley, S. Rana, and R. B. Heckendorn, “The island model genetic algorithm: On separability, population size and convergence,” Journal of Computing and Information Technology, vol. 7, no. 1, pp. 33–47, 1999. https://hrcak.srce.hr/150198.
  19. [19]N. Krasnogor and J. Smith, “A tutorial for competent memetic algorithms: Model, taxonomy, and design issues,” IEEE Transactions on Evolutionary Computation, vol. 9, no. 5, pp. 474–488, 2005. doi:10.1109/TEVC.2005.850260.DOI
  20. [20]E. K. Burke, M. Gendreau, M. Hyde, G. Kendall, G. Ochoa, E. Özcan, and R. Qu, “Hyper-heuristics: A survey of the state of the art,” Journal of the Operational Research Society, vol. 64, no. 12, pp. 1695–1724, 2013. doi:10.1057/jors.2013.71.DOI
  21. [21]S. Baluja, “Population-based incremental learning: A method for integrating genetic search based function optimization and competitive learning,” Technical Report CMU-CS-94-163, Carnegie Mellon University, 1994. Institutional publication record.
  22. [22]N. Mladenović and P. Hansen, “Variable neighborhood search,” Computers & Operations Research, vol. 24, no. 11, pp. 1097–1100, 1997. doi:10.1016/S0305-0548(97)00031-2.DOI
  23. [23]S. Kirkpatrick, C. D. Gelatt, Jr., and M. P. Vecchi, “Optimization by simulated annealing,” Science, vol. 220, no. 4598, pp. 671–680, 1983. doi:10.1126/science.220.4598.671.DOI
  24. [24]P. Virtanen et al., “SciPy 1.0: fundamental algorithms for scientific computing in Python,” Nature Methods, vol. 17, pp. 261–272, 2020. doi:10.1038/s41592-019-0686-2.DOI
  25. [25]N. Bell, L. N. Olson, J. Schroder, and B. Southworth, “PyAMG: Algebraic Multigrid Solvers in Python,” Journal of Open Source Software, vol. 8, no. 87, p. 5495, 2023. doi:10.21105/joss.05495.DOI

Paper details

vlnc:W_zhnumurd
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents