<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kornidesz Máté on Medium]]></title>
        <description><![CDATA[Stories by Kornidesz Máté on Medium]]></description>
        <link>https://medium.com/@kornimate?source=rss-f80ddfd24481------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*h-CibAxZZWC3vV7D</url>
            <title>Stories by Kornidesz Máté on Medium</title>
            <link>https://medium.com/@kornimate?source=rss-f80ddfd24481------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 11:07:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kornimate/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cells, Generators, Lenses — Oh My!]]></title>
            <link>https://medium.com/hcai-au/cells-generators-lenses-oh-my-9f8995de34e6?source=rss-f80ddfd24481------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f8995de34e6</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-powered-writing]]></category>
            <category><![CDATA[object-oriented]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[cgl]]></category>
            <dc:creator><![CDATA[Kornidesz Máté]]></dc:creator>
            <pubDate>Fri, 18 Apr 2025 21:15:19 GMT</pubDate>
            <atom:updated>2025-04-18T21:15:19.906Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cells, Generators, Lenses — Oh My!</h3><h4>Beyond the textual prompt</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v4OGa-YdHBAvcVBG" /><figcaption>Image by MidJourney (v6.1).</figcaption></figure><p>Large Language Models (LLMs) enable people to generate or refine text using natural language. However, configuring LLMs to produce optimal results remains an unsolved problem. The Cells, Generators, and Lenses (CGL) framework proposed by Kim et al. in a UIST 2023 paper introduces an object-oriented approach to interact with LLMs that reforms the way a user can shape the output of a model to better fit desired goals.</p><p>The CGL framework interprets the interaction with a LLM as a combination of three essential components: Cells, Generators, and Lenses. Below we discuss each of these components in turn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uF76vcrjw492QFhxQnj6oQ.jpeg" /><figcaption>The CGL framework.</figcaption></figure><h3><strong>Cells</strong></h3><p>The existing solution to provide input for an LLM is usually a simple textbox where the user can write instructions or a set of questions. This means that after submitting the request, the user does not have a way to interact with these tokens after submission as the component is cleared for further input. The solution provided by this framework is the use of Cells, which are interactive input units that allow users to create and modify different text elements independently from each other. The users can break their input into smaller, more manageable units. These units can be a simple word, a phrase or specifications. This modular method makes the experimentation and refinement much easier. The framework makes it possible to create and connect these cells to form the final input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*8SqPOnq-n6SjMQfhwgiqcw.jpeg" /></figure><p>One example is when users are making an advertisement, they might create separate cells for product descriptions, target audiences, etc. Then these cells can be freely connected to generate diverse outputs without the need to rewrite them for multiple use.</p><h3><strong>Generators</strong></h3><p>Generators represent LLM instances with modifiable parameters like temperature and randomness. Traditional interfaces only allow one parameter setting, however the CGL framework enables multiple model instances at the same time. This makes it easier to compare different configurations at the same time. The generators are linked with cells for output generation enabling a many-to-many connection between cells and generators. The generator can also have the ability to remember its previous setting to make experimenting reversible to a previous state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*AmV6PVwblfgCX1Qs-QrpMA.jpeg" /></figure><p>This feature thought to be useful for tasks such as creative writing, where the authors may want to experiment with different styles or phrasing within the same context. By connecting different generators to different cells, users can fine-tune the behaviour of the model without overwriting the previous settings. This approach of the task creates alternative outputs to choose from, which means the user has a wide range of choice to fit the necessities.</p><h3><strong>Lenses</strong></h3><p>Lenses act as interactive spaces where users can analyse the outputs generated by the model. They provide various views, such as:</p><ul><li><strong>List view</strong>: direct comparison of generated texts</li><li><strong>Spatial distribution</strong>: visualize similarities and differences</li><li><strong>Sentiment analysis</strong>: assessing emotional tone</li></ul><p>Lenses can be linked to different generators to compare and visualize outputs and they can also be assembled together to obtain multiple representations of the same output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*lrpV0_cp2bRWwPlkFWnUIQ.jpeg" /></figure><h3><strong>Applications &amp; Evaluation</strong></h3><p>The CGL framework is versatile and is suitable for many writing tasks. Some key applications are:</p><ul><li><strong>Story Writing</strong>: Authors can maintain branching plotlines, can use different narrative directions in parallel.</li><li><strong>Copywriting</strong>: Marketers can generate ad copies by changing input elements like tone, audience, and key phrases.</li><li><strong>Email Composition</strong>: Users can adjust tone and structure by modifying prompts and testing different AI configurations.</li></ul><p>A study on the CGL framework demonstrated that users who used an interface based on the CGL framework generated more content, experimented with a wider range of inputs, and had greater confidence in the AI-generated outputs compared to those who used only a limited version of this interface in terms of cells, generators and lenses. The framework not only enhances creativity but also improves the usability of AI-powered writing tools. However, the study also showed that this type of interface is more complicated to handle than the baseline and this can lead to unused capacity.</p><p>The Cells, Generators, and Lenses framework represents a significant advancement in the writing interface of LLMs. By providing object-oriented interaction, it encourages users to experiment, to conduct multiple iterations, and to refine their AI-generated content more effectively.</p><h4><strong>Further Reading</strong></h4><ul><li><a href="https://dl.acm.org/doi/fullHtml/10.1145/3586183.3606833">https://dl.acm.org/doi/fullHtml/10.1145/3586183.3606833</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f8995de34e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hcai-au/cells-generators-lenses-oh-my-9f8995de34e6">Cells, Generators, Lenses — Oh My!</a> was originally published in <a href="https://medium.com/hcai-au">HCAI@AU</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>