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 cells, each represented by pixels. The resulting full domain contains bilinear quadrilateral elements. The design is parameterized by a 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,
Here selects displacement components using the supplied exterior observation mask, is the supplied reference displacement field without the void, and 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 . 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 , where , , , and . The load parameter is . 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 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 . 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 belongs to island and role , with and . These manuscript identifiers are one-based; the event log uses zero-based agent indices 0–39. Thus comprises –, comprises –, 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 agents | Search concern and input | Responsibility and proposal mechanism |
| : Global scout<br> | Unbiased exploration; label alphabet | Independently samples every active cell uniformly from the 15 labels, allowing a proposal far from the current island parent. |
| : Spatial organizer<br> | Spatial coherence; active-cell coordinates | Tests homogeneous assignments first, covering all 15 labels across the islands’ first three specialty rounds. Subsequently cycles through Voronoi, stripe, and block patterns. |
| : Mutation specialist<br> | Perturbation scale; island parent | Selects a fraction from and changes that many entries, with and rounding up. Every selected entry receives a different label. |
| : Archive learner<br> | Reuse of good categorical choices; up to 24 elites | Learns per-cell label frequencies from resolved archived assignments, mixed with 35% uniform sampling. This is a categorical sampling model, not a displacement surrogate. |
| : Recombiner<br> | Exchange of design content; island parents and archive | Selects 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. |
| : Diversity restarter<br> | Escape from a parent trajectory; island parent | Draws a new uniform assignment and retains each parent entry with probability 0.2. Worse resolved proposals can be accepted, preserving exploratory trajectories. |
| : Neighborhood explorer<br> | Spatially localized collective changes; coordinates and parent | Chooses a random active-cell center and changes the nearest entries, with . Temperature-based acceptance permits uphill parent moves. |
| : Incumbent polisher<br> | Fine refinement; best archived assignment | Changes 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 (–) each interleave one specialty proposal with two sparse local-polishing proposals that change one to three entries of their own island parent. The dedicated 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.
: 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.
: 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.
: 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.
: 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.
: 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.
: 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.
: 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.
: 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 owns –, owns –, owns –, owns –, and owns –. 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 , island holds a parent and score . Each of its eight operators has an independent random stream. A deterministic round-robin scheduler selects one of forty agents. The order is , then , through , 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 and label , its sampling distribution is
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 , with . 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 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
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
Unit pixel length and the original Q4 node ordering are retained in . This normalization is the ratio to applied nominal traction under the same legacy scaling. Physical points right and points up, whereas stored image rows increase downward. Negative normal stress denotes compression.
The equivalent and in-plane principal stresses are
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.
| Seed | Random-start loss | 961-query loss |
| 0 | 0.649174685 | 0.100589562 |
| 1 | 0.435813867 | 0.139273770 |
| 2 | 0.383127887 | 0.135858330 |
| Mean | 0.489372147 | 0.125240554 |
Table 2. Swarm displacement losses from fresh solves. Initial and final assignments pass their geometry and residual checks.
The best design is swarm seed 0, with strict loss . Relative to the comparison threshold , its absolute margin below threshold is 0.009610438305, its ratio 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 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 , , and . The maximum absolute search-to-strict loss shift among the swarm endpoints is . 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 , and their label hashes match the frozen endpoint records. Table 3 separates algebraic convergence, geometry certification, and post-processing checks.
| Check | Recorded evidence |
| Endpoint residuals, seeds 0–2 | |
| Independent field-solve loss differences | Zero at recorded double precision |
| Search-to-strict loss shift, maximum | |
| Q4 stiffness quadrature, maximum entry difference | |
| Affine stress patch, maximum discrepancy | |
| Source-discrete rigidity | Exact 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 , , and . 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 , , and 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.
| Island | Agent identifiers | Seed 0 | Seed 1 | Seed 2 |
| – | 14 | 32 | 11 | |
| – | 23 | 21 | 7 | |
| – | 11 | 19 | 19 | |
| – | 23 | 8 | 28 | |
| – | 22 | 12 | 23 |
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 in , acting as the incumbent polisher. In seed 1, in proposes the final retained design at query 959 while performing interleaved island-local polishing, despite its declared diversity-reset specialty. In seed 2, in 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]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]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]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]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]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]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]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]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]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]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]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]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]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]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]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]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]D. D. Corkill, “Blackboard systems,” AI Expert, vol. 6, no. 9, pp. 40–47, 1991. Author’s unabridged article.
- [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]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]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]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]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]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]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]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






