Enterprise Reflux Laya V3

Enterprise Reflux Decision Intelligence Research Series

Developed by Mohamed Yasser

Robust CPU-first decision model. Designed for structured candidate ranking and execution classification.


Overview

Enterprise Reflux is a research initiative investigating compact decision models as a System-1 layer for enterprise and agentic AI architectures.

Instead of generating unrestricted free-form responses, the model evaluates a structured state and a supplied set of candidate actions.

The intended architectural separation is between:

  • Candidate-action selection
  • NO_ACTION and abstention
  • Execution classification
  • External deterministic authorization
  • Human review and escalation

The model proposes decisions. It does not grant authority to execute transactions or modify external systems.

Model details

Property Description
Model Enterprise Reflux Laya V3
Research experiment 01
Developer Mohamed Yasser
Base checkpoint yasserrmd/enterprise-reflux-laya-v21
Pinned base revision 75c4407d03c04aa83be690e57f36d62466fb4589
Architecture Laya native decision architecture
Parameters 421,293,827
Training examples 91,636
Training epochs 2
Seed 42
Release format Safetensors
Research status Experimental
Upstream license apache-2.0

Key findings

Highest combined frozen benchmark accuracy among the first four completed experiments.

Training methodology

Native encoder and decision-head fine-tuning; encoder learning rate 8e-6; head learning rate 4e-5; micro-batch 4; gradient accumulation 8.

The model was evaluated using a controlled common dataset and benchmark protocol across the Enterprise Reflux model family.

Training objectives include structured candidate ranking and execution classification where execution labels are available.

Unknown execution labels are excluded from the execution-classification loss.

The best checkpoint is selected using validation performance rather than the final test results.

Dataset methodology

The Enterprise Reflux Decision-100K+ research corpus combines structured enterprise decision scenarios, policy-conditioned examples, counterfactual pairs and public intent-derived examples.

Dataset split Records
Training 91,636
Validation 6,086
Calibration 2,841
Standard held-out test 3,017
Extreme-200 200
Hard-400 400
Mixed-500 500
Total 104,680

The frozen benchmark suites are historical controlled challenge sets. They are not represented as independent third-party benchmarks or verified real-world outcomes.

The original training records, raw evaluation examples, per-record predictions, recovery checkpoints and tokenization caches are not included in this model release.

Source attribution and applicable dataset terms must be retained in any separately distributed dataset.

Evaluation results

Baseline versus fine-tuned model

Evaluation suite Samples Base Top-1 Fine-tuned Top-1 Delta
Standard held-out test 3,017 45.34% 96.75% +51.41 pp
Extreme-200 200 71.50% 72.00% +0.50 pp
Hard-400 400 80.75% 81.50% +0.75 pp
Mixed-500 500 78.60% 83.60% +5.00 pp
Combined frozen 1,100 78.09% 80.73% +2.64 pp

Detailed standard test performance

Metric Fine-tuned result
Top-1 accuracy 96.75%
Top-2 accuracy 99.67%
Top-3 accuracy 99.90%
Concrete-action accuracy 96.34%
NO_ACTION accuracy 99.29%
NO_ACTION F1 98.82%
ACT/ESCALATE macro F1 98.84%
Counterfactual pair accuracy 94.26%
Choice calibration error 0.49%
Execution gate coverage 0.00%

Top-1, Top-2 and Top-3 measure whether an accepted reference action appears among the ranked candidates.

Counterfactual pair accuracy requires both members of an evaluated pair to be correct.

Execution classification is evaluated only where ground-truth execution labels exist.

Choice ECE is the expected calibration error of candidate confidence.

Inference performance

Backend Median (P50) P95 Status
CPU / Native 777.90 ms 1,069.32 ms Measured
GPU / Native N/A N/A Not verified

Latency measurements use the recorded research environment, four CPU threads where applicable, and 100 measured cases.

They exclude tokenization and external application processing. These measurements should not be interpreted as production end-to-end service latency.

Export support

This release includes the validated native checkpoint. A historical fixed-shape ONNX export passed parity validation, but the serialized artifact could not be recovered. This release includes the native checkpoint only. ONNX regeneration is pending.

Installation

Use the model-specific native runtime. A generic AutoModel text-generation pipeline is not the intended decision interface for this checkpoint.

A starting dependency configuration is:

pip install laya==0.3.20 transformers==4.57.6 huggingface_hub safetensors torch

Additional dependencies or platform-specific acceleration packages may be required.

Review the bundled native source before executing it.

Quick start

from huggingface_hub import snapshot_download

REPO = "yasserrmd/enterprise-reflux-laya-v3"

path = snapshot_download(
    REPO,
    ignore_patterns=["*.onnx*", "onnx/*", "reports/*"]
)

state = {'request': 'Delete an archived document', 'approval': 'missing', 'policy': 'Deletion requires explicit approval from an authorized reviewer.'}

question = {'type': 'choice', 'instructions': 'Choose the appropriate action given the current state and policy.', 'criteria': {'DELETE_DOCUMENT': 'Delete the document immediately.', 'REQUEST_APPROVAL': 'Request approval before deletion.', 'NO_ACTION': 'None of the listed concrete actions is appropriate.'}}

import laya

agent = laya.Agent(path, device="cpu")

result = agent.predict(
    state,
    {"action": question}
)

answer = result["answers"]["action"]

print(answer)

The example demonstrates the interface, not a guaranteed prediction. Applications must independently enforce the business and authorization rules.

Calibration and decision safety

The native Laya export includes the fitted choice temperature and a temperature-adjusted ACT head. Do not apply the same temperature a second time.

The research protocol fits candidate and execution probability temperatures on the calibration split.

The experimental authorization gate uses conservative risk-coverage thresholds.

A fail-closed gate or zero action coverage does not constitute evidence of safe autonomous execution.

No model probability should be interpreted as a legal, financial, operational or administrative authorization.

The application must independently verify:

  • Identity and delegated authority
  • Business rules and policy constraints
  • Approval requirements
  • Preconditions and resource ownership
  • Idempotency and transaction boundaries
  • Auditability and recovery requirements

Intended uses

  • Structured enterprise action ranking
  • Candidate selection for agentic orchestration
  • Decision intelligence research
  • Policy-conditioned recommendation
  • Human-in-the-loop review support
  • Comparative CPU/GPU inference experiments

Out-of-scope uses

  • Unsupervised high-impact decision execution
  • Replacement for deterministic authorization systems
  • Autonomous financial or administrative approvals
  • Unrestricted access to external tools
  • Safety-critical decisions without independent validation
  • General-purpose conversational language generation

Limitations

The previous fixed-shape ONNX artifact is not included in this release. Lower standard test accuracy than the larger Intern-Decision and D3-Edge variants. Only the evaluated text decision tasks are supported by this research.

The evaluation sets may not represent the full distribution of real enterprise requests.

Performance may degrade under unfamiliar policies, candidate descriptions, state representations, domain shifts and adversarial inputs.

The reported results are research measurements, not production-readiness certification.

Reproducibility

This release includes aggregate benchmark results, training history, calibration information, supported inference artifacts and relevant validation reports.

The file-level SHA256 manifest allows recipients to verify the integrity of the released artifacts.

License and attribution

This checkpoint is a fine-tuned derivative of yasserrmd/enterprise-reflux-laya-v21.

The original model developers are credited for the underlying architecture, pretrained parameters and native decision runtime.

Applicable upstream licenses and notices are retained. Fine-tuned weights and accompanying research artifacts must be used in accordance with those terms.

Citation

If you use this checkpoint in research, please cite this model release and the relevant upstream model.

@misc{enterprise_reflux_laya_v3_2026,
  author = {Mohamed Yasser},
  title = {Enterprise Reflux Laya V3},
  year = {2026},
  howpublished = {Hugging Face},
  url = {https://huggingface.co/yasserrmd/enterprise-reflux-laya-v3}
}

Enterprise Reflux

Structured decisions. Explicit boundaries. Independent authorization.

Modification notice

This release contains fine-tuned model weights and updated calibration and decision configuration.

The full Apache 2.0 license is included in LICENSE. See NOTICE, upstream_lineage.json and licenses/ for available upstream attribution and licensing records.

The native checkpoint is included. The previously validated ONNX artifact could not be recovered and is therefore not distributed in this release.

Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
0.4B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for yasserrmd/enterprise-reflux-laya-v3

Finetuned
(1)
this model

Collection including yasserrmd/enterprise-reflux-laya-v3