this post was submitted on 04 Oct 2024
38 points (86.5% liked)

Showerthoughts

29698 readers
884 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. A showerthought should offer a unique perspective on an ordinary part of life.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics
    1. NEW RULE as of 5 Nov 2024, trying it out
    2. Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    3. Try c/politicaldiscussion, volunteer as a mod here, or start your own community.
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct-----

founded 1 year ago
MODERATORS
 

Of course, not in a "we should generate and spread racist content" kind of way. But sometimes results are a caricature of all the stuff AI has ingested, so if its output is obviously biased, it might be a good indicator of particular ways people tend to be biased.

For example, if all of the AI-generated images for "doctor" are men, it's pretty clear the source content is biased to indicate that doctors are/should be men. It would be a lot harder to look up all of the internet's images of "doctor" to check for bias. There are probably a lot more nuanced cases where AI-generated content can make bias more apparent.

top 7 comments
sorted by: hot top controversial new old
[–] Kintarian@lemmy.world 32 points 1 month ago (1 children)

I once asked Copilot why the US supports Israel. I then asked Copilot why the US doesn't support Palestine. In the first instance it gave me a detailed output. In the second instance and said that it didn't want to talk about it.

[–] KillerTofu@lemmy.world 13 points 1 month ago (1 children)
[–] Kintarian@lemmy.world 4 points 1 month ago

Apparently so

[–] theywilleatthestars@lemmy.world 6 points 1 month ago

This might be the one thing gen ai is useful for besides shitposting

[–] j4k3@lemmy.world 5 points 1 month ago* (last edited 1 month ago) (1 children)

::: spoiler A LLM is like a reflection of your prompt in the mirror of the training data and distortion created by the QKV alignment bias implementation and configuration in a simulacrum. The underlying profile the model creates of you ultimately forms your ideal informational counterpart. It is the alignment that does much of the biasing.

In the case of the gender of doctors, it is probably premature to call it a bias in the model as opposed to a bias in the implementation of the interface. The first point of call would likely be to look into the sampling techniques used in the zero shot and embedding models. These models are processing the image and text to convert them to numbers/conditioning. Then there are a ton of potential issues in the sigma/guidance/sampling algorithm and how it is constrained. I tend to favor ADM adaptive sampling. I can get away with a few general PID settings, but need to dial it in for specific imagery when I find something I like. This is the same PID tuning you might find in a precision temperature sensor and controller. The range of ways that the noise can be constrained will largely determine the path that is traveled through the neural layers of the model. Like if I'm using an exponential constraint for guidance, that exponential aspect is how much of the image is derived at which point. With exponential, very little of the image comes from early layers of the model, but this builds to where later layers of the neural network are where the majority of the image is resolved. The point at which this ends is largely just a setting. This timing also impacts how many layers of alignment the image is subjected to in practice. Alignment ensures our cultural norms, but is largely a form of overtraining and causes a lot of peripheral issues. For instance, the actual alignment is on the order of a few thousand parameters per layer, whereas each model layer is on the order of tens of millions of parameters.

When the noise is constrained it is basically like an audio sine wave getting attenuated. The sampling and guidance is controlling the over and undershoot of the waveform to bring it into a desired shape. These undulations are passing through the model to find a path of least resistance. Only, with tensor ranks, there are far more than the 4 dimensions of Cartesian space plus time. These undulations and the sampling techniques used may have a large impact on the consistency of imagery generated. Maybe all the female doctors present in the model are in a pattern of space where the waveform is in the opposite polarity. Simply altering sampling may alter the outcome. This pattern is not necessarily present in the model itself, but instead can be an artifact of the technique used to sample and guide the output.

There are similar types of nuances present in the text embedding and zero shot models.

There is also some potential for issues in the randomization of noise seeds. Computers are notoriously bad at generating truly random numbers.

I'm no expert. In abstract simplification, this is my present understanding, but I'm no citable source and could easily be wrong in some aspects of this. It is however my functional understanding while using, tweaking, and modding some basic aspects of the model loader source code.

[–] gaiussabinus@lemmy.world 3 points 1 month ago

I would like to see the performance of a FFT optimized AI. I imagine cpu performance would be amazing.

[–] dsilverz@thelemmy.club 4 points 1 month ago* (last edited 1 month ago)

While I can't see any usefulness for AI bias, I see a practical use for another AI common aspect, the AI hallucination: poetry (especially surrealist). The more random, the better for stochastic basis for making art and poetry. I'm used to write surrealist and stream-of-consciousness poetry and sometimes I use LLMs to suggest me tokens related to other tokens: the stochastic output feeds my own subconscious mind, then I write a piece based on the thoughts these tokens sparked inside my mind, then I use LLMs again to "comment and analyze" it, sometimes giving me valuable insights about what I wrote.