To me this "referred" business is still jargon and still hard to make sense of. It seems arbitrary.When software works with JPEG (or HEIF etc.), it decodes the RGB values for each pixel, and those values refer to the output device (monitor, TV, printer).To help those who are barely aware of color management and read that as inscrutable jargon, it might be helpful if you explain what those two terms mean and why understanding the difference is important.The difference is that raw files are scene-referred and jpeg files are output-referred.
In the raw files, the data refers to the light captured from the real scene.
You say that the decoded RGB values in a jpeg are "referred" or "refer" (two different voices) to the output device whereas the raw data "refers" to the light captured from the real scene. But the data in the jpeg also "refers" to the light captured from the real scene. That's why it looks like, for example, the cat. And the raw data, when viewed in a raw viewer, also "refers" to the monitor.
More inscrutable stuff. If "the exact default look ... is not well defined" doesn't that mean that raw files, prior to interpretation, don't look like anything in particular and don't have any particular colors?That doesn't mean there's no concept of colours in raw - but raw viewers need to perform more transformations before renderable RGB values are produced, and those transformations aren't standardised. So the exact default 'look' of raw images (before any editing) is not well defined.
So much for the light from the real scene! But the malleability if the raw does seem to be its main selling point. Of course, you can edit jpegs too. It's just that "information" is said to be lost, and "artifacts" are said to be introduced.At the same time the above makes raw files highly 'malleable'.
Is there a loss of information, as that term is used in plain English, or is there just a loss of data?There's always a big loss of information when a raw file gets converted/exported into JPEG.
What about TIFF or DNG?One can export a raw file into JPEG or other formats, but the reverse operation isn't possible without losses.
That's why it's best to shoot raw if there's a chance you export to other formats in the future (e.g. JPEG XL, HEIF etc. etc.)
.......
... and in fact it's more complicated even with RGB values from JPEGs. They're not used as is for output - that is, your monitor doesn't receive R,G,B values per pixel directly from a decoded JPEG file. More transformations are applied, for example, your operating system applies ICC profiles.