The RAW images being displayed darker is simply a design flaw / coding issue that has to be fixed.
Standard formats are in 8 bit (256 number of tones).
Let’s say your RAW format is in 12 bit (4096 number of tones).
Most monitors are 8 bit (professional ones are 10 bit, which is still much lower than a RAW image).
Now, when the software reads the RAW file, it has to convert it to 8 bit data so it can fit the monitor bit depth.
Normally, it would transpose the full RAW range (12 bit) to 8 bit values, for example, if a pixel has a value of 1500, it would divide it by 16 and the result would be 94 (rounded).
So, 94/256 is roughly the same color as 1500/4096.
But, Photo AI is doing it wrong here.
Instead, it only seems to keep a much smaller range of the RAW values (1 to 256, or maybe higher I don’t know), which results in a much darker and washed out image ! All the values above that are simply ignored, while it must transpose the whole range instead, as I have explained above.
I suspect that Photo AI is not yet compatible with all RAW formats and bit-depth.
For comparison, PhotoLab displays RAW files properly, since it transposes the full range.