857 stories
·
1 follower

Record everything!

1 Share

A man and a woman on a path next to a grassy area, both holding phones; the man is shown from behind and appears to be taking a selfie while a large stag walks behind him.

Our memories are precious to us and constitute our sense of self. Why not enhance them by recording all of your life?

- by Yannic Kappes

Read on Aeon

Read the whole story
mrmarchant
5 hours ago
reply
Share this story
Delete

Knotty: A domain-specific language for knitting patterns

1 Share
Comments
Read the whole story
mrmarchant
11 hours ago
reply
Share this story
Delete

How Generative Models Are Ruining Themselves

1 Share

Mario Antoine Aoun
How Generative Models Are Ruining Themselves
DOI:10.1145/3748642
https://bit.ly/4eNTFD0

I argue that with the increased use of generative AI, there will be a decrease in the quality of the generated content because this generated content will be more and more based on artificial and general data.

For instance, automatically generating a new picture will be based on original images authentically generated by persons (such as photographers) plus machine-generated images; however, the latter are not as good as the former in terms of details like contrast and edges. Besides, AI-generated text will be based on original creative content by real persons ‘plus’ machine-generated text, where the latter might be repetitive and standard. Since data generated globally is almost doubling every three years,12 in years to come humanity will produce more data than it has ever created, therefore if the Internet becomes overloaded with AI-generated stuff, then that stuff will affect its (the AI’s) outcome negatively.

AI generative models are trained using Internet data (from sources such as websites, curated content, forums, and social media). People’s interactions with that data—whether by reacting to it, reposting, or endorsing it—will enrich a profusion of unreliable content due to the fact that the origin of such content was unoriginal and AI-generated. Plus, those interactions will be included in future training sets. Those facts will unfavorably influence the results of generative models in the future.

Why and how could this happen? And what can we do about it?

Consider, for example, asking an AI generative model to create an image of the Last Supper. It will successfully do it based on previously encountered paintings of the Last Supper by classical painters. Nonetheless, if we look into the details of any such generated images, we can easily detect discrepancies, specifically in the drawing of hands, fingers, ears, teeth, pupils, and/or other specific tiny prominent details in the foreground, and sometimes in the background. Those details are difficult to realize even by proficient artists.11 Thus, imagine if AI systems are faced with more and more images (photos or paintings) containing unrealistic tiny details due to the difficulty of creating such details or by being filtered or generated using AI, then they will generate outcomes with obvious unrealistic details. This is because generative models are based on artificial neural networks (ANNs) that are essentially function approximators.6 In other words, they are always trying to provide an output based on generalizations they learned from historical inputs. But, this history is continually jeopardized with discrepancies. Better put, generative models are trying to depict reality, but embed glitches from their own inherited generated content. While doing so, their inability to discriminate between efficient and inefficient content makes me argue that they will be inadvertently ruining themselves in the long run.

As previously argued,2 generative models are statistical models lacking creative reasoning capabilities or emergent behaviors. Besides, experiments were done such that the output of an AI system was fed back as its input; after many runs, the system output becomes gibberish.10 In addition, generative models are known to produce emotionless,5 neutral,4 low-perplexity,3 and tedious content.9 Also, according to the adage ‘garbage in garbage out’ (GIGO), the quality of any computing system output is subject to its inputs,1 hence if the system is evolving and learning from less-elegant data, then it will result in less-elegant data. Consequently, the proliferation of trivial generative content by AI models will soon create more boring, emotionless, biased results, flawed with discrepancies and unrealistic details. As I already highlighted, ANNs are prone to inputs and ‘perfect’ in generalizations, thus, through their own generative capabilities, they will be negatively mutating the outcomes they will be offering while endorsing impurities from generation to generation (that is, in version updates and training).

One could argue that generative models are well-suited to providing outstanding results in domains such as law exams, for instance, but it should be noted that this is a narrowed domain of application which is way less in its effect when compared to their applicability on a wide spread of knowledge that they will provide or assist in its generation in the public and private domains. It should also be noted that narrowed-down applications of generative models in specific domains might be useful, but here I am addressing the global impact of such models and their own deterioration in a general and long-term future endeavor. In this regard, the ultimate way to contain such data poisoning (for example, flooding the Internet with degenerate content) should be through awareness and responsible use of generative models. For instance, AI-generated content should not be rushed to be posted online, should be very well refined and, even better, checked or enhanced by experts.

Penrose,8 whilst criticizing AI based on classical computation, was also positive for future technological advancements of AI that would enhance its capabilities.8 Similarly, here, I am criticizing AI based on the current available technologies (such as generative models). If, in the future, a different technology takes the stand, then this might alter my critique.

I conclude with the following challenge for generative models or any future technology: Learning the Mandelbrot set image; an ANN that learns from all Mandelbrot set images available on the Internet will never be able to grasp the complex dynamics behind the countless affinities and similarities that are available in the set.7 In fact, it will provide very similar images of the set on a wider scale, but will be short on the details (for example, the periphery will appear blurred and pixelated when zoomed in, but on a true Mandelbrot set, the periphery is always refined). So, is it possible for a machine, one day, to create, understand, and look at something similar to the Mandelbrot Set, or the Mandelbrot Set itself, the same as Benoit Mandelbrot did and had intuition of, or the way anyone of us feels towards its mathematical beauty?

Read the whole story
mrmarchant
17 hours ago
reply
Share this story
Delete

Generative Design

1 Share

a bunch of overlapping 'KOTTKE DOT ORG' phrases with a bright green background

concentric circles that resemble tree rings

the words 'KOTTKE DOT ORG' connected by lines

a spiral shape

the letters from 'KOTTKE DOT ORG' randomly placed around a rectangle

many overlapping spirals

I had a lot of fun playing around with this collection of generative design tools, especially the textual ones. I wore out the “randomize” button on each of these. (via sidebar)

Tags: art · design · programming

💬 Join the discussion on kottke.org

Read the whole story
mrmarchant
17 hours ago
reply
Share this story
Delete

Upstart Puzzles: Selective Sponges

1 Share

In human body cells, there are special RNA molecules called microRNAs that do not code for proteins but rather degrade messengerRNAs (mRNAs) mostly by binding to parts of them either causing the mRNAs’ destruction or preventing them from translating to proteins. Sometimes microRNAs can be harmful (for example, by degrading useful mRNAs), so a research direction is to inject therapeutic “sponges” (or colloquially “honeypots”) that attract the harmful microRNAs based on preferential Watson-Crick pairing to neutralize them without attracting helpful microRNAs. The puzzle in this column abstracts the problem to its core algorithmic issues.

Given a set of target strings t1, … tn and off-target strings o1, …, om, we want to find a sponge string s such that every target string ti is a (left-to-right) substring of s and no off-target string oj is a substring of s. Hereafter when we say substring, we mean left-to-right substring, so BCD is a left-to-right substring of ABCD, but CBA is not and therefore not a substring for our purposes.

To start, we want the string s to match the targets without overlaps. For example, if s is ABCD, then s matches targets AB and D without overlap. By contrast, ABCD does not match ABC and CD without overlaps. ABCCD or CDABC do.

Figure.  All the targets should be either vertical or horizontal substrings of the sponge, but none of the non-targets should be.

Warm-Up: Consider a four-letter alphabet A, B, C, I. Here are the target strings: CBI, CCC, and BIAI. Here are the non-target strings: BIC and AIC. Find a string s of length 10 such that the target strings match s in a non-overlapping way but neither BIC nor AIC is a substring of s.

Solution to Warm-Up:

Every length 10 solution will be a permutation of the target strings, because overlaps are not allowed. In this case, the only such permutation that does not contain any of the non-target strings as a substring is: CCCCBIBIAI. The reason is that AIC prevents BIAI from being first or second in the permutation and BIC prevents CBI from being first.

Now that you understand the principle, please try the following:

Question: Here are the targets: CBI CCC BIAI CIII IBCA BCCI

Here are the non-targets: CCB, ICB, IBA, CIBI, BBBCI, CCBBA. Please try to find a string s of length 22 without overlaps that matches the targets but not the non-targets

Solution:

Here is one solution: CBIIBCACIIIBIAIBCCICCC.

There are several ways to generalize this. First, suppose we allow targets to overlap in the solution string. For example, allowing overlaps would imply that the solution string ABCD would provide a match for all of the following target strings: A, B, C, D, AB, BC, CD, ABC, BCD, and ABCD itself. Second, the principle of sponge can extend to more dimensions. Let us say that we want to create sponge squares that match targets, but do not match off-targets. Here, matching means left-to-right matching in the horizontal direction and top-to-bottom matching in the vertical direction.

Given the possibility of overlaps as well as the ability to match up-to-down as well as left-to-right, the sponge square

ABC
DCD
CAD

matches ABC, ADC, DCD, CAD, BCA, CDD, CA, CD, DD, CDD, …

Question: Try to find a four-by-four sponge square for the following targets: BBA BIC, BIBA, CBB, BIB, CBC, and CAC while avoiding these non-targets: AAC, BBI, III, AII, CAB, BBB, ABA, CII, and BBC. Please remember that overlaps are ok.

Solution:

CBIB
BICB
CBBA
CACA

Here is a much more difficult challenge.

Question: Try to find a six-by-six sponge square for the following targets: CAI, AIBA, CCII, BCIAAI, IIBIIA, BCI, AIB, AAI, CCIIB, IIA, CBA, IBABI, CBCBAI, and BIC while avoiding these non-targets: IIBA, ACACI, BCCC, III, CABCC, BABAB, BCICI, BAAIA, AABCC, IAAAI, and CCCI.

Solution:

CBBICB
ICCBBA
BICACA
CAIBBI
AAIIAB
IIBIIA

Call a square sponge target-perfect if each of its side lengths equals the length of the longest target string. The square sponges we have already found are target-perfect.

Question: Can you find a set of five four-letter strings that can make it impossible to find a target-perfect (in this case, 4-by-4) square sponge, even in the absence of non-targets?

Solution: Here is one. There are others. AAAA, BBBB, CCCC, DDDD, AABB

Upstart: What are the conditions that determine whether a target-perfect square sponge exists or not?

Read the whole story
mrmarchant
22 hours ago
reply
Share this story
Delete

Hybrid ASCII Art

1 Share

ASCII art overlaid on two people boxing

ASCII art of a horse overlaid on a man riding a bucking bronco

ASCII art overlaid on a pair of black shoes

ASCII art incorporated into an illustration of horses

ASCII art overlaid on Vermeer's painting of a milkmaid

ASCII art overlaid on a painting of two religious men

Enigmatriz uses ASCII art to punch up and blow out public domain photos and illustrations — I love their style. From It’s Nice That:

Using the Image to ASCII tool available online, Enigmatriz found a new way to play with digital assets. “Everyday, I sit on my computer and browse through hundreds of images in the public domain to find things that catch my attention and feel are worth shining a new light on them,” says Enigmatriz. “When working with ASCII, what I like and find particularly interesting is the blend between hundred old paintings, photographs etc. and modern technologies.” Enigmatriz creates unique contrasts between images — historical paintings are overlaid with spatterings of text, ASCII renders are layered on top of playing cards or archival imagery.

You can find more of their work on Instagram.

Tags: art · ASCII · design · Enigmatriz · remix

💬 Join the discussion on kottke.org

Read the whole story
mrmarchant
22 hours ago
reply
Share this story
Delete
Next Page of Stories