MyNixOS website logo
Description

Representation-Level Control Surfaces for Reliability Sensing.

Implements the Representation-Level Control Surfaces (RLCS) paradigm for ensuring the reliability of autonomous systems and AI models. It provides three deterministic sensors: Residual Likelihood (ResLik) for population-level anomaly detection, Temporal Consistency Sensor (TCS) for drift and shock detection, and Agreement Sensor for multi-modal redundancy checks. These sensors feed into a standardized control surface that issues 'PROCEED', 'DEFER', or 'ABSTAIN' signals based on strict safety invariants, allowing systems to detect and react to out-of-distribution states, sensor failures, and environmental shifts before they propagate to decision-making layers.

resLIK

Deterministic reliability sensors operating on latent representations. This package implements the ResLik, TCS, and Agreement sensors along with a deterministic control surface.

Version: 0.1.1

Control Signal Semantics

The system issues standardized signals. These signals are semantic contracts, not errors.

SignalMeaningRecommended Action
PROCEEDHigh confidenceSafe to continue.
DEFERUncertainty / DriftNot an error. Pause, inspect, log, or retry.
ABSTAINFundamental InvalidityStop. Fallback to safety model.

Usage

ResLik Sensor

library(resLIK)
set.seed(42)
z <- matrix(rnorm(20), nrow=2)
out <- reslik(z, ref_mean=0, ref_sd=1)
print(out$gated)
print(out$diagnostics)

Temporal Consistency Sensor

z_t <- c(1, 0, 0)
z_prev <- c(0.9, 0.1, 0)
out <- tcs(z_t, z_prev)
print(out$consistency)

Agreement Sensor

z1 <- c(1, 0)
z2 <- c(0, 1)
out <- agreement(z1, z2)
print(out$agreement)

Control Surface

# Assuming 'res', 'tcs_out', 'ag_out' from above
decision <- rlcs_control(out, tcs=list(consistency=0.9), agreement=list(agreement=0.9))
print(decision)

Note on Folder Name

The package name is resLIK. The source folder is named resLIK_package to avoid conflicts on case-insensitive filesystems with the existing reslik directory.

Metadata

Version

0.1.2

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows