Skip to main content

Adaptive (Re)Utility Index — ARUI

ARUI is an experimental framework for estimating how suitable the learned behaviour of an adaptive gating system may be for recreation using static gate weights. ARUI can be used to measure how suitable an adaptive-model seed may be for static recreation, while also providing the suggested fixed gate weights.

Status: Experimental / pre-validation.
ARUI v0.1.0 defines the proposed methodology. Its ability to predict successful static recreation is currently being evaluated experimentally.


Motivation

Adaptive gating systems can dynamically change the contribution of different information sources. This flexibility may improve predictive performance, but it can also increase architectural and computational complexity.

In some cases, an adaptive gate may learn a useful allocation that changes only slightly over time. If so, its behaviour may potentially be approximated using a simpler static gate.

A seed with high adaptive gain and low gate displacement receives a higher ARUI value. The ARUI value cannot currently go beyond its adaptive gain value.

ARUI may also help avoid using large computational power whilst being uncertain about the use of the adaptive weights for fixed models.


Methodology

Assume an adaptive gate contains (K) data types and is evaluated across (T) observations.

At observation (t), the gate produces:

[ \mathbf{w}t = (w{t,1}, w_{t,2}, \ldots, w_{t,K}) ]

For a normalized gate:

[ \sum_{j=1}^{K} w_{t,j} = 1 ]


1. Mean gate weight

For each data type (j), ARUI calculates its mean gate weight:

[ \bar{w}j = \frac{1}{T} \sum{t=1}^{T} w_{t,j} ]

The vector

[ \bar{\mathbf{w}}

(\bar{w}_1,\bar{w}_2,\ldots,\bar{w}_K) ]

forms the proposed static recreation of the adaptive gate.

For normalized gate outputs, the mean weights also sum to 1, apart from floating-point error.


2. Mean variation

For each data type, ARUI measures its mean absolute variation around its mean gate weight:

[ d_j = \frac{1}{T} \sum_{t=1}^{T} |w_{t,j}-\bar{w}_j| ]

This measures the typical distance between the dynamic gate allocation and the constant weight that would be used during static recreation.


3. Seed displacement

The overall seed displacement is defined as the mean variation across all (K) data types:

[ D_s = \frac{1}{K} \sum_{j=1}^{K} d_j ]

A lower (D_s) indicates that the adaptive gate remains closer to its mean configuration.

A perfectly static gate has:

[ D_s = 0 ]


4. Adaptive gain

ARUI defines signed adaptive gain so that a positive value always indicates better adaptive performance.

For a metric where higher_is_better is True:

[ G_s = A_s - F_s ]

For a metric where higher_is_better is False:

[ G_s = F_s - A_s ]

where:

  • (A_s) is the adaptive performance for seed (s)
  • (F_s) is the corresponding fixed-model performance

Through this calculation:

  • (G_s > 0): adaptive model performed better
  • (G_s = 0): equal performance
  • (G_s < 0): adaptive model underperformed

5. Adaptive (Re)Utility Index

ARUI combines adaptive gain and weight displacement:

[ \boxed{ ARUI_s = \frac{G_s}{1+D_s} } ]

A higher ARUI therefore favours solutions that combine:

  • greater adaptive performance gain;
  • lower average gate variation.

The addition of 1 also ensures the denominator remains defined when:

[ D_s=0 ]


Metadata

Release files for adaptive-reutility-index 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adaptive-reutility-index 0.1.0
File Size Uploaded Provenance
adaptive_reutility_index-0.1.0.tar.gz 8.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for adaptive-reutility-index 0.1.0
File Interpreter ABI Platform
adaptive_reutility_index-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.4 kB

Release files / adaptive_reutility_index-0.1.0.tar.gz

Download URL adaptive_reutility_index-0.1.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c7ed6c883c5b91d4963dfab2fb9a89300b9044252b6eb1193134897c385e8c20
BLAKE2b-256 checksum
How to use checksums
9eddc2c6aa3f3769af473e3ce62a0ca155f7125bb2d16120f90c0b8786482e7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / adaptive_reutility_index-0.1.0-py3-none-any.whl

Download URL adaptive_reutility_index-0.1.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0eea6006a2899cd1ed30d9c638d927670dedad0819da23223ec5abacab9a2eb8
BLAKE2b-256 checksum
How to use checksums
4800e3a66d75ad2b6404c887acb7758d95a18ebdf85aab8a48c6e8243cf8e507
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Security for adaptive-reutility-index 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page