FEnc
2: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment Encoding
FEnc$^2$ unifies data packing for CKKS-based private inference. It introduces Conv-aware Encoding to select an optimal fragment size that decouples spatial dependencies and minimizes rotations across layers, and Arch-aware Ct Compression to restore ciphertext density after reductions. These transformations reduce homomorphic operations by one to two orders of magnitude, achieving up to 228.83x speedup over Orion on GPU for LeNet/MNIST, and up to 4.55x speedup for MobileNet/ImageNet, by optimizing encrypted tensor layout before execution.