(Press-News.org) Among the primary concerns surrounding artificial intelligence is its tendency to yield erroneous information when summarizing long documents. These “hallucinations” are problematic not only because they convey falsehoods, but also because they reduce efficiency—sorting through content to search for mistakes of AI outputs is time-consuming.
To help address this challenge, a team of computer scientists has created an algorithmic framework that draws from a natural phenomenon—bird flocking—by mimicking how birds efficiently self-organize. The framework serves as a preprocessing step for large language models (LLMs), helping them produce more reliable summaries of large documents.
The work is reported in the journal Frontiers in Artificial Intelligence.
The researchers created the bird-flocking algorithm by first unpacking how AI agents make mistakes.
These systems are built on LLMs that are designed to autonomously research, write, and summarize. But while they may write well, they do not always produce accurate or faithful summaries.
“One contributing factor is that when input text is excessively long, noisy, or repetitive, model performance degrades, causing AI agents and LLMs to lose track of key facts, dilute critical information among irrelevant content, or drift away from the source material entirely,” explains Anasse Bari, a computer science professor at NYU’s Courant Institute School of Mathematics, Computing, and Data Science and director of the Predictive Analytics and AI Research Lab, which conducted the work.
Drawing from the cause of this shortcoming, Bari and co-author Binxu Huang, an NYU computer science researcher, turned to an orderly and time-tested method of gathering disparate parts—bird flocking—and applied it as a preprocessing step to generative AI.
Their method considered each sentence in a long document—a scientific study or a legal analysis—as a virtual bird. In yielding a simplified outcome, it evaluated the document’s sentences based on their position, thematic centrality, and topical relevance, then grouped them into clusters that mirror how birds self-organize into flocks.
This grouping reduced each cluster to its most representative sentences, with the goal of minimizing redundancy and preserving key points. The resulting curated summary was then passed to an LLM as a structured, concise, and reduced input.
“The intention was to ground AI models more closely to the source material while reducing repetition and noise before generating a final summary,” says Bari, who previously turned to natural phenomena in devising an algorithm to improve online searches.
Here is how it works in greater detail:
Phase 1: Score Every Sentence
Each sentence is cleaned by keeping only nouns, verbs, and adjectives, while stripping out articles, prepositions, conjunctions, and punctuation. Among other natural language processing techniques, multi-word terms are also merged (“lung cancer” becomes “lung_cancer”) so single concepts stay intact.
Each sentence is then converted into a numerical vector by fusing lexical, semantic, and topical features. Sentences are scored on document-wide centrality, section-level importance, and alignment with the abstract, with a numerical boost for key sections like the Introduction, Results, and Conclusion.
Phase 2: Bird Flocking for Diversity
Taking only the top-scored sentences risks repetition—and stymies flocking. For instance, in a cancer research paper, the five highest-ranked sentences might all discuss treatment outcomes. Instead, the framework treats each sentence as a bird positioned in an imaginary space according to its meaning. Much like real birds in nature, which self-organize into flocks by following three simple rules known as cohesion (stay close to nearby birds), alignment (move in the same direction as neighbors), and separation (avoid crowding), sentences with similar meanings naturally cluster together while maintaining distinct groupings. Leaders emerge within each cluster and followers attach to their nearest leader.
From each final flock of similar sentences, only the highest-scoring ones are selected, so the summary covers background, methods, results, and conclusions, rather than echoing one theme—thereby reflecting a document’s diversity of content without repeating it. The chosen sentences are reordered and fed to an AI agent powered by an LLM, which synthesizes them into a fluent summary grounded in the original source content.
The researchers evaluated the algorithm on over 9,000 documents, examining whether this approach produced better outputs compared to an AI agent powered by an LLM alone. The framework, including its bird-flocking-inspired algorithm, combined with LLMs, helped generate summaries with greater factual accuracy than did LLMs producing content without the algorithm.
“The core idea of our work is that we developed an experimental framework that serves as a preprocessing step for large texts before it is fed to an AI agent or LLM and not as a competitor to LLMs or AI agents,” Bari says. “The framework identifies the most important sentences in a document and creates a more concise representation and summary of the original text, removing repetition and noise before it reaches the AI.”
However, the authors acknowledge that their approach is not a panacea.
“The goal is to help the AI generate summaries that stay closer to the source material,” notes Bari. “While this approach has the potential to partially address the issue of hallucination, we do not want to claim we have solved it—we have not.”
# # #
Editor’s Note: In November 2025, NYU announced the establishment of the Courant Institute School of Mathematics, Computing, and Data Science. The newly established school recognizes the storied history of the Courant Institute of Mathematical Sciences—and its strengths in both applied and pure mathematics—while encompassing NYU’s Center for Data Science and linking the computer science departments at Courant and the Tandon School of Engineering.
END
What flocking birds can teach AI
Researchers draw from flocking bird patterns to help AI produce more reliable outputs
2026-03-17
ELSE PRESS RELEASES FROM THIS DATE:
The scientist who warned that profit, not science, decides which drugs reach patients
2026-03-17
MONTREAL, Quebec, CANADA, 17 March 2026 – Dr. Gabriella Gobbi, Professor of Psychiatry at McGill University, Canada Research Chair (Tier 1) in Therapeutics for Mental Health, Staff Psychiatrist at the McGill University Health Center (MUHC), and Senior Scientist, Brain Repair and Integrative Neuroscience Program at the Research Institute of the MUHC, and President-Elect of the Collegium Internationale of Neuropsychopharmacology (CINP), has issued an unambiguous challenge to the global drug-development system, ...
A sea slug taught her how the brain works, and she never looked back
2026-03-17
PITTSBURGH, Pennsylvania, USA, 17 March 2026 — The girl was maybe fourteen. In Nottingham, England, there was a state comprehensive school where egalitarianism was practiced the way religion is practiced in some households: fervently, and with suspicion toward anyone who broke ranks. In biology class, Mary Phillips stood up and said something that got her into trouble. She said the brain was superior to every other organ in the body. Her argument was precise: you could transplant a heart, a kidney, a liver. You could not transplant the brain. The teachers disapproved. Her classmates shifted ...
KIER cracks seawater electrolysis deposit problem with dual electrode system
2026-03-17
A research team led by Dr. Ji-Hyung Han from the Convergence Research Center of Sector Coupling & Integration at the Korea Institute of Energy Research (President Yi, Chang-Keun, hereinafter “KIER”) has developed a new seawater electrolysis system that overcomes the precipitate formation issue long blamed for performance degradation and process interruptions, while also presenting a new direction for further technology advancement.
Water electrolysis is a technology that produces hydrogen, an eco-friendly energy source, by splitting water. Recently, amid the global freshwater shortage, seawater electrolysis using seawater has been gaining attention as a promising ...
Automated intervention shows significant increase in smoking cessation behavior
2026-03-17
Philadelphia, March 17, 2026 – Researchers at Children’s Hospital of Philadelphia (CHOP) found that a new automated tobacco treatment system integrated into routine pediatric care helped drive a 3.9% absolute increase in smoking cessation among mothers – a population-level impact that could translate to tens of thousands of parents quitting each year and protect hundreds of thousands of children from harmful secondhand smoke exposure. The study, published today in Pediatrics, demonstrates how technology can scale ...
Top AI coding tools make mistakes one in four times
2026-03-17
New research from the University of Waterloo shows that artificial intelligence (AI) still struggles with some basic software development tasks, raising questions about how reliably AI systems can assist developers.
As Large Language Models (LLMs) are increasingly incorporated into software development, developers have struggled to ensure that AI-generated responses are accurate, consistent, and easy to integrate into larger development workflows.
Previously, LLMs ...
Hidden acid imbalance in kidney disease raises red flags
2026-03-17
Niigata Japan - A Japanese registry has identified a blind spot in the routine care of patients with chronic kidney disease (CKD). Serum bicarbonate levels are rarely measured, leaving metabolic acidosis largely undetected and hence, undertreated.
Metabolic acidosis is a common complication of CKD and is associated with muscle loss, bone disease, insulin resistance, accelerated kidney decline, and increased mortality. Clinical guidelines recommend treatment when the serum bicarbonate level falls below 22 mEq/L. However, real-world data from Asia have been limited.
To address this, Mai Tanaka and colleagues extracted nationwide data ...
No evidence to suggest medicinal cannabis is effective for depression, anxiety or PTSD: research
2026-03-17
Australian media release (see below for North American media release)
A landmark Lancet Psychiatry paper published today – the largest-ever review of the safety and efficacy of cannabinoids across a range of mental health conditions – found no evidence that medicinal cannabis is effective in treating anxiety, depression or post-traumatic stress disorder (PTSD).
The study comes amid more than one million prescription approvals and a tripling of sales of cannabinoid medications (including ...
The Lancet Global Health: Modelling suggests climate change could drive millions globally into physical inactivity by 2050 and be linked to an estimated half a million premature deaths
2026-03-17
The Lancet Global Health: Modelling suggests climate change could drive millions globally into physical inactivity by 2050 and be linked to an estimated half a million premature deaths
Rising temperatures due to climate change could drive millions more adults globally into physical inactivity by 2050, being linked to hundreds of thousands of premature deaths and billions of dollars in lost productivity, suggests a modelling study published in The Lancet Global Health journal.
Climate change is making the world hotter, and this growing heat is likely to affect how active people can be. Physical inactivity is already a major global health problem, ...
Fathers’ health crucial to improving pregnancy and child outcomes
2026-03-17
UNDER EMBARGO UNTIL 23:30 UK TIME ON MONDAY 16 MARCH 2026
Fathers’ health crucial to improving pregnancy and child outcomes
Researchers say boys and men are an important but ‘persistently under-appreciated’ population for measures to improve the health of the next generation of children
Improving health and well-being of future fathers critical to addressing intergenerational disparities and legacies of racism
A focus on shared responsibility for pregnancy and parenthood ...
Major step towards a first global system to track health before pregnancy
2026-03-17
Under embargo to Monday 16 March 2026, 23:30 UK time
Peer reviewed / Survey
Major step towards a first global system to track health before pregnancy
The key health and social indicators needed for a new global system to monitor people’s health before pregnancy have been identified for the first time by researchers at University College London and the University of Southampton.
As more women are becoming pregnant with health conditions that can complicate pregnancy and childbirth, such as obesity, diabetes ...
LAST 30 PRESS RELEASES:
Researchers show dinos hatched eggs less efficiently than modern birds
Neuroscientist from US-Mexico border dismantles science’s class problem from the inside
What flocking birds can teach AI
The scientist who warned that profit, not science, decides which drugs reach patients
A sea slug taught her how the brain works, and she never looked back
KIER cracks seawater electrolysis deposit problem with dual electrode system
Automated intervention shows significant increase in smoking cessation behavior
Top AI coding tools make mistakes one in four times
Hidden acid imbalance in kidney disease raises red flags
No evidence to suggest medicinal cannabis is effective for depression, anxiety or PTSD: research
The Lancet Global Health: Modelling suggests climate change could drive millions globally into physical inactivity by 2050 and be linked to an estimated half a million premature deaths
Fathers’ health crucial to improving pregnancy and child outcomes
Major step towards a first global system to track health before pregnancy
Climate action could prevent over 13 million premature deaths, but equity choices matter for global health
Bull sharks have ‘friends’
New research shows how to diagnose people with Alzheimer’s plus a hard-to-identify dementia type
Large craters offer clues to the origin of asteroid 16 Psyche
Researchers develop biochar-based photocatalyst that rapidly removes antibiotic pollutants from water
ACP supports AAP’s evidence‑based childhood vaccine schedule
Half of Native Hawaiian University of Hawaiʻi students experience period poverty, study reveals
American College of Cardiology to host New Orleans Community Health Fair
UMass Amherst research links early adult drinking to middle age cognitive decline
Early life stress linked to long-lasting digestive issues
A built-in warning system: How mosquitoes detect a common compound in plant-based mosquito repellent
Rice hosts first-of-its-kind workshop exploring how AI can accelerate discoveries in major neutrino experiment
Researchers combine flavor and nutritional value in Amazonian chocolate
Study identifies causes of potato dry rot in Colorado
Universal, ready-to-use immunotherapy detects and destroys endometrial cancer
New $1.9 million grant lets Montana State team deepen understanding of avian flu
Storytelling may hold key to building memory
[Press-News.org] What flocking birds can teach AIResearchers draw from flocking bird patterns to help AI produce more reliable outputs