Papers
Topics
Authors
Recent
Search
2000 character limit reached

DFabric: Textile Simulation & Interconnect Architectures

Updated 8 July 2026
  • DFabric is a disambiguated term that refers to both a yarn-level differentiable simulator for woven fabrics and a rack-scale interconnect architecture for optimizing data-parallel systems.
  • In textile applications, DFabric models fine-grained yarn interactions using differentiable physics to enable accurate inverse parameter learning and robust control.
  • For computer systems, DFabric implements a two-tier CXL-Ethernet design that disaggregates compute, memory, and NIC resources to mitigate communication bottlenecks.

DFabric is an overloaded research name in the arXiv literature. In one usage, it denotes a yarn-level differentiable physics model for woven fabrics that represents individual yarns, crossings, sliding coordinates, and differentiable interaction forces (Gong et al., 2022). In a separate usage, it denotes a rack-scale CXL-Ethernet hybrid interconnect architecture that disaggregates compute, NICs, and memory to scale out data-parallel applications beyond the reach limit of local accelerator interconnects (Zhang et al., 2024). Because these two systems address unrelated problem domains, accurate interpretation requires explicit disambiguation.

1. Terminological scope and disambiguation

The name appears in at least two technically distinct senses.

DFabric usage Domain Core formulation
(Gong et al., 2022) Differentiable physics for textiles Yarn-level simulator for woven cloth
(Zhang et al., 2024) Computer systems and interconnects Two-tier CXL-Ethernet rack architecture

The textile DFabric is concerned with fine-grained physical simulation, inverse parameter learning, and control for woven fabrics. The systems DFabric is concerned with communication bottlenecks in scale-out DNN, LLM, graph, and Redis workloads, and reorganizes rack resources around a CXL fabric plus pooled Ethernet NICs. The shared name does not imply conceptual continuity between the two papers; it is a homonym across disciplines.

2. Yarn-level differentiable physics formulation

The differentiable-physics DFabric models woven cloth at the yarn level rather than as a homogeneous sheet. It assumes two perpendicular yarn families, warps and wefts, and uses an Eulerian-on-Lagrangian discretization in which each interior crossing node ii carries generalized coordinates

qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),

with xiR3\mathbf{x}_i \in \mathbb{R}^3 the spatial position and ui,viu_i,v_i the sliding coordinates. Boundary yarn endpoints use only spatial coordinates. For an r×cr \times c cloth, (r2)(c2)(r-2)(c-2) interior crossing nodes have 5 DoFs, $2r + 2c - 4$ boundary nodes have 3 DoFs, and the total generalized coordinate dimension is

l=3rc+2(r2)(c2).l = 3rc + 2(r-2)(c-2).

Two neighboring crossings on the same yarn define a straight yarn segment, and a point with Eulerian coordinate uu on segment [q0,q1][\mathbf{q}_0,\mathbf{q}_1] is interpolated as

qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),0

This representation preserves woven topology, persistent warp-weft contacts, and yarn sliding at crossings (Gong et al., 2022).

The dynamics are written in generalized coordinates through Lagrangian mechanics. The force equation is

qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),1

with inertial terms, elastic yarn forces, yarn-to-yarn interaction forces, gravity, wind, and collision response. Stretching and bending define the rod-like internal mechanics; twisting is ignored. For a segment qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),2, the stretching energy is

qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),3

while for adjacent segments qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),4 and qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),5, the bending energy is

qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),6

The simulator advances with implicit Euler. Writing the update as qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),7, the timestep solve uses

qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),8

The most distinctive terms are the differentiable surrogates for crossing-level interactions. Contact normal force at a crossing is defined from projected stretching and bending forces,

qi(xi,ui,vi),\mathbf{q}_i \equiv (\mathbf{x}_i, u_i, v_i),9

and then reused by the friction and shear models. Friction replaces a discontinuous Coulomb law with a xiR3\mathbf{x}_i \in \mathbb{R}^30-smoothed formulation around the static-to-kinetic transition: xiR3\mathbf{x}_i \in \mathbb{R}^31 Shear is also modeled with a differentiable lock transition, through a shear energy

xiR3\mathbf{x}_i \in \mathbb{R}^32

where xiR3\mathbf{x}_i \in \mathbb{R}^33 is itself smoothed to capture shear lock without a hard piecewise switch. The paper’s central claim is that these local, differentiable interaction laws make yarn-level inverse learning possible in a way that sheet-level differentiable cloth models do not.

3. Inverse problems, identifiability, and empirical behavior of the textile DFabric

The textile DFabric is designed not only for forward simulation but also for parameter identification and control. Its training loss over trajectories is

xiR3\mathbf{x}_i \in \mathbb{R}^34

To keep learned parameters in physically plausible ranges, the paper does not optimize xiR3\mathbf{x}_i \in \mathbb{R}^35 directly, but uses

xiR3\mathbf{x}_i \in \mathbb{R}^36

Learned parameters include yarn density xiR3\mathbf{x}_i \in \mathbb{R}^37, stretch modulus xiR3\mathbf{x}_i \in \mathbb{R}^38, bending modulus xiR3\mathbf{x}_i \in \mathbb{R}^39, shear modulus ui,viu_i,v_i0, and friction coefficient ui,viu_i,v_i1. In experiments with two yarn types, the ranges are density ui,viu_i,v_i2, bending modulus ui,viu_i,v_i3, shear modulus ui,viu_i,v_i4, friction coefficient ui,viu_i,v_i5, and stretch ranges ui,viu_i,v_i6, ui,viu_i,v_i7 (Gong et al., 2022).

The evaluation uses 9 fabric types built from 3 yarn types and 3 woven patterns—plain, satin, and twill—with ground truth generated by an existing non-differentiable yarn-level simulator. The typical setting is a square cloth hanging by two corners, constant wind, ui,viu_i,v_i8 steps, and timestep ui,viu_i,v_i9 s. The reported yarn parameters are: Yarn1 with density r×cr \times c0, stretch modulus r×cr \times c1, bending modulus r×cr \times c2; Yarn2 with density r×cr \times c3, stretch modulus r×cr \times c4, bending modulus r×cr \times c5; and Yarn3 with density r×cr \times c6, stretch modulus r×cr \times c7, bending modulus r×cr \times c8. One main inter-yarn setting uses r×cr \times c9 and (r2)(c2)(r-2)(c-2)0.

Against a differentiable sheet-level cloth baseline, the gap is large. On Plain-(1,2), the test MSE is reported as (r2)(c2)(r-2)(c-2)1 with 5 training frames and (r2)(c2)(r-2)(c-2)2 with 25 training frames, whereas the sheet-level model gives (r2)(c2)(r-2)(c-2)3 and (r2)(c2)(r-2)(c-2)4. The paper also compares against Bayesian Optimization using 140 iterations and argues that BO may fit trajectories while recovering physically incorrect parameters. Long-horizon rollouts of 2000 steps and scaled-cloth tests further show error amplification is markedly lower when the learned parameters come from DFabric rather than BO or the sheet model.

The method is also positioned as data-efficient. Training on only 5, 10, or 25 frames still recovers yarn properties reasonably well for Plain-(1,2), and the paper emphasizes that even the earliest frames contain sufficient signal for inference. The computational cost, however, is significant: on a (r2)(c2)(r-2)(c-2)5 cloth, the appendix reports about 68 sec/epoch with 5 training frames, about 133 sec/epoch with 10 frames, and about 328 sec/epoch with 25 frames; with 25 training frames, the cost grows from about 13 sec/epoch for (r2)(c2)(r-2)(c-2)6 to about 1310 sec/epoch for (r2)(c2)(r-2)(c-2)7. The limitations are correspondingly clear: the model requires known woven topology, is specialized to woven fabrics with two orthogonal yarn families, ignores twisting, uses straight-segment approximations, and employs phenomenological differentiable surrogates for friction and shear rather than exact tribological laws.

4. Rack-scale CXL-Ethernet DFabric architecture

The systems DFabric is defined as a two-tier interconnect architecture for scaling out data-parallel and data-intensive applications when they extend beyond the reach limit of high-bandwidth local interconnects. Tier 1 is intra-rack interconnect using CXL fabric; Tier 2 is inter-rack communication using Ethernet, but accessed through a pooled set of NICs attached to the same CXL fabric. The motivation is the widening mismatch between accelerator-adjacent interconnects and host-attached networking: the paper gives representative numbers of DDR5 with latency (r2)(c2)(r-2)(c-2)8 ns and bandwidth 50 GB/s, GDDR6 with latency (r2)(c2)(r-2)(c-2)9 ns and bandwidth 400 GB/s, CXL 3.0 with latency $2r + 2c - 4$0 ns and bandwidth 120 GB/s, NVLink 4.0 with latency $2r + 2c - 4$1 and bandwidth 900 GB/s, and InfiniBand / Ethernet with latency $2r + 2c - 4$2 and bandwidth 25/50 GB/s. It further cites an existing CXL reach limit of about 2 m, effectively constraining deployment to around rack scale, and states that matching one CXL 3.0 link would require more than ten 200G NICs per host in a conventional host-centric design (Zhang et al., 2024).

Within the rack, compute nodes, memory devices, NICs, and a management processor are all attached to a CXL fabric. CXL 3.0 is chosen because it can scale to 4096 nodes and supports memory sharing in a single coherent fabric address space. The architecture exploits pass-by-reference semantics: for intra-rack communication, a sender places data in shared memory and the receiver accesses it through CXL.mem load/store rather than receiving a copied payload. The compute node is thus reduced to a CN attached to a rack-scale resource pool.

NIC disaggregation is the core architectural move. NICs are exposed as CXL devices and consolidated into a rack NIC pool. A management node called the LPPU performs NIC enumeration, registration, and management, virtualizes the pool, and exposes it to each CN as one logical “big NIC.” Each CN interacts with the pool through virtual transmit and receive queues stored in the memory pool, while physical NIC queues are maintained separately by the LPPU. Scheduling is based especially on queue depth, and traffic is split into subflows to avoid naive packet striping and to tolerate path variation and out-of-order arrival.

The paper argues that a NIC pool alone only shifts the bottleneck inward, because aggregate NIC throughput can exceed one host’s local memory or I/O bandwidth. DFabric therefore also disaggregates memory. A portion of each CN’s local memory is contributed to a shared memory pool, additional remote memory devices are added, and all are mapped into a single fabric address space. The pool is organized into 2 MB Sections and Regions consisting of $2r + 2c - 4$3 consecutive Sections, with $2r + 2c - 4$4 in the implementation. The system prefers local sections for latency-sensitive structures such as virtual queues. The resulting communication paths are differentiated: intra-rack transfers use pass-by-reference shared buffers; inter-rack transmission uses an ASIC to poll virtual TX queues and populate physical NIC TX queues; inter-rack reception preallocates receive buffers in the memory pool, DMA-writes incoming packets into them, and posts completion descriptors to destination CNs.

5. Runtime stack, prototype, evaluation, and limitations of the interconnect DFabric

A major design goal of the rack-scale DFabric is transparency for conventional socket-based software. The paper describes a driver, a daemon in each compute node, and APIs used by the TCP/IP stack. The driver sets up the unified address space at boot, registers fabric address ranges and local shared memory, initiates communication transactions once TCP/IP has prepared socket buffers, and handles interrupts for incoming transactions. The TCP/IP stack is adapted to operate on shared-memory-backed sk_buff objects with a write-around cache policy. The three APIs are:

$2r + 2c - 4$5

The control plane is centered on the LPPU, while the data plane is implemented by per-port ASICs, or FPGA realizations in the prototype, with a coherence controller, dispatcher, processing unit, and virtual queue manager. Because CXL.mem load/store is synchronous, cacheline-granular, and supports only limited outstanding requests—the paper cites a maximum of 64 load/store instructions outstanding—DFabric adds a CXL-attached multi-way DRAM cache at each CN. Tags are stored in on-chip memory, cacheable regions are configured by the driver, buffers are fetched from the memory pool via CXL.io on a miss, and kfree_shared_skb triggers explicit flush on free (Zhang et al., 2024).

The prototype is built from four customized MPSoC FPGAs, one x86 server, and optical fibers. It emulates key CXL 3.0-like capabilities using a lightweight academic protocol stack and specifically implements CXL.mem and CXL.io; it also uses CXL-DoCE for the dual-rack strawman experiments. The evaluation covers microbenchmarks, DNN workloads, graph workloads, Redis, and ring allreduce. The headline quantitative results are that DFabric reduces communication time by a geometric mean of 30.6% compared with a conventional ToR-based rack, and achieves 40.5% lower p99 tail latency for Redis. The motivation study further states that with a 10:1 interconnect/network bandwidth ratio, adding one or two NICs per host is insufficient, whereas a 10-NIC pool approaches optimal ring-allreduce communication time. If memory bandwidth is intentionally reduced, performance degrades, confirming memory as the new bottleneck, and without the DRAM cache performance is also notably worse.

The limitations are substantial and explicitly acknowledged. The design assumes rack-scale CXL fabric availability, coherent memory pooling, and physical resource disaggregation. It is scoped to rack scale rather than data-center-wide CXL. Failure handling is largely absent in the provided description: there is no substantial recovery mechanism for failed NICs, memory devices, or CXL fabric components, and the scheduling discussion assumes no link-down in the core network. Transparency is also conditional rather than absolute, because it requires modified drivers, kernel/runtime support, memory allocation daemons, queue orchestration, and MPTCP-like support for subflow generation and resequencing. The discussion section leaves richer NIC scheduling policies, including congestion and path-length awareness, as future work.

Within textile computing, the differentiable-physics DFabric occupies only one part of a larger landscape. Adjacent systems include a GLCM-energy embedded fabric defect detector on a TI TMS320DM642 DSP platform (Raheja et al., 2014), the text2fabric dataset and CLIP/BLIP specialization for free-text fabric retrieval and captioning (Deschaintre et al., 2023), the two-scale woven-material generator FabricGen with FLUX.1-dev, LyCORIS, WeavingLLM, and SpongeCake (Tang et al., 7 Mar 2026), Bayesian differentiable cloth digitalization from standardized Cusick drape measurements (Gong et al., 2024), DeFNet for multi-step robotic fabric folding via latent-space planning, flow-based action inference, and iterative replanning (Gu et al., 2023), and a catenary-network surrogate for automated composite draping with multi-gripper trajectory optimization (Krogh et al., 2018).

These neighboring works clarify a common misconception: the textile DFabric is not a generic umbrella for all computational fabric research. It is specifically a yarn-level differentiable forward-and-inverse simulator for woven fabrics. The adjacent literature instead targets defect inspection, language grounding, material generation, cloth digitalization from standardized measurement, robotic folding, and robotic draping. This suggests that, in textile research, DFabric should be interpreted narrowly as a fine-grained differentiable mechanics framework rather than as a synonym for fabric AI in general.

A parallel misconception arises on the systems side. The rack-scale DFabric is not about textiles, even though its title contains “Fabric.” It belongs to the lineage of disaggregated rack architecture, scale-out communication optimization, and CXL-based memory/NIC pooling. Its primary unit of provisioning is the rack rather than the host. The two uses of the name therefore share only a lexical form, not a technical substrate.

Across both senses, the name marks a move away from coarse-grained baselines: host-centric networking in one case, homogeneous sheet cloth models in the other. That parallel is interpretive rather than terminological. In encyclopedia usage, “DFabric” is best treated as a disambiguated term whose meaning is fixed entirely by domain context and by the cited paper.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to DFabric.