Row–Column Hybrid Grouping
- Row–Column Hybrid Grouping is a design pattern that integrates both row and column structures to optimize segmentation, redundancy distribution, and decomposition across arrays.
- It underpins diverse applications from experimental design and ultrasound imaging to matrix recovery and attention models by leveraging two-dimensional interactions.
- The methodology overcomes limitations of one-dimensional approaches by coupling both axes, thereby enhancing fault tolerance, spatial resolution, and computational efficiency.
Row–Column Hybrid Grouping denotes a family of methods that exploit structure, redundancy, or decomposition simultaneously across the row and column dimensions of an array, matrix, grid, or table. In the literature, the term and closely related constructions arise in several distinct senses: simultaneous segmentation of rows and columns in binary matrices with co-variables; row–column blocking and augmentation in experimental design; orthogonal sub-aperture activation in bias-switchable ultrasound arrays; redundancy distributed across both rows and columns for analog in-memory computing; and alternating row/column partitioning for blocked sparse-matrix storage. The common feature is that performance is obtained by coupling the two axes rather than optimizing only a row-wise or column-wise representation (Iovleff et al., 2018, Piepho et al., 25 Nov 2025, Jeon et al., 21 Aug 2025, Roozkhosh et al., 2021).
1. Conceptual scope and recurring pattern
Across the cited literature, row–column hybrid grouping is not a single standardized algorithm. Rather, it is a recurring design pattern in which the row axis and the column axis are both treated as active degrees of freedom. In some settings this means simultaneous latent clustering of rows and columns; in others it means distributing redundancy over a two-dimensional hardware substrate; in others it means decomposing a dense operation into row- and column-specific components that interact only at crossings. This suggests that the phrase is best understood as a cross-domain methodological motif rather than a domain-specific formalism.
| Domain | Grouped object | Representative mechanism |
|---|---|---|
| Experimental design | Rectangular treatment layouts | Replicated checks across rows and columns; contractions |
| Statistical learning | Data matrices | Joint row/column latent clustering with side information |
| Ultrasound imaging | Orthogonal apertures | Bias-switched row/column activation; Hadamard encoding |
| Analog IMC | Weight bitmaps on arrays | Redundancy across both rows and columns |
| Sparse linear algebra | Sparse matrices | Alternating contiguous row/column partitioning |
| Dense prediction | Feature maps | Decomposed row and column queries |
| Character tables | Rows and columns of irreducible data | Dual TQFT constructions and partial-sum groupings |
A second recurring feature is that hybridization is usually introduced to address a concrete failure mode of one-dimensional organization. In the design literature, row-only or column-only blocking cannot control two orthogonal nuisance sources. In RCA imaging, a single long-aperture direction leaves line-shaped PSFs and shadow constraints. In IMC arrays, conventional column grouping is vulnerable to stuck-at faults in high-significance bits. In VBR storage, heuristics that merge rows and columns jointly lack optimality guarantees because full two-dimensional grouping is NP-hard (Piepho et al., 25 Nov 2025, Palamar et al., 12 Jun 2025, Jeon et al., 21 Aug 2025, Ahrens et al., 2020).
2. Experimental-design formulations
In row–column experimental design, a design arranges experimental units in rows and columns, with rows and columns serving as two orthogonal blocking factors. The usual linear model is
where are fixed treatment effects, row effects, column effects, and . Augmented row–column designs are motivated by settings, such as early-generation plant breeding, in which a small set of replicated checks is distributed across the grid while all remaining test treatments appear exactly once. Estimation of row and column effects, and an unbiased error-variance estimate, then comes entirely from the replicated checks; connectivity through the checks is critical (Piepho et al., 25 Nov 2025).
The contraction approach generates an augmented design from an auxiliary row–column design on pseudo-treatments in a array, where 0 is the number of checks per column in the final design. The contraction is represented by a binary incidence matrix 1 with 2 if pseudo-treatment 3 appears in column 4. After labeling test lines and checks, each 5 in 6 determines the placement of a check in the augmented layout, and all remaining cells are filled by the test lines in an arbitrary but fixed order. The information matrix for treatment effects after projecting out rows and columns is
7
and the canonical efficiency factors are the nontrivial eigenvalues of
8
The average efficiency factor is
9
Piepho and Williams’ decomposition links the augmented design to the contraction through harmonic means 0 and 1, yielding
2
In the 3 example with 4, the contraction has 5 and 6, giving 7, while direct augmented-design search in CycDesigN gave 8 after a much longer search (Piepho et al., 25 Nov 2025).
A distinct but related use of row–column structure appears in constructions of 9fi-optimal factorial designs. There the 0 runs are placed in an 1 grid with no replication, and a full-row-rank generator matrix
2
over 3 defines row-shifts 4, column-shifts 5, and treatment assignment
6
Confounding is characterized by linear dependence relations among columns of 7: a main effect or two-factor interaction is unconfounded exactly when the corresponding columns satisfy the required independence conditions. The paper gives theoretical constructions of 8 full factorial 9fi-optimal row-column designs for any odd prime level 0 and any parameter combination, and of 1 fractional factorial 2fi-optimal row-column designs for any prime level 3 and any parameter combination; in the listed fractional cases, the resulting designs have 4fi-efficiency 5 (Zhang et al., 2023).
3. Joint clustering and matrix-structured inference
In statistical data analysis, row–column hybrid grouping often refers to simultaneous clustering of the rows and columns of a matrix into latent blocks. In the latent block model with Gaussian co-variables, the observed data are an 6 binary matrix 7 and a 8-dimensional Gaussian co-variable 9 attached to each row. Latent row-cluster indicators 0 and column-cluster indicators 1 are introduced, with 2 and 3 a priori independent. Conditional on 4,
5
while
6
The model is fitted with a mean-field variational EM in which 7 and the lower bound 8 is maximized by alternating row updates, column updates, Gaussian-mixture updates, and weighted logistic regressions for the block parameters 9. The per-iteration cost is 0, plus 1 for covariance inversions and 2 for the logistic subproblems. In the Senegalese malaria application, with 3 individuals and 4 SNPs, the method identified two subject clusters and 5 SNP blocks (Iovleff et al., 2018).
A more classical exact-recovery formulation is the jointly clustered binary-matrix model with erasures and flips. There, an 6 matrix is block-constant with 7 equal-sized row clusters and 8 equal-sized column clusters, and the goal is exact recovery from a partially observed noisy version. The information-theoretic lower bound states that if
9
then exact recovery fails with probability at least 0. Three algorithmic regimes are analyzed. The combinatorial method has runtime 1 and, in the noiseless case, succeeds when 2. The convex method uses a nuclear-norm relaxation and succeeds when
3
The spectral method is dominated by one SVD on an 4 matrix and succeeds when
5
The stated comparison is a smooth time–data trade-off: exponential-time methods are statistically closest to the lower bound, while polynomial-time methods require more observations (Xu et al., 2013).
These formulations clarify an important point. In this statistical literature, “hybrid” does not merely mean that both dimensions are present in the data matrix; it means that both dimensions are assigned latent structure and that inference on one axis is coupled to inference on the other. In the co-variable model, the Gaussian 6 regularizes row assignments; in the exact-recovery model, row and column partitions must be recovered simultaneously because the signal is block-constant only after both clusterings are aligned.
4. Ultrasound and array-imaging realizations
In ultrasonic imaging, row–column hybrid grouping is implemented physically on bias-switchable row-column arrays. A TOBE array consists of a 7 element, 8-pitch 9D transducer in which each acoustic element is formed by the overlap of a row electrode on the top face and a column electrode on the bottom face. Because the electrostrictive relaxor is not piezoelectric without bias, fast switching between bias states makes four element states possible: row-only active, column-only active, both electrodes biased with the same polarity, and opposite polarities used in Hadamard coding. Each of the 0 rows and 1 columns has its own bias-tee, allowing switching in less than 2 (Palamar et al., 12 Jun 2025).
FORCES uses a sequence of 3 bias patterns and 4 transmit/receive events on an 5 array. On event 6, the columns follow a Hadamard row while the rows are biased to form an elevational focus at the desired depth; after 7 transmissions, the received data are sign-corrected and software Hadamard-decoded. The resulting synthetic summation is
8
Experimentally, FORCES improved lateral FWHM from approximately 9 or 0 to approximately 1 on the 2 array, and from approximately 3 or 4 to approximately 5 on the 6 array. For 7 cysts at 8 depth on the high-frequency array, FORCES achieved 9, compared with approximately 00 for VLS and approximately 01 for TPW. The field of view extended to beyond 02 off-axis, whereas TPW and VLS collapsed rapidly beyond 03 (Palamar et al., 12 Jun 2025).
HERCULES applies the same bias-switchable architecture to expansive 04D scanning. If 05 denotes the isolated echo from element 06 and the 07th event uses the 08th row of an 09 Hadamard matrix 10, then the measured receive signal on column 11 is
12
or in matrix form,
13
Decoding uses
14
which recovers an effective full 15 receive aperture over 16 events. The paper reports simulation and experimental implementation with comparable resolution to existing RCA imaging methods at hundreds of frames per second (Dahunsi et al., 13 Jun 2025).
A different hybrid mechanism is row-column specific Frame Multiply and Sum. In RC-FMAS, the row- and column-transmitted volumes are paired nonlinearly through the signed geometric mean
17
and the final image is
18
With 19 steering angles split as 20, RC-FMAS used 21 row–column pairs instead of 22 FMAS pairs. In the reported PSF experiment, lateral FWHM improved from 23 for DAS to 24 for RC-FMAS; PMSLR increased from approximately 25 to approximately 26; TNR increased from approximately 27 to approximately 28; and TCR increased from approximately 29 to approximately 30 (Hansen-Shearer et al., 2021).
5. Hardware compilation, memory systems, and sparse storage
In analog IMC, row–column hybrid grouping is a multi-bit weight representation that generalizes conventional column grouping. Conventional 31 grouping maps bit slices of a weight to 32 adjacent columns in one row. Hybrid grouping, denoted 33, uses 34 rows that share the same input voltage, so that each weight is represented by an aggregate bitmap of size 35. With positive and negative arrays 36 and 37, the stuck-at-fault model is
38
and the decoded faulty weight is
39
Theorem 1 establishes clipping: if at least one SAF exists in the 40 group, then the representable range is strictly smaller than in the fault-free case. Theorem 2 gives a condition for inconsecutivity gaps when all cells of a significance bit are stuck and
41
The compiler reformulates fault-aware decomposition and closest value matching as ILPs, uses range and consecutivity checks to bypass most hard cases, and applies a seven-step pipeline. Reported results include up to 42p accuracy improvement, 43 faster compilation, and 44 energy efficiency gain compared to existing baselines; for ResNet-18 on Xeon Silver 4210, the full pipeline reduces compilation from approximately 45 min to approximately 46 s (Jeon et al., 21 Aug 2025).
Relational Memory provides a different hardware interpretation. It interposes an FPGA-based PLIM engine between CPU and DRAM and exposes an ephemeral “column group” abstraction to the CPU, while the underlying data remain stored row-wise. The FPGA decodes the alias address into a base pointer plus column offsets, issues narrow read bursts, strips unwanted bytes, repacks the desired fields into a 47-byte cache line, and returns that line as if the projected columns were already stored contiguously. The prototype showed access to the desired columns up to 48 faster than accessing them from their row-wise counterpart, parity with pure columnar access for low projectivity, and up to 49 speedup over column-store as projectivity increased. The same pipeline is described as extensible to hardware selection, group by, aggregation, and joins (Roozkhosh et al., 2021).
For sparse-matrix storage, VBR groups adjacent rows and columns and stores resulting nonzero blocks densely. Given contiguous row partition 50 and column partition 51, the memory model is
52
The optimization of full two-dimensional grouping is NP-hard under several cost models. The paper therefore develops an optimal linear-time dynamic program for the row-only 53D-VBR case and an alternating heuristic that optimally repartitions one axis while holding the other fixed. On 54 real sparse matrices, median memory-footprint reduction versus CSR reached 55 for alternating 56D-VBR with the MinMemory objective, while the best SpMV time speedup was 57 for MinCompute 58D-VBR; alternating 59D-VBR with MinCompute achieved 60 (Ahrens et al., 2020).
These systems papers make explicit a practical distinction. Hybrid grouping is often introduced not to maximize symmetry for its own sake, but to reallocate cost. In IMC it shifts fault sensitivity from a single high-significance column into a two-dimensional bitmap. In near-memory query processing it shifts row-to-column reorganization from software into hardware. In sparse storage it trades exact two-dimensional optimality for alternating one-dimensional optimizations.
6. Decompositions, dualities, and generalized row–column formalisms
A generalized algorithmic form of row–column hybridization appears in dense prediction. DFlatFormer replaces 61 dense decoder queries with two disjoint learnable sets: 62 row queries and 63 column queries. The encoder feature map is flattened twice, once row-wise and once column-wise, to align keys and values with the corresponding queries. The resulting complexity drops from
64
to
65
Grouping and pooling reduce the attention cost further to
66
where 67 and 68. Row–column interaction is then introduced through cross-attention:
69
and the final full-resolution map is reconstructed by
70
Here hybrid grouping is neither clustering nor redundancy; it is a structural decomposition of a dense operator into mutually interacting row and column subproblems (Wang et al., 2022).
A measurement-theoretic variant appears in low-rank matrix recovery from row-and-column affine measurements. The unknown matrix 71 is observed through
72
with total number of measurements
73
The SVLS algorithm computes the top-74 singular vectors from one side, solves a least-squares problem using the opposite-side measurements, repeats symmetrically, and selects the better fit. In the noiseless Gaussian Rows & Columns setting, if 75, then SVLS recovers 76 exactly with probability one. In the noisy GRC case with 77, the reconstruction obeys
78
with high probability (Wagner et al., 2015).
An algebraic version is developed through row–column duality in finite-group character tables. On one side, 79-TQFTs based on the center 80 yield integrality theorems for partial column sums such as
81
On the dual side, 82-TQFTs based on the representation ring yield integrality of partial row sums such as
83
The two are related by a Frobenius-algebra duality exchanging rows and columns, which the paper presents as a unified “grid” of integral partial sums indexed by subsets defined through level sets of normalized characters or characters themselves (Padellaro et al., 2023).
Taken together, these examples support a precise negative statement: row–column hybrid grouping is not synonymous with ordinary co-clustering. The literature includes latent block models, affine measurement schemes, decomposed query architectures, fault-tolerant array encodings, and algebraic dualities. What is shared is the deliberate exploitation of two-dimensional separability or two-dimensional coupling. What differs is the object being grouped: treatments, users and variables, sub-apertures, conductance cells, sparse-matrix indices, attention queries, or character-table entries.