File size: 1,848 Bytes
ccba775
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
\# Phase Shift \& Regime Uncertainty  

\## Strange / AntiStrange



This project studies reinforcement learning systems operating under hidden regime shifts and non-stationary dynamics. It focuses on how agents fail when the environment changes phase without explicit signaling, a scenario common in real-world deployment and safety-critical systems.



\## Core Idea



Many environments appear stationary until they are not. This project explores:

\- Latent phase transitions

\- Sudden behavioral collapse despite stable metrics

\- The gap between observed performance and underlying stability



Strange / AntiStrange are paired agents designed to probe these dynamics from different behavioral assumptions.





\## Project Structure



\- `agents/`  

  #Strange and AntiStrange agent implementations.



\- `envs/`  

  #Phase-shifting environments, including `dual\_hypothesis\_lab\_env`.



\- `run\_all.py`  

  #Executes both agents in a shared environment for direct comparison.



\- `results/`  

  #CSV logs capturing regime transitions and performance degradation.



\- `graphics/`  

  #Comparative plots showing divergence under regime shifts.





\## Running the Experiments



This project is designed to run without notebooks. (I resorted to Anaconda)



```bash

conda activate your\_env

python run\_all.py



\## Safety 

\## Why This Matters for AI Safety



-Hidden regime shifts are a major source of real-world AI failures. 

-This project operationalizes questions such as:



  -How long can agents operate under false assumptions?



  -What does “pre-collapse” behavior look like?



  -Can instability be detected before performance drops?



\## Related Work



-This project accompanies the preprint:

-Adaptive Stability Control in Sequential Learning Systems