Skip to main content

Improve your summarising - ChatGPT prompt


One of the most popular uses of Generative AI is summarising documents and information sources. Now for the but, could it be even better?

Adams et (2023) the issues of using ChatGPT4 to produce the right amount of information in a summary. Balancing the detail in the summary without it becoming too dense, it is hard to follow, whilst ensuring it is relevant to the source. In the paper they investigated applying a technique they called "Chain of Density" (COD) to produce a better summary compared to a standard "summarise is this" prompt.  

Chain of Density in Summary
Start with the standard summarise this kind of prompt - fairly non-specific.
1. Identify one to three more informative entities from the article
2. Write a new denser summary of the same length including all the entities identified (don't remove entities when identified) expanding the detail

Repeat steps 1 and 2 around 5 times. Applying guidelines around improving on the previous summary but must be self-contained (understood without the article),



To try this out I applied it to a paper
The prompt (below in bold) used was very slightly modified version from (Adams et al, 2023)
You will generate increasingly concise entity-dense summarises of the article (Article)loaded in. Repeat the following 2 steps 5 times Step 1. Identity 1-3 informative Entities (“;” delimited)from the article which are missing from the previous generated summary. Step 2. Write a new denser summary of identical length which covers every entity and detail from the previous summary plus the Missing Entities. A Missing Entity is:- -Relevant: to the main article. -Specific: descriptive yet concise (5 words or fewer). -Faithful: present in the Article. -Anywhere: located anywhere in the Article. Guidelines: -The first summary should be long (8-10 sentences, ~250 words) yet highly non-specific, containing little information beyond the entities marked as missing. Use overly verbose language and fillers (e,g. “this articles discusses”) to reach ~250 words. -Make every word count: rewrite the previous summary to improve flow and make space for additional entities. -Make space with fusion, compression, and removal of uninformative phrases like “the article discusses”. -The summaries should become highly dense and yet self-contained, e.g. easily understood without the Article. -Missing entities can appear anywhere in the new summary. -Never drop entities from the previous summary. If space cannot be made, add fewer new entities. Remember , use exact same number of words for each summary.


Produces 
Version 1

In an era where multimedia applications, especially video streaming services, are burgeoning due to the swift advancement and proliferation of user devices and internet services, ensuring quality of service (QoS) and quality of experience (QoE) for end-users presents a formidable challenge for service providers and network administrators. The document delves into the complexities surrounding multimedia traffic transmission over networks, highlighting the issues of bandwidth, delay, jitter, and loss ratio that often impede the delivery of high-quality video streaming services. It proposes an innovative solution that marries the principles of reinforcement learning with software-defined networking (SDN) to create a dynamic, intelligent routing framework capable of navigating these challenges. The framework aims to optimize routes for multimedia traffic, particularly video streaming, by learning from network conditions and making informed routing decisions to enhance end-user satisfaction. Simulation results underscore the effectiveness of this approach, demonstrating improvements in viewing quality, throughput, and stability of video quality during streaming, compared to existing techniques. The involvement of various academic institutions and researchers underscores the collaborative effort to address these network challenges, with the ultimate goal of refining multimedia streaming experiences in an ever-evolving digital landscape.


Fifth version

Leveraging the power of SDN and reinforcement learning, this paper advances multimedia traffic routing, focusing sharply on improving video streaming under diverse traffic conditions. It strategically employs machine learning for insightful analytics in network optimization, guiding real-time decisions to mitigate common QoS challenges. This intelligent routing framework ensures robust network performance, enhancing video delivery mechanisms to provide consistent, quality streams. By dynamically adapting routes to optimize for bandwidth and latency, it sets a benchmark in multimedia service provision, prioritizing user QoE. Simulation evidence underscores its efficiency, highlighting its superiority in ensuring high-quality video streaming experiences against traditional routing methods. This approach not only demonstrates the practical application of analytics and machine learning in network management but also marks a significant stride towards achieving unparalleled consistency and quality in multimedia streaming services, even amidst fluctuating network traffic.



Comment.
Both are fine, but personally I believe the final is a more informative read. But have a go yourself cut and paste the prompt in bold and put an article through it. If you are using the free version of ChatGPT or Gemini you might change the first line to say that the Article is going to be entered in the prompt that follows and then enter the text in the following prompt. Have fun and please share your views in the comments.



Reference

From Sparse to Dense: GPT-4 Summarization with Chain of Density Prompting

arXiv:2309.04269v1 (Preprint)


All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruonn

Comments

Popular posts from this blog

GenAI Productivity: Ideas to project proposal 1

One of the ways I use Generative AI with students is to take basic ideas for projects, usually a title, and get these tools to greater ideas and start of a project proposal. This is with all the usual caveats  Check the references (if any); It is going to be basic, so extend it. In this example I am going to use Co-pilot but the ChatGPT, etc can be used, employing a few basic prompt engineering basics: personas (who is the target audience?) and Templates (how do I want it to look?) to start this process. Example:  Project ideas for MSc Data Intelligence students (persona)  on a particular topic. The reply will include subheadings and relevant (hopefully) content for  TITLE, INTRODUCTION, PROBLEM STATEMENT. The prompt: " Taking the topic "Leveraging open-source tools to measure and present academics publications automatically from public domain data.". Give five innovative projects for a Master's level student dissertation in Data Intelligence. Each project example wi...

GenAI Productivity: Ideas to project proposal ideas from Google Scholar

From Google Scholar to Project Ideas or Using AI to Map the Future of Your Research Generated as well by Google Gemini Have you ever looked at a researcher’s Google Scholar profile and felt overwhelmed? Between the long lists of citations and dense technical titles, "connecting the dots" of a decade-long career is a massive cognitive lift. Whether you are a student hunting for a dissertation topic or a professional scouting for a collaborator, understanding the trajectory of research is harder than reading the papers themselves. In my latest experiment, I used Google Gemini to see if it could bridge this gap. I gave it a specific challenge: Analyze my own research profile and design 10 compelling project ideas for a final-year Computer Science student. The Prompt: Turning Data into Direction The secret to a good AI output is giving it a clear "anchor." By providing a URL to a live dataset (my Scholar profile), I bypassed the need to copy-paste thousands of words....

Getting multiple viewpoints with ChatGPT

Well sort of! There are approaches where we can get the generative AI to look at a problem from multiple perspectives (or personas) and bring the ideas generated, ideally informed by the others. to a final plan. One of the main strategy is called Tree of Thoughts (see here for more detail  https://www.forbes.com/sites/lanceeliot/2023/09/08/prompt-engineering-embraces-tree-of-thoughts-as-latest-new-technique-to-solve-generative-ai-toughest-problems/?sh=5ce79bdb2c8b ). The central idea is get a number of expert opinions, allow potential cross-fertilization of ideas, come up with actions or plans. Let see this action.  Scenario: Find out about the UK Government's plans on Disability support and then use Tree of Thoughts to produce some ideas for a company making disability equipment based on their website. Google's Gemini will be used. Stage 1 "UK Governments plans on Disability support ": Prompt:  Read, convert to plain text and consolidate information from the followi...