cs.CVNov 18, 2026

Tangent incompleteness under coupled image transformations: margin reconstruction and decision consequences

Authors: Karim Bounja, Abdeljalil Sakat

Organizations: Laboratory for Analysis and Modeling of Systems and Decision Support (LAMSAD), Hassan First University of Settat, Morocco

Abstract

Can accurate responses to individual geometric image transformations recover their combined effect on a classifier's decision? For identity-aligned bilinear resampling, coordinatewise assembly may fail at first order. Projecting the implemented transformation onto a fixed logit-margin gradient, we derive a linear term plus signed absolute-value ridges. An exact even--odd identity and ridge-cancellation conditions characterize the missing information. Under independent parameter laws, a noncancelling off-coordinate ridge obstructs even unrestricted additive fits. The coupled correction has O(s2)O(s^2) projected error, versus a possible Θ(s)Θ(s) axiswise defect; transfer to realized network margins requires local smoothness. Projected RMS errors fall by 82.96% on CIFAR-10 and 82.38% on ImageNetV2 relative to axiswise assembly; realized fixed-pair margin RMS errors fall by 39.75% and 42.73%. The representation prospectively identifies nine strict nonadditive network-margin sign configurations and permits exact minimization of a three-parameter threat surrogate, with conditional selection-regret guarantees. In an independent CIFAR-10 search, coupled-selected transformations uncover 51 top-1 changes versus 41 for axes. On 256 independent ImageNetV2/ConvNeXt-Tiny images and 16,384 transformed decisions at the prespecified scale s=.40s=.40, multiclass top-1 flip-prediction errors fall from 11.97% to 10.23% (paired improvement 1.74 percentage points; 95% interval [0.93, 2.61]). Directional finite differences are slightly more accurate (10.00%) at higher measured model-construction cost. These results connect first-order sampling interactions to margin reconstruction, decision prediction, and threat selection, without claiming finite-scale network certification.

Figures & tables

Explore similar work

Aug 31, 2025

When is Fine-Tuning Scalable? Certified Recovery from Noisy Data and Linear-Cost Fine-Tuning on Structured Task Shifts

Transformers often transfer across related tasks with little fine-tuning; we study this question in noisy nonparametric regression for continuous maps f,g:[0,1]d→RDf,g:[0,1]^d\to\mathbb{R}^D, representing the source and shifted tasks, using a single-query, single-head transformer T(⋅)=VSoftmax⁡(−α(⋅,K))\mathcal{T}(\cdot)=V\operatorname{Softmax}(-α(\cdot,K)) with ℓ∞\ell^{\infty}-based alignment scores αα. Rather than assume that gradient-based training reaches an empirical risk minimizer, we give a model-specific two-stage procedure certifying source-task recovery and out-of-distribution (OOD) adaptation. With high probability, the resulting attention head recovers ff to arbitrary accuracy ε>0\varepsilon>0 in every fixed Lp([0,1]d)L^p([0,1]^d) norm, 1≤p<∞1\le p<\infty, from noisy observations. For Lipschitz targets, its rate is minimax-optimal up to logarithmic factors without assuming oracle access to an asymptotic ERM. If D=1D=1 and ff is Pfaffian than the values matrix factors into ACAC with AA scaling at-most linearly O(ε−1)\mathcal{O}(\varepsilon^{-1}) in the reciprocal approximation error ε>0\varepsilon>0. Importantly, our training procedure encodes all our identified (potentially) shared geometric structure from ff only into the values matrix factor CC and the keys matrix KK allowing for rapid access, and all ff-specific structure only into AA. Our main result concerns the OOD phase; where we identify geometric structures, which if shared by the source ff and OOD gg task; then only only the values matrix factor AA needs to be fine-tuned to guarantee an LpL^p-recovery of gg. Critically, fine-tuning only AA is a convex problem which involving an at-most linear number of parameters O(ε−1)\mathcal{O}(\varepsilon^{-1}); dramatically cutting down on the worst-case scaling of O(ε−d)\mathcal{O}(\varepsilon^{-\mathbf{d}}) unavoidable in the source-training phase.
Jul 26, 2026

Consistent Evidence, Robust Recognition: Faithful Attribution Regularization under Geometric Transformations

Attribution methods are widely used to characterize the evidence underlying model predictions, yet their potential to improve model behavior remains underexplored. Attribution inconsistency under label-preserving geometric transformations may indicate transformation-sensitive evidence reliance, motivating attribution regularization. However, such supervision is valid only when attribution faithfully reflects the evidence driving predictions. Existing self-supervised methods typically align gradient-based maps such as Grad-CAM, whose limited faithfulness means that attribution consistency need not imply consistency of the underlying decision process, leaving transformation robustness unresolved. We propose an annotation-free attribution regularization framework based on submodular search over image regions. By measuring how candidate subsets affect model outputs, the search extracts compact, class-discriminative evidence as search-derived supervision. We further introduce a submodular ranking loss with path-consistency and termination-alignment terms that respectively align spatially corresponding candidate rankings along paired search trajectories and encourage the transformed trajectory to satisfy the stopping criterion at the target terminal step. The loss provides a differentiable surrogate for regularizing both final attributions and the otherwise discrete evidence-selection process. Experiments on ImageNet-100 show that our method substantially improves attribution stability, Insertion, and Deletion on ViT-B/16 with only a 0.28-point accuracy drop, with similar gains on ViT-L/16. On ImageNet-1K, it improves transformed-input accuracy on ResNet-50 and ConvNeXt-B while limiting the clean-accuracy drop to 0.30 points, demonstrating more consistent evidence reliance with minimal performance loss. Code will be released soon.
Aug 30, 2026

RePair: Turning Retrieval Failures into Counterfactual Hard Pairs

Vision-language retrieval with CLIP-style dual encoders achieves strong cross-modal performance, yet practical accuracy often hinges on localized semantic distinctions where top-ranked near misses differ from the true match by a single critical detail. Hard-sample mining can select confusable candidates but cannot construct corrected counterparts; synthetic augmentation can generate novel samples but, without conditioning on actual model failures, targets irrelevant dimensions of hardness. We observe that a top-ranked false positive is a counterfactual scaffold---sharing most of the query's semantics while differing in a localized failure-causing residual. Minimally correcting this residual yields a hard positive of the ground truth in the same modality; the corrected and unedited versions form a hard negative pair that straddles the decision boundary, producing complementary pull--push supervision. We introduce RePair, guided by three principles---Validity, Minimality, and Locality---which mines false positives bidirectionally, applies LLM-guided counterfactual editing, and trains with a local hard-pair contrastive objective. On Flickr30K and COCO30K, RePair outperforms controlled augmentation baselines with only 107K synthetic samples---26%--75% fewer than comparable methods---confirming failure-conditioned repair is more data-efficient than error-agnostic augmentation.