Papers
Topics
Authors
Recent
Search
2000 character limit reached

OneFitAll: Universal ML Solutions

Updated 12 March 2026
  • OneFitAll is a paradigm of universal ML algorithms that process diverse inputs with a single adaptable model, eliminating the need for custom retraining.
  • It leverages techniques like data augmentation, modular adapter tuning, and shared backbones to overcome variability in sensors, modalities, and resources.
  • Empirical results show that OneFitAll systems achieve competitive performance while reducing deployment costs and enhancing fairness across heterogeneous environments.

OneFitAll refers to a class of machine learning and algorithmic solutions designed to achieve high performance and robust generalization across diverse domains, tasks, or user populations—using a single model, architecture, or pipeline without per-case or per-environment customization. These systems are characterized by their ability to accommodate substantial real-world variability (such as sensor placement, body morphology, data modality, sensitive attribute, or resource constraint), thus obviating the need for retraining or engineering for each new scenario. The OneFitAll concept is recurrent in fields such as health/biomechanical sensing, virtual try-on, multi-modal perception, neural code modeling, quantized LLMs, and fairness-aware graph learning.

1. Foundational Principles and Motivation

OneFitAll approaches address scalability and deployment bottlenecks in machine learning pipelines by enabling a single solution to handle a heterogeneous array of inputs, conditions, or application requirements. The motivation arises from the limitations of conventional pipelines that require extensive retraining, manual calibration, or the maintenance of multiple models to handle edge cases, modality shifts, or user‐ or device‐specific adaptations. In practice, OneFitAll systems are mandated where:

  • Domain characteristics are diverse or dynamic (e.g., sensor re-orientation, pose variability, user-specific body morphologies).
  • Fairness criteria or sensitive-attribute requirements change post-deployment.
  • Resource constraints differ across deployment scenarios (e.g., quantization for LLMs on server vs. consumer devices).
  • Comprehensive data coverage (e.g., multi-modality, inter-platform) is needed.
  • Minimal human intervention for real-world generalization is desired.

Prominent OneFitAll paradigms restrict retraining, instead relying on inherent model flexibility, architectural modularity, or algorithmic augmentations to absorb differences in signal or task (Phan et al., 28 Nov 2025, Yi et al., 2024, Zhu et al., 2024, Yamashita et al., 2024).

2. Methodological Approaches

OneFitAll system design is instantiated via several distinct, domain-specific methodologies:

Data Fusion and Augmentation (Sensor-Based Recognition)

In the context of exercise/activity recognition from wearable sensors, OneFitAll pipelines implement:

  • Data-side fusion (collapsing contralateral sensor data into unified per-limb classes), eliminating deployment bias.
  • Systematic signal augmentations (axis inversion, 3D rotation) to simulate plausible device misplacements, thereby increasing invariance to sensor orientation and placement errors.
  • Feature set expansion, extracting hundreds of time-domain, fractal/spectral, and higher-order differential features per window (yielding high coverage of static, dynamic, and non-linear signal traits).
  • Ensemble methods (e.g., soft voting over XGBoost and Hist Gradient Boosting) to merge complementary decision boundaries without per-user calibration (Phan et al., 28 Nov 2025).

Unified Architecture for Quantized LLMs

For LLMs requiring hardware-specific quantization, OneFitAll strategies include:

  • Training once-for-all “supernets” parameterized to support a combinatorial number of quantization configurations across layers (mixed-precision).
  • Decoupling weight pathways via per-bit-width low-rank adapters (LoRA), avoiding destructive interference in weight sharing during QAT.
  • Non-parametric schedulers that balance training resources across extreme and average quantization configurations, ensuring robust performance under any memory or compute budget (Yi et al., 2024).

Multi-Modal Learning and Foundation Models

For remote sensing and earth vision:

  • A single shared Transformer backbone is paired with modality-specific patch-embedding layers, absorbing broad modality and spatial-resolution variance without switching encoders.
  • Masked image modeling (MIM) is employed during pre-training, using only per-modality pixel reconstruction to co-train the backbone across SAR, multispectral, hyperspectral, and aerial imagery, hence facilitating zero/few-shot transfer (Xiong et al., 2024).

Fairness via Invariant Representation

In fairness-aware GNNs:

  • OneFitAll fairness is attained by learning representations whose predictive risk is invariant across partitions approximating multiple “worst-case” sensitive attributes, thereby achieving adaptation-free group fairness.
  • An unsupervised sensitive attribute partition module generates worst-case groupings via IRM-style maximization, followed by penalizing the variance of classification loss across discovered groups (Zhu et al., 2024).

Modular Adapter Tuning for Code Intelligence

For code tasks across multiple programming languages:

  • Parameter-efficient adapters are inserted into each transformer layer, tuned to each language or task while keeping all other network parameters frozen.
  • This enables robust transfer, catastrophic forgetting mitigation, and strong performance in both cross-lingual and low-resource regimes with <1% parameter overhead per language (Wang et al., 2023).

Physically-Based Garment Fitting

For size-variable virtual try-on and garment refitting:

  • The entire pipeline is articulated as a differentiable simulation-optimization loop, where 2D garment pattern control points are optimized via backpropagation through differentiable physical simulators to achieve custom fit for any target body (Chen et al., 2024).
  • For 2D try-on, mask deformation networks predict silhouette adjustments in the image domain, conditional on physical size vectors, yielding truly “fit-anybody” virtual trials (Yamashita et al., 2024).

3. Evaluation Protocols and Empirical Results

OneFitAll systems are evaluated under group-wise cross-validation, scenario-specific stress conditions, or resource-constrained deployment settings to validate their universality and performance.

  • In wearable-based exercise recognition, a per-limb pipeline using data fusion and artificial augmentation achieves 58.83% macro F₁ (61.72% arms, 55.95% legs) over 18 classes and multiple sensor placements (Phan et al., 28 Nov 2025).
  • The LLM-QFA supernet achieves 45.8%/46.1% (0/5-shot MMLU) for LLaMA2-13B across all quantization subnets, with a single ~8 GPU-hr fine-tuning cycle, subsuming the utility of multiple per-bit-width tuning runs (Yi et al., 2024).
  • Earth vision transformer OFA-Net outperforms single-modality and competitive multi-modal pretraining on both classification and segmentation, using only one backbone (Xiong et al., 2024).
  • In multi-domain 3D object detection, OneDet3D achieves SOTA or exceeding-SOTA AP scores across indoor and outdoor benchmarks with a single parameter set (Wang et al., 2024).
  • FairINV drastically reduces demographic parity violations to ≤1% on real-world graphs, with minimal loss in utility, and single-pass deployment for multiple attributes (Zhu et al., 2024).
  • Modular code adapter (“OneFitAll”) tuning matches the performance of full-model fine-tuning in code search/summarization, while preserving nearly all pre-trained features and supporting robust cross-lingual transfer (Wang et al., 2023).
  • Size-variable virtual try-on reduces silhouette size error (SEM) >50% compared to baselines, and only the residual-mask pipeline yields visually appropriate length/width transformations (Yamashita et al., 2024).
  • Physically-based garment re-fitting pipelines produce 2D sewing patterns and 3D drapes optimized for arbitrary bodies, suitable for both digital and real-world manufacturing (Chen et al., 2024).

4. Key Design Patterns and Component Modules

OneFitAll solutions share critical architectural or algorithmic elements:

  • Modularization and Latent Sharing: Modular adapters, shared backbones, or plug-in modules absorb per-task or per-environment idiosyncrasies without full retraining.
  • Data-side Augmentation: Simulation or augmentation strategies anticipate and neutralize deployment drift, sensor variability, or user heterogeneity in training.
  • Invariance/Robustness Penalties: Loss functions and constraints explicitly penalize risk variance or unfairness across diverse or adversarial partitions.
  • Differentiable Optimization Loops: For physically-based fitting, differentiable simulation enables end-to-end optimization over both morphology and physical constraints, backpropagating errors through physics engines.
  • Anchor-Free or Sparsity-Preserving Structures: In multi-scale, multi-domain settings (e.g., point cloud detection), architectures avoid assumptions about spatial scale or density, ensuring adaptability.

5. Applicability, Benefits, and Limitations

OneFitAll paradigms allow for single-source deployment across structurally diverse inputs, eliminating per-case hand-tuning, retraining, or asset management. This yields lower operational cost, easier scaling, and enhanced fairness or robustness to real-world idiosyncrasy. Notably, empirical results consistently demonstrate that universality does not entail utility loss; in several cases, performance exceeds that of per-case models due to increased effective training sample sizes and exposure to broad data distributions.

Potential limitations are scenario-local and include reliance on the sufficiency of artificially augmented distributions (in sensing), the capacity to model truly adversarial sensitive partitions (in fairness), and initial complexity or resource overhead for adversarial or invariant regularization steps. Open areas include extension to individual fairness, edge-level or graph-level tasks in GNNs, and low-latency physical simulation for fitting pipelines (Zhu et al., 2024, Chen et al., 2024).

6. Representative Examples and Comparison Table

The following table summarizes core domains and approaches for OneFitAll solutions, as introduced in published arXiv work:

Domain Core Mechanism SOTA Metric/Result Reference
Wearable Exercise Recognition Fusion+Augmentation+Ensembles 58.83% macro-F₁ (Phan et al., 28 Nov 2025)
Quantized LLMs Supernet+Adapters+Scheduler 45.8% MMLU (13B, 0-shot) (Yi et al., 2024)
Earth Vision/Foundation Models Shared Transformer Backbone 81.0% EuroSAT top-1 acc. (Xiong et al., 2024)
Point Cloud 3D Detection Sparse+Partitioned+Language 53.5% AP (S3DIS, cross-domain) (Wang et al., 2024)
Fair GNNs IRM+Attribute Partition ≤1% dem. parity diff. (Zhu et al., 2024)
Multi-lingual Code Modeling Adapter Tuning 75.3 MRR (search overall) (Wang et al., 2023)
Size-Variable Virtual Try-On Residual-mask+phys. sizes SEM=0.42e-2 (Yamashita et al., 2024)
Physically-Based Garment Fitting Diff. sim. + opt. 2D/3D pattern, dynamic fit (Chen et al., 2024)

7. Outlook and Continuing Challenges

OneFitAll research continues to explore foundational and applied domains:

  • Extension to temporally or dynamically varying data (multi-pose clothing fit, multi-temporal remote sensing) and object classes.
  • Scaling of physically-based simulation to real-time, multi-layer, multi-fabric scenarios.
  • Broader adoption of universal architectures in domains with non-Euclidean or multimodal inputs.
  • Automated system design to balance sufficiency (retention of real-world utility) and universality (robustness to arbitrary variance).

In sum, OneFitAll codifies a suite of strategies and theoretical insights that enable broad, often deployment-ready generalization across heterogeneity in sensing, perception, generation, and semantic modeling, and is established as a dominant paradigm for robust, cost-effective, and fair AI systems (Phan et al., 28 Nov 2025, Yi et al., 2024, Xiong et al., 2024, Wang et al., 2024, Yamashita et al., 2024, Zhu et al., 2024, Wang et al., 2023, Chen et al., 2024).

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 OneFitAll.